SYMBOL INDEX (23101 symbols across 1203 files)
FILE: .github/workflows/xk6-tests/xk6-js-test/jstest.go
function init (line 11) | func init() {
type RootModule (line 16) | type RootModule struct
method NewModuleInstance (line 39) | func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type JSTest (line 19) | type JSTest struct
method Exports (line 48) | func (j *JSTest) Exports() modules.Exports {
method Foo (line 53) | func (j *JSTest) Foo(arg float64) (bool, error) {
function New (line 33) | func New() *RootModule {
FILE: .github/workflows/xk6-tests/xk6-output-test/outputtest.go
function init (line 11) | func init() {
type Output (line 18) | type Output struct
method Description (line 25) | func (o *Output) Description() string {
method Start (line 30) | func (o *Output) Start() error {
method AddMetricSamples (line 41) | func (o *Output) AddMetricSamples(sampleContainers []metrics.SampleCon...
method Stop (line 52) | func (o *Output) Stop() error {
FILE: .github/workflows/xk6-tests/xk6-test.js
function handleSummary (line 12) | function handleSummary(data) {
FILE: api/v1/client/client.go
type Client (line 18) | type Client struct
method CallAPI (line 63) | func (c *Client) CallAPI(ctx context.Context, method string, rel *url....
type Option (line 26) | type Option
function New (line 29) | func New(base string, options ...Option) (*Client, error) {
function WithHTTPClient (line 48) | func WithHTTPClient(httpClient *http.Client) Option {
function WithLogger (line 55) | func WithLogger(logger *logrus.Entry) Option {
FILE: api/v1/client/metrics.go
method Metrics (line 12) | func (c *Client) Metrics(ctx context.Context) (ret []v1.Metric, err erro...
FILE: api/v1/client/status.go
method Status (line 12) | func (c *Client) Status(ctx context.Context) (ret v1.Status, err error) {
method SetStatus (line 24) | func (c *Client) SetStatus(ctx context.Context, patch v1.Status) (ret v1...
FILE: api/v1/control_surface.go
type ControlSurface (line 14) | type ControlSurface struct
FILE: api/v1/errors.go
type Error (line 11) | type Error struct
method Error (line 17) | func (e Error) Error() string {
type ErrorResponse (line 22) | type ErrorResponse struct
function apiError (line 26) | func apiError(rw http.ResponseWriter, title, detail string, status int) {
FILE: api/v1/group.go
type Check (line 10) | type Check struct
function NewCheck (line 20) | func NewCheck(c *lib.Check) Check {
type Group (line 31) | type Group struct
method SetToManyReferenceIDs (line 72) | func (g *Group) SetToManyReferenceIDs(name string, ids []string) error {
method SetToOneReferenceID (line 84) | func (g *Group) SetToOneReferenceID(name, id string) error {
function NewGroup (line 45) | func NewGroup(g *lib.Group, parent *Group) *Group {
function FlattenGroup (line 97) | func FlattenGroup(g *Group) []*Group {
FILE: api/v1/group_jsonapi.go
type groupJSONAPI (line 5) | type groupJSONAPI struct
type groupsJSONAPI (line 9) | type groupsJSONAPI struct
type groupData (line 13) | type groupData struct
method UnmarshalJSON (line 35) | func (g *groupData) UnmarshalJSON(data []byte) error {
type groupRelations (line 20) | type groupRelations struct
type groupRelation (line 29) | type groupRelation struct
function newGroupJSONAPI (line 68) | func newGroupJSONAPI(g *Group) groupJSONAPI {
function newGroupsJSONAPI (line 74) | func newGroupsJSONAPI(groups []*Group) groupsJSONAPI {
function newGroupData (line 86) | func newGroupData(group *Group) groupData {
FILE: api/v1/group_routes.go
function handleGetGroups (line 8) | func handleGetGroups(cs *ControlSurface, rw http.ResponseWriter, _ *http...
function handleGetGroup (line 20) | func handleGetGroup(cs *ControlSurface, rw http.ResponseWriter, _ *http....
FILE: api/v1/group_routes_test.go
function getTestPreInitState (line 23) | func getTestPreInitState(tb testing.TB) *lib.TestPreInitState {
function getTestRunState (line 35) | func getTestRunState(tb testing.TB, options lib.Options, runner lib.Runn...
function getControlSurface (line 47) | func getControlSurface(tb testing.TB, testState *lib.TestRunState) *Cont...
function TestGetGroups (line 67) | func TestGetGroups(t *testing.T) {
FILE: api/v1/group_test.go
function TestNewCheck (line 11) | func TestNewCheck(t *testing.T) {
function TestNewGroup (line 28) | func TestNewGroup(t *testing.T) {
function TestFlattenGroup (line 87) | func TestFlattenGroup(t *testing.T) {
FILE: api/v1/metric.go
type NullMetricType (line 14) | type NullMetricType struct
method MarshalJSON (line 20) | func (t NullMetricType) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 28) | func (t *NullMetricType) UnmarshalJSON(data []byte) error {
type NullValueType (line 38) | type NullValueType struct
method MarshalJSON (line 44) | func (t NullValueType) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 52) | func (t *NullValueType) UnmarshalJSON(data []byte) error {
type Metric (line 62) | type Metric struct
function NewMetric (line 74) | func NewMetric(m *metrics.Metric, t time.Duration) Metric {
FILE: api/v1/metric_jsonapi.go
type MetricsJSONAPI (line 10) | type MetricsJSONAPI struct
method Metrics (line 53) | func (m MetricsJSONAPI) Metrics() []Metric {
type metricJSONAPI (line 14) | type metricJSONAPI struct
type metricData (line 18) | type metricData struct
function newMetricEnvelope (line 24) | func newMetricEnvelope(m *metrics.Metric, t time.Duration) metricJSONAPI {
function newMetricsJSONAPI (line 30) | func newMetricsJSONAPI(list map[string]*metrics.Metric, t time.Duration)...
function newMetricData (line 42) | func newMetricData(m *metrics.Metric, t time.Duration) metricData {
FILE: api/v1/metric_routes.go
function handleGetMetrics (line 9) | func handleGetMetrics(cs *ControlSurface, rw http.ResponseWriter, _ *htt...
function handleGetMetric (line 27) | func handleGetMetric(cs *ControlSurface, rw http.ResponseWriter, _ *http...
FILE: api/v1/metric_routes_test.go
function TestGetMetrics (line 18) | func TestGetMetrics(t *testing.T) {
function TestGetMetric (line 77) | func TestGetMetric(t *testing.T) {
FILE: api/v1/metric_test.go
function TestNullMetricTypeJSON (line 14) | func TestNullMetricTypeJSON(t *testing.T) {
function TestNullValueTypeJSON (line 52) | func TestNullValueTypeJSON(t *testing.T) {
function TestNewMetric (line 88) | func TestNewMetric(t *testing.T) {
FILE: api/v1/routes.go
function NewHandler (line 9) | func NewHandler(cs *ControlSurface) http.Handler {
FILE: api/v1/setup_jsonapi.go
type setUpJSONAPI (line 3) | type setUpJSONAPI struct
type setUpData (line 7) | type setUpData struct
function newSetUpJSONAPI (line 13) | func newSetUpJSONAPI(setup any) setUpJSONAPI {
FILE: api/v1/setup_teardown_routes.go
type NullSetupData (line 10) | type NullSetupData struct
type SetupData (line 16) | type SetupData struct
function handleSetupDataOutput (line 20) | func handleSetupDataOutput(rw http.ResponseWriter, setupData json.RawMes...
function handleGetSetupData (line 39) | func handleGetSetupData(cs *ControlSurface, rw http.ResponseWriter, _ *h...
function handleSetSetupData (line 44) | func handleSetSetupData(cs *ControlSurface, rw http.ResponseWriter, r *h...
function handleRunSetup (line 70) | func handleRunSetup(cs *ControlSurface, rw http.ResponseWriter, r *http....
function handleRunTeardown (line 83) | func handleRunTeardown(cs *ControlSurface, rw http.ResponseWriter, r *ht...
FILE: api/v1/setup_teardown_routes_test.go
function TestSetupData (line 28) | func TestSetupData(t *testing.T) {
FILE: api/v1/status.go
type Status (line 10) | type Status struct
function newStatus (line 21) | func newStatus(cs *ControlSurface) Status {
FILE: api/v1/status_jsonapi.go
type StatusJSONAPI (line 4) | type StatusJSONAPI struct
method Status (line 20) | func (s StatusJSONAPI) Status() Status {
function NewStatusJSONAPI (line 9) | func NewStatusJSONAPI(s Status) StatusJSONAPI {
type statusData (line 24) | type statusData struct
function newStatusJSONAPIFromEngine (line 30) | func newStatusJSONAPIFromEngine(cs *ControlSurface) StatusJSONAPI {
FILE: api/v1/status_routes.go
function handleGetStatus (line 16) | func handleGetStatus(cs *ControlSurface, rw http.ResponseWriter, _ *http...
function getFirstExternallyControlledExecutor (line 27) | func getFirstExternallyControlledExecutor(execScheduler *execution.Sched...
function handlePatchStatus (line 37) | func handlePatchStatus(cs *ControlSurface, rw http.ResponseWriter, r *ht...
FILE: api/v1/status_routes_test.go
function TestGetStatus (line 26) | func TestGetStatus(t *testing.T) {
function TestPatchStatus (line 66) | func TestPatchStatus(t *testing.T) {
FILE: cloudapi/api.go
type ResultStatus (line 15) | type ResultStatus
constant ResultStatusPassed (line 19) | ResultStatusPassed ResultStatus = 0
constant ResultStatusFailed (line 21) | ResultStatusFailed ResultStatus = 1
type ThresholdResult (line 25) | type ThresholdResult
type TestRun (line 28) | type TestRun struct
type LogEntry (line 41) | type LogEntry struct
type CreateTestRunResponse (line 47) | type CreateTestRunResponse struct
type TestProgressResponse (line 54) | type TestProgressResponse struct
type LoginResponse (line 62) | type LoginResponse struct
type ValidateTokenResponse (line 67) | type ValidateTokenResponse struct
method handleLogEntriesFromCloud (line 73) | func (c *Client) handleLogEntriesFromCloud(ctrr CreateTestRunResponse) {
method CreateTestRun (line 87) | func (c *Client) CreateTestRun(testRun *TestRun) (*CreateTestRunResponse...
method makeCreateTestRunRequest (line 115) | func (c *Client) makeCreateTestRunRequest(url string, testRun *TestRun) ...
method StartCloudTestRun (line 167) | func (c *Client) StartCloudTestRun(name string, projectID int64, arc *li...
method UploadTestOnly (line 178) | func (c *Client) UploadTestOnly(name string, projectID int64, arc *lib.A...
method uploadArchive (line 188) | func (c *Client) uploadArchive(fields [][2]string, arc *lib.Archive) (*C...
method TestFinished (line 230) | func (c *Client) TestFinished(referenceID string, thresholds ThresholdRe...
method GetTestProgress (line 257) | func (c *Client) GetTestProgress(referenceID string) (*TestProgressRespo...
method StopCloudTestRun (line 273) | func (c *Client) StopCloudTestRun(referenceID string) error {
type validateOptionsRequest (line 282) | type validateOptionsRequest struct
method ValidateOptions (line 287) | func (c *Client) ValidateOptions(options lib.Options) error {
type loginRequest (line 297) | type loginRequest struct
method Login (line 303) | func (c *Client) Login(email string, password string) (*LoginResponse, e...
type validateTokenRequest (line 319) | type validateTokenRequest struct
method ValidateToken (line 324) | func (c *Client) ValidateToken() (*ValidateTokenResponse, error) {
FILE: cloudapi/api_test.go
function TestNewClient (line 29) | func TestNewClient(t *testing.T) {
function TestCreateTestRun (line 41) | func TestCreateTestRun(t *testing.T) {
function TestFinished (line 368) | func TestFinished(t *testing.T) {
function TestIdempotencyKey (line 387) | func TestIdempotencyKey(t *testing.T) {
function fprint (line 415) | func fprint(t *testing.T, w io.Writer, format string) int {
FILE: cloudapi/client.go
constant RetryInterval (line 20) | RetryInterval = 500 * time.Millisecond
constant MaxRetries (line 22) | MaxRetries = 3
constant k6IdempotencyKeyHeader (line 24) | k6IdempotencyKeyHeader = "K6-Idempotency-Key"
type Client (line 28) | type Client struct
method SetStackID (line 56) | func (c *Client) SetStackID(stackID int64) {
method BaseURL (line 61) | func (c *Client) BaseURL() string {
method NewRequest (line 69) | func (c *Client) NewRequest(method, url string, data any) (*http.Reque...
method Do (line 90) | func (c *Client) Do(req *http.Request, v any) error {
method prepareHeaders (line 126) | func (c *Client) prepareHeaders(req *http.Request) {
method do (line 146) | func (c *Client) do(req *http.Request, v any, attempt int) (retry bool...
function NewClient (line 42) | func NewClient(logger logrus.FieldLogger, token, host, version string, t...
function CheckResponse (line 182) | func CheckResponse(r *http.Response) error {
function shouldRetry (line 217) | func shouldRetry(resp *http.Response, err error, attempt, maxAttempts in...
function shouldAddIdempotencyKey (line 233) | func shouldAddIdempotencyKey(req *http.Request) bool {
function randomStrHex (line 244) | func randomStrHex() string {
FILE: cloudapi/cloudapi_easyjson.go
function easyjsonC9ac27e5DecodeGoK6IoK6Cloudapi (line 20) | func easyjsonC9ac27e5DecodeGoK6IoK6Cloudapi(in *jlexer.Lexer, out *msgSt...
function easyjsonC9ac27e5EncodeGoK6IoK6Cloudapi (line 103) | func easyjsonC9ac27e5EncodeGoK6IoK6Cloudapi(out *jwriter.Writer, in msgS...
method MarshalEasyJSON (line 155) | func (v msgStreams) MarshalEasyJSON(w *jwriter.Writer) {
method UnmarshalEasyJSON (line 160) | func (v *msgStreams) UnmarshalEasyJSON(l *jlexer.Lexer) {
function easyjsonC9ac27e5DecodeGoK6IoK6Cloudapi1 (line 163) | func easyjsonC9ac27e5DecodeGoK6IoK6Cloudapi1(in *jlexer.Lexer, out *msgD...
function easyjsonC9ac27e5EncodeGoK6IoK6Cloudapi1 (line 210) | func easyjsonC9ac27e5EncodeGoK6IoK6Cloudapi1(out *jwriter.Writer, in msg...
method MarshalEasyJSON (line 244) | func (v msgDroppedEntries) MarshalEasyJSON(w *jwriter.Writer) {
method UnmarshalEasyJSON (line 249) | func (v *msgDroppedEntries) UnmarshalEasyJSON(l *jlexer.Lexer) {
function easyjsonC9ac27e5DecodeGoK6IoK6Cloudapi2 (line 252) | func easyjsonC9ac27e5DecodeGoK6IoK6Cloudapi2(in *jlexer.Lexer, out *msg) {
function easyjsonC9ac27e5EncodeGoK6IoK6Cloudapi2 (line 327) | func easyjsonC9ac27e5EncodeGoK6IoK6Cloudapi2(out *jwriter.Writer, in msg) {
method MarshalEasyJSON (line 367) | func (v msg) MarshalEasyJSON(w *jwriter.Writer) {
method UnmarshalEasyJSON (line 372) | func (v *msg) UnmarshalEasyJSON(l *jlexer.Lexer) {
FILE: cloudapi/config.go
constant LegacyCloudConfigKey (line 15) | LegacyCloudConfigKey = "loadimpact"
type Config (line 20) | type Config struct
method Apply (line 111) | func (c Config) Apply(cfg Config) Config {
function NewConfig (line 75) | func NewConfig() Config {
function GetConsolidatedConfig (line 194) | func GetConsolidatedConfig(
function mergeFromCloudOptionAndExternal (line 245) | func mergeFromCloudOptionAndExternal(
function GetTemporaryCloudConfig (line 289) | func GetTemporaryCloudConfig(
function pickSource (line 310) | func pickSource(
FILE: cloudapi/config_test.go
function TestConfigApply (line 15) | func TestConfigApply(t *testing.T) {
function TestGetConsolidatedConfig (line 58) | func TestGetConsolidatedConfig(t *testing.T) {
function TestGetConsolidatedConfig_WithLegacyOnly (line 88) | func TestGetConsolidatedConfig_WithLegacyOnly(t *testing.T) {
function TestGetConsolidatedConfig_LegacyHasLowerPriority (line 104) | func TestGetConsolidatedConfig_LegacyHasLowerPriority(t *testing.T) {
function TestGetConsolidatedConfig_EnvHasHigherPriority (line 120) | func TestGetConsolidatedConfig_EnvHasHigherPriority(t *testing.T) {
FILE: cloudapi/errors.go
type ResponseError (line 18) | type ResponseError struct
method Error (line 32) | func (e ResponseError) Error() string {
function contains (line 28) | func contains(s []string, e string) bool {
FILE: cloudapi/errors_test.go
function TestContains (line 9) | func TestContains(t *testing.T) {
function TestErrorResponse_Error (line 18) | func TestErrorResponse_Error(t *testing.T) {
FILE: cloudapi/logs.go
type msg (line 23) | type msg struct
method Log (line 42) | func (m *msg) Log(logger logrus.FieldLogger) int64 {
type msgStreams (line 29) | type msgStreams struct
type msgDroppedEntries (line 35) | type msgDroppedEntries struct
function labelsToLogrusFields (line 83) | func labelsToLogrusFields(labels map[string]string) logrus.Fields {
method logtailConn (line 93) | func (c *Config) logtailConn(ctx context.Context, referenceID string, si...
method StreamLogsToLogger (line 121) | func (c *Config) StreamLogsToLogger(
type sleeper (line 211) | type sleeper interface
type sleeperFunc (line 216) | type sleeperFunc
method Sleep (line 218) | func (sfn sleeperFunc) Sleep(d time.Duration) {
function retry (line 227) | func retry(s sleeper, attempts int, interval, maxDuration time.Duration,...
FILE: cloudapi/logs_test.go
function TestMsgParsing (line 27) | func TestMsgParsing(t *testing.T) {
function TestMSGLog (line 74) | func TestMSGLog(t *testing.T) {
function TestRetry (line 120) | func TestRetry(t *testing.T) {
function TestStreamLogsToLogger (line 194) | func TestStreamLogsToLogger(t *testing.T) {
FILE: cloudapi/run_status.go
type RunStatus (line 5) | type RunStatus
constant RunStatusCreated (line 9) | RunStatusCreated RunStatus = -2
constant RunStatusValidated (line 10) | RunStatusValidated RunStatus = -1
constant RunStatusQueued (line 11) | RunStatusQueued RunStatus = 0
constant RunStatusInitializing (line 12) | RunStatusInitializing RunStatus = 1
constant RunStatusRunning (line 13) | RunStatusRunning RunStatus = 2
constant RunStatusFinished (line 14) | RunStatusFinished RunStatus = 3
constant RunStatusTimedOut (line 15) | RunStatusTimedOut RunStatus = 4
constant RunStatusAbortedUser (line 16) | RunStatusAbortedUser RunStatus = 5
constant RunStatusAbortedSystem (line 17) | RunStatusAbortedSystem RunStatus = 6
constant RunStatusAbortedScriptError (line 18) | RunStatusAbortedScriptError RunStatus = 7
constant RunStatusAbortedThreshold (line 19) | RunStatusAbortedThreshold RunStatus = 8
constant RunStatusAbortedLimit (line 20) | RunStatusAbortedLimit RunStatus = 9
constant RunStatusArchived (line 21) | RunStatusArchived RunStatus = 10
FILE: cloudapi/util.go
function URLForResults (line 4) | func URLForResults(refID string, config Config) string {
FILE: cloudapi/util_test.go
function TestURLForResults (line 11) | func TestURLForResults(t *testing.T) {
FILE: cmd/execute.go
function Execute (line 13) | func Execute() {
FILE: cmd/state/env.go
function ParseEnvKeyValue (line 6) | func ParseEnvKeyValue(kv string) (string, string) {
function BuildEnvMap (line 15) | func BuildEnvMap(environ []string) map[string]string {
FILE: cmd/state/state.go
constant AutoExtensionResolution (line 29) | AutoExtensionResolution = "K6_AUTO_EXTENSION_RESOLUTION"
constant DependenciesManifest (line 32) | DependenciesManifest = "K6_DEPENDENCIES_MANIFEST"
constant communityExtensionsCatalog (line 35) | communityExtensionsCatalog = "oss"
constant defaultBuildServiceURL (line 38) | defaultBuildServiceURL = "https://ingest.k6.io/builder/api/v1"
constant defaultConfigFileName (line 40) | defaultConfigFileName = "config.json"
constant defaultBinaryCacheDir (line 41) | defaultBinaryCacheDir = "builds"
type GlobalState (line 57) | type GlobalState struct
function NewGlobalState (line 93) | func NewGlobalState(ctx context.Context) *GlobalState {
type GlobalFlags (line 176) | type GlobalFlags struct
function GetDefaultFlags (line 195) | func GetDefaultFlags(homeDir string, cacheDir string) GlobalFlags {
function getFlags (line 208) | func getFlags(defaultFlags GlobalFlags, env map[string]string, args []st...
FILE: cmd/tests/global_state.go
function NewGlobalTestState (line 15) | func NewGlobalTestState(tb testing.TB) *GlobalTestState {
FILE: errext/abort_reason.go
type AbortReason (line 7) | type AbortReason
constant AbortedByUser (line 11) | AbortedByUser AbortReason = iota + 1
constant AbortedByThreshold (line 12) | AbortedByThreshold
constant AbortedByThresholdsAfterTestEnd (line 13) | AbortedByThresholdsAfterTestEnd
constant AbortedByScriptError (line 14) | AbortedByScriptError
constant AbortedByScriptAbort (line 15) | AbortedByScriptAbort
constant AbortedByTimeout (line 16) | AbortedByTimeout
constant AbortedByOutput (line 17) | AbortedByOutput
type HasAbortReason (line 21) | type HasAbortReason interface
function WithAbortReasonIfNone (line 30) | func WithAbortReasonIfNone(err error, abortReason AbortReason) error {
type withAbortReasonError (line 42) | type withAbortReasonError struct
method Unwrap (line 47) | func (ar withAbortReasonError) Unwrap() error {
method AbortReason (line 51) | func (ar withAbortReasonError) AbortReason() AbortReason {
FILE: errext/errext_test.go
function assertHasHint (line 13) | func assertHasHint(t *testing.T, err error, hint string) {
function assertHasExitCode (line 20) | func assertHasExitCode(t *testing.T, err error, exitcode exitcodes.ExitC...
function TestErrextHelpers (line 27) | func TestErrextHelpers(t *testing.T) {
FILE: errext/exception.go
type Exception (line 6) | type Exception interface
FILE: errext/exit_code.go
type HasExitCode (line 14) | type HasExitCode interface
function WithExitCodeIfNone (line 23) | func WithExitCodeIfNone(err error, exitCode exitcodes.ExitCode) error {
type withExitCodeError (line 36) | type withExitCodeError struct
method Unwrap (line 41) | func (wh withExitCodeError) Unwrap() error {
method ExitCode (line 45) | func (wh withExitCodeError) ExitCode() exitcodes.ExitCode {
FILE: errext/exitcodes/codes.go
type ExitCode (line 5) | type ExitCode
constant CloudTestRunFailed (line 11) | CloudTestRunFailed ExitCode = 97
constant CloudFailedToGetProgress (line 15) | CloudFailedToGetProgress ExitCode = 98
constant ThresholdsHaveFailed (line 18) | ThresholdsHaveFailed ExitCode = 99
constant SetupTimeout (line 21) | SetupTimeout ExitCode = 100
constant TeardownTimeout (line 24) | TeardownTimeout ExitCode = 101
constant GenericTimeout (line 27) | GenericTimeout ExitCode = 102
constant ScriptStoppedFromRESTAPI (line 31) | ScriptStoppedFromRESTAPI ExitCode = 103
constant InvalidConfig (line 34) | InvalidConfig ExitCode = 104
constant ExternalAbort (line 39) | ExternalAbort ExitCode = 105
constant CannotStartRESTAPI (line 42) | CannotStartRESTAPI ExitCode = 106
constant ScriptException (line 46) | ScriptException ExitCode = 107
constant ScriptAborted (line 50) | ScriptAborted ExitCode = 108
constant GoPanic (line 53) | GoPanic ExitCode = 109
constant MarkedAsFailed (line 56) | MarkedAsFailed ExitCode = 110
FILE: errext/format.go
function Format (line 10) | func Format(err error) (string, map[string]any) {
FILE: errext/format_test.go
function TestFormat (line 12) | func TestFormat(t *testing.T) {
type fakeExceptionError (line 54) | type fakeExceptionError struct
method StackTrace (line 60) | func (e fakeExceptionError) StackTrace() string {
method AbortReason (line 64) | func (e fakeExceptionError) AbortReason() errext.AbortReason {
method Unwrap (line 68) | func (e fakeExceptionError) Unwrap() error {
FILE: errext/hint.go
type HasHint (line 8) | type HasHint interface
function WithHint (line 17) | func WithHint(err error, hint string) error {
type withHintError (line 24) | type withHintError struct
method Unwrap (line 29) | func (wh withHintError) Unwrap() error {
method Hint (line 33) | func (wh withHintError) Hint() string {
FILE: errext/interrupt_error.go
type InterruptError (line 10) | type InterruptError struct
method Error (line 20) | func (i *InterruptError) Error() string {
method ExitCode (line 25) | func (i *InterruptError) ExitCode() exitcodes.ExitCode {
method AbortReason (line 31) | func (i *InterruptError) AbortReason() AbortReason {
constant AbortTest (line 36) | AbortTest = "test aborted"
constant MarkedAsFailedTest (line 39) | MarkedAsFailedTest = "test marked as failed"
function IsInterruptError (line 42) | func IsInterruptError(err error) bool {
FILE: examples/browser/locator_pom.js
class Bet (line 28) | class Bet {
method constructor (line 29) | constructor(page) {
method goto (line 36) | goto() {
method heads (line 40) | heads() {
method tails (line 47) | tails() {
method current (line 54) | current() {
FILE: examples/browser/multiple-scenario.js
function messages (line 35) | async function messages() {
function news (line 45) | async function news() {
FILE: examples/browser/throttle.js
function normal (line 43) | async function normal() {
function networkThrottled (line 54) | async function networkThrottled() {
function cpuThrottled (line 67) | async function cpuThrottled() {
FILE: examples/enhanced/user.ts
type User (line 1) | interface User {
class UserAccount (line 6) | class UserAccount implements User {
method constructor (line 10) | constructor(name: string) {
function newUser (line 16) | function newUser(name: string): User {
FILE: examples/experimental/redis.js
function measureRedisPerformance (line 31) | async function measureRedisPerformance() {
function setup (line 51) | async function setup() {
function measureUsingRedisData (line 55) | async function measureUsingRedisData() {
function teardown (line 69) | async function teardown() {
function handleSummary (line 73) | function handleSummary(data) {
FILE: examples/experimental/streams.js
function numbersStream (line 4) | function numbersStream() {
FILE: examples/grpc_client_streaming.js
constant COORD_FACTOR (line 4) | const COORD_FACTOR = 1e7;
constant GRPC_ADDR (line 9) | const GRPC_ADDR = __ENV.GRPC_ADDR || '127.0.0.1:10000';
constant GRPC_PROTO_PATH (line 10) | const GRPC_PROTO_PATH = __ENV.GRPC_PROTO_PATH || '../lib/testutils/grpcs...
FILE: examples/grpc_healthcheck.js
constant GRPC_ADDR (line 8) | const GRPC_ADDR = __ENV.GRPC_ADDR || '127.0.0.1:10000';
FILE: examples/grpc_invoke.js
constant GRPC_ADDR (line 8) | const GRPC_ADDR = __ENV.GRPC_ADDR || '127.0.0.1:10000';
constant GRPC_PROTO_PATH (line 9) | const GRPC_PROTO_PATH = __ENV.GRPC_PROTO_PATH || '../internal/lib/testut...
FILE: examples/grpc_reflection.js
constant GRPC_ADDR (line 8) | const GRPC_ADDR = __ENV.GRPC_ADDR || '127.0.0.1:10000';
FILE: examples/grpc_server/main.go
function main (line 49) | func main() {
FILE: examples/grpc_server_streaming.js
constant COORD_FACTOR (line 4) | const COORD_FACTOR = 1e7;
constant GRPC_ADDR (line 9) | const GRPC_ADDR = __ENV.GRPC_ADDR || '127.0.0.1:10000';
constant GRPC_PROTO_PATH (line 10) | const GRPC_PROTO_PATH = __ENV.GRPC_PROTO_PATH || '../internal/lib/testut...
FILE: examples/jwt.js
function sign (line 11) | function sign(data, hashAlg, secret) {
function encode (line 20) | function encode(payload, secret, algorithm) {
function decode (line 28) | function decode(token, secret, algorithm) {
FILE: examples/pantheon.js
function doFrontPage (line 119) | function doFrontPage() {
function doLogin (line 130) | function doLogin() {
function doCategory (line 164) | function doCategory(category) {
function doProductPage (line 177) | function doProductPage(product) {
function addProductToCart (line 194) | function addProductToCart(url, productID, formID, formBuildID, formToken) {
function doCheckout (line 212) | function doCheckout() {
function doLogout (line 321) | function doLogout() {
FILE: examples/pantheontest.js
function thinktime (line 144) | function thinktime(t) {
function firstpage (line 150) | function firstpage() {
function loginpage (line 164) | function loginpage() {
function do_login (line 181) | function do_login(username, password) {
function carrypage (line 203) | function carrypage() {
function drupalbag (line 214) | function drupalbag() {
function add_drupalbag (line 228) | function add_drupalbag() {
function cartreview (line 251) | function cartreview() {
function cartsubmit (line 266) | function cartsubmit() {
function checkout (line 293) | function checkout() {
function shipping (line 324) | function shipping() {
function review_submit (line 348) | function review_submit() {
function logout (line 374) | function logout() {
function page_dependencies (line 397) | function page_dependencies(cached) {
FILE: examples/secrets/mock_server.go
constant serverAddr (line 32) | serverAddr = ":8888"
constant expectedToken (line 34) | expectedToken = "Bearer YOUR_API_TOKEN_HERE"
constant readTimeout (line 35) | readTimeout = 10 * time.Second
constant writeTimeout (line 36) | writeTimeout = 10 * time.Second
type secretResponse (line 40) | type secretResponse struct
function main (line 45) | func main() {
function createSecretHandler (line 105) | func createSecretHandler(mockSecrets map[string]string) http.HandlerFunc {
function getSecretKeys (line 179) | func getSecretKeys(secrets map[string]string) []string {
FILE: examples/source_map/issue_1804/imported.js
function f1 (line 1) | function f1() {
function f2 (line 5) | function f2() {
function f3 (line 9) | function f3() {
FILE: examples/source_map/typescript_template/test1.ts
function coolThrow (line 1) | function coolThrow(s: string) {
FILE: examples/timers.js
function timeout (line 6) | function timeout() {
function pad (line 25) | function pad(number) {
function logline (line 29) | function logline(now) {
FILE: examples/webcrypto/derive_bits/derive-bits-ecdh.js
function deriveSharedSecret (line 38) | async function deriveSharedSecret(privateKey, publicKey) {
FILE: examples/webcrypto/derive_bits/derive-bits-pbkdf2.js
function stringToArrayBuffer (line 1) | function stringToArrayBuffer(str) {
FILE: examples/webcrypto/derive_key/derive-key-pbkdf2.js
function stringToArrayBuffer (line 1) | function stringToArrayBuffer(str) {
FILE: examples/webcrypto/digest.js
function arrayBufferToHex (line 12) | function arrayBufferToHex(buffer) {
function stringToArrayBuffer (line 18) | function stringToArrayBuffer(s) {
FILE: examples/webcrypto/encrypt_decrypt/encrypt-decrypt-aes-cbc.js
function arrayBufferToHex (line 38) | function arrayBufferToHex(buffer) {
function stringToArrayBuffer (line 44) | function stringToArrayBuffer(str) {
FILE: examples/webcrypto/encrypt_decrypt/encrypt-decrypt-aes-ctr.js
function arrayBufferToHex (line 40) | function arrayBufferToHex(buffer) {
function string2ArrayBuffer (line 46) | function string2ArrayBuffer(str) {
FILE: examples/webcrypto/encrypt_decrypt/encrypt-decrypt-aes-gcm.js
function arrayBufferToHex (line 38) | function arrayBufferToHex(buffer) {
function string2ArrayBuffer (line 44) | function string2ArrayBuffer(str) {
FILE: examples/webcrypto/encrypt_decrypt/encrypt-decrypt-rsa.js
function arrayBufferToHex (line 44) | function arrayBufferToHex(buffer) {
function stringToArrayBuffer (line 50) | function stringToArrayBuffer(str) {
FILE: examples/webcrypto/import_export/import-ecdh-key.js
function deriveSharedSecret (line 47) | async function deriveSharedSecret(privateKey, publicKey) {
FILE: examples/webcrypto/sign_verify/sign-verify-hmac.js
function string2ArrayBuffer (line 28) | function string2ArrayBuffer(str) {
FILE: examples/websockets/test-echo.js
constant CLOSED_STATE (line 3) | const CLOSED_STATE = 3
FILE: examples/websockets/ws.js
function startWSWorker (line 12) | function startWSWorker(id) {
FILE: ext/ext.go
type ExtensionType (line 23) | type ExtensionType
method String (line 33) | func (e ExtensionType) String() string {
constant JSExtension (line 27) | JSExtension ExtensionType = iota + 1
constant OutputExtension (line 28) | OutputExtension
constant SecretSourceExtension (line 29) | SecretSourceExtension
constant SubcommandExtension (line 30) | SubcommandExtension
type Extension (line 49) | type Extension struct
method String (line 55) | func (e Extension) String() string {
function Register (line 62) | func Register(name string, typ ExtensionType, mod any) {
function Get (line 87) | func Get(typ ExtensionType) map[string]*Extension {
function GetAll (line 104) | func GetAll() []*Extension {
function extractModuleInfo (line 133) | func extractModuleInfo(mod any) (path, version string) {
function init (line 165) | func init() {
FILE: internal/api/server.go
function newHandler (line 23) | func newHandler(cs *v1.ControlSurface, profilingEnabled bool) http.Handl...
function injectProfilerHandler (line 34) | func injectProfilerHandler(mux *http.ServeMux, profilingEnabled bool) {
function GetServer (line 52) | func GetServer(
type wrappedResponseWriter (line 75) | type wrappedResponseWriter struct
method WriteHeader (line 80) | func (w *wrappedResponseWriter) WriteHeader(status int) {
function withLoggingHandler (line 86) | func withLoggingHandler(l logrus.FieldLogger, next http.Handler) http.Ha...
function handlePing (line 95) | func handlePing(logger logrus.FieldLogger) http.Handler {
FILE: internal/api/server_test.go
function testHTTPHandler (line 16) | func testHTTPHandler(rw http.ResponseWriter, _ *http.Request) {
function TestLogger (line 23) | func TestLogger(t *testing.T) {
function TestPing (line 57) | func TestPing(t *testing.T) {
FILE: internal/build/version.go
constant Version (line 6) | Version = "1.6.1"
FILE: internal/cloudapi/insights/client.go
constant testRunIDHeader (line 24) | testRunIDHeader = "X-K6TestRun-Id"
constant authorizationHeader (line 25) | authorizationHeader = "Authorization"
type ClientConfig (line 37) | type ClientConfig struct
type ClientConnectConfig (line 47) | type ClientConnectConfig struct
type ClientAuthConfig (line 55) | type ClientAuthConfig struct
type ClientTLSConfig (line 63) | type ClientTLSConfig struct
type ClientRetryConfig (line 69) | type ClientRetryConfig struct
type ClientBackoffConfig (line 77) | type ClientBackoffConfig struct
type Client (line 84) | type Client struct
method Dial (line 135) | func (c *Client) Dial(ctx context.Context) error {
method IngestRequestMetadatasBatch (line 163) | func (c *Client) IngestRequestMetadatasBatch(ctx context.Context, requ...
method Close (line 192) | func (c *Client) Close() error {
function NewDefaultClientConfigForTestRun (line 92) | func NewDefaultClientConfigForTestRun(ingesterHost, authToken string, te...
function NewClient (line 125) | func NewClient(cfg ClientConfig) *Client {
function dialOptionsFromClientConfig (line 207) | func dialOptionsFromClientConfig(cfg ClientConfig) ([]grpc.DialOption, e...
function retryInterceptor (line 250) | func retryInterceptor(retryConfig ClientRetryConfig) (grpc.UnaryClientIn...
function retryableStatusCodes (line 271) | func retryableStatusCodes(retryableStatusCodes string) ([]codes.Code, er...
type perRPCCredentials (line 288) | type perRPCCredentials struct
method GetRequestMetadata (line 303) | func (c perRPCCredentials) GetRequestMetadata(_ context.Context, _ ......
method RequireTransportSecurity (line 307) | func (c perRPCCredentials) RequireTransportSecurity() bool {
function newPerRPCCredentials (line 293) | func newPerRPCCredentials(cfg ClientAuthConfig) perRPCCredentials {
FILE: internal/cloudapi/insights/client_test.go
function newMockListener (line 19) | func newMockListener(t *testing.T, ingesterServer ingester.IngesterServi...
function newMockContextDialer (line 34) | func newMockContextDialer(t *testing.T, l *bufconn.Listener) func(contex...
type mockWorkingIngesterServer (line 42) | type mockWorkingIngesterServer struct
method BatchCreateRequestMetadatas (line 50) | func (s *mockWorkingIngesterServer) BatchCreateRequestMetadatas(ctx co...
type mockFailingIngesterServer (line 72) | type mockFailingIngesterServer struct
method BatchCreateRequestMetadatas (line 77) | func (m *mockFailingIngesterServer) BatchCreateRequestMetadatas(_ cont...
type fatalError (line 81) | type fatalError struct
method Error (line 83) | func (*fatalError) Error() string { return "context dialer error" }
method Temporary (line 84) | func (*fatalError) Temporary() bool { return false }
function TestClient_Dial_ReturnsNoErrorWithWorkingDialer (line 86) | func TestClient_Dial_ReturnsNoErrorWithWorkingDialer(t *testing.T) {
function TestClient_Dial_ReturnsErrorWhenCalledTwice (line 108) | func TestClient_Dial_ReturnsErrorWhenCalledTwice(t *testing.T) {
function TestClient_Dial_ReturnsNoErrorWithFailingDialer (line 132) | func TestClient_Dial_ReturnsNoErrorWithFailingDialer(t *testing.T) {
function TestClient_Dial_ReturnsErrorWithoutRetryableStatusCodes (line 158) | func TestClient_Dial_ReturnsErrorWithoutRetryableStatusCodes(t *testing....
function TestClient_Dial_ReturnsErrorWithInvalidRetryableStatusCodes (line 179) | func TestClient_Dial_ReturnsErrorWithInvalidRetryableStatusCodes(t *test...
function TestClient_IngestRequestMetadatasBatch_ReturnsNoErrorWithWorkingServerAndNonCancelledContextAndNoData (line 201) | func TestClient_IngestRequestMetadatasBatch_ReturnsNoErrorWithWorkingSer...
function TestClient_IngestRequestMetadatasBatch_ReturnsNoErrorWithWorkingServerAndNonCancelledContextAndData (line 226) | func TestClient_IngestRequestMetadatasBatch_ReturnsNoErrorWithWorkingSer...
function TestClient_IngestRequestMetadatasBatch_ReturnsErrorWithWorkingServerAndCancelledContext (line 267) | func TestClient_IngestRequestMetadatasBatch_ReturnsErrorWithWorkingServe...
function TestClient_IngestRequestMetadatasBatch_ReturnsErrorWithUninitializedClient (line 303) | func TestClient_IngestRequestMetadatasBatch_ReturnsErrorWithUninitialize...
function TestClient_IngestRequestMetadatasBatch_ReturnsErrorWithFailingServerAndNonCancelledContext (line 335) | func TestClient_IngestRequestMetadatasBatch_ReturnsErrorWithFailingServe...
function TestClient_IngestRequestMetadatasBatch_ReturnsNoErrorAfterRetrySeveralTimes (line 368) | func TestClient_IngestRequestMetadatasBatch_ReturnsNoErrorAfterRetrySeve...
function TestClient_IngestRequestMetadatasBatch_ReturnsErrorAfterExhaustingMaxRetryAttempts (line 417) | func TestClient_IngestRequestMetadatasBatch_ReturnsErrorAfterExhaustingM...
function TestClient_Close_ReturnsNoErrorWhenClosedOnce (line 464) | func TestClient_Close_ReturnsNoErrorWhenClosedOnce(t *testing.T) {
function TestClient_Close_ReturnsNoErrorWhenClosedTwice (line 486) | func TestClient_Close_ReturnsNoErrorWhenClosedTwice(t *testing.T) {
FILE: internal/cloudapi/insights/domain.go
type TestRunLabels (line 8) | type TestRunLabels struct
type ProtocolLabels (line 15) | type ProtocolLabels interface
type ProtocolHTTPLabels (line 20) | type ProtocolHTTPLabels struct
method IsProtocolLabels (line 27) | func (ProtocolHTTPLabels) IsProtocolLabels() {
type RequestMetadatas (line 32) | type RequestMetadatas
type RequestMetadata (line 35) | type RequestMetadata struct
FILE: internal/cloudapi/insights/mappers.go
function newBatchCreateRequestMetadatasRequest (line 11) | func newBatchCreateRequestMetadatasRequest(
function newCreateRequestMetadataRequest (line 29) | func newCreateRequestMetadataRequest(requestMetadata RequestMetadata) (*...
function setProtocolLabels (line 51) | func setProtocolLabels(rm *k6.RequestMetadata, labels ProtocolLabels) er...
FILE: internal/cloudapi/insights/mappers_test.go
function Test_newBatchCreateRequestMetadatasRequest_CorrectlyMapsDomainTypeToProtoDefinition (line 13) | func Test_newBatchCreateRequestMetadatasRequest_CorrectlyMapsDomainTypeT...
FILE: internal/cloudapi/insights/proto/v1/common/common.pb.go
constant _ (line 34) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 36) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type AnyValue (line 42) | type AnyValue struct
method Reset (line 62) | func (x *AnyValue) Reset() {
method String (line 71) | func (x *AnyValue) String() string {
method ProtoMessage (line 75) | func (*AnyValue) ProtoMessage() {}
method ProtoReflect (line 77) | func (x *AnyValue) ProtoReflect() protoreflect.Message {
method Descriptor (line 90) | func (*AnyValue) Descriptor() ([]byte, []int) {
method GetValue (line 94) | func (m *AnyValue) GetValue() isAnyValue_Value {
method GetStringValue (line 101) | func (x *AnyValue) GetStringValue() string {
method GetBoolValue (line 108) | func (x *AnyValue) GetBoolValue() bool {
method GetIntValue (line 115) | func (x *AnyValue) GetIntValue() int64 {
method GetDoubleValue (line 122) | func (x *AnyValue) GetDoubleValue() float64 {
method GetArrayValue (line 129) | func (x *AnyValue) GetArrayValue() *ArrayValue {
method GetKvlistValue (line 136) | func (x *AnyValue) GetKvlistValue() *KeyValueList {
method GetBytesValue (line 143) | func (x *AnyValue) GetBytesValue() []byte {
type isAnyValue_Value (line 150) | type isAnyValue_Value interface
type AnyValue_StringValue (line 154) | type AnyValue_StringValue struct
method isAnyValue_Value (line 182) | func (*AnyValue_StringValue) isAnyValue_Value() {}
type AnyValue_BoolValue (line 158) | type AnyValue_BoolValue struct
method isAnyValue_Value (line 184) | func (*AnyValue_BoolValue) isAnyValue_Value() {}
type AnyValue_IntValue (line 162) | type AnyValue_IntValue struct
method isAnyValue_Value (line 186) | func (*AnyValue_IntValue) isAnyValue_Value() {}
type AnyValue_DoubleValue (line 166) | type AnyValue_DoubleValue struct
method isAnyValue_Value (line 188) | func (*AnyValue_DoubleValue) isAnyValue_Value() {}
type AnyValue_ArrayValue (line 170) | type AnyValue_ArrayValue struct
method isAnyValue_Value (line 190) | func (*AnyValue_ArrayValue) isAnyValue_Value() {}
type AnyValue_KvlistValue (line 174) | type AnyValue_KvlistValue struct
method isAnyValue_Value (line 192) | func (*AnyValue_KvlistValue) isAnyValue_Value() {}
type AnyValue_BytesValue (line 178) | type AnyValue_BytesValue struct
method isAnyValue_Value (line 194) | func (*AnyValue_BytesValue) isAnyValue_Value() {}
type ArrayValue (line 198) | type ArrayValue struct
method Reset (line 207) | func (x *ArrayValue) Reset() {
method String (line 216) | func (x *ArrayValue) String() string {
method ProtoMessage (line 220) | func (*ArrayValue) ProtoMessage() {}
method ProtoReflect (line 222) | func (x *ArrayValue) ProtoReflect() protoreflect.Message {
method Descriptor (line 235) | func (*ArrayValue) Descriptor() ([]byte, []int) {
method GetValues (line 239) | func (x *ArrayValue) GetValues() []*AnyValue {
type KeyValueList (line 251) | type KeyValueList struct
method Reset (line 263) | func (x *KeyValueList) Reset() {
method String (line 272) | func (x *KeyValueList) String() string {
method ProtoMessage (line 276) | func (*KeyValueList) ProtoMessage() {}
method ProtoReflect (line 278) | func (x *KeyValueList) ProtoReflect() protoreflect.Message {
method Descriptor (line 291) | func (*KeyValueList) Descriptor() ([]byte, []int) {
method GetValues (line 295) | func (x *KeyValueList) GetValues() []*KeyValue {
type KeyValue (line 304) | type KeyValue struct
method Reset (line 313) | func (x *KeyValue) Reset() {
method String (line 322) | func (x *KeyValue) String() string {
method ProtoMessage (line 326) | func (*KeyValue) ProtoMessage() {}
method ProtoReflect (line 328) | func (x *KeyValue) ProtoReflect() protoreflect.Message {
method Descriptor (line 341) | func (*KeyValue) Descriptor() ([]byte, []int) {
method GetKey (line 345) | func (x *KeyValue) GetKey() string {
method GetValue (line 352) | func (x *KeyValue) GetValue() *AnyValue {
function file_v1_common_common_proto_rawDescGZIP (line 417) | func file_v1_common_common_proto_rawDescGZIP() []byte {
function init (line 444) | func init() { file_v1_common_common_proto_init() }
function file_v1_common_common_proto_init (line 445) | func file_v1_common_common_proto_init() {
FILE: internal/cloudapi/insights/proto/v1/ingester/ingester.pb.go
constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type BatchCreateRequestMetadatasRequest (line 25) | type BatchCreateRequestMetadatasRequest struct
method Reset (line 33) | func (x *BatchCreateRequestMetadatasRequest) Reset() {
method String (line 42) | func (x *BatchCreateRequestMetadatasRequest) String() string {
method ProtoMessage (line 46) | func (*BatchCreateRequestMetadatasRequest) ProtoMessage() {}
method ProtoReflect (line 48) | func (x *BatchCreateRequestMetadatasRequest) ProtoReflect() protorefle...
method Descriptor (line 61) | func (*BatchCreateRequestMetadatasRequest) Descriptor() ([]byte, []int) {
method GetRequests (line 65) | func (x *BatchCreateRequestMetadatasRequest) GetRequests() []*CreateRe...
type CreateRequestMetadataRequest (line 72) | type CreateRequestMetadataRequest struct
method Reset (line 80) | func (x *CreateRequestMetadataRequest) Reset() {
method String (line 89) | func (x *CreateRequestMetadataRequest) String() string {
method ProtoMessage (line 93) | func (*CreateRequestMetadataRequest) ProtoMessage() {}
method ProtoReflect (line 95) | func (x *CreateRequestMetadataRequest) ProtoReflect() protoreflect.Mes...
method Descriptor (line 108) | func (*CreateRequestMetadataRequest) Descriptor() ([]byte, []int) {
method GetRequestMetadata (line 112) | func (x *CreateRequestMetadataRequest) GetRequestMetadata() *k6.Reques...
type BatchCreateRequestMetadatasResponse (line 119) | type BatchCreateRequestMetadatasResponse struct
method Reset (line 127) | func (x *BatchCreateRequestMetadatasResponse) Reset() {
method String (line 136) | func (x *BatchCreateRequestMetadatasResponse) String() string {
method ProtoMessage (line 140) | func (*BatchCreateRequestMetadatasResponse) ProtoMessage() {}
method ProtoReflect (line 142) | func (x *BatchCreateRequestMetadatasResponse) ProtoReflect() protorefl...
method Descriptor (line 155) | func (*BatchCreateRequestMetadatasResponse) Descriptor() ([]byte, []in...
method GetRequestMetadatas (line 159) | func (x *BatchCreateRequestMetadatasResponse) GetRequestMetadatas() []...
type BatchCreateSpansRequest (line 166) | type BatchCreateSpansRequest struct
method Reset (line 174) | func (x *BatchCreateSpansRequest) Reset() {
method String (line 183) | func (x *BatchCreateSpansRequest) String() string {
method ProtoMessage (line 187) | func (*BatchCreateSpansRequest) ProtoMessage() {}
method ProtoReflect (line 189) | func (x *BatchCreateSpansRequest) ProtoReflect() protoreflect.Message {
method Descriptor (line 202) | func (*BatchCreateSpansRequest) Descriptor() ([]byte, []int) {
method GetRequests (line 206) | func (x *BatchCreateSpansRequest) GetRequests() []*CreateSpanRequest {
type CreateSpanRequest (line 213) | type CreateSpanRequest struct
method Reset (line 221) | func (x *CreateSpanRequest) Reset() {
method String (line 230) | func (x *CreateSpanRequest) String() string {
method ProtoMessage (line 234) | func (*CreateSpanRequest) ProtoMessage() {}
method ProtoReflect (line 236) | func (x *CreateSpanRequest) ProtoReflect() protoreflect.Message {
method Descriptor (line 249) | func (*CreateSpanRequest) Descriptor() ([]byte, []int) {
method GetSpan (line 253) | func (x *CreateSpanRequest) GetSpan() *trace.Span {
type BatchCreateSpansResponse (line 260) | type BatchCreateSpansResponse struct
method Reset (line 268) | func (x *BatchCreateSpansResponse) Reset() {
method String (line 277) | func (x *BatchCreateSpansResponse) String() string {
method ProtoMessage (line 281) | func (*BatchCreateSpansResponse) ProtoMessage() {}
method ProtoReflect (line 283) | func (x *BatchCreateSpansResponse) ProtoReflect() protoreflect.Message {
method Descriptor (line 296) | func (*BatchCreateSpansResponse) Descriptor() ([]byte, []int) {
method GetSpans (line 300) | func (x *BatchCreateSpansResponse) GetSpans() []*trace.Span {
function file_v1_ingester_ingester_proto_rawDescGZIP (line 393) | func file_v1_ingester_ingester_proto_rawDescGZIP() []byte {
function init (line 429) | func init() { file_v1_ingester_ingester_proto_init() }
function file_v1_ingester_ingester_proto_init (line 430) | func file_v1_ingester_ingester_proto_init() {
FILE: internal/cloudapi/insights/proto/v1/ingester/ingester_grpc.pb.go
constant _ (line 19) | _ = grpc.SupportPackageIsVersion7
constant IngesterService_BatchCreateRequestMetadatas_FullMethodName (line 22) | IngesterService_BatchCreateRequestMetadatas_FullMethodName = "/k6.cloud....
constant IngesterService_BatchCreateSpans_FullMethodName (line 23) | IngesterService_BatchCreateSpans_FullMethodName = "/k6.cloud....
type IngesterServiceClient (line 29) | type IngesterServiceClient interface
type ingesterServiceClient (line 34) | type ingesterServiceClient struct
method BatchCreateRequestMetadatas (line 42) | func (c *ingesterServiceClient) BatchCreateRequestMetadatas(ctx contex...
method BatchCreateSpans (line 51) | func (c *ingesterServiceClient) BatchCreateSpans(ctx context.Context, ...
function NewIngesterServiceClient (line 38) | func NewIngesterServiceClient(cc grpc.ClientConnInterface) IngesterServi...
type IngesterServiceServer (line 63) | type IngesterServiceServer interface
type UnimplementedIngesterServiceServer (line 70) | type UnimplementedIngesterServiceServer struct
method BatchCreateRequestMetadatas (line 73) | func (UnimplementedIngesterServiceServer) BatchCreateRequestMetadatas(...
method BatchCreateSpans (line 76) | func (UnimplementedIngesterServiceServer) BatchCreateSpans(context.Con...
method mustEmbedUnimplementedIngesterServiceServer (line 79) | func (UnimplementedIngesterServiceServer) mustEmbedUnimplementedIngest...
type UnsafeIngesterServiceServer (line 84) | type UnsafeIngesterServiceServer interface
function RegisterIngesterServiceServer (line 88) | func RegisterIngesterServiceServer(s grpc.ServiceRegistrar, srv Ingester...
function _IngesterService_BatchCreateRequestMetadatas_Handler (line 92) | func _IngesterService_BatchCreateRequestMetadatas_Handler(srv interface{...
function _IngesterService_BatchCreateSpans_Handler (line 110) | func _IngesterService_BatchCreateSpans_Handler(srv interface{}, ctx cont...
FILE: internal/cloudapi/insights/proto/v1/k6/labels.pb.go
constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type TestRunLabels (line 23) | type TestRunLabels struct
method Reset (line 33) | func (x *TestRunLabels) Reset() {
method String (line 42) | func (x *TestRunLabels) String() string {
method ProtoMessage (line 46) | func (*TestRunLabels) ProtoMessage() {}
method ProtoReflect (line 48) | func (x *TestRunLabels) ProtoReflect() protoreflect.Message {
method Descriptor (line 61) | func (*TestRunLabels) Descriptor() ([]byte, []int) {
method GetID (line 65) | func (x *TestRunLabels) GetID() int64 {
method GetScenario (line 72) | func (x *TestRunLabels) GetScenario() string {
method GetGroup (line 79) | func (x *TestRunLabels) GetGroup() string {
type HTTPLabels (line 86) | type HTTPLabels struct
method Reset (line 96) | func (x *HTTPLabels) Reset() {
method String (line 105) | func (x *HTTPLabels) String() string {
method ProtoMessage (line 109) | func (*HTTPLabels) ProtoMessage() {}
method ProtoReflect (line 111) | func (x *HTTPLabels) ProtoReflect() protoreflect.Message {
method Descriptor (line 124) | func (*HTTPLabels) Descriptor() ([]byte, []int) {
method GetUrl (line 128) | func (x *HTTPLabels) GetUrl() string {
method GetMethod (line 135) | func (x *HTTPLabels) GetMethod() string {
method GetStatusCode (line 142) | func (x *HTTPLabels) GetStatusCode() int64 {
function file_v1_k6_labels_proto_rawDescGZIP (line 177) | func file_v1_k6_labels_proto_rawDescGZIP() []byte {
function init (line 197) | func init() { file_v1_k6_labels_proto_init() }
function file_v1_k6_labels_proto_init (line 198) | func file_v1_k6_labels_proto_init() {
FILE: internal/cloudapi/insights/proto/v1/k6/request_metadata.pb.go
constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type RequestMetadata (line 23) | type RequestMetadata struct
method Reset (line 38) | func (x *RequestMetadata) Reset() {
method String (line 47) | func (x *RequestMetadata) String() string {
method ProtoMessage (line 51) | func (*RequestMetadata) ProtoMessage() {}
method ProtoReflect (line 53) | func (x *RequestMetadata) ProtoReflect() protoreflect.Message {
method Descriptor (line 66) | func (*RequestMetadata) Descriptor() ([]byte, []int) {
method GetTraceID (line 70) | func (x *RequestMetadata) GetTraceID() string {
method GetStartTimeUnixNano (line 77) | func (x *RequestMetadata) GetStartTimeUnixNano() int64 {
method GetEndTimeUnixNano (line 84) | func (x *RequestMetadata) GetEndTimeUnixNano() int64 {
method GetTestRunLabels (line 91) | func (x *RequestMetadata) GetTestRunLabels() *TestRunLabels {
method GetProtocolLabels (line 98) | func (m *RequestMetadata) GetProtocolLabels() isRequestMetadata_Protoc...
method GetHTTPLabels (line 105) | func (x *RequestMetadata) GetHTTPLabels() *HTTPLabels {
type isRequestMetadata_ProtocolLabels (line 112) | type isRequestMetadata_ProtocolLabels interface
type RequestMetadata_HTTPLabels (line 116) | type RequestMetadata_HTTPLabels struct
method isRequestMetadata_ProtocolLabels (line 120) | func (*RequestMetadata_HTTPLabels) isRequestMetadata_ProtocolLabels() {}
function file_v1_k6_request_metadata_proto_rawDescGZIP (line 161) | func file_v1_k6_request_metadata_proto_rawDescGZIP() []byte {
function init (line 184) | func init() { file_v1_k6_request_metadata_proto_init() }
function file_v1_k6_request_metadata_proto_init (line 185) | func file_v1_k6_request_metadata_proto_init() {
FILE: internal/cloudapi/insights/proto/v1/trace/labels.pb.go
constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type SpanLabels (line 23) | type SpanLabels struct
method Reset (line 34) | func (x *SpanLabels) Reset() {
method String (line 43) | func (x *SpanLabels) String() string {
method ProtoMessage (line 47) | func (*SpanLabels) ProtoMessage() {}
method ProtoReflect (line 49) | func (x *SpanLabels) ProtoReflect() protoreflect.Message {
method Descriptor (line 62) | func (*SpanLabels) Descriptor() ([]byte, []int) {
method GetName (line 66) | func (x *SpanLabels) GetName() string {
method GetServiceName (line 73) | func (x *SpanLabels) GetServiceName() string {
method GetKind (line 80) | func (x *SpanLabels) GetKind() SpanKind {
method GetStatusCode (line 87) | func (x *SpanLabels) GetStatusCode() SpanStatusCode {
function file_v1_trace_labels_proto_rawDescGZIP (line 127) | func file_v1_trace_labels_proto_rawDescGZIP() []byte {
function init (line 150) | func init() { file_v1_trace_labels_proto_init() }
function file_v1_trace_labels_proto_init (line 151) | func file_v1_trace_labels_proto_init() {
FILE: internal/cloudapi/insights/proto/v1/trace/span.pb.go
constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type SpanKind (line 25) | type SpanKind
method Enum (line 64) | func (x SpanKind) Enum() *SpanKind {
method String (line 70) | func (x SpanKind) String() string {
method Descriptor (line 74) | func (SpanKind) Descriptor() protoreflect.EnumDescriptor {
method Type (line 78) | func (SpanKind) Type() protoreflect.EnumType {
method Number (line 82) | func (x SpanKind) Number() protoreflect.EnumNumber {
method EnumDescriptor (line 87) | func (SpanKind) EnumDescriptor() ([]byte, []int) {
constant SpanKind_SPAN_KIND_UNSPECIFIED (line 29) | SpanKind_SPAN_KIND_UNSPECIFIED SpanKind = 0
constant SpanKind_SPAN_KIND_INTERNAL (line 32) | SpanKind_SPAN_KIND_INTERNAL SpanKind = 1
constant SpanKind_SPAN_KIND_SERVER (line 35) | SpanKind_SPAN_KIND_SERVER SpanKind = 2
constant SpanKind_SPAN_KIND_CLIENT (line 37) | SpanKind_SPAN_KIND_CLIENT SpanKind = 3
constant SpanKind_SPAN_KIND_PRODUCER (line 39) | SpanKind_SPAN_KIND_PRODUCER SpanKind = 4
constant SpanKind_SPAN_KIND_CONSUMER (line 41) | SpanKind_SPAN_KIND_CONSUMER SpanKind = 5
type SpanStatusCode (line 93) | type SpanStatusCode
method Enum (line 118) | func (x SpanStatusCode) Enum() *SpanStatusCode {
method String (line 124) | func (x SpanStatusCode) String() string {
method Descriptor (line 128) | func (SpanStatusCode) Descriptor() protoreflect.EnumDescriptor {
method Type (line 132) | func (SpanStatusCode) Type() protoreflect.EnumType {
method Number (line 136) | func (x SpanStatusCode) Number() protoreflect.EnumNumber {
method EnumDescriptor (line 141) | func (SpanStatusCode) EnumDescriptor() ([]byte, []int) {
constant SpanStatusCode_STATUS_CODE_UNSET (line 97) | SpanStatusCode_STATUS_CODE_UNSET SpanStatusCode = 0
constant SpanStatusCode_STATUS_CODE_OK (line 99) | SpanStatusCode_STATUS_CODE_OK SpanStatusCode = 1
constant SpanStatusCode_STATUS_CODE_ERROR (line 101) | SpanStatusCode_STATUS_CODE_ERROR SpanStatusCode = 2
type Span (line 145) | type Span struct
method Reset (line 172) | func (x *Span) Reset() {
method String (line 181) | func (x *Span) String() string {
method ProtoMessage (line 185) | func (*Span) ProtoMessage() {}
method ProtoReflect (line 187) | func (x *Span) ProtoReflect() protoreflect.Message {
method Descriptor (line 200) | func (*Span) Descriptor() ([]byte, []int) {
method GetTraceID (line 204) | func (x *Span) GetTraceID() string {
method GetSpanID (line 211) | func (x *Span) GetSpanID() string {
method GetStartTimeUnixNano (line 218) | func (x *Span) GetStartTimeUnixNano() int64 {
method GetEndTimeUnixNano (line 225) | func (x *Span) GetEndTimeUnixNano() int64 {
method GetName (line 232) | func (x *Span) GetName() string {
method GetServiceName (line 239) | func (x *Span) GetServiceName() string {
method GetKind (line 246) | func (x *Span) GetKind() SpanKind {
method GetStatusCode (line 253) | func (x *Span) GetStatusCode() SpanStatusCode {
method GetAttributes (line 260) | func (x *Span) GetAttributes() []*common.KeyValue {
function file_v1_trace_span_proto_rawDescGZIP (line 328) | func file_v1_trace_span_proto_rawDescGZIP() []byte {
function init (line 354) | func init() { file_v1_trace_span_proto_init() }
function file_v1_trace_span_proto_init (line 355) | func file_v1_trace_span_proto_init() {
FILE: internal/cloudapi/v6/api.go
method ValidateToken (line 14) | func (c *Client) ValidateToken(stackURL string) (_ *k6cloud.Authenticati...
FILE: internal/cloudapi/v6/api_test.go
function TestValidateToken (line 16) | func TestValidateToken(t *testing.T) {
function fprint (line 105) | func fprint(t *testing.T, w io.Writer, format string) int {
FILE: internal/cloudapi/v6/client.go
constant RetryInterval (line 16) | RetryInterval = 500 * time.Millisecond
constant MaxRetries (line 18) | MaxRetries = 3
type Client (line 22) | type Client struct
method SetStackID (line 65) | func (c *Client) SetStackID(stackID int64) {
method BaseURL (line 70) | func (c *Client) BaseURL() string {
function NewClient (line 35) | func NewClient(logger logrus.FieldLogger, token, host, version string, t...
function CheckResponse (line 77) | func CheckResponse(r *http.Response) error {
FILE: internal/cloudapi/v6/client_test.go
function TestCheckResponse (line 14) | func TestCheckResponse(t *testing.T) {
function mustParseURL (line 98) | func mustParseURL(t *testing.T, rawURL string) *url.URL {
FILE: internal/cloudapi/v6/config.go
type Config (line 17) | type Config struct
method Apply (line 105) | func (c Config) Apply(cfg Config) Config {
function NewConfig (line 69) | func NewConfig() Config {
function GetConsolidatedConfig (line 174) | func GetConsolidatedConfig(
function mergeFromCloudOption (line 212) | func mergeFromCloudOption(
function GetTemporaryCloudConfig (line 249) | func GetTemporaryCloudConfig(cloudConfig json.RawMessage) (map[string]an...
FILE: internal/cloudapi/v6/config_test.go
function TestConfigApply (line 15) | func TestConfigApply(t *testing.T) {
function TestGetConsolidatedConfig (line 56) | func TestGetConsolidatedConfig(t *testing.T) {
function TestGetConsolidatedConfig_EnvHasHigherPriority (line 81) | func TestGetConsolidatedConfig_EnvHasHigherPriority(t *testing.T) {
FILE: internal/cloudapi/v6/errors.go
type ResponseError (line 19) | type ResponseError struct
method Error (line 24) | func (e ResponseError) Error() string {
FILE: internal/cloudapi/v6/errors_test.go
function TestResponseError_Error (line 11) | func TestResponseError_Error(t *testing.T) {
FILE: internal/cmd/archive.go
type cmdArchive (line 11) | type cmdArchive struct
method run (line 18) | func (c *cmdArchive) run(cmd *cobra.Command, args []string) error {
method flagSet (line 59) | func (c *cmdArchive) flagSet() *pflag.FlagSet {
function getCmdArchive (line 79) | func getCmdArchive(gs *state.GlobalState) *cobra.Command {
FILE: internal/cmd/archive_test.go
function TestArchiveThresholds (line 17) | func TestArchiveThresholds(t *testing.T) {
function TestArchiveContainsEnv (line 93) | func TestArchiveContainsEnv(t *testing.T) {
function TestArchiveContainsLegacyCloudSettings (line 126) | func TestArchiveContainsLegacyCloudSettings(t *testing.T) {
function TestArchiveContainsCloudSettings (line 180) | func TestArchiveContainsCloudSettings(t *testing.T) {
function TestArchiveNotContainsEnv (line 230) | func TestArchiveNotContainsEnv(t *testing.T) {
function TestArchiveStdout (line 257) | func TestArchiveStdout(t *testing.T) {
FILE: internal/cmd/builtin_output_gen.go
constant _builtinOutputName (line 10) | _builtinOutputName = "cloudcsvdatadogexperimental-prometheus-rwinfluxdbj...
constant _builtinOutputLowerName (line 14) | _builtinOutputLowerName = "cloudcsvdatadogexperimental-prometheus-rwinfl...
method String (line 16) | func (i builtinOutput) String() string {
function _builtinOutputNoOp (line 25) | func _builtinOutputNoOp() {
function builtinOutputString (line 83) | func builtinOutputString(s string) (builtinOutput, error) {
function builtinOutputValues (line 95) | func builtinOutputValues() []builtinOutput {
function builtinOutputStrings (line 100) | func builtinOutputStrings() []string {
method IsAbuiltinOutput (line 107) | func (i builtinOutput) IsAbuiltinOutput() bool {
FILE: internal/cmd/cloud.go
type cmdCloud (line 40) | type cmdCloud struct
method preRun (line 48) | func (c *cmdCloud) preRun(cmd *cobra.Command, _ []string) error {
method run (line 89) | func (c *cmdCloud) run(cmd *cobra.Command, args []string) error {
method flagSet (line 363) | func (c *cmdCloud) flagSet() *pflag.FlagSet {
function getCmdCloud (line 383) | func getCmdCloud(gs *state.GlobalState) *cobra.Command {
function resolveDefaultProjectID (line 455) | func resolveDefaultProjectID(
function resolveAndSetProjectID (line 481) | func resolveAndSetProjectID(
FILE: internal/cmd/cloud_login.go
constant cloudLoginCommandName (line 22) | cloudLoginCommandName = "login"
type cmdCloudLogin (line 24) | type cmdCloudLogin struct
method run (line 70) | func (c *cmdCloudLogin) run(cmd *cobra.Command, _ []string) error {
function getCmdCloudLogin (line 28) | func getCmdCloudLogin(gs *state.GlobalState) *cobra.Command {
function printConfig (line 192) | func printConfig(gs *state.GlobalState, cloudConf cloudapi.Config) {
function validateInputs (line 218) | func validateInputs(
function validateTokenV1 (line 262) | func validateTokenV1(gs *state.GlobalState, config cloudapi.Config, toke...
function validateTokenV6 (line 288) | func validateTokenV6(
function normalizeStackURL (line 316) | func normalizeStackURL(stackInput string) string {
function stripGrafanaNetSuffix (line 327) | func stripGrafanaNetSuffix(s string) string {
FILE: internal/cmd/cloud_run.go
constant cloudRunCommandName (line 17) | cloudRunCommandName string = "run"
type cmdCloudRun (line 19) | type cmdCloudRun struct
method preRun (line 100) | func (c *cmdCloudRun) preRun(cmd *cobra.Command, args []string) error {
method run (line 129) | func (c *cmdCloudRun) run(cmd *cobra.Command, args []string) error {
method flagSet (line 155) | func (c *cmdCloudRun) flagSet() *pflag.FlagSet {
function getCmdCloudRun (line 46) | func getCmdCloudRun(cloudCmd *cmdCloud) *cobra.Command {
function getCloudRunLocalExecutionConfig (line 184) | func getCloudRunLocalExecutionConfig(flags *pflag.FlagSet) (Config, erro...
FILE: internal/cmd/cloud_test.go
function TestResolveDefaultProjectID (line 18) | func TestResolveDefaultProjectID(t *testing.T) {
function TestResolveAndSetProjectID (line 114) | func TestResolveAndSetProjectID(t *testing.T) {
FILE: internal/cmd/cloud_upload.go
constant cloudUploadCommandName (line 10) | cloudUploadCommandName = "upload"
type cmdCloudUpload (line 12) | type cmdCloudUpload struct
method preRun (line 47) | func (c *cmdCloudUpload) preRun(cmd *cobra.Command, args []string) err...
method run (line 52) | func (c *cmdCloudUpload) run(cmd *cobra.Command, args []string) error {
method flagSet (line 57) | func (c *cmdCloudUpload) flagSet() *pflag.FlagSet {
function getCmdCloudUpload (line 21) | func getCmdCloudUpload(cloudCmd *cmdCloud) *cobra.Command {
FILE: internal/cmd/common.go
function must (line 28) | func must(err error) {
function getNullBool (line 36) | func getNullBool(flags *pflag.FlagSet, key string) null.Bool {
function getNullInt64 (line 44) | func getNullInt64(flags *pflag.FlagSet, key string) null.Int {
function getNullDuration (line 52) | func getNullDuration(flags *pflag.FlagSet, key string) types.NullDuration {
function getNullString (line 62) | func getNullString(flags *pflag.FlagSet, key string) null.String {
function exactArgsWithMsg (line 71) | func exactArgsWithMsg(n int, msg string) cobra.PositionalArgs {
function printToStdout (line 80) | func printToStdout(gs *state.GlobalState, s string) {
function getExampleText (line 86) | func getExampleText(gs *state.GlobalState, tpl string) string {
function handleTestAbortSignals (line 98) | func handleTestAbortSignals(gs *state.GlobalState, gracefulStopHandler, ...
FILE: internal/cmd/config.go
function configFlagSet (line 28) | func configFlagSet() *pflag.FlagSet {
type Config (line 42) | type Config struct
method Validate (line 62) | func (c Config) Validate() []error {
method Apply (line 71) | func (c Config) Apply(cfg Config) Config {
function getPartialConfig (line 95) | func getPartialConfig(flags *pflag.FlagSet) (Config, error) {
function getConfig (line 105) | func getConfig(flags *pflag.FlagSet) (Config, error) {
function readDiskConfig (line 131) | func readDiskConfig(gs *state.GlobalState) (Config, error) {
function legacyConfigFilePath (line 156) | func legacyConfigFilePath(gs *state.GlobalState) string {
function readLegacyDiskConfig (line 161) | func readLegacyDiskConfig(gs *state.GlobalState) (Config, error) {
function writeDiskConfig (line 181) | func writeDiskConfig(gs *state.GlobalState, conf Config) error {
function readEnvConfig (line 195) | func readEnvConfig(envMap map[string]string) (Config, error) {
function loadConfigFile (line 212) | func loadConfigFile(gs *state.GlobalState) (Config, error) {
function getConsolidatedConfig (line 248) | func getConsolidatedConfig(gs *state.GlobalState, cliConf Config, runner...
function warnOnShortHandOverride (line 285) | func warnOnShortHandOverride(a, b lib.Options, bName string, logger logr...
function applyDefault (line 298) | func applyDefault(conf Config) Config {
function deriveAndValidateConfig (line 324) | func deriveAndValidateConfig(
function validateConfig (line 335) | func validateConfig(conf Config, isExecutable func(string) bool) error {
function consolidateErrorMessage (line 347) | func consolidateErrorMessage(errList []error, title string) error {
function validateScenarioConfig (line 360) | func validateScenarioConfig(conf lib.ExecutorConfig, isExecutable func(s...
function migrateLegacyConfigFileIfAny (line 373) | func migrateLegacyConfigFileIfAny(gs *state.GlobalState) error {
function checkIfMigrationCompleted (line 410) | func checkIfMigrationCompleted(gs *state.GlobalState) bool {
FILE: internal/cmd/config_consolidation_test.go
function verifyOneIterPerOneVU (line 21) | func verifyOneIterPerOneVU(t *testing.T, c Config) {
function verifySharedIters (line 32) | func verifySharedIters(vus, iters null.Int) func(t *testing.T, c Config) {
function verifyConstLoopingVUs (line 46) | func verifyConstLoopingVUs(vus null.Int, duration time.Duration) func(t ...
function verifyExternallyExecuted (line 60) | func verifyExternallyExecuted(scenarioName string, vus null.Int, duratio...
function verifyRampingVUs (line 73) | func verifyRampingVUs(startVus null.Int, stages []executor.Stage) func(t...
function buildStages (line 93) | func buildStages(durationsAndVUs ...int64) []executor.Stage {
type file (line 108) | type file struct
function getFS (line 112) | func getFS(files []file) fsext.Fs {
type opts (line 120) | type opts struct
type exp (line 130) | type exp struct
type configConsolidationTestCase (line 140) | type configConsolidationTestCase struct
function getConfigConsolidationTestCases (line 146) | func getConfigConsolidationTestCases() []configConsolidationTestCase {
function runTestCase (line 505) | func runTestCase(t *testing.T, testCase configConsolidationTestCase, sub...
function TestConfigConsolidation (line 579) | func TestConfigConsolidation(t *testing.T) {
FILE: internal/cmd/config_test.go
type testCmdData (line 25) | type testCmdData struct
type testCmdTest (line 30) | type testCmdTest struct
function TestConfigCmd (line 36) | func TestConfigCmd(t *testing.T) {
function TestConfigEnv (line 81) | func TestConfigEnv(t *testing.T) {
function TestConfigApply (line 124) | func TestConfigApply(t *testing.T) {
function TestDeriveAndValidateConfig (line 146) | func TestDeriveAndValidateConfig(t *testing.T) {
function TestReadDiskConfigWithDefaultFlags (line 208) | func TestReadDiskConfigWithDefaultFlags(t *testing.T) {
function TestReadDiskConfigCustomFilePath (line 229) | func TestReadDiskConfigCustomFilePath(t *testing.T) {
function TestReadDiskConfigNotFoundSilenced (line 251) | func TestReadDiskConfigNotFoundSilenced(t *testing.T) {
function TestReadDiskConfigNotJSONExtension (line 271) | func TestReadDiskConfigNotJSONExtension(t *testing.T) {
function TestReadDiskConfigNotJSONContentError (line 293) | func TestReadDiskConfigNotJSONContentError(t *testing.T) {
function TestReadDiskConfigNotFoundErrorWithCustomPath (line 310) | func TestReadDiskConfigNotFoundErrorWithCustomPath(t *testing.T) {
function TestWriteDiskConfigWithDefaultFlags (line 327) | func TestWriteDiskConfigWithDefaultFlags(t *testing.T) {
function TestWriteDiskConfigOverwrite (line 347) | func TestWriteDiskConfigOverwrite(t *testing.T) {
function TestWriteDiskConfigCustomPath (line 367) | func TestWriteDiskConfigCustomPath(t *testing.T) {
function TestWriteDiskConfigNoJSONContentError (line 384) | func TestWriteDiskConfigNoJSONContentError(t *testing.T) {
function TestMigrateLegacyConfigFileIfAny (line 406) | func TestMigrateLegacyConfigFileIfAny(t *testing.T) {
function TestMigrateLegacyConfigFileIfAnyWhenFileDoesNotExist (line 436) | func TestMigrateLegacyConfigFileIfAnyWhenFileDoesNotExist(t *testing.T) {
function TestLoadConfig (line 455) | func TestLoadConfig(t *testing.T) {
FILE: internal/cmd/deps.go
type depsCmd (line 18) | type depsCmd struct
method run (line 44) | func (c *depsCmd) run(cmd *cobra.Command, args []string) error {
method outputJSON (line 74) | func (c *depsCmd) outputJSON(depsMap map[string]string, imports []stri...
method outputHumanReadable (line 97) | func (c *depsCmd) outputHumanReadable(depsMap map[string]string, impor...
function getCmdDeps (line 23) | func getCmdDeps(gs *state.GlobalState) *cobra.Command {
FILE: internal/cmd/deps_test.go
function TestGetCmdDeps (line 17) | func TestGetCmdDeps(t *testing.T) {
function TestGetCmdDepsHumanReadable (line 159) | func TestGetCmdDepsHumanReadable(t *testing.T) {
function prependCWDToFileMap (line 189) | func prependCWDToFileMap(cwd string, files map[string][]byte) map[string...
FILE: internal/cmd/inspect.go
function getCmdInspect (line 14) | func getCmdInspect(gs *state.GlobalState) *cobra.Command {
function inspectOutputWithExecRequirements (line 64) | func inspectOutputWithExecRequirements(
FILE: internal/cmd/launcher.go
type commandExecutor (line 27) | type commandExecutor interface
type provisioner (line 32) | type provisioner interface
function constraintsMapToProvisionDependency (line 36) | func constraintsMapToProvisionDependency(deps map[string]*semver.Constra...
type customBinary (line 53) | type customBinary struct
method run (line 60) | func (b *customBinary) run(gs *state.GlobalState) error {
function isCustomBuildRequired (line 127) | func isCustomBuildRequired(deps dependencies, k6Version string, exts []*...
type k6buildProvisioner (line 168) | type k6buildProvisioner struct
method provision (line 176) | func (p *k6buildProvisioner) provision(deps map[string]string) (comman...
function newK6BuildProvisioner (line 172) | func newK6BuildProvisioner(gs *state.GlobalState) provisioner {
function getProviderConfig (line 195) | func getProviderConfig(gs *state.GlobalState) k6provider.Config {
function formatDependencies (line 213) | func formatDependencies(deps map[string]string) string {
function extractToken (line 223) | func extractToken(gs *state.GlobalState) (string, error) {
function processUseDirectives (line 237) | func processUseDirectives(name string, text []byte, deps dependencies) e...
function findDirectives (line 271) | func findDirectives(text []byte) []string {
function parseManifest (line 310) | func parseManifest(manifestString string) (dependencies, error) {
FILE: internal/cmd/launcher_test.go
function TestIsCustomBuildRequired (line 17) | func TestIsCustomBuildRequired(t *testing.T) {
function TestGetProviderConfig (line 106) | func TestGetProviderConfig(t *testing.T) {
function TestProcessUseDirectives (line 150) | func TestProcessUseDirectives(t *testing.T) {
function TestFindDirectives (line 269) | func TestFindDirectives(t *testing.T) {
function TestDependenciesApplyManifest (line 323) | func TestDependenciesApplyManifest(t *testing.T) {
FILE: internal/cmd/login.go
function getCmdLogin (line 10) | func getCmdLogin(gs *state.GlobalState) *cobra.Command {
FILE: internal/cmd/login_cloud.go
function getCmdLoginCloud (line 21) | func getCmdLoginCloud(gs *state.GlobalState) *cobra.Command {
FILE: internal/cmd/login_influxdb.go
function getCmdLoginInfluxDB (line 18) | func getCmdLoginInfluxDB(gs *state.GlobalState) *cobra.Command {
FILE: internal/cmd/new.go
constant defaultNewScriptName (line 15) | defaultNewScriptName = "script.js"
type newScriptCmd (line 17) | type newScriptCmd struct
method flagSet (line 24) | func (c *newScriptCmd) flagSet() *pflag.FlagSet {
method run (line 33) | func (c *newScriptCmd) run(_ *cobra.Command, args []string) (err error) {
function getCmdNewScript (line 98) | func getCmdNewScript(gs *state.GlobalState) *cobra.Command {
FILE: internal/cmd/new_test.go
function TestNewScriptCmd (line 13) | func TestNewScriptCmd(t *testing.T) {
function TestNewScriptCmd_FileExists_NoOverwrite (line 63) | func TestNewScriptCmd_FileExists_NoOverwrite(t *testing.T) {
function TestNewScriptCmd_FileExists_Overwrite (line 80) | func TestNewScriptCmd_FileExists_Overwrite(t *testing.T) {
function TestNewScriptCmd_InvalidTemplateType (line 97) | func TestNewScriptCmd_InvalidTemplateType(t *testing.T) {
function TestNewScriptCmd_ProjectID (line 113) | func TestNewScriptCmd_ProjectID(t *testing.T) {
function TestNewScriptCmd_LocalTemplate (line 127) | func TestNewScriptCmd_LocalTemplate(t *testing.T) {
function TestNewScriptCmd_LocalTemplateWith_ProjectID (line 149) | func TestNewScriptCmd_LocalTemplateWith_ProjectID(t *testing.T) {
function TestNewScriptCmd_LocalTemplate_NonExistentFile (line 176) | func TestNewScriptCmd_LocalTemplate_NonExistentFile(t *testing.T) {
function TestNewScriptCmd_LocalTemplate_SyntaxError (line 198) | func TestNewScriptCmd_LocalTemplate_SyntaxError(t *testing.T) {
FILE: internal/cmd/options.go
function optionFlagSet (line 23) | func optionFlagSet() *pflag.FlagSet {
function getOptions (line 81) | func getOptions(flags *pflag.FlagSet) (lib.Options, error) {
function parseTagNameValue (line 251) | func parseTagNameValue(nv string) (string, string, error) {
FILE: internal/cmd/options_test.go
function TestParseTagKeyValue (line 9) | func TestParseTagKeyValue(t *testing.T) {
FILE: internal/cmd/outputs.go
type builtinOutput (line 28) | type builtinOutput
constant builtinOutputCloud (line 31) | builtinOutputCloud builtinOutput = iota
constant builtinOutputCSV (line 32) | builtinOutputCSV
constant builtinOutputDatadog (line 33) | builtinOutputDatadog
constant builtinOutputExperimentalPrometheusRW (line 34) | builtinOutputExperimentalPrometheusRW
constant builtinOutputInfluxdb (line 35) | builtinOutputInfluxdb
constant builtinOutputJSON (line 36) | builtinOutputJSON
constant builtinOutputKafka (line 37) | builtinOutputKafka
constant builtinOutputStatsd (line 38) | builtinOutputStatsd
constant builtinOutputExperimentalOpentelemetry (line 39) | builtinOutputExperimentalOpentelemetry
constant builtinOutputOpentelemetry (line 40) | builtinOutputOpentelemetry
constant builtinOutputSummary (line 41) | builtinOutputSummary
function getAllOutputConstructors (line 45) | func getAllOutputConstructors() (map[string]output.Constructor, error) {
function getPossibleIDList (line 99) | func getPossibleIDList(constrs map[string]output.Constructor) string {
function createOutputs (line 111) | func createOutputs(
FILE: internal/cmd/outputs_cloud.go
constant defaultTestName (line 23) | defaultTestName = "k6 test"
constant testRunIDKey (line 24) | testRunIDKey = "K6_CLOUDRUN_TEST_RUN_ID"
function createCloudTest (line 36) | func createCloudTest(gs *state.GlobalState, test *loadedAndConfiguredTes...
function validateRequiredSystemTags (line 176) | func validateRequiredSystemTags(scriptTags *metrics.SystemTagSet) error {
function cloudConfToRawMessage (line 198) | func cloudConfToRawMessage(conf cloudapi.Config) (json.RawMessage, error) {
FILE: internal/cmd/outputs_test.go
function TestBuiltinOutputString (line 9) | func TestBuiltinOutputString(t *testing.T) {
FILE: internal/cmd/pause.go
function getCmdPause (line 12) | func getCmdPause(gs *state.GlobalState) *cobra.Command {
FILE: internal/cmd/report.go
function createReport (line 16) | func createReport(u *usage.Usage, execScheduler *execution.Scheduler) ma...
function reportUsage (line 36) | func reportUsage(ctx context.Context, execScheduler *execution.Scheduler...
function isCI (line 67) | func isCI(lookupEnv func(key string) (val string, ok bool)) bool {
FILE: internal/cmd/report_test.go
function TestCreateReport (line 19) | func TestCreateReport(t *testing.T) {
FILE: internal/cmd/resume.go
function getCmdResume (line 12) | func getCmdResume(gs *state.GlobalState) *cobra.Command {
FILE: internal/cmd/root.go
constant waitLoggerCloseTimeout (line 30) | waitLoggerCloseTimeout = time.Second * 5
function getDocsURL (line 32) | func getDocsURL() string {
function getRootUsageTemplate (line 42) | func getRootUsageTemplate() string {
function ExecuteWithGlobalState (line 83) | func ExecuteWithGlobalState(gs *state.GlobalState) {
type rootCommand (line 88) | type rootCommand struct
method persistentPreRunE (line 145) | func (c *rootCommand) persistentPreRunE(_ *cobra.Command, _ []string) ...
method execute (line 156) | func (c *rootCommand) execute() {
method stopLoggers (line 240) | func (c *rootCommand) stopLoggers() {
method setupLoggers (line 313) | func (c *rootCommand) setupLoggers(stop <-chan struct{}) error {
method setLoggerHook (line 403) | func (c *rootCommand) setLoggerHook(ctx context.Context, h log.AsyncHo...
function newRootCommand (line 98) | func newRootCommand(gs *state.GlobalState) *rootCommand {
function handleUnsatisfiedDependencies (line 207) | func handleUnsatisfiedDependencies(err error, c *rootCommand) (exitcodes...
function rootCmdPersistentFlagSet (line 254) | func rootCmdPersistentFlagSet(gs *state.GlobalState) *pflag.FlagSet {
type RawFormatter (line 303) | type RawFormatter struct
method Format (line 306) | func (f RawFormatter) Format(entry *logrus.Entry) ([]byte, error) {
function createSecretSources (line 411) | func createSecretSources(gs *state.GlobalState) (map[string]secretsource...
function extractNameAndDefault (line 468) | func extractNameAndDefault(config string) (name string, isDefault bool, ...
FILE: internal/cmd/root_test.go
function TestRootCommandHelpDisplayCommands (line 11) | func TestRootCommandHelpDisplayCommands(t *testing.T) {
FILE: internal/cmd/run.go
type cmdRun (line 41) | type cmdRun struct
method run (line 63) | func (c *cmdRun) run(cmd *cobra.Command, args []string) (err error) {
method flagSet (line 533) | func (c *cmdRun) flagSet() *pflag.FlagSet {
method setupTracerProvider (line 542) | func (c *cmdRun) setupTracerProvider(ctx context.Context, test *loaded...
constant waitEventDoneTimeout (line 53) | waitEventDoneTimeout = 30 * time.Minute
constant waitForTracerProviderStopTimeout (line 57) | waitForTracerProviderStopTimeout = 3 * time.Minute
function getSummaryMode (line 520) | func getSummaryMode(runtimeOptions lib.RuntimeOptions) (summary.Mode, bo...
function getCmdRun (line 558) | func getCmdRun(gs *state.GlobalState) *cobra.Command {
function handleSummaryResult (line 602) | func handleSummaryResult(fs fsext.Fs, stdOut, stdErr io.Writer, result m...
FILE: internal/cmd/run_test.go
type mockWriter (line 27) | type mockWriter struct
method Write (line 32) | func (fw mockWriter) Write(p []byte) (n int, err error) {
function getFiles (line 41) | func getFiles(t *testing.T, fileSystem fsext.Fs) map[string]*bytes.Buffer {
function assertEqual (line 60) | func assertEqual(t *testing.T, exp string, actual io.Reader) {
function initVars (line 66) | func initVars() (
function TestHandleSummaryResultSimple (line 72) | func TestHandleSummaryResultSimple(t *testing.T) {
function TestHandleSummaryResultError (line 90) | func TestHandleSummaryResultError(t *testing.T) {
function TestRunScriptErrorsAndAbort (line 116) | func TestRunScriptErrorsAndAbort(t *testing.T) {
function TestInvalidOptionsThresholdErrExitCode (line 274) | func TestInvalidOptionsThresholdErrExitCode(t *testing.T) {
function TestThresholdsRuntimeBehavior (line 317) | func TestThresholdsRuntimeBehavior(t *testing.T) {
FILE: internal/cmd/runtime_options.go
function runtimeOptionFlagSet (line 22) | func runtimeOptionFlagSet(includeSysEnv bool) *pflag.FlagSet {
function getRuntimeOptions (line 54) | func getRuntimeOptions(
function runtimeOptionsFromFlags (line 82) | func runtimeOptionsFromFlags(flags *pflag.FlagSet) lib.RuntimeOptions {
function populateRuntimeOptionsFromEnv (line 98) | func populateRuntimeOptionsFromEnv(opts lib.RuntimeOptions, environment ...
function saveBoolFromEnv (line 162) | func saveBoolFromEnv(env map[string]string, varName string, placeholder ...
FILE: internal/cmd/runtime_options_test.go
type runtimeOptionsTestCase (line 21) | type runtimeOptionsTestCase struct
function testRuntimeOptionsCase (line 29) | func testRuntimeOptionsCase(t *testing.T, tc runtimeOptionsTestCase) {
function TestRuntimeOptions (line 112) | func TestRuntimeOptions(t *testing.T) {
FILE: internal/cmd/scale.go
function getCmdScale (line 13) | func getCmdScale(gs *state.GlobalState) *cobra.Command {
FILE: internal/cmd/stats.go
function getCmdStats (line 10) | func getCmdStats(gs *state.GlobalState) *cobra.Command {
FILE: internal/cmd/status.go
function getCmdStatus (line 10) | func getCmdStatus(gs *state.GlobalState) *cobra.Command {
FILE: internal/cmd/stdlog_integration_test.go
function TestStdLogOutputIsSet (line 16) | func TestStdLogOutputIsSet(t *testing.T) {
FILE: internal/cmd/subcommand.go
function getX (line 42) | func getX(gs *state.GlobalState) *cobra.Command {
function extensionSubcommands (line 83) | func extensionSubcommands(gs *state.GlobalState) []*cobra.Command {
function getCmdForExtension (line 95) | func getCmdForExtension(extension *ext.Extension, gs *state.GlobalState)...
function dependenciesFromSubcommand (line 120) | func dependenciesFromSubcommand(gs *state.GlobalState, subcommand string...
FILE: internal/cmd/subcommand_test.go
function TestExtensionSubcommands (line 14) | func TestExtensionSubcommands(t *testing.T) {
function TestXCommandHelpDisplayCommands (line 60) | func TestXCommandHelpDisplayCommands(t *testing.T) {
function Test_dependenciesFromSubcommand (line 96) | func Test_dependenciesFromSubcommand(t *testing.T) {
function registerTestSubcommandExtensions (line 140) | func registerTestSubcommandExtensions(t *testing.T) {
FILE: internal/cmd/templates/browser.js
constant BASE_URL (line 6) | const BASE_URL = __ENV.BASE_URL || "https://quickpizza.grafana.com";
function setup (line 27) | function setup() {
FILE: internal/cmd/templates/protocol.js
constant BASE_URL (line 5) | const BASE_URL = __ENV.BASE_URL || 'https://quickpizza.grafana.com';
function setup (line 23) | function setup() {
FILE: internal/cmd/templates/templates.go
constant MinimalTemplate (line 27) | MinimalTemplate = "minimal"
constant ProtocolTemplate (line 28) | ProtocolTemplate = "protocol"
constant BrowserTemplate (line 29) | BrowserTemplate = "browser"
type TemplateManager (line 33) | type TemplateManager struct
method GetTemplate (line 66) | func (tm *TemplateManager) GetTemplate(tpl string) (*template.Template...
function NewTemplateManager (line 41) | func NewTemplateManager(fs fsext.Fs) (*TemplateManager, error) {
function isFilePath (line 109) | func isFilePath(path string) bool {
type TemplateArgs (line 114) | type TemplateArgs struct
function ExecuteTemplate (line 120) | func ExecuteTemplate(w io.Writer, tmpl *template.Template, args Template...
FILE: internal/cmd/test_load.go
constant testTypeJS (line 37) | testTypeJS = "js"
constant testTypeArchive (line 38) | testTypeArchive = "archive"
type loadedTest (line 43) | type loadedTest struct
method prepareFirstRunner (line 134) | func (lt *loadedTest) prepareFirstRunner(gs *state.GlobalState) error {
method continueInitialization (line 229) | func (lt *loadedTest) continueInitialization(gs *state.GlobalState) er...
method Dependencies (line 250) | func (lt *loadedTest) Dependencies() dependencies {
method Imports (line 254) | func (lt *loadedTest) Imports() []string {
method consolidateDeriveAndValidateConfig (line 464) | func (lt *loadedTest) consolidateDeriveAndValidateConfig(
function loadLocalTestWithoutRunner (line 59) | func loadLocalTestWithoutRunner(gs *state.GlobalState, cmd *cobra.Comman...
function loadLocalTest (line 120) | func loadLocalTest(gs *state.GlobalState, cmd *cobra.Command, args []str...
function resolveModulesDependencies (line 258) | func resolveModulesDependencies(
function collectTestDependencies (line 291) | func collectTestDependencies(
function analyseUseContraints (line 321) | func analyseUseContraints(imports []string, fileSystems map[string]fsext...
type dependencies (line 352) | type dependencies
method update (line 354) | func (d dependencies) update(dep string, constraint *semver.Constraint...
method applyManifest (line 367) | func (d dependencies) applyManifest(manifest dependencies) error {
method String (line 384) | func (d dependencies) String() string {
function dependenciesFromMap (line 401) | func dependenciesFromMap(input map[string]string) (dependencies, error) {
function extractUnknownModules (line 417) | func extractUnknownModules(err error) (dependencies, error) {
type binaryIsNotSatisfyingDependenciesError (line 436) | type binaryIsNotSatisfyingDependenciesError struct
method Error (line 440) | func (r binaryIsNotSatisfyingDependenciesError) Error() string {
function readSource (line 446) | func readSource(gs *state.GlobalState, filename string) (*loader.SourceD...
function detectTestType (line 457) | func detectTestType(data []byte) string {
type loadedAndConfiguredTest (line 516) | type loadedAndConfiguredTest struct
method buildTestRunState (line 541) | func (lct *loadedAndConfiguredTest) buildTestRunState(
function loadAndConfigureLocalTest (line 522) | func loadAndConfigureLocalTest(
function loadSystemCertPool (line 535) | func loadSystemCertPool(logger logrus.FieldLogger) {
type syncWriter (line 570) | type syncWriter struct
method Write (line 575) | func (cw *syncWriter) Write(b []byte) (int, error) {
FILE: internal/cmd/test_load_test.go
constant fakerJs (line 14) | fakerJs = `
constant scriptJS (line 24) | scriptJS = `
function TestAnalyseUseConstraints (line 34) | func TestAnalyseUseConstraints(t *testing.T) {
FILE: internal/cmd/testdata/abort_teardown.js
function teardown (line 7) | function teardown() {
FILE: internal/cmd/testdata/summary/api.js
function apiTest (line 7) | function apiTest() {
FILE: internal/cmd/testdata/summary/browser.js
function browserTest (line 3) | async function browserTest() {
FILE: internal/cmd/testdata/summary/grpc.js
constant GRPC_ADDR (line 4) | const GRPC_ADDR = __ENV.GRPC_ADDR || '127.0.0.1:10000';
constant GRPC_PROTO_PATH (line 5) | const GRPC_PROTO_PATH = __ENV.GRPC_PROTO_PATH || '../../../lib/testutils...
function grpcTest (line 11) | function grpcTest() {
FILE: internal/cmd/testdata/summary/ws.js
function wsTest (line 16) | function wsTest() {
function startWSWorker (line 22) | function startWSWorker(id) {
FILE: internal/cmd/tests/cmd_cloud_login_test.go
constant validToken (line 18) | validToken = "valid-token"
constant validStackID (line 19) | validStackID = 1234
constant validStack (line 20) | validStack = "valid-stack"
constant validStackURL (line 21) | validStackURL = "https://valid-stack.grafana.net"
constant defaultProjectID (line 22) | defaultProjectID = 5678
function TestCloudLoginWithArgs (line 25) | func TestCloudLoginWithArgs(t *testing.T) {
function mockValidateTokenServer (line 124) | func mockValidateTokenServer(t *testing.T) *httptest.Server {
FILE: internal/cmd/tests/cmd_cloud_run_test.go
function TestK6CloudRun (line 22) | func TestK6CloudRun(t *testing.T) {
function setupK6CloudRunCmd (line 27) | func setupK6CloudRunCmd(cliFlags []string) []string {
function TestCloudRunCommandIncompatibleFlags (line 31) | func TestCloudRunCommandIncompatibleFlags(t *testing.T) {
function TestCloudRunLocalExecution (line 70) | func TestCloudRunLocalExecution(t *testing.T) {
function makeTestState (line 202) | func makeTestState(tb testing.TB, script string, cliFlags []string, expE...
function parseMultipartRequest (line 216) | func parseMultipartRequest(r *http.Request) (map[string]string, error) {
FILE: internal/cmd/tests/cmd_cloud_test.go
function TestK6Cloud (line 23) | func TestK6Cloud(t *testing.T) {
function setupK6CloudCmd (line 28) | func setupK6CloudCmd(cliFlags []string) []string {
type setupCommandFunc (line 32) | type setupCommandFunc
function runCloudTests (line 34) | func runCloudTests(t *testing.T, setupCmd setupCommandFunc) {
function cloudTestStartSimple (line 283) | func cloudTestStartSimple(tb testing.TB, testRunID int) http.Handler {
function getMockCloud (line 291) | func getMockCloud(
function getSimpleCloudTestState (line 325) | func getSimpleCloudTestState(t *testing.T, script []byte, setupCmd setup...
FILE: internal/cmd/tests/cmd_cloud_upload_test.go
function TestK6CloudUpload (line 21) | func TestK6CloudUpload(t *testing.T) {
function setupK6CloudUploadCmd (line 155) | func setupK6CloudUploadCmd(cliFlags []string) []string {
FILE: internal/cmd/tests/cmd_run_grpc_test.go
constant projectRootPath (line 15) | projectRootPath = "../../../"
function TestGRPCInputOutput (line 19) | func TestGRPCInputOutput(t *testing.T) {
FILE: internal/cmd/tests/cmd_run_test.go
function TestVersion (line 39) | func TestVersion(t *testing.T) {
function TestSimpleTestStdin (line 66) | func TestSimpleTestStdin(t *testing.T) {
function TestBinaryNameStdout (line 82) | func TestBinaryNameStdout(t *testing.T) {
function TestBinaryNameHelpStdout (line 96) | func TestBinaryNameHelpStdout(t *testing.T) {
function TestStdoutAndStderrAreEmptyWithQuietAndHandleSummary (line 136) | func TestStdoutAndStderrAreEmptyWithQuietAndHandleSummary(t *testing.T) {
function TestStdoutAndStderrAreEmptyWithQuietAndLogsForwarded (line 154) | func TestStdoutAndStderrAreEmptyWithQuietAndLogsForwarded(t *testing.T) {
function TestRelativeLogPathWithSetupAndTeardown (line 224) | func TestRelativeLogPathWithSetupAndTeardown(t *testing.T) {
function TestWrongCliFlagIterations (line 250) | func TestWrongCliFlagIterations(t *testing.T) {
function TestWrongEnvVarIterations (line 262) | func TestWrongEnvVarIterations(t *testing.T) {
function getSingleFileTestState (line 280) | func getSingleFileTestState(tb testing.TB, script string, cliFlags []str...
function TestMetricsAndThresholds (line 293) | func TestMetricsAndThresholds(t *testing.T) {
function TestThresholdsWithCustomPercentile (line 385) | func TestThresholdsWithCustomPercentile(t *testing.T) {
function TestSSLKEYLOGFILEAbsolute (line 417) | func TestSSLKEYLOGFILEAbsolute(t *testing.T) {
function TestSSLKEYLOGFILEARelative (line 423) | func TestSSLKEYLOGFILEARelative(t *testing.T) {
function testSSLKEYLOGFILE (line 429) | func testSSLKEYLOGFILE(t *testing.T, ts *GlobalTestState, filePath strin...
function TestThresholdDeprecationWarnings (line 460) | func TestThresholdDeprecationWarnings(t *testing.T) {
function TestExecutionTestOptionsDefaultValues (line 500) | func TestExecutionTestOptionsDefaultValues(t *testing.T) {
function TestSubMetricThresholdNoData (line 520) | func TestSubMetricThresholdNoData(t *testing.T) {
function getTestServer (line 548) | func getTestServer(tb testing.TB, routes map[string]http.Handler) *httpt...
function getCloudTestEndChecker (line 567) | func getCloudTestEndChecker(
function getSimpleCloudOutputTestState (line 614) | func getSimpleCloudOutputTestState(
function TestSetupTeardownThresholds (line 629) | func TestSetupTeardownThresholds(t *testing.T) {
function TestThresholdsFailed (line 708) | func TestThresholdsFailed(t *testing.T) {
function TestAbortedByThreshold (line 750) | func TestAbortedByThreshold(t *testing.T) {
function TestAbortedByUserWithGoodThresholds (line 793) | func TestAbortedByUserWithGoodThresholds(t *testing.T) {
function asyncWaitForStdoutAndRun (line 855) | func asyncWaitForStdoutAndRun(
function injectMockSignalNotifier (line 893) | func injectMockSignalNotifier(ts *GlobalTestState) (sendSignal chan os.S...
function asyncWaitForStdoutAndStopTestWithInterruptSignal (line 910) | func asyncWaitForStdoutAndStopTestWithInterruptSignal(
function asyncWaitForStdoutAndStopTestFromRESTAPI (line 921) | func asyncWaitForStdoutAndStopTestFromRESTAPI(
function TestAbortedByUserWithRestAPI (line 943) | func TestAbortedByUserWithRestAPI(t *testing.T) {
function TestAbortedByScriptSetupErrorWithDependency (line 979) | func TestAbortedByScriptSetupErrorWithDependency(t *testing.T) {
function TestAbortedByUnknownModules (line 1027) | func TestAbortedByUnknownModules(t *testing.T) {
function TestRunFromNotBaseDirectory (line 1055) | func TestRunFromNotBaseDirectory(t *testing.T) {
function TestRunCSVParseConcurrentFromMultipleModules (line 1081) | func TestRunCSVParseConcurrentFromMultipleModules(t *testing.T) {
function TestRunFromSeparateDriveWindows (line 1138) | func TestRunFromSeparateDriveWindows(t *testing.T) {
function runTestWithNoLinger (line 1167) | func runTestWithNoLinger(_ *testing.T, ts *GlobalTestState) {
function runTestWithLinger (line 1171) | func runTestWithLinger(t *testing.T, ts *GlobalTestState) {
function TestAbortedByScriptSetupError (line 1177) | func TestAbortedByScriptSetupError(t *testing.T) {
function TestAbortedByScriptTeardownError (line 1215) | func TestAbortedByScriptTeardownError(t *testing.T) {
function testAbortedByScriptError (line 1254) | func testAbortedByScriptError(t *testing.T, script string, runTest func(...
function TestAbortedByTestAbortFirstInitCode (line 1269) | func TestAbortedByTestAbortFirstInitCode(t *testing.T) {
function TestAbortedByTestAbortInNonFirstInitCode (line 1288) | func TestAbortedByTestAbortInNonFirstInitCode(t *testing.T) {
function TestAbortedByScriptAbortInVUCode (line 1307) | func TestAbortedByScriptAbortInVUCode(t *testing.T) {
function TestAbortedByScriptAbortInVUCodeInGroup (line 1328) | func TestAbortedByScriptAbortInVUCodeInGroup(t *testing.T) {
function TestAbortedByScriptAbortInSetup (line 1352) | func TestAbortedByScriptAbortInSetup(t *testing.T) {
function TestAbortedByScriptAbortInTeardown (line 1373) | func TestAbortedByScriptAbortInTeardown(t *testing.T) {
function testAbortedByScriptTestAbort (line 1395) | func testAbortedByScriptTestAbort(t *testing.T, script string, runTest f...
function TestAbortedByInterruptDuringVUInit (line 1412) | func TestAbortedByInterruptDuringVUInit(t *testing.T) {
function TestAbortedByInterruptWhenPaused (line 1444) | func TestAbortedByInterruptWhenPaused(t *testing.T) {
function TestAbortedByScriptInitError (line 1465) | func TestAbortedByScriptInitError(t *testing.T) {
function TestMetricTagAndSetupDataIsolation (line 1495) | func TestMetricTagAndSetupDataIsolation(t *testing.T) {
function getSampleValues (line 1592) | func getSampleValues(t *testing.T, jsonOutput []byte, metric string, tag...
function sum (line 1644) | func sum(vals []float64) (sum float64) {
function TestActiveVUsCount (line 1651) | func TestActiveVUsCount(t *testing.T) {
function TestMinIterationDuration (line 1722) | func TestMinIterationDuration(t *testing.T) {
function TestMetricNameError (line 1759) | func TestMetricNameError(t *testing.T) {
function TestRunTags (line 1794) | func TestRunTags(t *testing.T) {
function TestRunWithCloudOutputOverrides (line 1902) | func TestRunWithCloudOutputOverrides(t *testing.T) {
function TestRunWithCloudOutputCustomConfigAndOverridesLegacyCloudOption (line 1927) | func TestRunWithCloudOutputCustomConfigAndOverridesLegacyCloudOption(t *...
function TestRunWithCloudOutputCustomConfigAndOverrides (line 1979) | func TestRunWithCloudOutputCustomConfigAndOverrides(t *testing.T) {
function TestPrometheusRemoteWriteOutput (line 2029) | func TestPrometheusRemoteWriteOutput(t *testing.T) {
function BenchmarkReadResponseBody (line 2045) | func BenchmarkReadResponseBody(b *testing.B) {
function TestUIRenderOutput (line 2087) | func TestUIRenderOutput(t *testing.T) {
function TestUIRenderWebDashboard (line 2119) | func TestUIRenderWebDashboard(t *testing.T) {
function TestRunStaticArchives (line 2164) | func TestRunStaticArchives(t *testing.T) {
function TestBadLogOutput (line 2197) | func TestBadLogOutput(t *testing.T) {
function TestEventSystemOK (line 2222) | func TestEventSystemOK(t *testing.T) {
function TestEventSystemError (line 2279) | func TestEventSystemError(t *testing.T) {
function BenchmarkRun (line 2381) | func BenchmarkRun(b *testing.B) {
function BenchmarkRunEvents (line 2404) | func BenchmarkRunEvents(b *testing.B) {
function TestBrowserPermissions (line 2444) | func TestBrowserPermissions(t *testing.T) {
function TestBrowserExperimentalImport (line 2516) | func TestBrowserExperimentalImport(t *testing.T) {
function TestSetupTimeout (line 2548) | func TestSetupTimeout(t *testing.T) {
function TestTypeScriptSupport (line 2580) | func TestTypeScriptSupport(t *testing.T) {
function TestTypeScriptSupportWithoutAutomaticExtensionResolution (line 2609) | func TestTypeScriptSupportWithoutAutomaticExtensionResolution(t *testing...
function TestBasicSecrets (line 2639) | func TestBasicSecrets(t *testing.T) {
function TestMultipleSecretSources (line 2667) | func TestMultipleSecretSources(t *testing.T) {
function TestK6SecretSourceEnvVar (line 2708) | func TestK6SecretSourceEnvVar(t *testing.T) {
function TestSummaryExport (line 2917) | func TestSummaryExport(t *testing.T) {
function TestHandleSummary (line 3036) | func TestHandleSummary(t *testing.T) {
function TestGroupsOrderInFullSummary (line 3116) | func TestGroupsOrderInFullSummary(t *testing.T) {
function TestGroupsOrderInFullSummaryWithScenario (line 3160) | func TestGroupsOrderInFullSummaryWithScenario(t *testing.T) {
function TestInvalidSummaryModeAbortsTheExecution (line 3212) | func TestInvalidSummaryModeAbortsTheExecution(t *testing.T) {
function TestMachineReadableSummary (line 3233) | func TestMachineReadableSummary(t *testing.T) {
function TestSpaceInPath (line 3434) | func TestSpaceInPath(t *testing.T) {
FILE: internal/cmd/tests/eventloop_test.go
function TestEventLoop (line 11) | func TestEventLoop(t *testing.T) {
function TestEventLoopCrossScenario (line 57) | func TestEventLoopCrossScenario(t *testing.T) {
function TestEventLoopDoesntCrossIterations (line 93) | func TestEventLoopDoesntCrossIterations(t *testing.T) {
function eventLoopTest (line 121) | func eventLoopTest(t *testing.T, script []byte, testHandle func(logLines...
FILE: internal/cmd/tests/events/events.go
type RootModule (line 13) | type RootModule struct
method NewModuleInstance (line 44) | func (rm *RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type Events (line 25) | type Events struct
method Exports (line 102) | func (e *Events) Exports() modules.Exports {
function New (line 33) | func New(globalEvents, vuEvents []event.Type) *RootModule {
FILE: internal/cmd/tests/grpc.go
type GRPC (line 15) | type GRPC struct
function NewGRPC (line 22) | func NewGRPC(t testing.TB) *GRPC {
FILE: internal/cmd/tests/test_state.go
type GlobalTestState (line 30) | type GlobalTestState struct
method ReparseFlags (line 128) | func (ts *GlobalTestState) ReparseFlags() {
function NewGlobalTestState (line 44) | func NewGlobalTestState(tb testing.TB) *GlobalTestState {
function getFlags (line 138) | func getFlags(defaultFlags state.GlobalFlags, env map[string]string, arg...
function getFreeBindAddr (line 142) | func getFreeBindAddr(tb testing.TB) string {
FILE: internal/cmd/tests/tests.go
type blockingTransport (line 13) | type blockingTransport struct
method RoundTrip (line 19) | func (bt *blockingTransport) RoundTrip(req *http.Request) (*http.Respo...
function Main (line 33) | func Main(m *testing.M) {
FILE: internal/cmd/tests/tests_test.go
function TestMain (line 12) | func TestMain(m *testing.M) {
function TestRootCommand (line 16) | func TestRootCommand(t *testing.T) {
function TestLoginCloudNotPanicking (line 37) | func TestLoginCloudNotPanicking(t *testing.T) {
FILE: internal/cmd/ui.go
constant maxLeftLength (line 31) | maxLeftLength = 30
constant termPadding (line 34) | termPadding = 1
constant defaultTermWidth (line 35) | defaultTermWidth = 80
function setColor (line 38) | func setColor(noColor bool, c *color.Color) *color.Color {
function getColor (line 50) | func getColor(noColor bool, attributes ...color.Attribute) *color.Color {
function getBanner (line 54) | func getBanner(noColor bool, isTrueColor bool) string {
function isTrueColor (line 64) | func isTrueColor(env map[string]string) bool {
function printBanner (line 75) | func printBanner(gs *state.GlobalState) {
function printBar (line 87) | func printBar(gs *state.GlobalState, bar *pb.ProgressBar) {
function modifyAndPrintBar (line 110) | func modifyAndPrintBar(gs *state.GlobalState, bar *pb.ProgressBar, optio...
function printExecutionDescription (line 117) | func printExecutionDescription(
function renderMultipleBars (line 185) | func renderMultipleBars(
function showProgress (line 279) | func showProgress(ctx context.Context, gs *state.GlobalState, pbs []*pb....
function yamlPrint (line 397) | func yamlPrint(w io.Writer, v any) error {
FILE: internal/cmd/ui_test.go
function createTestProgressBars (line 15) | func createTestProgressBars(num, padding, colIdx int) []*pb.ProgressBar {
function TestRenderMultipleBars (line 40) | func TestRenderMultipleBars(t *testing.T) {
FILE: internal/cmd/ui_unix.go
function getWinchSignal (line 10) | func getWinchSignal() os.Signal {
FILE: internal/cmd/ui_windows.go
function getWinchSignal (line 10) | func getWinchSignal() os.Signal {
FILE: internal/cmd/version.go
constant commitKey (line 18) | commitKey = "commit"
constant commitDirtyKey (line 19) | commitDirtyKey = "commit_dirty"
constant mainK6Path (line 20) | mainK6Path = "go.k6.io/k6"
function fullVersion (line 25) | func fullVersion() string {
function versionDetails (line 49) | func versionDetails() map[string]any {
function versionString (line 97) | func versionString() string {
function versionDetailsWithExtensions (line 113) | func versionDetailsWithExtensions(exts []*ext.Extension) (map[string]any...
type versionCmd (line 166) | type versionCmd struct
method run (line 171) | func (c *versionCmd) run(cmd *cobra.Command, _ []string) error {
function getCmdVersion (line 191) | func getCmdVersion(gs *state.GlobalState) *cobra.Command {
FILE: internal/cmd/version_test.go
function TestVersionFlag (line 16) | func TestVersionFlag(t *testing.T) {
function TestVersionSubCommand (line 37) | func TestVersionSubCommand(t *testing.T) {
function TestVersionJSONSubCommand (line 58) | func TestVersionJSONSubCommand(t *testing.T) {
function TestVersionDetailsWithExtensions (line 88) | func TestVersionDetailsWithExtensions(t *testing.T) {
FILE: internal/ds/histogram/hdr.go
constant defaultMinimumResolution (line 12) | defaultMinimumResolution = .001
constant lowestTrackable (line 18) | lowestTrackable = 0
type Hdr (line 31) | type Hdr struct
method Add (line 73) | func (h *Hdr) Add(v float64) {
method addToBucket (line 80) | func (h *Hdr) addToBucket(v float64) {
function NewHdr (line 63) | func NewHdr() *Hdr {
function resolveBucketIndex (line 107) | func resolveBucketIndex(val float64) uint32 {
FILE: internal/ds/histogram/hdr_test.go
function TestResolveBucketIndex (line 11) | func TestResolveBucketIndex(t *testing.T) {
function TestHistogramAddWithSimpleValues (line 55) | func TestHistogramAddWithSimpleValues(t *testing.T) {
function TestHistogramAddWithUntrackables (line 140) | func TestHistogramAddWithUntrackables(t *testing.T) {
function TestHistogramAddWithMultipleOccurances (line 162) | func TestHistogramAddWithMultipleOccurances(t *testing.T) {
function TestHistogramAddWithNegativeNum (line 184) | func TestHistogramAddWithNegativeNum(t *testing.T) {
function TestHistogramAddWithMultipleNegativeNums (line 203) | func TestHistogramAddWithMultipleNegativeNums(t *testing.T) {
function TestHistogramAddWithZeroToOneValues (line 223) | func TestHistogramAddWithZeroToOneValues(t *testing.T) {
function TestNewHistogram (line 243) | func TestNewHistogram(t *testing.T) {
FILE: internal/event/event.go
type Event (line 6) | type Event struct
FILE: internal/event/system.go
type Subscriber (line 13) | type Subscriber interface
type System (line 20) | type System struct
method Subscribe (line 45) | func (s *System) Subscribe(events ...Type) (subID uint64, eventsCh <-c...
method Emit (line 74) | func (s *System) Emit(event *Event) (wait func(context.Context) error) {
method Unsubscribe (line 125) | func (s *System) Unsubscribe(subID uint64) {
method UnsubscribeAll (line 147) | func (s *System) UnsubscribeAll() {
function NewEventSystem (line 34) | func NewEventSystem(eventBuffer int, logger logrus.FieldLogger) *System {
FILE: internal/event/system_test.go
function TestEventSystem (line 17) | func TestEventSystem(t *testing.T) {
function processEvents (line 262) | func processEvents(ctx context.Context, es *System, sid uint64, evtCh <-...
FILE: internal/event/type.go
type Type (line 6) | type Type
constant Init (line 10) | Init Type = iota + 1
constant TestStart (line 12) | TestStart
constant TestEnd (line 14) | TestEnd
constant IterStart (line 16) | IterStart
constant IterEnd (line 18) | IterEnd
constant Exit (line 20) | Exit
type ExitData (line 33) | type ExitData struct
type IterData (line 38) | type IterData struct
FILE: internal/event/type_gen.go
constant _TypeName (line 9) | _TypeName = "InitTestStartTestEndIterStartIterEndExit"
method String (line 13) | func (i Type) String() string {
function TypeString (line 34) | func TypeString(s string) (Type, error) {
function TypeValues (line 42) | func TypeValues() []Type {
method IsAType (line 47) | func (i Type) IsAType() bool {
FILE: internal/execution/abort.go
type testAbortKey (line 14) | type testAbortKey struct
type testAbortController (line 16) | type testAbortController struct
method abort (line 24) | func (tac *testAbortController) abort(err error) {
method getReason (line 38) | func (tac *testAbortController) getReason() error {
function NewTestRunContext (line 49) | func NewTestRunContext(
function AbortTestRun (line 64) | func AbortTestRun(ctx context.Context, err error) bool {
function GetCancelReasonIfTestAborted (line 77) | func GetCancelReasonIfTestAborted(ctx context.Context) error {
FILE: internal/execution/controller.go
type Controller (line 5) | type Controller interface
function SignalAndWait (line 35) | func SignalAndWait(c Controller, eventID string) error {
function SignalErrorOrWait (line 47) | func SignalErrorOrWait(c Controller, eventID string, err error) error {
FILE: internal/execution/local/controller.go
type Controller (line 12) | type Controller struct
method GetOrCreateData (line 20) | func (c *Controller) GetOrCreateData(_ string, callback func() ([]byte...
method Subscribe (line 33) | func (c *Controller) Subscribe(_ string) func() error {
method Signal (line 43) | func (c *Controller) Signal(_ string, _ error) error {
function NewController (line 15) | func NewController() *Controller {
FILE: internal/execution/scheduler.go
type Scheduler (line 22) | type Scheduler struct
method GetState (line 95) | func (e *Scheduler) GetState() *lib.ExecutionState {
method GetExecutors (line 101) | func (e *Scheduler) GetExecutors() []lib.Executor {
method GetExecutorConfigs (line 107) | func (e *Scheduler) GetExecutorConfigs() []lib.ExecutorConfig {
method GetInitProgressBar (line 114) | func (e *Scheduler) GetInitProgressBar() *pb.ProgressBar {
method GetExecutionPlan (line 120) | func (e *Scheduler) GetExecutionPlan() []lib.ExecutionStep {
method initVU (line 127) | func (e *Scheduler) initVU(
method getRunStats (line 144) | func (e *Scheduler) getRunStats() string {
method initVUsConcurrently (line 162) | func (e *Scheduler) initVUsConcurrently(
method emitVUsAndVUsMax (line 199) | func (e *Scheduler) emitVUsAndVUsMax(ctx context.Context, out chan<- m...
method initVUsAndExecutors (line 254) | func (e *Scheduler) initVUsAndExecutors(ctx context.Context, samplesOu...
method runExecutor (line 331) | func (e *Scheduler) runExecutor(
method Init (line 381) | func (e *Scheduler) Init(
method Run (line 419) | func (e *Scheduler) Run(globalCtx, runCtx context.Context, samplesOut ...
method SetPaused (line 576) | func (e *Scheduler) SetPaused(pause bool) error {
function NewScheduler (line 38) | func NewScheduler(trs *lib.TestRunState, controller Controller) (*Schedu...
FILE: internal/execution/scheduler_ext_exec_test.go
function TestExecutionInfoVUSharing (line 24) | func TestExecutionInfoVUSharing(t *testing.T) {
function TestExecutionInfoScenarioIter (line 139) | func TestExecutionInfoScenarioIter(t *testing.T) {
function TestSharedIterationsStable (line 240) | func TestSharedIterationsStable(t *testing.T) {
function TestExecutionInfoAll (line 317) | func TestExecutionInfoAll(t *testing.T) {
FILE: internal/execution/scheduler_ext_test.go
function getTestPreInitState (line 38) | func getTestPreInitState(tb testing.TB) *lib.TestPreInitState {
function getTestRunState (line 49) | func getTestRunState(
function newTestScheduler (line 62) | func newTestScheduler(
function TestSchedulerRun (line 103) | func TestSchedulerRun(t *testing.T) {
function TestSchedulerRunNonDefault (line 113) | func TestSchedulerRunNonDefault(t *testing.T) {
function TestSchedulerRunEnv (line 175) | func TestSchedulerRunEnv(t *testing.T) {
function TestSchedulerSystemTags (line 293) | func TestSchedulerSystemTags(t *testing.T) {
function TestSchedulerRunCustomTags (line 395) | func TestSchedulerRunCustomTags(t *testing.T) {
function TestSchedulerRunCustomConfigNoCrossover (line 525) | func TestSchedulerRunCustomConfigNoCrossover(t *testing.T) {
function TestSchedulerSetupTeardownRun (line 722) | func TestSchedulerSetupTeardownRun(t *testing.T) {
function TestSchedulerStages (line 815) | func TestSchedulerStages(t *testing.T) {
function TestSchedulerEndTime (line 861) | func TestSchedulerEndTime(t *testing.T) {
function TestSchedulerRuntimeErrors (line 886) | func TestSchedulerRuntimeErrors(t *testing.T) {
function TestSchedulerEndErrors (line 918) | func TestSchedulerEndErrors(t *testing.T) {
function TestSchedulerEndIterations (line 952) | func TestSchedulerEndIterations(t *testing.T) {
function TestSchedulerIsRunning (line 1011) | func TestSchedulerIsRunning(t *testing.T) {
function TestDNSResolverCache (line 1035) | func TestDNSResolverCache(t *testing.T) {
function TestRealTimeAndSetupTeardownMetrics (line 1148) | func TestRealTimeAndSetupTeardownMetrics(t *testing.T) {
function TestNewSchedulerHasWork (line 1360) | func TestNewSchedulerHasWork(t *testing.T) {
FILE: internal/execution/scheduler_int_test.go
function getBogusTestRunState (line 15) | func getBogusTestRunState(tb testing.TB) *lib.TestRunState {
type pausableExecutor (line 33) | type pausableExecutor struct
method SetPaused (line 38) | func (p pausableExecutor) SetPaused(bool) error {
function TestSetPaused (line 42) | func TestSetPaused(t *testing.T) {
FILE: internal/js/bundle.go
type Bundle (line 36) | type Bundle struct
method makeArchive (line 162) | func (b *Bundle) makeArchive() *lib.Archive {
method populateExports (line 185) | func (b *Bundle) populateExports(updateOptions bool, bi *BundleInstanc...
method Instantiate (line 257) | func (b *Bundle) Instantiate(ctx context.Context, vuID uint64) (*Bundl...
method instantiate (line 308) | func (b *Bundle) instantiate(vuImpl *moduleVUImpl, vuID uint64) (*Bund...
method setupJSRuntime (line 405) | func (b *Bundle) setupJSRuntime(rt *sobek.Runtime, vuID uint64, logger...
method setInitGlobals (line 456) | func (b *Bundle) setInitGlobals(rt *sobek.Runtime, vu *moduleVUImpl, m...
type BundleInstance (line 51) | type BundleInstance struct
method getCallableExport (line 61) | func (bi *BundleInstance) getCallableExport(name string) sobek.Callable {
method getExported (line 67) | func (bi *BundleInstance) getExported(name string) sobek.Value {
method manipulateOptions (line 280) | func (bi *BundleInstance) manipulateOptions(options lib.Options) error {
function NewBundle (line 82) | func NewBundle(
function newBundle (line 88) | func newBundle(
function NewBundleFromArchive (line 141) | func NewBundleFromArchive(
function beautifyOptionsJSONUnmarshalError (line 243) | func beautifyOptionsJSONUnmarshalError(data []byte, err error) error {
function newCompiler (line 299) | func newCompiler(preInitState *lib.TestPreInitState, filesystems map[str...
function registerGlobals (line 396) | func registerGlobals(vuImpl *moduleVUImpl) error {
type requireImpl (line 444) | type requireImpl struct
method require (line 449) | func (r *requireImpl) require(specifier string) (*sobek.Object, error) {
function generateFileLoad (line 532) | func generateFileLoad(logger logrus.FieldLogger, filesystems map[string]...
function NewModuleResolver (line 549) | func NewModuleResolver(pwd *url.URL, preInitState *lib.TestPreInitState,...
FILE: internal/js/bundle_test.go
constant isWindows (line 33) | isWindows = runtime.GOOS == "windows"
function getTestPreInitState (line 35) | func getTestPreInitState(tb testing.TB, logger logrus.FieldLogger, rtOpt...
function getSimpleBundle (line 53) | func getSimpleBundle(tb testing.TB, filename, data string, opts ...any) ...
function getSimpleBundleFromArchive (line 87) | func getSimpleBundleFromArchive(tb testing.TB, arc *lib.Archive, opts .....
function getSimpleBundleStdin (line 108) | func getSimpleBundleStdin(tb testing.TB, pwd *url.URL, data string, opts...
function TestNewBundle (line 144) | func TestNewBundle(t *testing.T) {
function getArchive (line 543) | func getArchive(tb testing.TB, data string, rtOpts lib.RuntimeOptions) (...
function TestNewBundleFromArchive (line 551) | func TestNewBundleFromArchive(t *testing.T) {
function TestOpen (line 654) | func TestOpen(t *testing.T) {
function TestBundleInstantiate (line 815) | func TestBundleInstantiate(t *testing.T) {
function TestBundleEnv (line 869) | func TestBundleEnv(t *testing.T) {
function TestBundleNotSharable (line 903) | func TestBundleNotSharable(t *testing.T) {
function TestBundleMakeArchive (line 942) | func TestBundleMakeArchive(t *testing.T) {
function TestGlobalTimers (line 1000) | func TestGlobalTimers(t *testing.T) {
function TestTopLevelAwaitErrors (line 1036) | func TestTopLevelAwaitErrors(t *testing.T) {
FILE: internal/js/compiler/compiler.go
type Compiler (line 22) | type Compiler struct
method WithUsage (line 40) | func (c *Compiler) WithUsage(u *usage.Usage) {
method Parse (line 66) | func (c *Compiler) Parse(
function New (line 29) | func New(logger logrus.FieldLogger) *Compiler {
type Options (line 45) | type Options struct
type parsingState (line 50) | type parsingState struct
method parseImpl (line 83) | func (ps *parsingState) parseImpl(src, filename string, commonJSWrap b...
method wrap (line 143) | func (ps *parsingState) wrap(code, filename string) string {
method sourceMapLoader (line 167) | func (ps *parsingState) sourceMapLoader(path string) ([]byte, error) {
method updateInlineSourceMap (line 191) | func (ps *parsingState) updateInlineSourceMap(code string, index int) ...
method increaseMappingsByOne (line 216) | func (ps *parsingState) increaseMappingsByOne(sourceMap []byte) ([]byt...
constant usageParsedFilesKey (line 79) | usageParsedFilesKey = "usage/parsedFiles"
constant usageParsedTSFilesKey (line 80) | usageParsedTSFilesKey = "usage/parsedTSFiles"
constant internalSourceMapURL (line 161) | internalSourceMapURL = "k6://internal-should-not-leak/file.map"
FILE: internal/js/compiler/compiler_test.go
function TestCompile (line 16) | func TestCompile(t *testing.T) {
function TestCorruptSourceMap (line 116) | func TestCorruptSourceMap(t *testing.T) {
function TestMinimalSourceMap (line 147) | func TestMinimalSourceMap(t *testing.T) {
FILE: internal/js/compiler/enhanced.go
function StripTypes (line 11) | func StripTypes(src, filename string) (code string, srcMap []byte, err e...
function esbuildCheckError (line 34) | func esbuildCheckError(result *api.TransformResult) (bool, error) {
FILE: internal/js/compiler/enhanced_test.go
function Test_esbuildTransform_js (line 14) | func Test_esbuildTransform_js(t *testing.T) {
function Test_esbuildTransform_ts (line 24) | func Test_esbuildTransform_ts(t *testing.T) {
function TestCompile_experimental_enhanced (line 36) | func TestCompile_experimental_enhanced(t *testing.T) {
FILE: internal/js/console.go
type console (line 17) | type console struct
method log (line 42) | func (c console) log(level logrus.Level, args ...sobek.Value) {
method Log (line 66) | func (c console) Log(args ...sobek.Value) {
method Debug (line 70) | func (c console) Debug(args ...sobek.Value) {
method Info (line 74) | func (c console) Info(args ...sobek.Value) {
method Warn (line 78) | func (c console) Warn(args ...sobek.Value) {
method Error (line 82) | func (c console) Error(args ...sobek.Value) {
method valueString (line 96) | func (c console) valueString(v sobek.Value) string {
method traverseValue (line 127) | func (c console) traverseValue(sb *strings.Builder, v sobek.Value, see...
function newConsole (line 22) | func newConsole(logger logrus.FieldLogger) *console {
function newFileConsole (line 27) | func newFileConsole(filepath string, formatter logrus.Formatter, level l...
constant functionLog (line 87) | functionLog = "[object Function]"
constant circularLog (line 88) | circularLog = "[Circular]"
function formatDate (line 210) | func formatDate(sb *strings.Builder, obj *sobek.Object) {
function formatPrimitive (line 223) | func formatPrimitive(sb *strings.Builder, v sobek.Value) {
function isBinaryData (line 235) | func isBinaryData(obj *sobek.Object) bool {
function formatBinaryData (line 261) | func formatBinaryData(sb *strings.Builder, obj *sobek.Object) {
function typedArrayName (line 309) | func typedArrayName(exportType reflect.Type) string {
FILE: internal/js/console_test.go
function TestConsoleContext (line 27) | func TestConsoleContext(t *testing.T) {
function getSimpleRunner (line 48) | func getSimpleRunner(tb testing.TB, filename, data string, opts ...any) ...
function getSimpleArchiveRunner (line 92) | func getSimpleArchiveRunner(tb testing.TB, arc *lib.Archive, opts ...any...
function extractLogger (line 128) | func extractLogger(vu lib.ActiveVU) *logrus.Logger {
function TestConsoleLogWithSobekNativeObject (line 144) | func TestConsoleLogWithSobekNativeObject(t *testing.T) {
function TestConsoleLogObjectsWithGoTypes (line 164) | func TestConsoleLogObjectsWithGoTypes(t *testing.T) {
function TestConsoleLog (line 221) | func TestConsoleLog(t *testing.T) {
function TestConsoleLogWithGoValues (line 383) | func TestConsoleLogWithGoValues(t *testing.T) { //nolint:tparallel // ac...
function TestConsoleLevels (line 435) | func TestConsoleLevels(t *testing.T) {
function TestFileConsole (line 494) | func TestFileConsole(t *testing.T) {
FILE: internal/js/empty_iterations_bench_test.go
function BenchmarkEmptyIteration (line 12) | func BenchmarkEmptyIteration(b *testing.B) {
FILE: internal/js/esm_vs_commonjs_test.go
function TestReturnInCommonJSModule (line 11) | func TestReturnInCommonJSModule(t *testing.T) {
function TestReturnInESMModule (line 23) | func TestReturnInESMModule(t *testing.T) {
FILE: internal/js/eventloop/eventloop.go
type EventLoop (line 26) | type EventLoop struct
method wakeup (line 53) | func (e *EventLoop) wakeup() {
method RegisterCallback (line 116) | func (e *EventLoop) RegisterCallback() (enqueueCallback func(func() er...
method promiseRejectionTracker (line 136) | func (e *EventLoop) promiseRejectionTracker(p *sobek.Promise, op sobek...
method popAll (line 146) | func (e *EventLoop) popAll() (queue []func() error, awaiting bool) {
method putInfront (line 155) | func (e *EventLoop) putInfront(queue []func() error) {
method Start (line 164) | func (e *EventLoop) Start(firstCallback func() error) error {
method WaitOnRegistered (line 207) | func (e *EventLoop) WaitOnRegistered() {
function New (line 42) | func New(vu modules.VU) *EventLoop {
FILE: internal/js/eventloop/eventloop_test.go
function TestBasicEventLoop (line 17) | func TestBasicEventLoop(t *testing.T) {
function TestEventLoopRegistered (line 37) | func TestEventLoopRegistered(t *testing.T) {
function TestEventLoopWaitOnRegistered (line 61) | func TestEventLoopWaitOnRegistered(t *testing.T) {
function TestEventLoopAllCallbacksGetCalled (line 88) | func TestEventLoopAllCallbacksGetCalled(t *testing.T) {
function TestEventLoopPanicOnDoubleCallback (line 127) | func TestEventLoopPanicOnDoubleCallback(t *testing.T) {
function TestEventLoopRejectUndefined (line 153) | func TestEventLoopRejectUndefined(t *testing.T) {
function TestEventLoopRejectString (line 165) | func TestEventLoopRejectString(t *testing.T) {
function TestEventLoopRejectSyntaxError (line 177) | func TestEventLoopRejectSyntaxError(t *testing.T) {
function TestEventLoopRejectGoError (line 189) | func TestEventLoopRejectGoError(t *testing.T) {
function TestEventLoopRejectThrow (line 205) | func TestEventLoopRejectThrow(t *testing.T) {
function TestEventLoopAsyncAwait (line 222) | func TestEventLoopAsyncAwait(t *testing.T) {
FILE: internal/js/http_bench_test.go
function BenchmarkHTTPRequests (line 17) | func BenchmarkHTTPRequests(b *testing.B) {
function BenchmarkHTTPRequestsBase (line 53) | func BenchmarkHTTPRequestsBase(b *testing.B) {
FILE: internal/js/init_and_modules_test.go
type CheckModule (line 25) | type CheckModule struct
method InitCtx (line 31) | func (cm *CheckModule) InitCtx(_ context.Context) {
method VuCtx (line 35) | func (cm *CheckModule) VuCtx(_ context.Context) {
function TestNewJSRunnerWithCustomModule (line 41) | func TestNewJSRunnerWithCustomModule(t *testing.T) {
FILE: internal/js/initcontext.go
constant cantBeUsedOutsideInitContextMsg (line 16) | cantBeUsedOutsideInitContextMsg = `the "%s" function is only available i...
function openImpl (line 22) | func openImpl(rt *sobek.Runtime, fs fsext.Fs, basePWD *url.URL, filename...
function readFile (line 37) | func readFile(fileSystem fsext.Fs, filename string) (data []byte, err er...
function allowOnlyOpenedFiles (line 60) | func allowOnlyOpenedFiles(fs fsext.Fs) {
function generateSourceMapLoader (line 69) | func generateSourceMapLoader(logger logrus.FieldLogger, filesystems map[...
FILE: internal/js/initcontext_test.go
function TestRequire (line 27) | func TestRequire(t *testing.T) {
function createAndReadFile (line 201) | func createAndReadFile(t *testing.T, file string, content []byte, expect...
function TestInitContextOpen (line 230) | func TestInitContextOpen(t *testing.T) {
function TestRequestWithBinaryFile (line 291) | func TestRequestWithBinaryFile(t *testing.T) {
function TestRequestWithMultipleBinaryFiles (line 374) | func TestRequestWithMultipleBinaryFiles(t *testing.T) {
function Test__VU (line 515) | func Test__VU(t *testing.T) {
function TestSourceMaps (line 529) | func TestSourceMaps(t *testing.T) {
function TestSourceMapsCJS (line 563) | func TestSourceMapsCJS(t *testing.T) {
function TestSourceMapsExternal (line 597) | func TestSourceMapsExternal(t *testing.T) {
function TestSourceMapsInlinedCJS (line 627) | func TestSourceMapsInlinedCJS(t *testing.T) {
function TestImportModificationsAreConsistentBetweenFiles (line 697) | func TestImportModificationsAreConsistentBetweenFiles(t *testing.T) {
function TestCacheAbsolutePathsNotRelative (line 727) | func TestCacheAbsolutePathsNotRelative(t *testing.T) {
FILE: internal/js/jsmodules.go
function getInternalJSModules (line 32) | func getInternalJSModules() map[string]any {
function getJSModules (line 88) | func getJSModules() map[string]any {
type removedModule (line 100) | type removedModule struct
method NewModuleInstance (line 108) | func (rm *removedModule) NewModuleInstance(vu modules.VU) modules.Inst...
function newRemovedModule (line 104) | func newRemovedModule(errMsg string) modules.Module {
type warnExperimentalModule (line 114) | type warnExperimentalModule struct
method NewModuleInstance (line 127) | func (w *warnExperimentalModule) NewModuleInstance(vu modules.VU) modu...
function newWarnExperimentalModule (line 120) | func newWarnExperimentalModule(base modules.Module, msg string) modules....
FILE: internal/js/module_loading_test.go
function newDevNullSampleChannel (line 21) | func newDevNullSampleChannel() chan metrics.SampleContainer {
function TestLoadOnceGlobalVars (line 30) | func TestLoadOnceGlobalVars(t *testing.T) {
function TestLoadExportsIsntUsableInModule (line 113) | func TestLoadExportsIsntUsableInModule(t *testing.T) {
function TestLoadDoesntBreakHTTPGet (line 158) | func TestLoadDoesntBreakHTTPGet(t *testing.T) {
function TestLoadGlobalVarsAreNotSharedBetweenVUs (line 203) | func TestLoadGlobalVarsAreNotSharedBetweenVUs(t *testing.T) {
function TestLoadCycle (line 255) | func TestLoadCycle(t *testing.T) {
function TestLoadCycleBinding (line 307) | func TestLoadCycleBinding(t *testing.T) {
function TestBrowserified (line 367) | func TestBrowserified(t *testing.T) {
function TestLoadingUnexistingModuleDoesntPanic (line 429) | func TestLoadingUnexistingModuleDoesntPanic(t *testing.T) {
function TestLoadingSourceMapsDoesntErrorOut (line 470) | func TestLoadingSourceMapsDoesntErrorOut(t *testing.T) {
function TestOptionsAreGloballyReadable (line 504) | func TestOptionsAreGloballyReadable(t *testing.T) {
function TestOptionsAreNotGloballyWritable (line 555) | func TestOptionsAreNotGloballyWritable(t *testing.T) {
function TestDefaultNamedExports (line 592) | func TestDefaultNamedExports(t *testing.T) {
function TestStarImport (line 599) | func TestStarImport(t *testing.T) {
function TestIndirectExportDefault (line 666) | func TestIndirectExportDefault(t *testing.T) {
FILE: internal/js/modules/k6/browser/browser/browser_context_mapping.go
function mapBrowserContext (line 17) | func mapBrowserContext(vu moduleVU, bc *common.BrowserContext) mapping {...
type waitForEventOptions (line 182) | type waitForEventOptions struct
function parseWaitForEventOptions (line 192) | func parseWaitForEventOptions(
FILE: internal/js/modules/k6/browser/browser/browser_context_options_test.go
function TestBrowserContextOptionsPermissions (line 13) | func TestBrowserContextOptionsPermissions(t *testing.T) {
function TestBrowserContextSetGeolocation (line 27) | func TestBrowserContextSetGeolocation(t *testing.T) {
function TestBrowserContextDefaultOptions (line 47) | func TestBrowserContextDefaultOptions(t *testing.T) {
function TestBrowserContextAllOptions (line 69) | func TestBrowserContextAllOptions(t *testing.T) {
FILE: internal/js/modules/k6/browser/browser/browser_mapping.go
function mapBrowser (line 14) | func mapBrowser(vu moduleVU) mapping {
function initBrowserContext (line 98) | func initBrowserContext(bctx *common.BrowserContext, testRunID string) e...
function parseBrowserContextOptions (line 113) | func parseBrowserContextOptions(rt *sobek.Runtime, opts sobek.Value) (*c...
FILE: internal/js/modules/k6/browser/browser/console_message_mapping.go
function mapConsoleMessage (line 8) | func mapConsoleMessage(vu moduleVU, event common.PageEvent) mapping {
FILE: internal/js/modules/k6/browser/browser/element_handle_mapping.go
function mapElementHandle (line 14) | func mapElementHandle(vu moduleVU, eh *common.ElementHandle) mapping { /...
FILE: internal/js/modules/k6/browser/browser/file_persister.go
type presignedURLConfig (line 13) | type presignedURLConfig struct
function newScreenshotPersister (line 22) | func newScreenshotPersister(envLookup env.LookupFunc) (filePersister, er...
function parsePresignedURLEnvVar (line 41) | func parsePresignedURLEnvVar(envVarValue string) (presignedURLConfig, er...
FILE: internal/js/modules/k6/browser/browser/file_persister_test.go
function Test_newScreenshotPersister (line 12) | func Test_newScreenshotPersister(t *testing.T) {
function Test_parsePresignedURLEnvVar (line 67) | func Test_parsePresignedURLEnvVar(t *testing.T) {
FILE: internal/js/modules/k6/browser/browser/frame_locator_mapping.go
function mapFrameLocator (line 12) | func mapFrameLocator(vu moduleVU, fl *common.FrameLocator) mapping {
FILE: internal/js/modules/k6/browser/browser/frame_mapping.go
function mapFrame (line 16) | func mapFrame(vu moduleVU, f *common.Frame) mapping {
FILE: internal/js/modules/k6/browser/browser/helpers.go
function panicIfFatalError (line 19) | func panicIfFatalError(ctx context.Context, err error) {
function mergeWith (line 26) | func mergeWith[T any](rt *sobek.Runtime, src T, v sobek.Value) error {
function exportTo (line 36) | func exportTo[T any](rt *sobek.Runtime, obj sobek.Value) (T, error) {
function exportArg (line 47) | func exportArg(gv sobek.Value) any {
function exportArgs (line 55) | func exportArgs(gargs []sobek.Value) []any {
function sobekEmptyString (line 66) | func sobekEmptyString(v sobek.Value) bool {
function newRegExMatcher (line 75) | func newRegExMatcher(ctx context.Context, vu moduleVU, tq *taskqueue.Tas...
function promise (line 91) | func promise(vu moduleVU, fn func() (result any, reason error)) *sobek.P...
function queueTask (line 108) | func queueTask[T any](
function newTaskQueue (line 138) | func newTaskQueue(vu moduleVU) (*taskqueue.TaskQueue, context.Context, c...
FILE: internal/js/modules/k6/browser/browser/helpers_test.go
function TestSobekEmptyString (line 10) | func TestSobekEmptyString(t *testing.T) {
FILE: internal/js/modules/k6/browser/browser/js_handle_mapping.go
function mapJSHandle (line 12) | func mapJSHandle(vu moduleVU, jsh common.JSHandleAPI) mapping {
FILE: internal/js/modules/k6/browser/browser/keyboard_mapping.go
function mapKeyboard (line 11) | func mapKeyboard(vu moduleVU, kb *common.Keyboard) mapping {
FILE: internal/js/modules/k6/browser/browser/locator_mapping.go
function mapLocator (line 16) | func mapLocator(vu moduleVU, lo *common.Locator) mapping {
function parseLocatorOptions (line 427) | func parseLocatorOptions(rt *sobek.Runtime, opts sobek.Value) *common.Lo...
FILE: internal/js/modules/k6/browser/browser/mapping.go
function mapBrowserToSobek (line 25) | func mapBrowserToSobek(vu moduleVU) *sobek.Object {
function parseFrameClickOptions (line 40) | func parseFrameClickOptions(
function ConvertSelectOptionValues (line 50) | func ConvertSelectOptionValues(rt *sobek.Runtime, values sobek.Value) ([...
function extractSelectOptionFromMap (line 131) | func extractSelectOptionFromMap(v map[string]any) (*common.SelectOption,...
FILE: internal/js/modules/k6/browser/browser/mapping_test.go
function customMappings (line 24) | func customMappings() map[string]string {
function TestMappings (line 54) | func TestMappings(t *testing.T) {
function toFirstLetterLower (line 239) | func toFirstLetterLower(s string) string {
function isCustomMapping (line 262) | func isCustomMapping(customMappings map[string]string, typ, method strin...
type browserAPI (line 277) | type browserAPI interface
type browserContextAPI (line 290) | type browserContextAPI interface
type pageAPI (line 310) | type pageAPI interface
type consoleMessageAPI (line 394) | type consoleMessageAPI interface
type metricEventAPI (line 402) | type metricEventAPI interface
type frameAPI (line 407) | type frameAPI interface
type elementHandleAPI (line 470) | type elementHandleAPI interface
type frameLocatorAPI (line 510) | type frameLocatorAPI interface
type requestAPI (line 523) | type requestAPI interface
type responseAPI (line 542) | type responseAPI interface
type locatorAPI (line 563) | type locatorAPI interface
type keyboardAPI (line 613) | type keyboardAPI interface
type touchscreenAPI (line 622) | type touchscreenAPI interface
type mouseAPI (line 627) | type mouseAPI interface
type workerAPI (line 636) | type workerAPI interface
FILE: internal/js/modules/k6/browser/browser/metric_event_mapping.go
function mapMetricEvent (line 10) | func mapMetricEvent(vu moduleVU, event common.PageEvent) mapping {
FILE: internal/js/modules/k6/browser/browser/module.go
type filePersister (line 26) | type filePersister interface
type RootModule (line 32) | type RootModule struct
method NewModuleInstance (line 69) | func (m *RootModule) NewModuleInstance(vu k6modules.VU) k6modules.Inst...
method initialize (line 109) | func (m *RootModule) initialize(vu k6modules.VU) {
type JSModule (line 42) | type JSModule struct
type ModuleInstance (line 49) | type ModuleInstance struct
method Exports (line 103) | func (mi *ModuleInstance) Exports() k6modules.Exports {
function New (line 60) | func New() *RootModule {
FILE: internal/js/modules/k6/browser/browser/module_test.go
function TestModuleNew (line 14) | func TestModuleNew(t *testing.T) {
FILE: internal/js/modules/k6/browser/browser/modulevu.go
type moduleVU (line 16) | type moduleVU struct
method browser (line 30) | func (vu moduleVU) browser() (*common.Browser, error) {
method Context (line 34) | func (vu moduleVU) Context() context.Context {
FILE: internal/js/modules/k6/browser/browser/mouse_mapping.go
function mapMouse (line 13) | func mapMouse(vu moduleVU, m *common.Mouse) mapping {
function parseMouseClickOptions (line 65) | func parseMouseClickOptions(rt *sobek.Runtime, opts sobek.Value) (*commo...
function parseMouseDblClickOptions (line 98) | func parseMouseDblClickOptions(rt *sobek.Runtime, opts sobek.Value) (*co...
function parseMouseDownUpOptions (line 124) | func parseMouseDownUpOptions(rt *sobek.Runtime, opts sobek.Value) (*comm...
function parseMouseMoveOptions (line 150) | func parseMouseMoveOptions(rt *sobek.Runtime, opts sobek.Value) (*common...
FILE: internal/js/modules/k6/browser/browser/mouse_mapping_test.go
function TestParseMouseClickOptions (line 13) | func TestParseMouseClickOptions(t *testing.T) {
function TestParseMouseDblClickOptions (line 65) | func TestParseMouseDblClickOptions(t *testing.T) {
function TestParseMouseDownUpOptions (line 112) | func TestParseMouseDownUpOptions(t *testing.T) {
function TestParseMouseMoveOptions (line 159) | func TestParseMouseMoveOptions(t *testing.T) {
FILE: internal/js/modules/k6/browser/browser/page_mapping.go
function mapPage (line 21) | func mapPage(vu moduleVU, p *common.Page) mapping { //nolint:gocognit,cy...
function mapPageOn (line 773) | func mapPageOn(vu moduleVU, p *common.Page) func(common.PageEventName, s...
function parseWaitForFunctionArgs (line 816) | func parseWaitForFunctionArgs(
function parseStringOrRegex (line 844) | func parseStringOrRegex(v sobek.Value, doubleQuote bool) string {
function parseGetByRoleOptions (line 862) | func parseGetByRoleOptions(ctx context.Context, opts sobek.Value) *commo...
function parseGetByBaseOptions (line 909) | func parseGetByBaseOptions(
function mapPageRoute (line 937) | func mapPageRoute(vu moduleVU, p *common.Page) func(sobek.Value, sobek.C...
function mapWaitForURL (line 963) | func mapWaitForURL(vu moduleVU, target interface {
function mapWaitForNavigation (line 985) | func mapWaitForNavigation(vu moduleVU, target interface {
function parsePageWaitForResponseOptions (line 1015) | func parsePageWaitForResponseOptions(
function parsePageWaitForRequestOptions (line 1037) | func parsePageWaitForRequestOptions(
function parsePageWaitForEventOptions (line 1061) | func parsePageWaitForEventOptions(
function parseSize (line 1098) | func parseSize(rt *sobek.Runtime, opts sobek.Value) (*common.Size, error) {
function parsePageEmulateMediaOptions (line 1134) | func parsePageEmulateMediaOptions(
FILE: internal/js/modules/k6/browser/browser/page_mapping_test.go
function TestParseStringOrRegex (line 14) | func TestParseStringOrRegex(t *testing.T) {
function TestParseSize (line 56) | func TestParseSize(t *testing.T) {
function TestParsePageEmulateMediaOptions (line 133) | func TestParsePageEmulateMediaOptions(t *testing.T) {
FILE: internal/js/modules/k6/browser/browser/registry.go
type pidRegistry (line 36) | type pidRegistry struct
method registerPid (line 42) | func (r *pidRegistry) registerPid(pid int) {
method Pids (line 50) | func (r *pidRegistry) Pids() []int {
type remoteRegistry (line 62) | type remoteRegistry struct
method isRemoteBrowser (line 158) | func (r *remoteRegistry) isRemoteBrowser() (string, bool) {
function newRemoteRegistry (line 73) | func newRemoteRegistry(envLookup env.LookupFunc) (*remoteRegistry, error) {
function checkForBrowserWSURLs (line 91) | func checkForBrowserWSURLs(envLookup env.LookupFunc) (bool, []string) {
function checkForScenarios (line 114) | func checkForScenarios(envLookup env.LookupFunc) (bool, []string, error) {
type browserRegistry (line 172) | type browserRegistry struct
method handleIterEvents (line 253) | func (r *browserRegistry) handleIterEvents(
method handleExitEvent (line 327) | func (r *browserRegistry) handleExitEvent(exitCh <-chan *k6event.Event...
method setBrowser (line 343) | func (r *browserRegistry) setBrowser(id int64, b *common.Browser) {
method getBrowser (line 350) | func (r *browserRegistry) getBrowser(id int64) (*common.Browser, error) {
method deleteBrowser (line 361) | func (r *browserRegistry) deleteBrowser(id int64) {
method browserCount (line 373) | func (r *browserRegistry) browserCount() int {
method clear (line 380) | func (r *browserRegistry) clear() {
method initTracesRegistry (line 393) | func (r *browserRegistry) initTracesRegistry() {
method stopTracesRegistry (line 403) | func (r *browserRegistry) stopTracesRegistry() {
type browserBuildFunc (line 185) | type browserBuildFunc
function newBrowserRegistry (line 196) | func newBrowserRegistry(
function isBrowserIter (line 412) | func isBrowserIter(vu k6modules.VU) bool {
type trace (line 420) | type trace struct
type tracesRegistry (line 426) | type tracesRegistry struct
method startIterationTrace (line 440) | func (r *tracesRegistry) startIterationTrace(ctx context.Context, data...
method endIterationTrace (line 462) | func (r *tracesRegistry) endIterationTrace(iter int64) {
method stop (line 472) | func (r *tracesRegistry) stop() {
method iterationTracesCount (line 485) | func (r *tracesRegistry) iterationTracesCount() int {
function newTracesRegistry (line 433) | func newTracesRegistry(tracer *browsertrace.Tracer) *tracesRegistry {
function parseTracesMetadata (line 492) | func parseTracesMetadata(envLookup env.LookupFunc) (map[string]string, e...
type taskQueueRegistry (line 513) | type taskQueueRegistry struct
method get (line 533) | func (t *taskQueueRegistry) get(ctx context.Context, targetID string) ...
method close (line 554) | func (t *taskQueueRegistry) close(targetID string) {
function newTaskQueueRegistry (line 520) | func newTaskQueueRegistry(vu k6modules.VU) *taskQueueRegistry {
FILE: internal/js/modules/k6/browser/browser/registry_test.go
function TestPidRegistry (line 19) | func TestPidRegistry(t *testing.T) {
function TestIsRemoteBrowser (line 43) | func TestIsRemoteBrowser(t *testing.T) {
function TestBrowserRegistry (line 193) | func TestBrowserRegistry(t *testing.T) {
function TestParseTracesMetadata (line 322) | func TestParseTracesMetadata(t *testing.T) {
FILE: internal/js/modules/k6/browser/browser/request_mapping.go
function mapRequestEvent (line 9) | func mapRequestEvent(vu moduleVU, event common.PageEvent) mapping {
function mapRequest (line 16) | func mapRequest(vu moduleVU, r *common.Request) mapping {
FILE: internal/js/modules/k6/browser/browser/response_mapping.go
function mapResponseEvent (line 9) | func mapResponseEvent(vu moduleVU, event common.PageEvent) mapping {
function mapResponse (line 16) | func mapResponse(vu moduleVU, r *common.Response) mapping {
FILE: internal/js/modules/k6/browser/browser/route_mapping.go
function mapRoute (line 15) | func mapRoute(vu moduleVU, route *common.Route) mapping {
function parseContinueOptions (line 46) | func parseContinueOptions(ctx context.Context, opts sobek.Value) (common...
function parseFulfillOptions (line 74) | func parseFulfillOptions(ctx context.Context, opts sobek.Value) (common....
function parseHeaders (line 105) | func parseHeaders(headers *sobek.Object) []common.HTTPHeader {
FILE: internal/js/modules/k6/browser/browser/route_options_test.go
function TestParseContinueOptions (line 14) | func TestParseContinueOptions(t *testing.T) {
function TestParseFulfillOptions (line 109) | func TestParseFulfillOptions(t *testing.T) {
FILE: internal/js/modules/k6/browser/browser/touchscreen_mapping.go
function mapTouchscreen (line 10) | func mapTouchscreen(vu moduleVU, ts *common.Touchscreen) mapping {
FILE: internal/js/modules/k6/browser/browser/worker_mapping.go
function mapWorker (line 8) | func mapWorker(_ moduleVU, w *common.Worker) mapping {
FILE: internal/js/modules/k6/browser/chromium/browser.go
type Browser (line 9) | type Browser struct
FILE: internal/js/modules/k6/browser/chromium/browser_type.go
type BrowserType (line 27) | type BrowserType struct
method init (line 54) | func (b *BrowserType) init(
method initContext (line 87) | func (b *BrowserType) initContext(ctx context.Context) context.Context {
method Connect (line 106) | func (b *BrowserType) Connect(ctx, vuCtx context.Context, wsEndpoint s...
method connect (line 124) | func (b *BrowserType) connect(
method link (line 146) | func (b *BrowserType) link(
method Launch (line 172) | func (b *BrowserType) Launch(ctx, vuCtx context.Context) (_ *common.Br...
method launch (line 190) | func (b *BrowserType) launch(
method tmpdir (line 230) | func (b *BrowserType) tmpdir() string {
method Name (line 236) | func (b *BrowserType) Name() string {
method allocate (line 241) | func (b *BrowserType) allocate(
function NewBrowserType (line 40) | func NewBrowserType(vu k6modules.VU) *BrowserType {
function executablePath (line 275) | func executablePath(
function parseArgs (line 323) | func parseArgs(flags map[string]any) ([]string, error) {
function parseStringArg (line 349) | func parseStringArg(flag string, value string) string {
function prepareFlags (line 358) | func prepareFlags(lopts *common.BrowserOptions, k6opts *k6lib.Options) (...
function ignoreDefaultArgsFlags (line 406) | func ignoreDefaultArgsFlags(flags map[string]any, toIgnore []string) {
function setFlagsFromArgs (line 415) | func setFlagsFromArgs(flags map[string]any, args []string) {
function setFlagsFromK6Options (line 429) | func setFlagsFromK6Options(flags map[string]any, k6opts *k6lib.Options) ...
function makeLogger (line 470) | func makeLogger(ctx context.Context, envLookup env.LookupFunc) (*log.Log...
FILE: internal/js/modules/k6/browser/chromium/browser_type_test.go
function TestBrowserTypePrepareFlags (line 20) | func TestBrowserTypePrepareFlags(t *testing.T) {
function TestExecutablePath (line 156) | func TestExecutablePath(t *testing.T) {
function TestParseArgs (line 253) | func TestParseArgs(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/barrier.go
type Barrier (line 9) | type Barrier struct
method AddFrameNavigation (line 23) | func (b *Barrier) AddFrameNavigation(frame *Frame) {
method Wait (line 44) | func (b *Barrier) Wait(ctx context.Context) error {
function NewBarrier (line 15) | func NewBarrier() *Barrier {
FILE: internal/js/modules/k6/browser/common/barrier_test.go
function TestBarrier (line 13) | func TestBarrier(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/browser.go
constant BrowserStateOpen (line 23) | BrowserStateOpen int64 = iota
constant BrowserStateClosed (line 24) | BrowserStateClosed
type Browser (line 28) | type Browser struct
method connect (line 142) | func (b *Browser) connect() error {
method disposeContext (line 173) | func (b *Browser) disposeContext(id cdp.BrowserContextID) error {
method getDefaultBrowserContextOrMatchedID (line 187) | func (b *Browser) getDefaultBrowserContextOrMatchedID(id cdp.BrowserCo...
method getPages (line 198) | func (b *Browser) getPages() []*Page {
method initEvents (line 208) | func (b *Browser) initEvents() error {
method connectionOnAttachedToTarget (line 270) | func (b *Browser) connectionOnAttachedToTarget(eva *target.EventAttach...
method onAttachedToTarget (line 289) | func (b *Browser) onAttachedToTarget(ev *target.EventAttachedToTarget)...
method attachNewPage (line 372) | func (b *Browser) attachNewPage(p *Page, ev *target.EventAttachedToTar...
method isAttachedPageValid (line 407) | func (b *Browser) isAttachedPageValid(ev *target.EventAttachedToTarget...
method isPageAttachmentErrorIgnorable (line 436) | func (b *Browser) isPageAttachmentErrorIgnorable(ev *target.EventAttac...
method onDetachedFromTarget (line 483) | func (b *Browser) onDetachedFromTarget(ev *target.EventDetachedFromTar...
method newPageInContext (line 507) | func (b *Browser) newPageInContext(id cdp.BrowserContextID) (*Page, er...
method Close (line 572) | func (b *Browser) Close() {
method CloseContext (line 650) | func (b *Browser) CloseContext() error {
method Context (line 658) | func (b *Browser) Context() *BrowserContext {
method IsConnected (line 664) | func (b *Browser) IsConnected() bool {
method NewContext (line 669) | func (b *Browser) NewContext(opts *BrowserContextOptions) (*BrowserCon...
method NewPage (line 698) | func (b *Browser) NewPage(opts *BrowserContextOptions) (*Page, error) {
method On (line 717) | func (b *Browser) On(event string) (bool, error) {
method UserAgent (line 731) | func (b *Browser) UserAgent() string {
method Version (line 736) | func (b *Browser) Version() string {
method fetchVersion (line 746) | func (b *Browser) fetchVersion() (browserVersion, error) {
method WsURL (line 775) | func (b *Browser) WsURL() string {
type browserVersion (line 81) | type browserVersion struct
function NewBrowser (line 90) | func NewBrowser(
function newBrowser (line 113) | func newBrowser(
FILE: internal/js/modules/k6/browser/common/browser_context.go
type waitForEventType (line 24) | type waitForEventType
type Cookie (line 29) | type Cookie struct
type CookieSameSite (line 45) | type CookieSameSite
constant CookieSameSiteStrict (line 51) | CookieSameSiteStrict CookieSameSite = "Strict"
constant CookieSameSiteLax (line 55) | CookieSameSiteLax CookieSameSite = "Lax"
constant CookieSameSiteNone (line 59) | CookieSameSiteNone CookieSameSite = "None"
constant waitForEventTypePage (line 65) | waitForEventTypePage = "page"
type BrowserContext (line 72) | type BrowserContext struct
method setDownloadsPath (line 94) | func (b *BrowserContext) setDownloadsPath(path string) error {
method cleanup (line 110) | func (b *BrowserContext) cleanup() error {
method AddInitScript (line 164) | func (b *BrowserContext) AddInitScript(script string) error {
method applyAllInitScripts (line 178) | func (b *BrowserContext) applyAllInitScripts(p *Page) error {
method Browser (line 189) | func (b *BrowserContext) Browser() *Browser {
method ClearPermissions (line 194) | func (b *BrowserContext) ClearPermissions() error {
method Close (line 206) | func (b *BrowserContext) Close() error {
method GrantPermissions (line 219) | func (b *BrowserContext) GrantPermissions(permissions []string, opts G...
method NewPage (line 257) | func (b *BrowserContext) NewPage() (*Page, error) {
method Pages (line 272) | func (b *BrowserContext) Pages() []*Page {
method SetDefaultNavigationTimeout (line 277) | func (b *BrowserContext) SetDefaultNavigationTimeout(timeout int64) {
method SetDefaultTimeout (line 284) | func (b *BrowserContext) SetDefaultTimeout(timeout int64) {
method SetGeolocation (line 291) | func (b *BrowserContext) SetGeolocation(g *Geolocation) error {
method SetHTTPCredentials (line 314) | func (b *BrowserContext) SetHTTPCredentials(hc Credentials) error {
method SetOffline (line 330) | func (b *BrowserContext) SetOffline(offline bool) error {
method Timeout (line 347) | func (b *BrowserContext) Timeout() time.Duration {
method WaitForEvent (line 352) | func (b *BrowserContext) WaitForEvent(event string, f func(p *Page) (b...
method waitForEvent (line 358) | func (b *BrowserContext) waitForEvent(
method runWaitForEventHandler (line 395) | func (b *BrowserContext) runWaitForEventHandler(
method getSession (line 449) | func (b *BrowserContext) getSession(id target.SessionID) *Session {
method AddCookies (line 455) | func (b *BrowserContext) AddCookies(cookies []*Cookie) error {
method ClearCookies (line 506) | func (b *BrowserContext) ClearCookies() error {
method Cookies (line 523) | func (b *BrowserContext) Cookies(urls ...string) ([]*Cookie, error) {
constant artifactsDirectory (line 89) | artifactsDirectory = "k6browser-artifacts-"
function NewBrowserContext (line 120) | func NewBrowserContext(
function filterCookies (line 571) | func filterCookies(cookies []*Cookie, urls ...string) ([]*Cookie, error) {
function shouldKeepCookie (line 630) | func shouldKeepCookie(c *Cookie, uri *url.URL) bool {
function parseURLs (line 672) | func parseURLs(urls ...string) ([]*url.URL, error) {
FILE: internal/js/modules/k6/browser/common/browser_context_options.go
type BrowserContextOptions (line 6) | type BrowserContextOptions struct
function DefaultBrowserContextOptions (line 31) | func DefaultBrowserContextOptions() *BrowserContextOptions {
type Geolocation (line 46) | type Geolocation struct
method Validate (line 53) | func (g *Geolocation) Validate() error {
type GrantPermissionsOptions (line 67) | type GrantPermissionsOptions struct
FILE: internal/js/modules/k6/browser/common/browser_context_test.go
function TestNewBrowserContext (line 16) | func TestNewBrowserContext(t *testing.T) {
function TestSetDownloadsPath (line 50) | func TestSetDownloadsPath(t *testing.T) {
function TestFilterCookies (line 81) | func TestFilterCookies(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/browser_options.go
constant optType (line 18) | optType = "type"
type BrowserOptions (line 21) | type BrowserOptions struct
method Parse (line 58) | func (bo *BrowserOptions) Parse(
method shouldIgnoreIfBrowserIsRemote (line 118) | func (bo *BrowserOptions) shouldIgnoreIfBrowserIsRemote(opt string) bo...
function NewLocalBrowserOptions (line 38) | func NewLocalBrowserOptions() *BrowserOptions {
function NewRemoteBrowserOptions (line 48) | func NewRemoteBrowserOptions() *BrowserOptions {
function parseBoolOpt (line 134) | func parseBoolOpt(k, v string) (bool, error) {
function parseTimeOpt (line 143) | func parseTimeOpt(k, v string) (time.Duration, error) {
function parseListOpt (line 152) | func parseListOpt(v string) []string {
FILE: internal/js/modules/k6/browser/common/browser_options_test.go
function TestBrowserOptionsParse (line 15) | func TestBrowserOptionsParse(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/browser_process.go
type BrowserProcess (line 18) | type BrowserProcess struct
method handleClose (line 94) | func (p *BrowserProcess) handleClose(ctx context.Context) {
method didLoseConnection (line 109) | func (p *BrowserProcess) didLoseConnection() {
method isConnected (line 113) | func (p *BrowserProcess) isConnected() bool {
method GracefulClose (line 124) | func (p *BrowserProcess) GracefulClose() {
method Terminate (line 130) | func (p *BrowserProcess) Terminate() {
method WsURL (line 136) | func (p *BrowserProcess) WsURL() string {
method Pid (line 141) | func (p *BrowserProcess) Pid() int {
method Cleanup (line 147) | func (p *BrowserProcess) Cleanup() error {
function NewLocalBrowserProcess (line 37) | func NewLocalBrowserProcess(
function NewRemoteBrowserProcess (line 75) | func NewRemoteBrowserProcess(
type command (line 151) | type command struct
function execute (line 157) | func execute(
function parseDevToolsURL (line 208) | func parseDevToolsURL(ctx context.Context, cmd command) (_ string, err e...
type devToolsURLParser (line 235) | type devToolsURLParser struct
method scan (line 242) | func (p *devToolsURLParser) scan() bool {
method err (line 262) | func (p *devToolsURLParser) err() error {
FILE: internal/js/modules/k6/browser/common/browser_process_meta.go
constant unknownProcessPid (line 10) | unknownProcessPid = -1
type browserProcessMeta (line 16) | type browserProcessMeta interface
type localBrowserProcessMeta (line 23) | type localBrowserProcessMeta struct
method Pid (line 40) | func (l *localBrowserProcessMeta) Pid() int {
method Cleanup (line 46) | func (l *localBrowserProcessMeta) Cleanup() error {
function newLocalBrowserProcessMeta (line 30) | func newLocalBrowserProcessMeta(
type remoteBrowserProcessMeta (line 52) | type remoteBrowserProcessMeta struct
method Pid (line 61) | func (r *remoteBrowserProcessMeta) Pid() int {
method Cleanup (line 67) | func (r *remoteBrowserProcessMeta) Cleanup() error {
function newRemoteBrowserProcessMeta (line 56) | func newRemoteBrowserProcessMeta() *remoteBrowserProcessMeta {
FILE: internal/js/modules/k6/browser/common/browser_process_test.go
type mockCommand (line 13) | type mockCommand struct
type mockReader (line 18) | type mockReader struct
method Read (line 24) | func (r *mockReader) Read(p []byte) (n int, err error) {
function TestParseDevToolsURL (line 39) | func TestParseDevToolsURL(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/browser_test.go
function TestBrowserNewPageInContext (line 18) | func TestBrowserNewPageInContext(t *testing.T) {
type fakeConn (line 192) | type fakeConn struct
method Execute (line 197) | func (c fakeConn) Execute(
FILE: internal/js/modules/k6/browser/common/connection.go
constant wsWriteBufferSize (line 24) | wsWriteBufferSize = 1 << 20
type msgID (line 33) | type msgID struct
method newID (line 43) | func (m *msgID) newID() int64 {
type msgIDGenerator (line 47) | type msgIDGenerator interface
type executorEmitter (line 51) | type executorEmitter interface
type connection (line 56) | type connection interface
type session (line 63) | type session interface
type Action (line 73) | type Action interface
type ActionFunc (line 78) | type ActionFunc
method Do (line 81) | func (f ActionFunc) Do(ctx context.Context) error {
type Connection (line 117) | type Connection struct
method close (line 197) | func (c *Connection) close(code int) error {
method closeSession (line 235) | func (c *Connection) closeSession(sid target.SessionID, tid target.ID)...
method closeAllSessions (line 251) | func (c *Connection) closeAllSessions() {
method createSession (line 262) | func (c *Connection) createSession(info *target.Info) (*Session, error) {
method handleIOError (line 282) | func (c *Connection) handleIOError(err error) {
method getSession (line 312) | func (c *Connection) getSession(id target.SessionID) *Session {
method findTargetIDForLog (line 321) | func (c *Connection) findTargetIDForLog(id target.SessionID) target.ID {
method recvLoop (line 333) | func (c *Connection) recvLoop() {
method stopWaitingForDebugger (line 461) | func (c *Connection) stopWaitingForDebugger(sid target.SessionID) {
method send (line 473) | func (c *Connection) send(
method sendLoop (line 539) | func (c *Connection) sendLoop() {
method Close (line 576) | func (c *Connection) Close() {
method Execute (line 583) | func (c *Connection) Execute(
method IgnoreIOErrors (line 636) | func (c *Connection) IgnoreIOErrors() {
method isClosing (line 640) | func (c *Connection) isClosing() (s bool) {
function NewConnection (line 144) | func NewConnection(
FILE: internal/js/modules/k6/browser/common/connection_test.go
function TestConnection (line 21) | func TestConnection(t *testing.T) {
function TestConnectionClosureAbnormal (line 39) | func TestConnectionClosureAbnormal(t *testing.T) {
function TestConnectionSendRecv (line 60) | func TestConnectionSendRecv(t *testing.T) {
function TestConnectionCreateSession (line 81) | func TestConnectionCreateSession(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/consts.go
constant DefaultLocale (line 8) | DefaultLocale string = "en-US"
constant DefaultScreenWidth (line 9) | DefaultScreenWidth int64 = 1280
constant DefaultScreenHeight (line 10) | DefaultScreenHeight int64 = 720
constant DefaultTimeout (line 11) | DefaultTimeout time.Duration = 30 * time.Second
constant LifeCycleNetworkIdleTimeout (line 15) | LifeCycleNetworkIdleTimeout time.Duration = 500 * time.Millisecond
constant StrictModeOff (line 19) | StrictModeOff = false
FILE: internal/js/modules/k6/browser/common/context.go
type ctxKey (line 9) | type ctxKey
constant ctxKeyBrowserOptions (line 12) | ctxKeyBrowserOptions ctxKey = iota
constant ctxKeyHooks (line 13) | ctxKeyHooks
constant ctxKeyIterationID (line 14) | ctxKeyIterationID
constant ctxKeyTracer (line 15) | ctxKeyTracer
function WithHooks (line 18) | func WithHooks(ctx context.Context, hooks *Hooks) context.Context {
function GetHooks (line 22) | func GetHooks(ctx context.Context) *Hooks {
function WithIterationID (line 31) | func WithIterationID(ctx context.Context, iterID string) context.Context {
function GetIterationID (line 36) | func GetIterationID(ctx context.Context) string {
function WithBrowserOptions (line 42) | func WithBrowserOptions(ctx context.Context, opts *BrowserOptions) conte...
function GetBrowserOptions (line 47) | func GetBrowserOptions(ctx context.Context) *BrowserOptions {
function WithTracer (line 59) | func WithTracer(ctx context.Context, tracer Tracer) context.Context {
function GetTracer (line 64) | func GetTracer(ctx context.Context) Tracer {
function contextWithDoneChan (line 77) | func contextWithDoneChan(ctx context.Context, done chan struct{}) contex...
function ContextErr (line 90) | func ContextErr(ctx context.Context) error {
FILE: internal/js/modules/k6/browser/common/context_test.go
function TestContextWithDoneChan (line 11) | func TestContextWithDoneChan(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/device.go
type Device (line 4) | type Device struct
function GetDevices (line 16) | func GetDevices() map[string]Device {
FILE: internal/js/modules/k6/browser/common/element_handle.go
constant resultDone (line 32) | resultDone = "done"
constant resultNeedsInput (line 33) | resultNeedsInput = "needsinput"
type elementHandleActionFunc (line 37) | type elementHandleActionFunc
type elementHandlePointerActionFunc (line 38) | type elementHandlePointerActionFunc
type retryablePointerActionFunc (line 39) | type retryablePointerActionFunc
type evalFunc (line 43) | type evalFunc
type ElementHandle (line 47) | type ElementHandle struct
method String (line 56) | func (h *ElementHandle) String() string {
method boundingBox (line 63) | func (h *ElementHandle) boundingBox() (*Rect, error) {
method translatePointToPage (line 91) | func (h *ElementHandle) translatePointToPage(apiCtx context.Context, p...
method checkHitTargetAt (line 135) | func (h *ElementHandle) checkHitTargetAt(apiCtx context.Context, point...
method checkElementState (line 184) | func (h *ElementHandle) checkElementState(_ context.Context, state str...
method click (line 209) | func (h *ElementHandle) click(p *Position, opts *MouseClickOptions) er...
method clickablePoint (line 216) | func (h *ElementHandle) clickablePoint() (*Position, error) {
method dblclick (line 224) | func (h *ElementHandle) dblclick(p *Position, opts *MouseClickOptions)...
method DefaultTimeout (line 229) | func (h *ElementHandle) DefaultTimeout() time.Duration {
method dispatchEvent (line 233) | func (h *ElementHandle) dispatchEvent(_ context.Context, typ string, e...
method fill (line 248) | func (h *ElementHandle) fill(_ context.Context, value string) error {
method focus (line 279) | func (h *ElementHandle) focus(apiCtx context.Context, resetSelectionIf...
method getAttribute (line 305) | func (h *ElementHandle) getAttribute(apiCtx context.Context, name stri...
method hover (line 318) | func (h *ElementHandle) hover(_ context.Context, p *Position) error {
method innerHTML (line 322) | func (h *ElementHandle) innerHTML(apiCtx context.Context) (any, error) {
method innerText (line 335) | func (h *ElementHandle) innerText(apiCtx context.Context) (any, error) {
method inputValue (line 349) | func (h *ElementHandle) inputValue(apiCtx context.Context) (any, error) {
method isChecked (line 366) | func (h *ElementHandle) isChecked(apiCtx context.Context, timeout time...
method isDisabled (line 370) | func (h *ElementHandle) isDisabled(apiCtx context.Context, timeout tim...
method isEditable (line 374) | func (h *ElementHandle) isEditable(apiCtx context.Context, timeout tim...
method isEnabled (line 378) | func (h *ElementHandle) isEnabled(apiCtx context.Context, timeout time...
method isHidden (line 382) | func (h *ElementHandle) isHidden(apiCtx context.Context) (bool, error) {
method isVisible (line 386) | func (h *ElementHandle) isVisible(apiCtx context.Context) (bool, error) {
method offsetPosition (line 390) | func (h *ElementHandle) offsetPosition(apiCtx context.Context, offset ...
method ownerFrame (line 426) | func (h *ElementHandle) ownerFrame(apiCtx context.Context) (*Frame, er...
method scrollRectIntoViewIfNeeded (line 448) | func (h *ElementHandle) scrollRectIntoViewIfNeeded(apiCtx context.Cont...
method press (line 463) | func (h *ElementHandle) press(apiCtx context.Context, key string, opts...
method selectOption (line 475) | func (h *ElementHandle) selectOption(apiCtx context.Context, values []...
method selectText (line 498) | func (h *ElementHandle) selectText(apiCtx context.Context) error {
method textContent (line 520) | func (h *ElementHandle) textContent(apiCtx context.Context) (any, erro...
method typ (line 533) | func (h *ElementHandle) typ(apiCtx context.Context, text string, opts ...
method waitAndScrollIntoViewIfNeeded (line 545) | func (h *ElementHandle) waitAndScrollIntoViewIfNeeded(
method waitForElementState (line 568) | func (h *ElementHandle) waitForElementState(
method stepIntoFrame (line 601) | func (h *ElementHandle) stepIntoFrame(
method waitForSelector (line 632) | func (h *ElementHandle) waitForSelector(
method count (line 687) | func (h *ElementHandle) count(apiCtx context.Context, selector string)...
method findFrameNavigationIndex (line 741) | func (h *ElementHandle) findFrameNavigationIndex(selector *Selector) i...
method splitSelectorAtFrame (line 751) | func (h *ElementHandle) splitSelectorAtFrame(selector *Selector, frame...
method reconstructSelector (line 768) | func (h *ElementHandle) reconstructSelector(selector *Selector) string {
method AsElement (line 786) | func (h *ElementHandle) AsElement() *ElementHandle {
method BoundingBox (line 791) | func (h *ElementHandle) BoundingBox() (*Rect, error) {
method Click (line 805) | func (h *ElementHandle) Click(opts *ElementHandleClickOptions) error {
method ContentFrame (line 821) | func (h *ElementHandle) ContentFrame() (*Frame, error) {
method Dblclick (line 843) | func (h *ElementHandle) Dblclick(opts *ElementHandleDblclickOptions) e...
method DispatchEvent (line 858) | func (h *ElementHandle) DispatchEvent(typ string, eventInit any) error {
method Fill (line 876) | func (h *ElementHandle) Fill(value string, opts *ElementHandleBaseOpti...
method Focus (line 894) | func (h *ElementHandle) Focus() error {
method GetAttribute (line 913) | func (h *ElementHandle) GetAttribute(name string) (string, bool, error) {
method Hover (line 941) | func (h *ElementHandle) Hover(opts *ElementHandleHoverOptions) error {
method InnerHTML (line 956) | func (h *ElementHandle) InnerHTML() (string, error) {
method InnerText (line 980) | func (h *ElementHandle) InnerText() (string, error) {
method InputValue (line 1004) | func (h *ElementHandle) InputValue(opts *ElementHandleBaseOptions) (st...
method IsChecked (line 1023) | func (h *ElementHandle) IsChecked() (bool, error) {
method IsDisabled (line 1034) | func (h *ElementHandle) IsDisabled() (bool, error) {
method IsEditable (line 1045) | func (h *ElementHandle) IsEditable() (bool, error) {
method IsEnabled (line 1056) | func (h *ElementHandle) IsEnabled() (bool, error) {
method IsHidden (line 1067) | func (h *ElementHandle) IsHidden() (bool, error) {
method IsVisible (line 1078) | func (h *ElementHandle) IsVisible() (bool, error) {
method OwnerFrame (line 1089) | func (h *ElementHandle) OwnerFrame() (_ *Frame, rerr error) {
method Press (line 1140) | func (h *ElementHandle) Press(key string, opts *ElementHandlePressOpti...
method Query (line 1158) | func (h *ElementHandle) Query(selector string, strict bool) (_ *Elemen...
method QueryAll (line 1220) | func (h *ElementHandle) QueryAll(selector string) ([]*ElementHandle, e...
method queryAll (line 1229) | func (h *ElementHandle) queryAll(selector string, eval evalFunc) (_ []...
method SetChecked (line 1298) | func (h *ElementHandle) SetChecked(checked bool, opts *ElementHandleSe...
method Uncheck (line 1314) | func (h *ElementHandle) Uncheck(opts *ElementHandleSetCheckedOptions) ...
method Check (line 1320) | func (h *ElementHandle) Check(opts *ElementHandleSetCheckedOptions) er...
method setChecked (line 1324) | func (h *ElementHandle) setChecked(apiCtx context.Context, checked boo...
method Screenshot (line 1350) | func (h *ElementHandle) Screenshot(
method ScrollIntoViewIfNeeded (line 1373) | func (h *ElementHandle) ScrollIntoViewIfNeeded(opts *ElementHandleBase...
method SelectOption (line 1385) | func (h *ElementHandle) SelectOption(values []any, opts *ElementHandle...
method SelectText (line 1407) | func (h *ElementHandle) SelectText(opts *ElementHandleBaseOptions) err...
method SetInputFiles (line 1424) | func (h *ElementHandle) SetInputFiles(files *Files, opts *ElementHandl...
method setInputFiles (line 1436) | func (h *ElementHandle) setInputFiles(apiCtx context.Context, files *F...
method Tap (line 1467) | func (h *ElementHandle) Tap(opts *ElementHandleTapOptions) error {
method tap (line 1482) | func (h *ElementHandle) tap(_ context.Context, p *Position) error {
method TextContent (line 1488) | func (h *ElementHandle) TextContent() (string, bool, error) {
method Timeout (line 1516) | func (h *ElementHandle) Timeout() time.Duration {
method Type (line 1521) | func (h *ElementHandle) Type(text string, opts *ElementHandleTypeOptio...
method WaitForElementState (line 1538) | func (h *ElementHandle) WaitForElementState(state string, opts *Elemen...
method WaitForSelector (line 1548) | func (h *ElementHandle) WaitForSelector(selector string, opts *FrameWa...
method evalWithScript (line 1559) | func (h *ElementHandle) evalWithScript(
method eval (line 1571) | func (h *ElementHandle) eval(
method newAction (line 1579) | func (h *ElementHandle) newAction(
method newPointerAction (line 1629) | func (h *ElementHandle) newPointerAction(
function retryPointerAction (line 1744) | func retryPointerAction(
function errorFromDOMError (line 1787) | func errorFromDOMError(v any) error {
FILE: internal/js/modules/k6/browser/common/element_handle_options.go
type ElementHandleBaseOptions (line 16) | type ElementHandleBaseOptions struct
method Parse (line 151) | func (o *ElementHandleBaseOptions) Parse(ctx context.Context, opts sob...
type ElementHandleBasePointerOptions (line 22) | type ElementHandleBasePointerOptions struct
method Parse (line 179) | func (o *ElementHandleBasePointerOptions) Parse(ctx context.Context, o...
type ScrollPosition (line 33) | type ScrollPosition
constant ScrollPositionStart (line 37) | ScrollPositionStart ScrollPosition = "start"
constant ScrollPositionCenter (line 39) | ScrollPositionCenter ScrollPosition = "center"
constant ScrollPositionEnd (line 41) | ScrollPositionEnd ScrollPosition = "end"
constant ScrollPositionNearest (line 43) | ScrollPositionNearest ScrollPosition = "nearest"
constant optionButton (line 47) | optionButton = "button"
constant optionDelay (line 48) | optionDelay = "delay"
constant optionClickCount (line 49) | optionClickCount = "clickCount"
constant optionModifiers (line 50) | optionModifiers = "modifiers"
type ScrollIntoViewOptions (line 55) | type ScrollIntoViewOptions struct
type ElementHandleCheckOptions (line 67) | type ElementHandleCheckOptions struct
method Parse (line 210) | func (o *ElementHandleCheckOptions) Parse(ctx context.Context, opts so...
type ElementHandleClickOptions (line 71) | type ElementHandleClickOptions struct
method Parse (line 286) | func (o *ElementHandleClickOptions) Parse(ctx context.Context, opts so...
method ToMouseClickOptions (line 317) | func (o *ElementHandleClickOptions) ToMouseClickOptions() *MouseClickO...
type ElementHandleDblclickOptions (line 79) | type ElementHandleDblclickOptions struct
method Parse (line 335) | func (o *ElementHandleDblclickOptions) Parse(ctx context.Context, opts...
method ToMouseClickOptions (line 360) | func (o *ElementHandleDblclickOptions) ToMouseClickOptions() *MouseCli...
type ElementHandleHoverOptions (line 86) | type ElementHandleHoverOptions struct
method Parse (line 376) | func (o *ElementHandleHoverOptions) Parse(ctx context.Context, opts so...
type File (line 92) | type File struct
type Files (line 99) | type Files struct
method addFile (line 222) | func (f *Files) addFile(ctx context.Context, file sobek.Value) error {
method Parse (line 243) | func (f *Files) Parse(ctx context.Context, files sobek.Value) error {
type ElementHandleSetInputFilesOptions (line 104) | type ElementHandleSetInputFilesOptions struct
method Parse (line 267) | func (o *ElementHandleSetInputFilesOptions) Parse(ctx context.Context,...
type ElementHandlePressOptions (line 108) | type ElementHandlePressOptions struct
method Parse (line 405) | func (o *ElementHandlePressOptions) Parse(ctx context.Context, opts so...
method ToBaseOptions (line 423) | func (o *ElementHandlePressOptions) ToBaseOptions() *ElementHandleBase...
type ElementHandleScreenshotOptions (line 114) | type ElementHandleScreenshotOptions struct
method Parse (line 442) | func (o *ElementHandleScreenshotOptions) Parse(ctx context.Context, op...
type ElementHandleSetCheckedOptions (line 122) | type ElementHandleSetCheckedOptions struct
method Parse (line 486) | func (o *ElementHandleSetCheckedOptions) Parse(ctx context.Context, op...
type ElementHandleTapOptions (line 127) | type ElementHandleTapOptions struct
method Parse (line 512) | func (o *ElementHandleTapOptions) Parse(ctx context.Context, opts sobe...
type ElementHandleTypeOptions (line 132) | type ElementHandleTypeOptions struct
method Parse (line 541) | func (o *ElementHandleTypeOptions) Parse(ctx context.Context, opts sob...
method ToBaseOptions (line 559) | func (o *ElementHandleTypeOptions) ToBaseOptions() *ElementHandleBaseO...
type ElementHandleWaitForElementStateOptions (line 138) | type ElementHandleWaitForElementStateOptions struct
method Parse (line 574) | func (o *ElementHandleWaitForElementStateOptions) Parse(ctx context.Co...
function NewElementHandleBaseOptions (line 142) | func NewElementHandleBaseOptions(defaultTimeout time.Duration) *ElementH...
function NewElementHandleBasePointerOptions (line 170) | func NewElementHandleBasePointerOptions(defaultTimeout time.Duration) *E...
function NewElementHandleCheckOptions (line 203) | func NewElementHandleCheckOptions(defaultTimeout time.Duration) *Element...
function NewElementHandleSetInputFilesOptions (line 215) | func NewElementHandleSetInputFilesOptions(defaultTimeout time.Duration) ...
function NewElementHandleClickOptions (line 275) | func NewElementHandleClickOptions(defaultTimeout time.Duration) *Element...
function NewElementHandleDblclickOptions (line 325) | func NewElementHandleDblclickOptions(defaultTimeout time.Duration) *Elem...
function NewElementHandleHoverOptions (line 368) | func NewElementHandleHoverOptions(defaultTimeout time.Duration) *Element...
function NewElementHandlePressOptions (line 396) | func NewElementHandlePressOptions(defaultTimeout time.Duration) *Element...
function NewElementHandleScreenshotOptions (line 431) | func NewElementHandleScreenshotOptions(defaultTimeout time.Duration) *El...
function NewElementHandleSetCheckedOptions (line 478) | func NewElementHandleSetCheckedOptions(defaultTimeout time.Duration) *El...
function NewElementHandleTapOptions (line 504) | func NewElementHandleTapOptions(defaultTimeout time.Duration) *ElementHa...
function NewElementHandleTypeOptions (line 532) | func NewElementHandleTypeOptions(defaultTimeout time.Duration) *ElementH...
function NewElementHandleWaitForElementStateOptions (line 567) | func NewElementHandleWaitForElementStateOptions(defaultTimeout time.Dura...
type ElementHandleDispatchEventOptions (line 588) | type ElementHandleDispatchEventOptions struct
function NewElementHandleDispatchEventOptions (line 593) | func NewElementHandleDispatchEventOptions(defaultTimeout time.Duration) ...
FILE: internal/js/modules/k6/browser/common/element_handle_test.go
function TestErrorFromDOMError (line 15) | func TestErrorFromDOMError(t *testing.T) {
function TestQueryAll (line 38) | func TestQueryAll(t *testing.T) {
type jsHandleStub (line 227) | type jsHandleStub struct
method AsElement (line 236) | func (s *jsHandleStub) AsElement() *ElementHandle {
method Dispose (line 243) | func (s *jsHandleStub) Dispose() error {
method GetProperties (line 248) | func (s *jsHandleStub) GetProperties() (map[string]JSHandleAPI, error) {
FILE: internal/js/modules/k6/browser/common/errors.go
type Error (line 10) | type Error
method Error (line 13) | func (e Error) Error() string {
constant ErrUnexpectedRemoteObjectWithID (line 19) | ErrUnexpectedRemoteObjectWithID Error = "cannot extract value when remot...
constant ErrChannelClosed (line 20) | ErrChannelClosed Error = "channel closed"
constant ErrFrameDetached (line 21) | ErrFrameDetached Error = "frame detached"
constant ErrJSHandleDisposed (line 22) | ErrJSHandleDisposed Error = "JS handle is disposed"
constant ErrJSHandleInvalid (line 23) | ErrJSHandleInvalid Error = "JS handle is invalid"
constant ErrTargetCrashed (line 24) | ErrTargetCrashed Error = "Target has crashed"
constant ErrTimedOut (line 25) | ErrTimedOut Error = "timed out"
constant ErrWrongExecutionContext (line 26) | ErrWrongExecutionContext Error = "JS handles can be evaluated onl...
type BigIntParseError (line 29) | type BigIntParseError struct
method Error (line 34) | func (e BigIntParseError) Error() string {
method Is (line 39) | func (e BigIntParseError) Is(target error) bool {
method Unwrap (line 45) | func (e BigIntParseError) Unwrap() error {
type UnserializableValueError (line 49) | type UnserializableValueError struct
method Error (line 54) | func (e UnserializableValueError) Error() string {
FILE: internal/js/modules/k6/browser/common/event_emitter.go
constant EventBrowserDisconnected (line 11) | EventBrowserDisconnected string = "disconnected"
constant EventBrowserContextPage (line 15) | EventBrowserContextPage string = "page"
constant EventConnectionClose (line 19) | EventConnectionClose string = "close"
constant EventFrameNavigation (line 23) | EventFrameNavigation string = "navigation"
constant EventFrameAddLifecycle (line 24) | EventFrameAddLifecycle string = "addlifecycle"
type Event (line 28) | type Event struct
type NavigationEvent (line 38) | type NavigationEvent struct
type queue (line 45) | type queue struct
type eventHandler (line 52) | type eventHandler struct
type EventEmitter (line 59) | type EventEmitter interface
type syncFunc (line 67) | type syncFunc
type BaseEventEmitter (line 70) | type BaseEventEmitter struct
method syncAll (line 96) | func (e *BaseEventEmitter) syncAll(ctx context.Context) {
method sync (line 110) | func (e *BaseEventEmitter) sync(fn func()) {
method emit (line 124) | func (e *BaseEventEmitter) emit(event string, data any) {
method on (line 178) | func (e *BaseEventEmitter) on(ctx context.Context, events []string, ch...
method onAll (line 193) | func (e *BaseEventEmitter) onAll(ctx context.Context, ch chan Event) {
function NewBaseEventEmitter (line 81) | func NewBaseEventEmitter(ctx context.Context) BaseEventEmitter {
FILE: internal/js/modules/k6/browser/common/event_emitter_test.go
function TestEventEmitterSpecificEvent (line 13) | func TestEventEmitterSpecificEvent(t *testing.T) {
function TestEventEmitterAllEvents (line 69) | func TestEventEmitterAllEvents(t *testing.T) {
function TestBaseEventEmitter (line 123) | func TestBaseEventEmitter(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/execution_context.go
constant evaluationScriptURL (line 19) | evaluationScriptURL = "__xk6_browser_evaluation_script__"
constant devToolsServerErrorCode (line 22) | devToolsServerErrorCode = -32000
type executionWorld (line 24) | type executionWorld
method valid (line 31) | func (ew executionWorld) valid() bool {
constant mainWorld (line 27) | mainWorld executionWorld = "main"
constant utilityWorld (line 28) | utilityWorld executionWorld = "utility"
type evalOptions (line 35) | type evalOptions struct
method String (line 39) | func (ea evalOptions) String() string {
type ExecutionContext (line 44) | type ExecutionContext struct
method adoptBackendNodeID (line 89) | func (e *ExecutionContext) adoptBackendNodeID(backendNodeID cdp.Backen...
method adoptElementHandle (line 120) | func (e *ExecutionContext) adoptElementHandle(eh *ElementHandle) (*Ele...
method eval (line 159) | func (e *ExecutionContext) eval(
method getInjectedScript (line 260) | func (e *ExecutionContext) getInjectedScript(apiCtx context.Context) (...
method Eval (line 298) | func (e *ExecutionContext) Eval(apiCtx context.Context, js string, arg...
method EvalHandle (line 314) | func (e *ExecutionContext) EvalHandle(apiCtx context.Context, js strin...
method Frame (line 341) | func (e *ExecutionContext) Frame() *Frame {
method ID (line 346) | func (e *ExecutionContext) ID() runtime.ExecutionContextID {
function NewExecutionContext (line 61) | func NewExecutionContext(
FILE: internal/js/modules/k6/browser/common/frame.go
constant maxRetry (line 23) | maxRetry = 1
type DocumentInfo (line 25) | type DocumentInfo struct
type DOMElementState (line 31) | type DOMElementState
method String (line 41) | func (s DOMElementState) String() string {
method MarshalJSON (line 60) | func (s DOMElementState) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 68) | func (s *DOMElementState) UnmarshalJSON(b []byte) error {
constant DOMElementStateAttached (line 35) | DOMElementStateAttached DOMElementState = iota
constant DOMElementStateDetached (line 36) | DOMElementStateDetached
constant DOMElementStateVisible (line 37) | DOMElementStateVisible
constant DOMElementStateHidden (line 38) | DOMElementStateHidden
type Frame (line 80) | type Frame struct
method String (line 123) | func (f *Frame) String() string {
method addChildFrame (line 163) | func (f *Frame) addChildFrame(child *Frame) {
method addRequest (line 174) | func (f *Frame) addRequest(id network.RequestID) {
method deleteRequest (line 183) | func (f *Frame) deleteRequest(id network.RequestID) {
method clearLifecycle (line 192) | func (f *Frame) clearLifecycle() {
method detach (line 220) | func (f *Frame) detach() error {
method defaultTimeout (line 242) | func (f *Frame) defaultTimeout() time.Duration {
method document (line 246) | func (f *Frame) document() (*ElementHandle, error) {
method cachedDocumentHandle (line 269) | func (f *Frame) cachedDocumentHandle() (*ElementHandle, bool) {
method newDocumentHandle (line 278) | func (f *Frame) newDocumentHandle() (*ElementHandle, error) {
method hasContext (line 302) | func (f *Frame) hasContext(world executionWorld) bool {
method hasLifecycleEventFired (line 309) | func (f *Frame) hasLifecycleEventFired(event LifecycleEvent) bool {
method navigated (line 316) | func (f *Frame) navigated(name string, url string, loaderID string) {
method nullContext (line 326) | func (f *Frame) nullContext(execCtxID runtime.ExecutionContextID) {
method onLifecycleEvent (line 342) | func (f *Frame) onLifecycleEvent(event LifecycleEvent) {
method onLoadingStarted (line 355) | func (f *Frame) onLoadingStarted() {
method onLoadingStopped (line 361) | func (f *Frame) onLoadingStopped() {
method position (line 373) | func (f *Frame) position() (*Position, error) {
method removeChildFrame (line 394) | func (f *Frame) removeChildFrame(child *Frame) {
method setContext (line 404) | func (f *Frame) setContext(world executionWorld, execCtx frameExecutio...
method setID (line 448) | func (f *Frame) setID(id cdp.FrameID) {
method waitForExecutionContext (line 455) | func (f *Frame) waitForExecutionContext(world executionWorld) {
method waitForSelectorRetry (line 473) | func (f *Frame) waitForSelectorRetry(
method waitForSelector (line 491) | func (f *Frame) waitForSelector(selector string, opts *FrameWaitForSel...
method waitFor (line 535) | func (f *Frame) waitFor(
method boundingBox (line 572) | func (f *Frame) boundingBox(selector string, opts *FrameBaseOptions) (...
method ChildFrames (line 593) | func (f *Frame) ChildFrames() []*Frame {
method Click (line 605) | func (f *Frame) Click(selector string, opts *FrameClickOptions) error {
method click (line 617) | func (f *Frame) click(selector string, opts *FrameClickOptions) error {
method count (line 631) | func (f *Frame) count(selector string) (int, error) {
method Check (line 648) | func (f *Frame) Check(selector string, popts *FrameCheckOptions) error {
method check (line 660) | func (f *Frame) check(selector string, opts *FrameCheckOptions) error {
method setChecked (line 674) | func (f *Frame) setChecked(selector string, checked bool, opts *FrameC...
method SetChecked (line 689) | func (f *Frame) SetChecked(selector string, checked bool, popts *Frame...
method Uncheck (line 702) | func (f *Frame) Uncheck(selector string, popts *FrameUncheckOptions) e...
method uncheck (line 714) | func (f *Frame) uncheck(selector string, opts *FrameUncheckOptions) er...
method IsChecked (line 730) | func (f *Frame) IsChecked(selector string, opts *FrameIsCheckedOptions...
method isChecked (line 741) | func (f *Frame) isChecked(selector string, opts *FrameIsCheckedOptions...
method Content (line 766) | func (f *Frame) Content() (string, error) {
method Dblclick (line 793) | func (f *Frame) Dblclick(selector string, popts *FrameDblclickOptions)...
method dblclick (line 807) | func (f *Frame) dblclick(selector string, opts *FrameDblclickOptions) ...
method DispatchEvent (line 822) | func (f *Frame) DispatchEvent(selector, typ string, eventInit any, opt...
method dispatchEvent (line 835) | func (f *Frame) dispatchEvent(selector, typ string, eventInit any, opt...
method EvaluateWithContext (line 857) | func (f *Frame) EvaluateWithContext(ctx context.Context, pageFunc stri...
method Evaluate (line 877) | func (f *Frame) Evaluate(pageFunc string, args ...any) (any, error) {
method EvaluateGlobal (line 884) | func (f *Frame) EvaluateGlobal(ctx context.Context, js string) error {
method EvaluateHandle (line 902) | func (f *Frame) EvaluateHandle(pageFunc string, args ...any) (handle J...
method Fill (line 928) | func (f *Frame) Fill(selector, value string, popts *FrameFillOptions) ...
method fill (line 940) | func (f *Frame) fill(selector, value string, opts *FrameFillOptions) e...
method Focus (line 957) | func (f *Frame) Focus(selector string, popts *FrameBaseOptions) error {
method focus (line 969) | func (f *Frame) focus(selector string, opts *FrameBaseOptions) error {
method FrameElement (line 985) | func (f *Frame) FrameElement() (*ElementHandle, error) {
method GetAttribute (line 997) | func (f *Frame) GetAttribute(selector, name string, popts *FrameBaseOp...
method getAttribute (line 1008) | func (f *Frame) getAttribute(selector, name string, opts *FrameBaseOpt...
method GetByRole (line 1033) | func (f *Frame) GetByRole(role string, opts *GetByRoleOptions) *Locator {
method buildAttributeSelector (line 1061) | func (f *Frame) buildAttributeSelector(attrName, attrValue string, opt...
method buildRoleSelector (line 1082) | func (f *Frame) buildRoleSelector(role string, opts *GetByRoleOptions)...
method mapGetByRoleOptions (line 1098) | func (f *Frame) mapGetByRoleOptions(opts *GetByRoleOptions) map[string...
method buildLabelSelector (line 1146) | func (f *Frame) buildLabelSelector(label string, opts *GetByBaseOption...
method buildTestIDSelector (line 1162) | func (f *Frame) buildTestIDSelector(testID string) string {
method buildTextSelector (line 1172) | func (f *Frame) buildTextSelector(text string, opts *GetByBaseOptions)...
method GetByAltText (line 1187) | func (f *Frame) GetByAltText(alt string, opts *GetByBaseOptions) *Loca...
method GetByLabel (line 1195) | func (f *Frame) GetByLabel(label string, opts *GetByBaseOptions) *Loca...
method GetByPlaceholder (line 1202) | func (f *Frame) GetByPlaceholder(placeholder string, opts *GetByBaseOp...
method GetByTitle (line 1209) | func (f *Frame) GetByTitle(title string, opts *GetByBaseOptions) *Loca...
method GetByTestID (line 1216) | func (f *Frame) GetByTestID(testID string) *Locator {
method GetByText (line 1223) | func (f *Frame) GetByText(text string, opts *GetByBaseOptions) *Locator {
method Referrer (line 1232) | func (f *Frame) Referrer() string {
method NavigationTimeout (line 1239) | func (f *Frame) NavigationTimeout() time.Duration {
method Goto (line 1244) | func (f *Frame) Goto(url string, opts *FrameGotoOptions) (*Response, e...
method Hover (line 1261) | func (f *Frame) Hover(selector string, popts *FrameHoverOptions) error {
method hover (line 1273) | func (f *Frame) hover(selector string, opts *FrameHoverOptions) error {
method InnerHTML (line 1289) | func (f *Frame) InnerHTML(selector string, popts *FrameInnerHTMLOption...
method innerHTML (line 1300) | func (f *Frame) innerHTML(selector string, opts *FrameInnerHTMLOptions...
method InnerText (line 1325) | func (f *Frame) InnerText(selector string, popts *FrameInnerTextOption...
method innerText (line 1336) | func (f *Frame) innerText(selector string, opts *FrameInnerTextOptions...
method InputValue (line 1360) | func (f *Frame) InputValue(selector string, popts *FrameInputValueOpti...
method inputValue (line 1371) | func (f *Frame) inputValue(selector string, opts *FrameInputValueOptio...
method IsDetached (line 1392) | func (f *Frame) IsDetached() bool {
method setDetached (line 1400) | func (f *Frame) setDetached(detached bool) {
method IsEditable (line 1409) | func (f *Frame) IsEditable(selector string, opts *FrameIsEditableOptio...
method isEditable (line 1420) | func (f *Frame) isEditable(selector string, opts *FrameIsEditableOptio...
method IsEnabled (line 1446) | func (f *Frame) IsEnabled(selector string, opts *FrameIsEnabledOptions...
method isEnabled (line 1457) | func (f *Frame) isEnabled(selector string, opts *FrameIsEnabledOptions...
method IsDisabled (line 1483) | func (f *Frame) IsDisabled(selector string, opts *FrameIsDisabledOptio...
method isDisabled (line 1494) | func (f *Frame) isDisabled(selector string, opts *FrameIsDisabledOptio...
method IsHidden (line 1520) | func (f *Frame) IsHidden(selector string, opts *FrameIsHiddenOptions) ...
method isHidden (line 1531) | func (f *Frame) isHidden(selector string, opts *FrameIsHiddenOptions) ...
method IsVisible (line 1549) | func (f *Frame) IsVisible(selector string, opts *FrameIsVisibleOptions...
method isVisible (line 1560) | func (f *Frame) isVisible(selector string, opts *FrameIsVisibleOptions...
method ID (line 1577) | func (f *Frame) ID() string {
method Locator (line 1585) | func (f *Frame) Locator(selector string, opts *LocatorOptions) *Locator {
method FrameLocator (line 1592) | func (f *Frame) FrameLocator(selector string) *FrameLocator {
method LoaderID (line 1599) | func (f *Frame) LoaderID() string {
method Name (line 1607) | func (f *Frame) Name() string {
method Query (line 1616) | func (f *Frame) Query(selector string, strict bool) (*ElementHandle, e...
method QueryAll (line 1627) | func (f *Frame) QueryAll(selector string) ([]*ElementHandle, error) {
method Page (line 1638) | func (f *Frame) Page() *Page {
method ParentFrame (line 1643) | func (f *Frame) ParentFrame() *Frame {
method Press (line 1648) | func (f *Frame) Press(selector, key string, opts *FramePressOptions) e...
method press (line 1660) | func (f *Frame) press(selector, key string, opts *FramePressOptions) e...
method SelectOption (line 1677) | func (f *Frame) SelectOption(selector string, values []any, popts *Fra...
method selectOption (line 1690) | func (f *Frame) selectOption(selector string, values []any, opts *Fram...
method SetContent (line 1731) | func (f *Frame) SetContent(html string, _ *FrameSetContentOptions) err...
method SetInputFiles (line 1760) | func (f *Frame) SetInputFiles(selector string, pfiles *Files, popts *F...
method Tap (line 1773) | func (f *Frame) Tap(selector string, opts *FrameTapOptions) error {
method tap (line 1785) | func (f *Frame) tap(selector string, opts *FrameTapOptions) error {
method setInputFiles (line 1799) | func (f *Frame) setInputFiles(selector string, files *Files, opts *Fra...
method TextContent (line 1819) | func (f *Frame) TextContent(selector string, popts *FrameTextContentOp...
method textContent (line 1830) | func (f *Frame) textContent(selector string, opts *FrameTextContentOpt...
method Timeout (line 1855) | func (f *Frame) Timeout() time.Duration {
method Title (line 1860) | func (f *Frame) Title() (string, error) {
method Type (line 1877) | func (f *Frame) Type(selector, text string, popts *FrameTypeOptions) e...
method typ (line 1889) | func (f *Frame) typ(selector, text string, opts *FrameTypeOptions) err...
method URL (line 1905) | func (f *Frame) URL() string {
method setURL (line 1917) | func (f *Frame) setURL(url string) {
method WaitForFunction (line 1925) | func (f *Frame) WaitForFunction(js string, opts *FrameWaitForFunctionO...
method waitForFunction (line 1947) | func (f *Frame) waitForFunction(
method WaitForLoadState (line 2006) | func (f *Frame) WaitForLoadState(state string, popts *FrameWaitForLoad...
method WaitForNavigation (line 2049) | func (f *Frame) WaitForNavigation(opts *FrameWaitForNavigationOptions,...
method handleWaitForNavigationTimeoutErrorFn (line 2150) | func (f *Frame) handleWaitForNavigationTimeoutErrorFn(opts *FrameWaitF...
method WaitForSelector (line 2170) | func (f *Frame) WaitForSelector(selector string, popts *FrameWaitForSe...
method WaitForTimeout (line 2180) | func (f *Frame) WaitForTimeout(timeout int64) {
method WaitForURL (line 2194) | func (f *Frame) WaitForURL(urlPattern string, opts *FrameWaitForURLOpt...
method adoptBackendNodeID (line 2220) | func (f *Frame) adoptBackendNodeID(world executionWorld, id cdp.Backen...
method evaluate (line 2233) | func (f *Frame) evaluate(
method evaluateWithSelector (line 2256) | func (f *Frame) evaluateWithSelector(selector string, pageFunc string,...
method evaluateHandleWithSelector (line 2273) | func (f *Frame) evaluateHandleWithSelector(selector string, pageFunc s...
method runActionOnSelector (line 2331) | func (f *Frame) runActionOnSelector(
method newAction (line 2357) | func (f *Frame) newAction(
method newPointerAction (line 2390) | func (f *Frame) newPointerAction(
function NewFrame (line 132) | func NewFrame(
function isQuotedText (line 1043) | func isQuotedText(s string) bool {
type frameExecutionContext (line 2297) | type frameExecutionContext interface
FILE: internal/js/modules/k6/browser/common/frame_manager.go
type FrameManager (line 18) | type FrameManager struct
method addBarrier (line 69) | func (m *FrameManager) addBarrier(b *Barrier) {
method removeBarrier (line 77) | func (m *FrameManager) removeBarrier(b *Barrier) {
method frameAbortedNavigation (line 92) | func (m *FrameManager) frameAbortedNavigation(frameID cdp.FrameID, err...
method frameAttached (line 133) | func (m *FrameManager) frameAttached(frameID cdp.FrameID, parentFrameI...
method frameDetached (line 158) | func (m *FrameManager) frameDetached(frameID cdp.FrameID, reason cdppa...
method frameLifecycleEvent (line 198) | func (m *FrameManager) frameLifecycleEvent(frameID cdp.FrameID, event ...
method frameLoadingStarted (line 209) | func (m *FrameManager) frameLoadingStarted(frameID cdp.FrameID) {
method frameLoadingStopped (line 219) | func (m *FrameManager) frameLoadingStopped(frameID cdp.FrameID) {
method frameNavigated (line 230) | func (m *FrameManager) frameNavigated(
method frameNavigatedWithinDocument (line 354) | func (m *FrameManager) frameNavigatedWithinDocument(frameID cdp.FrameI...
method frameRequestedNavigation (line 376) | func (m *FrameManager) frameRequestedNavigation(frameID cdp.FrameID, u...
method getFrameByID (line 426) | func (m *FrameManager) getFrameByID(id cdp.FrameID) (*Frame, bool) {
method removeChildFramesRecursively (line 435) | func (m *FrameManager) removeChildFramesRecursively(frame *Frame) error {
method removeFramesRecursively (line 445) | func (m *FrameManager) removeFramesRecursively(frame *Frame) error {
method requestFailed (line 471) | func (m *FrameManager) requestFailed(req *Request, canceled bool) {
method requestFinished (line 499) | func (m *FrameManager) requestFinished(req *Request) {
method requestStarted (line 519) | func (m *FrameManager) requestStarted(req *Request) {
method Frames (line 580) | func (m *FrameManager) Frames() []*Frame {
method MainFrame (line 591) | func (m *FrameManager) MainFrame() *Frame {
method setMainFrame (line 599) | func (m *FrameManager) setMainFrame(f *Frame) {
method MainFrameURL (line 611) | func (m *FrameManager) MainFrameURL() string {
method NavigateFrame (line 621) | func (m *FrameManager) NavigateFrame(frame *Frame, url string, parsedO...
method Page (line 753) | func (m *FrameManager) Page() *Page {
method ID (line 761) | func (m *FrameManager) ID() int64 {
function NewFrameManager (line 46) | func NewFrameManager(
FILE: internal/js/modules/k6/browser/common/frame_options.go
type FrameBaseOptions (line 17) | type FrameBaseOptions struct
method Parse (line 210) | func (o *FrameBaseOptions) Parse(ctx context.Context, opts sobek.Value...
type FrameCheckOptions (line 22) | type FrameCheckOptions struct
method Parse (line 234) | func (o *FrameCheckOptions) Parse(ctx context.Context, opts sobek.Valu...
type FrameClickOptions (line 27) | type FrameClickOptions struct
method Parse (line 250) | func (o *FrameClickOptions) Parse(ctx context.Context, opts sobek.Valu...
type FrameDblclickOptions (line 32) | type FrameDblclickOptions struct
method Parse (line 266) | func (o *FrameDblclickOptions) Parse(ctx context.Context, opts sobek.V...
type FrameFillOptions (line 37) | type FrameFillOptions struct
method Parse (line 282) | func (o *FrameFillOptions) Parse(ctx context.Context, opts sobek.Value...
type FrameGotoOptions (line 42) | type FrameGotoOptions struct
method Parse (line 299) | func (o *FrameGotoOptions) Parse(ctx context.Context, opts sobek.Value...
type FrameHoverOptions (line 48) | type FrameHoverOptions struct
method Parse (line 328) | func (o *FrameHoverOptions) Parse(ctx context.Context, opts sobek.Valu...
type FrameInnerHTMLOptions (line 53) | type FrameInnerHTMLOptions struct
method Parse (line 343) | func (o *FrameInnerHTMLOptions) Parse(ctx context.Context, opts sobek....
type FrameInnerTextOptions (line 57) | type FrameInnerTextOptions struct
method Parse (line 357) | func (o *FrameInnerTextOptions) Parse(ctx context.Context, opts sobek....
type FrameInputValueOptions (line 61) | type FrameInputValueOptions struct
method Parse (line 371) | func (o *FrameInputValueOptions) Parse(ctx context.Context, opts sobek...
type FrameIsCheckedOptions (line 65) | type FrameIsCheckedOptions struct
method Parse (line 385) | func (o *FrameIsCheckedOptions) Parse(ctx context.Context, opts sobek....
type FrameIsDisabledOptions (line 69) | type FrameIsDisabledOptions struct
method Parse (line 399) | func (o *FrameIsDisabledOptions) Parse(ctx context.Context, opts sobek...
type FrameIsEditableOptions (line 73) | type FrameIsEditableOptions struct
method Parse (line 413) | func (o *FrameIsEditableOptions) Parse(ctx context.Context, opts sobek...
type FrameIsEnabledOptions (line 77) | type FrameIsEnabledOptions struct
method Parse (line 427) | func (o *FrameIsEnabledOptions) Parse(ctx context.Context, opts sobek....
type FrameIsHiddenOptions (line 81) | type FrameIsHiddenOptions struct
method Parse (line 440) | func (o *FrameIsHiddenOptions) Parse(ctx context.Context, opts sobek.V...
type FrameIsVisibleOptions (line 85) | type FrameIsVisibleOptions struct
method Parse (line 451) | func (o *FrameIsVisibleOptions) Parse(ctx context.Context, opts sobek....
type FramePressOptions (line 89) | type FramePressOptions struct
method ToKeyboardOptions (line 464) | func (o *FramePressOptions) ToKeyboardOptions() KeyboardOptions {
type FrameSelectOptionOptions (line 94) | type FrameSelectOptionOptions struct
method Parse (line 479) | func (o *FrameSelectOptionOptions) Parse(ctx context.Context, opts sob...
type FrameSetContentOptions (line 99) | type FrameSetContentOptions struct
method Parse (line 495) | func (o *FrameSetContentOptions) Parse(ctx context.Context, opts sobek...
type FrameSetInputFilesOptions (line 105) | type FrameSetInputFilesOptions struct
method Parse (line 525) | func (o *FrameSetInputFilesOptions) Parse(ctx context.Context, opts so...
type FrameTapOptions (line 110) | type FrameTapOptions struct
method Parse (line 541) | func (o *FrameTapOptions) Parse(ctx context.Context, opts sobek.Value)...
type FrameTextContentOptions (line 116) | type FrameTextContentOptions struct
method Parse (line 571) | func (o *FrameTextContentOptions) Parse(ctx context.Context, opts sobe...
type FrameTypeOptions (line 120) | type FrameTypeOptions struct
method ToKeyboardOptions (line 586) | func (o *FrameTypeOptions) ToKeyboardOptions() KeyboardOptions {
type FrameUncheckOptions (line 125) | type FrameUncheckOptions struct
method Parse (line 600) | func (o *FrameUncheckOptions) Parse(ctx context.Context, opts sobek.Va...
type PollingType (line 131) | type PollingType
method String (line 144) | func (p PollingType) String() string {
method MarshalJSON (line 161) | func (p PollingType) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 169) | func (p *PollingType) UnmarshalJSON(b []byte) error {
constant PollingRaf (line 135) | PollingRaf PollingType = iota
constant PollingMutation (line 138) | PollingMutation
constant PollingInterval (line 141) | PollingInterval
type FrameWaitForFunctionOptions (line 180) | type FrameWaitForFunctionOptions struct
method Parse (line 617) | func (o *FrameWaitForFunctionOptions) Parse(ctx context.Context, opts ...
type FrameWaitForLoadStateOptions (line 186) | type FrameWaitForLoadStateOptions struct
method Parse (line 657) | func (o *FrameWaitForLoadStateOptions) Parse(ctx context.Context, opts...
type FrameWaitForNavigationOptions (line 190) | type FrameWaitForNavigationOptions struct
method Parse (line 679) | func (o *FrameWaitForNavigationOptions) Parse(ctx context.Context, opt...
type FrameWaitForSelectorOptions (line 196) | type FrameWaitForSelectorOptions struct
method Parse (line 717) | func (o *FrameWaitForSelectorOptions) Parse(ctx context.Context, opts ...
function NewFrameBaseOptions (line 202) | func NewFrameBaseOptions(defaultTimeout time.Duration) *FrameBaseOptions {
function NewFrameCheckOptions (line 226) | func NewFrameCheckOptions(defaultTimeout time.Duration) *FrameCheckOptio...
function NewFrameClickOptions (line 242) | func NewFrameClickOptions(defaultTimeout time.Duration) *FrameClickOptio...
function NewFrameDblClickOptions (line 258) | func NewFrameDblClickOptions(defaultTimeout time.Duration) *FrameDblclic...
function NewFrameFillOptions (line 274) | func NewFrameFillOptions(defaultTimeout time.Duration) *FrameFillOptions {
function NewFrameGotoOptions (line 290) | func NewFrameGotoOptions(defaultReferer string, defaultTimeout time.Dura...
function NewFrameHoverOptions (line 320) | func NewFrameHoverOptions(defaultTimeout time.Duration) *FrameHoverOptio...
function NewFrameInnerHTMLOptions (line 336) | func NewFrameInnerHTMLOptions(defaultTimeout time.Duration) *FrameInnerH...
function NewFrameInnerTextOptions (line 350) | func NewFrameInnerTextOptions(defaultTimeout time.Duration) *FrameInnerT...
function NewFrameInputValueOptions (line 364) | func NewFrameInputValueOptions(defaultTimeout time.Duration) *FrameInput...
function NewFrameIsCheckedOptions (line 378) | func NewFrameIsCheckedOptions(defaultTimeout time.Duration) *FrameIsChec...
function NewFrameIsDisabledOptions (line 392) | func NewFrameIsDisabledOptions(defaultTimeout time.Duration) *FrameIsDis...
function NewFrameIsEditableOptions (line 406) | func NewFrameIsEditableOptions(defaultTimeout time.Duration) *FrameIsEdi...
function NewFrameIsEnabledOptions (line 420) | func NewFrameIsEnabledOptions(defaultTimeout time.Duration) *FrameIsEnab...
function NewFrameIsHiddenOptions (line 435) | func NewFrameIsHiddenOptions() *FrameIsHiddenOptions {
function NewFrameIsVisibleOptions (line 446) | func NewFrameIsVisibleOptions() *FrameIsVisibleOptions {
function NewFramePressOptions (line 456) | func NewFramePressOptions(defaultTimeout time.Duration) *FramePressOptio...
function NewFrameSelectOptionOptions (line 471) | func NewFrameSelectOptionOptions(defaultTimeout time.Duration) *FrameSel...
function NewFrameSetContentOptions (line 487) | func NewFrameSetContentOptions(defaultTimeout time.Duration) *FrameSetCo...
function NewFrameSetInputFilesOptions (line 517) | func NewFrameSetInputFilesOptions(defaultTimeout time.Duration) *FrameSe...
function NewFrameTapOptions (line 532) | func NewFrameTapOptions(defaultTimeout time.Duration) *FrameTapOptions {
function NewFrameTextContentOptions (line 564) | func NewFrameTextContentOptions(defaultTimeout time.Duration) *FrameText...
function NewFrameTypeOptions (line 578) | func NewFrameTypeOptions(defaultTimeout time.Duration) *FrameTypeOptions {
function NewFrameUncheckOptions (line 592) | func NewFrameUncheckOptions(defaultTimeout time.Duration) *FrameUncheckO...
function NewFrameWaitForFunctionOptions (line 608) | func NewFrameWaitForFunctionOptions(defaultTimeout time.Duration) *Frame...
function NewFrameWaitForLoadStateOptions (line 650) | func NewFrameWaitForLoadStateOptions(defaultTimeout time.Duration) *Fram...
function NewFrameWaitForNavigationOptions (line 670) | func NewFrameWaitForNavigationOptions(defaultTimeout time.Duration) *Fra...
function NewFrameWaitForSelectorOptions (line 708) | func NewFrameWaitForSelectorOptions(defaultTimeout time.Duration) *Frame...
type FrameDispatchEventOptions (line 743) | type FrameDispatchEventOptions struct
function NewFrameDispatchEventOptions (line 748) | func NewFrameDispatchEventOptions(defaultTimeout time.Duration) *FrameDi...
function parseStrict (line 754) | func parseStrict(ctx context.Context, opts sobek.Value) bool {
type FrameWaitForURLOptions (line 771) | type FrameWaitForURLOptions struct
method Parse (line 785) | func (o *FrameWaitForURLOptions) Parse(ctx context.Context, opts sobek...
function NewFrameWaitForURLOptions (line 777) | func NewFrameWaitForURLOptions(defaultTimeout time.Duration) *FrameWaitF...
FILE: internal/js/modules/k6/browser/common/frame_options_test.go
function TestFrameGotoOptionsParse (line 13) | func TestFrameGotoOptionsParse(t *testing.T) {
function TestFrameSetContentOptionsParse (line 50) | func TestFrameSetContentOptionsParse(t *testing.T) {
function TestFrameWaitForNavigationOptionsParse (line 85) | func TestFrameWaitForNavigationOptionsParse(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/frame_session.go
constant utilityWorldName (line 37) | utilityWorldName = "__k6_browser_utility_world__"
type CPUProfile (line 40) | type CPUProfile struct
type FrameSession (line 50) | type FrameSession struct
method emulateLocale (line 196) | func (fs *FrameSession) emulateLocale() error {
method emulateTimezone (line 207) | func (fs *FrameSession) emulateTimezone() error {
method getNetworkManager (line 218) | func (fs *FrameSession) getNetworkManager() *NetworkManager {
method initDomains (line 222) | func (fs *FrameSession) initDomains() error {
method initEvents (line 239) | func (fs *FrameSession) initEvents() {
method onEventBindingCalled (line 328) | func (fs *FrameSession) onEventBindingCalled(event *cdpruntime.EventBi...
method parseAndEmitWebVitalMetric (line 339) | func (fs *FrameSession) parseAndEmitWebVitalMetric(object string) error {
method onEventJavascriptDialogOpening (line 398) | func (fs *FrameSession) onEventJavascriptDialogOpening(event *cdppage....
method initFrameTree (line 418) | func (fs *FrameSession) initFrameTree() error {
method initIsolatedWorld (line 450) | func (fs *FrameSession) initIsolatedWorld(name string) error {
method initOptions (line 501) | func (fs *FrameSession) initOptions() error {
method initRendererEvents (line 580) | func (fs *FrameSession) initRendererEvents() {
method isMainFrame (line 608) | func (fs *FrameSession) isMainFrame() bool {
method wait (line 612) | func (fs *FrameSession) wait() {
method handleFrameTree (line 617) | func (fs *FrameSession) handleFrameTree(frameTree *cdppage.FrameTree, ...
method navigateFrame (line 633) | func (fs *FrameSession) navigateFrame(frame *Frame, url, referrer stri...
method onConsoleAPICalled (line 650) | func (fs *FrameSession) onConsoleAPICalled(event *cdpruntime.EventCons...
method onExceptionThrown (line 680) | func (fs *FrameSession) onExceptionThrown(event *cdpruntime.EventExcep...
method onExecutionContextCreated (line 688) | func (fs *FrameSession) onExecutionContextCreated(event *cdpruntime.Ev...
method onExecutionContextDestroyed (line 736) | func (fs *FrameSession) onExecutionContextDestroyed(execCtxID cdprunti...
method onExecutionContextsCleared (line 753) | func (fs *FrameSession) onExecutionContextsCleared() {
method onFrameAttached (line 770) | func (fs *FrameSession) onFrameAttached(frameID cdp.FrameID, parentFra...
method onFrameDetached (line 779) | func (fs *FrameSession) onFrameDetached(frameID cdp.FrameID, reason cd...
method onFrameNavigated (line 789) | func (fs *FrameSession) onFrameNavigated(frame *cdp.Frame, initial boo...
method processNavigationSpan (line 813) | func (fs *FrameSession) processNavigationSpan(id cdp.FrameID) {
method onFrameRequestedNavigation (line 865) | func (fs *FrameSession) onFrameRequestedNavigation(event *cdppage.Even...
method onFrameStartedLoading (line 878) | func (fs *FrameSession) onFrameStartedLoading(frameID cdp.FrameID) {
method onFrameStoppedLoading (line 888) | func (fs *FrameSession) onFrameStoppedLoading(frameID cdp.FrameID) {
method onLogEntryAdded (line 896) | func (fs *FrameSession) onLogEntryAdded(event *cdplog.EventEntryAdded) {
method onPageLifecycle (line 913) | func (fs *FrameSession) onPageLifecycle(event *cdppage.EventLifecycleE...
method onPageNavigatedWithinDocument (line 933) | func (fs *FrameSession) onPageNavigatedWithinDocument(event *cdppage.E...
method onAttachedToTarget (line 941) | func (fs *FrameSession) onAttachedToTarget(event *target.EventAttached...
method attachIFrameToTarget (line 1017) | func (fs *FrameSession) attachIFrameToTarget(ti *target.Info, session ...
method attachWorkerToTarget (line 1072) | func (fs *FrameSession) attachWorkerToTarget(ti *target.Info, session ...
method onDetachedFromTarget (line 1090) | func (fs *FrameSession) onDetachedFromTarget(event *target.EventDetach...
method onTargetCrashed (line 1098) | func (fs *FrameSession) onTargetCrashed() {
method updateEmulateMedia (line 1109) | func (fs *FrameSession) updateEmulateMedia() error {
method updateExtraHTTPHeaders (line 1139) | func (fs *FrameSession) updateExtraHTTPHeaders(initial bool) error {
method updateGeolocation (line 1159) | func (fs *FrameSession) updateGeolocation(initial bool) error {
method updateHTTPCredentials (line 1176) | func (fs *FrameSession) updateHTTPCredentials(initial bool) error {
method updateOffline (line 1187) | func (fs *FrameSession) updateOffline(initial bool) error {
method throttleNetwork (line 1200) | func (fs *FrameSession) throttleNetwork(networkProfile NetworkProfile)...
method throttleCPU (line 1206) | func (fs *FrameSession) throttleCPU(cpuProfile CPUProfile) error {
method updateRequestInterception (line 1215) | func (fs *FrameSession) updateRequestInterception(enable bool) error {
method updateViewport (line 1224) | func (fs *FrameSession) updateViewport() error {
method executionContextForID (line 1279) | func (fs *FrameSession) executionContextForID(
function NewFrameSession (line 95) | func NewFrameSession(
function detachSession (line 1294) | func detachSession(ctx context.Context, session *Session) {
FILE: internal/js/modules/k6/browser/common/frame_test.go
function TestFrameNilDocument (line 17) | func TestFrameNilDocument(t *testing.T) {
function TestFrameManagerFrameAbortedNavigationShouldEmitANonNilPendingDocument (line 68) | func TestFrameManagerFrameAbortedNavigationShouldEmitANonNilPendingDocum...
type executionContextTestStub (line 101) | type executionContextTestStub struct
method eval (line 108) | func (e *executionContextTestStub) eval( // this needs to be a pointer...
function toPtr (line 115) | func toPtr[T any](v T) *T {
function TestBuildAttributeSelector (line 119) | func TestBuildAttributeSelector(t *testing.T) {
function TestIsQuotedText (line 199) | func TestIsQuotedText(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/helpers.go
function convertBaseJSHandleTypes (line 22) | func convertBaseJSHandleTypes(
function convertArgument (line 42) | func convertArgument(
function call (line 94) | func call(
function createWaitForEventHandler (line 125) | func createWaitForEventHandler(
function createWaitForEventPredicateHandler (line 177) | func createWaitForEventPredicateHandler(
function TrimQuotes (line 216) | func TrimQuotes(s string) string {
function convert (line 227) | func convert[T any](from any, to *T) error {
function escapesSobekValues (line 238) | func escapesSobekValues(args ...any) bool {
type patternMatcherFunc (line 248) | type patternMatcherFunc
type RegExMatcher (line 252) | type RegExMatcher
method Match (line 278) | func (rm RegExMatcher) Match(pattern, s string) (bool, error) {
function newPatternMatcher (line 257) | func newPatternMatcher(pattern string, rm RegExMatcher) (patternMatcherF...
function hasSourceURL (line 288) | func hasSourceURL(js string) bool {
function pushIfNotDone (line 310) | func pushIfNotDone(
FILE: internal/js/modules/k6/browser/common/helpers_test.go
function newExecCtx (line 17) | func newExecCtx() (*ExecutionContext, context.Context) {
function TestConvertArgument (line 25) | func TestConvertArgument(t *testing.T) {
function TestHasSourceURL (line 235) | func TestHasSourceURL(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/hooks.go
type HookID (line 9) | type HookID
constant HookApplySlowMo (line 12) | HookApplySlowMo HookID = iota
type Hook (line 15) | type Hook
type Hooks (line 17) | type Hooks struct
method registerDefaultHooks (line 51) | func (h *Hooks) registerDefaultHooks() {
method Get (line 55) | func (h *Hooks) Get(id HookID) Hook {
method Register (line 61) | func (h *Hooks) Register(id HookID, hook Hook) {
function applySlowMo (line 22) | func applySlowMo(ctx context.Context) {
function defaultSlowMo (line 32) | func defaultSlowMo(ctx context.Context) {
function NewHooks (line 43) | func NewHooks() *Hooks {
FILE: internal/js/modules/k6/browser/common/http.go
constant ResourceTypeDocument (line 28) | ResourceTypeDocument string = "Document"
constant ResourceTypeStylesheet (line 29) | ResourceTypeStylesheet string = "Stylesheet"
constant ResourceTypeImage (line 30) | ResourceTypeImage string = "Image"
constant ResourceTypeMedia (line 31) | ResourceTypeMedia string = "Media"
constant ResourceTypeFont (line 32) | ResourceTypeFont string = "Font"
constant ResourceTypeScript (line 33) | ResourceTypeScript string = "Script"
constant ResourceTypeTextTrack (line 34) | ResourceTypeTextTrack string = "TextTrack"
constant ResourceTypeXHR (line 35) | ResourceTypeXHR string = "XHR"
constant ResourceTypeFetch (line 36) | ResourceTypeFetch string = "Fetch"
constant ResourceTypePrefetch (line 37) | ResourceTypePrefetch string = "Prefetch"
constant ResourceTypeEventSource (line 38) | ResourceTypeEventSource string = "EventSource"
constant ResourceTypeWebSocket (line 39) | ResourceTypeWebSocket string = "WebSocket"
constant ResourceTypeManifest (line 40) | ResourceTypeManifest string = "Manifest"
constant ResourceTypeSignedExchange (line 41) | ResourceTypeSignedExchange string = "SignedExchange"
constant ResourceTypePing (line 42) | ResourceTypePing string = "Ping"
constant ResourceTypeCSPViolationReport (line 43) | ResourceTypeCSPViolationReport string = "CSPViolationReport"
constant ResourceTypePreflight (line 44) | ResourceTypePreflight string = "Preflight"
constant ResourceTypeOther (line 45) | ResourceTypeOther string = "Other"
constant ResourceTypeUnknown (line 46) | ResourceTypeUnknown string = "Unknown"
type HTTPHeader (line 50) | type HTTPHeader struct
type HTTPMessageSize (line 56) | type HTTPMessageSize struct
method Total (line 62) | func (s HTTPMessageSize) Total() int64 {
type RequestFailure (line 67) | type RequestFailure struct
type Request (line 72) | type Request struct
method getFrame (line 217) | func (r *Request) getFrame() *Frame {
method getID (line 221) | func (r *Request) getID() network.RequestID {
method getDocumentID (line 225) | func (r *Request) getDocumentID() string {
method headersSize (line 229) | func (r *Request) headersSize() int64 {
method setErrorText (line 240) | func (r *Request) setErrorText(errorText string) {
method Failure (line 245) | func (r *Request) Failure() *RequestFailure {
method setLoadedFromCache (line 252) | func (r *Request) setLoadedFromCache(fromMemoryCache bool) {
method AllHeaders (line 257) | func (r *Request) AllHeaders() map[string]string {
method Frame (line 267) | func (r *Request) Frame() *Frame {
method HeaderValue (line 272) | func (r *Request) HeaderValue(name string) (string, bool) {
method Headers (line 279) | func (r *Request) Headers() map[string]string {
method HeadersArray (line 288) | func (r *Request) HeadersArray() []HTTPHeader {
method IsNavigationRequest (line 299) | func (r *Request) IsNavigationRequest() bool {
method Method (line 304) | func (r *Request) Method() string {
method PostData (line 316) | func (r *Request) PostData() string {
method PostDataBuffer (line 332) | func (r *Request) PostDataBuffer() []byte {
method ResourceType (line 341) | func (r *Request) ResourceType() string {
method Response (line 346) | func (r *Request) Response() *Response {
method Size (line 351) | func (r *Request) Size() HTTPMessageSize {
method Timing (line 376) | func (r *Request) Timing() *resourceTiming {
method URL (line 397) | func (r *Request) URL() string {
type NewRequestParams (line 112) | type NewRequestParams struct
function NewRequest (line 121) | func NewRequest(ctx context.Context, logger *log.Logger, rp NewRequestPa...
function validateResourceType (line 189) | func validateResourceType(logger *log.Logger, t string) string {
type resourceTiming (line 363) | type resourceTiming struct
type RemoteAddress (line 402) | type RemoteAddress struct
type SecurityDetails (line 408) | type SecurityDetails struct
type Response (line 418) | type Response struct
method fetchBody (line 493) | func (r *Response) fetchBody() error {
method headersSize (line 535) | func (r *Response) headersSize() int64 {
method AllHeaders (line 548) | func (r *Response) AllHeaders() map[string]string {
method Body (line 558) | func (r *Response) Body() ([]byte, error) {
method bodySize (line 573) | func (r *Response) bodySize() int64 {
method Frame (line 591) | func (r *Response) Frame() *Frame {
method HeaderValue (line 597) | func (r *Response) HeaderValue(name string) (string, bool) {
method HeaderValues (line 604) | func (r *Response) HeaderValues(name string) []string {
method FromCache (line 610) | func (r *Response) FromCache() bool {
method FromPrefetchCache (line 615) | func (r *Response) FromPrefetchCache() bool {
method FromServiceWorker (line 620) | func (r *Response) FromServiceWorker() bool {
method Headers (line 625) | func (r *Response) Headers() map[string]string {
method HeadersArray (line 634) | func (r *Response) HeadersArray() []HTTPHeader {
method JSON (line 645) | func (r *Response) JSON() (any, error) {
method Ok (line 666) | func (r *Response) Ok() bool {
method Request (line 674) | func (r *Response) Request() *Request {
method SecurityDetails (line 679) | func (r *Response) SecurityDetails() *SecurityDetails {
method ServerAddr (line 684) | func (r *Response) ServerAddr() *RemoteAddress {
method Size (line 689) | func (r *Response) Size() HTTPMessageSize {
method Status (line 697) | func (r *Response) Status() int64 {
method StatusText (line 702) | func (r *Response) StatusText() string {
method Text (line 707) | func (r *Response) Text() (string, error) {
method URL (line 719) | func (r *Response) URL() string {
function NewHTTPResponse (line 443) | func NewHTTPResponse(
type Route (line 724) | type Route struct
method Request (line 759) | func (r *Route) Request() *Request { return r.request }
method Abort (line 762) | func (r *Route) Abort(errorCode string) error {
method Continue (line 776) | func (r *Route) Continue(opts ContinueOptions) error {
method Fulfill (line 786) | func (r *Route) Fulfill(opts FulfillOptions) error {
method startHandling (line 795) | func (r *Route) startHandling() error {
type ContinueOptions (line 733) | type ContinueOptions struct
type FulfillOptions (line 741) | type FulfillOptions struct
function NewRoute (line 749) | func NewRoute(logger *log.Logger, networkManager *NetworkManager, reques...
FILE: internal/js/modules/k6/browser/common/http_test.go
function TestRequest (line 17) | func TestRequest(t *testing.T) {
function TestResponse (line 98) | func TestResponse(t *testing.T) {
function TestValidateResourceType (line 130) | func TestValidateResourceType(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/js/injected_script.js
function normalizeWhiteSpace (line 44) | function normalizeWhiteSpace(text) {
function getGlobalOptions (line 56) | function getGlobalOptions() {
function parentElementOrShadowHost (line 59) | function parentElementOrShadowHost(element) {
function enclosingShadowRootOrDocument (line 67) | function enclosingShadowRootOrDocument(element) {
function enclosingShadowHost (line 74) | function enclosingShadowHost(element) {
function closestCrossShadow (line 79) | function closestCrossShadow(element, css, scope) {
function getElementComputedStyle (line 89) | function getElementComputedStyle(element, pseudo) {
function isElementStyleVisibilityVisible (line 92) | function isElementStyleVisibilityVisible(element, style) {
function isVisibleTextNode (line 108) | function isVisibleTextNode(node) {
function elementSafeTagName (line 114) | function elementSafeTagName(element) {
function hasExplicitAccessibleName (line 121) | function hasExplicitAccessibleName(e) {
function hasGlobalAriaAttribute (line 152) | function hasGlobalAriaAttribute(element, forRole) {
function hasTabIndex (line 157) | function hasTabIndex(element) {
function isFocusable (line 160) | function isFocusable(element) {
function isNativelyFocusable (line 163) | function isNativelyFocusable(element) {
function getImplicitAriaRole (line 281) | function getImplicitAriaRole(element) {
function getExplicitAriaRole (line 384) | function getExplicitAriaRole(element) {
function hasPresentationConflictResolution (line 388) | function hasPresentationConflictResolution(element, role) {
function getAriaRole (line 391) | function getAriaRole(element) {
function getAriaBoolean (line 402) | function getAriaBoolean(attr) {
function isElementIgnoredForAria (line 405) | function isElementIgnoredForAria(element) {
function isElementHiddenForAria (line 408) | function isElementHiddenForAria(element) {
function belongsToDisplayNoneOrAriaHiddenOrNonSlotted (line 427) | function belongsToDisplayNoneOrAriaHiddenOrNonSlotted(element) {
function getIdRefs (line 446) | function getIdRefs(element, ref) {
function trimFlatString (line 465) | function trimFlatString(s) {
function asFlatString (line 468) | function asFlatString(s) {
function queryInAriaOwned (line 472) | function queryInAriaOwned(element, selector) {
function getPseudoContent (line 481) | function getPseudoContent(element, pseudo) {
function getPseudoContentImpl (line 491) | function getPseudoContentImpl(element, pseudoStyle) {
function getAriaLabelledByElements (line 510) | function getAriaLabelledByElements(element) {
function allowsNameFromContent (line 517) | function allowsNameFromContent(role, targetDescendant) {
function getElementAccessibleName (line 522) | function getElementAccessibleName(element, includeHidden) {
function getTextAlternativeInternal (line 539) | function getTextAlternativeInternal(element, options) {
function innerAccumulatedElementText (line 764) | function innerAccumulatedElementText(element, options) {
function getAriaSelected (line 799) | function getAriaSelected(element) {
function getAriaChecked (line 807) | function getAriaChecked(element) {
function getChecked (line 811) | function getChecked(element, allowMixed) {
function getAriaPressed (line 828) | function getAriaPressed(element) {
function getAriaExpanded (line 839) | function getAriaExpanded(element) {
function getAriaLevel (line 853) | function getAriaLevel(element) {
function getAriaDisabled (line 866) | function getAriaDisabled(element) {
function isNativelyDisabled (line 869) | function isNativelyDisabled(element) {
function belongsToDisabledFieldSet (line 873) | function belongsToDisabledFieldSet(element) {
function hasExplicitAriaDisabled (line 880) | function hasExplicitAriaDisabled(element, isAncestor = false) {
function getAccessibleNameFromAssociatedLabels (line 893) | function getAccessibleNameFromAssociatedLabels(labels, options) {
function beginAriaCaches (line 912) | function beginAriaCaches() {
function endAriaCaches (line 923) | function endAriaCaches() {
function matchesAttributePart (line 947) | function matchesAttributePart(value, attr) {
function parseAttributeSelector (line 977) | function parseAttributeSelector(selector, allowUnquotedStrings) {
function validateSupportedRole (line 1148) | function validateSupportedRole(attr, roles, role) {
function validateSupportedValues (line 1152) | function validateSupportedValues(attr, values) {
function validateSupportedOp (line 1156) | function validateSupportedOp(attr, ops) {
function validateAttributes (line 1160) | function validateAttributes(attrs, role) {
function queryRole (line 1230) | function queryRole(scope, options, internal) {
function createRoleEngine (line 1278) | function createRoleEngine(internal) {
method constructor (line 1298) | constructor() {
method begin (line 1303) | begin() {
method end (line 1306) | end() {
method _cached (line 1313) | _cached(cache, main, rest, cb) {
method _queryCSS (line 1324) | _queryCSS(context, css) {
function shouldSkipForTextMatching (line 1345) | function shouldSkipForTextMatching(element) {
function elementText (line 1349) | function elementText(cache, root) {
function getElementLabels (line 1384) | function getElementLabels(textCache, element) {
function elementMatchesText (line 1399) | function elementMatchesText(cache, element, matcher) {
function cssUnquote (line 1414) | function cssUnquote(s) {
function createTextMatcher (line 1427) | function createTextMatcher(selector, internal) {
function isVisible (line 1539) | function isVisible(element) {
function oneLine (line 1551) | function oneLine(s) {
class CSSQueryEngine (line 1555) | class CSSQueryEngine {
method queryAll (line 1556) | queryAll(root, selector) {
class TextQueryEngine (line 1561) | class TextQueryEngine {
method queryAll (line 1562) | queryAll(root, selector) {
class XPathQueryEngine (line 1567) | class XPathQueryEngine {
method queryAll (line 1568) | queryAll(root, selector) {
class AttributeEngine (line 1604) | class AttributeEngine {
method constructor (line 1605) | constructor() {
method queryAll (line 1608) | queryAll(root, selector) {
class LabelEngine (line 1632) | class LabelEngine {
method constructor (line 1633) | constructor() {
method queryAll (line 1636) | queryAll(root, selector) {
class TextEngine (line 1651) | class TextEngine {
method constructor (line 1652) | constructor(shadow, internal) {
method queryAll (line 1657) | queryAll(root, selector) {
function convertToDocument (line 1688) | function convertToDocument(fragment) {
function copyNodesToDocument (line 1699) | function copyNodesToDocument(sourceNode, targetNode) {
class InjectedScript (line 1722) | class InjectedScript {
method constructor (line 1723) | constructor() {
method _queryEngineAll (line 1740) | _queryEngineAll(part, root) {
method _createInternalHasTextEngine (line 1744) | _createInternalHasTextEngine() {
method _createInternalHasNotTextEngine (line 1757) | _createInternalHasNotTextEngine() {
method _querySelectorRecursively (line 1770) | _querySelectorRecursively(roots, selector, index, queryCache) {
method _exploreShadowDOM (line 1849) | _exploreShadowDOM(root, selector, index, queryCache, capture) {
method _retarget (line 1872) | _retarget(node, behavior) {
method checkElementState (line 1901) | checkElementState(node, state) {
method checkHitTargetAt (line 1955) | checkHitTargetAt(node, point) {
method deepElementFromPoint (line 1993) | deepElementFromPoint(document, x, y) {
method dispatchEvent (line 2010) | dispatchEvent(node, type, eventInit) {
method setInputFiles (line 2044) | setInputFiles(node, payloads) {
method getElementBorderWidth (line 2068) | getElementBorderWidth(node) {
method fill (line 2083) | fill(node, value="") {
method focusNode (line 2135) | focusNode(node, resetSelectionIfNotFocused) {
method getDocumentElement (line 2161) | getDocumentElement(node) {
method isVisible (line 2169) | isVisible(element) {
method parentElementOrShadowHost (line 2173) | parentElementOrShadowHost(element) {
method previewNode (line 2188) | previewNode(node) {
method querySelector (line 2239) | querySelector(selector, strict, root) {
method querySelectorAll (line 2258) | querySelectorAll(selector, root) {
method selectOptions (line 2275) | selectOptions(node, optionsToSelect) {
method selectText (line 2337) | selectText(node) {
method waitForPredicateFunction (line 2366) | async waitForPredicateFunction(predicateFn, polling, timeout, ...args) {
method waitForElementStates (line 2474) | waitForElementStates(node, states=[], timeout, ...args) {
method waitForSelector (line 2542) | waitForSelector(selector, root, strict, state, polling, timeout, ...ar...
method count (line 2578) | count(selector, root) {
FILE: internal/js/modules/k6/browser/common/js/query_all.js
function QueryAll (line 9) | function QueryAll(scope = document, injected, selector) {
FILE: internal/js/modules/k6/browser/common/js/scroll_into_view.js
function scrollIntoView (line 7) | function scrollIntoView(node, options) {
FILE: internal/js/modules/k6/browser/common/js/web_vital_iife.js
method firstHiddenTime (line 1) | get firstHiddenTime(){return h}
FILE: internal/js/modules/k6/browser/common/js/web_vital_init.js
function print (line 1) | function print(metric) {
function load (line 21) | function load() {
FILE: internal/js/modules/k6/browser/common/js_handle.go
type JSHandleAPI (line 21) | type JSHandleAPI interface
type jsHandle (line 31) | type jsHandle interface
type BaseJSHandle (line 38) | type BaseJSHandle struct
method String (line 50) | func (h *BaseJSHandle) String() string {
method AsElement (line 86) | func (h *BaseJSHandle) AsElement() *ElementHandle {
method Dispose (line 91) | func (h *BaseJSHandle) Dispose() error {
method dispose (line 118) | func (h *BaseJSHandle) dispose() error {
method Evaluate (line 136) | func (h *BaseJSHandle) Evaluate(pageFunc string, args ...any) (any, er...
method EvaluateHandle (line 147) | func (h *BaseJSHandle) EvaluateHandle(pageFunc string, args ...any) (J...
method GetProperties (line 158) | func (h *BaseJSHandle) GetProperties() (map[string]JSHandleAPI, error) {
method getProperties (line 173) | func (h *BaseJSHandle) getProperties() (map[string]jsHandle, error) {
method JSONValue (line 193) | func (h *BaseJSHandle) JSONValue() (string, error) {
method ObjectID (line 215) | func (h *BaseJSHandle) ObjectID() runtime.RemoteObjectID {
function NewJSHandle (line 58) | func NewJSHandle(
FILE: internal/js/modules/k6/browser/common/keyboard.go
constant ModifierKeyAlt (line 18) | ModifierKeyAlt int64 = 1 << iota
constant ModifierKeyControl (line 19) | ModifierKeyControl
constant ModifierKeyMeta (line 20) | ModifierKeyMeta
constant ModifierKeyShift (line 21) | ModifierKeyShift
type KeyboardOptions (line 25) | type KeyboardOptions struct
type Keyboard (line 31) | type Keyboard struct
method Down (line 54) | func (k *Keyboard) Down(key string) error {
method Up (line 62) | func (k *Keyboard) Up(key string) error {
method Press (line 72) | func (k *Keyboard) Press(key string, kbdOpts KeyboardOptions) error {
method InsertText (line 81) | func (k *Keyboard) InsertText(text string) error {
method Type (line 93) | func (k *Keyboard) Type(text string, kbdOpts KeyboardOptions) error {
method down (line 100) | func (k *Keyboard) down(key string) error {
method up (line 139) | func (k *Keyboard) up(key string) error {
method insertText (line 166) | func (k *Keyboard) insertText(text string) error {
method keyDefinitionFromKey (line 174) | func (k *Keyboard) keyDefinitionFromKey(key keyboardlayout.KeyInput) k...
method modifierBitFromKeyName (line 235) | func (k *Keyboard) modifierBitFromKeyName(key string) int64 {
method platformSpecificResolution (line 249) | func (k *Keyboard) platformSpecificResolution(key string) string {
method comboPress (line 260) | func (k *Keyboard) comboPress(keys string, opts KeyboardOptions) error {
method press (line 306) | func (k *Keyboard) press(key string, opts KeyboardOptions) error {
method typ (line 318) | func (k *Keyboard) typ(text string, opts KeyboardOptions) error {
function NewKeyboard (line 43) | func NewKeyboard(ctx context.Context, s session) *Keyboard {
function split (line 288) | func split(keys string) []string {
function wait (line 340) | func wait(ctx context.Context, delay int64) error {
FILE: internal/js/modules/k6/browser/common/keyboard_test.go
function TestSplit (line 13) | func TestSplit(t *testing.T) {
function TestKeyboardPress (line 77) | func TestKeyboardPress(t *testing.T) {
function TestKeyDefinitionCode (line 89) | func TestKeyDefinitionCode(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/kill_linux.go
function killAfterParent (line 11) | func killAfterParent(cmd *exec.Cmd) {
FILE: internal/js/modules/k6/browser/common/kill_other.go
function killAfterParent (line 9) | func killAfterParent(cmd *exec.Cmd) {
FILE: internal/js/modules/k6/browser/common/layout.go
type Position (line 9) | type Position struct
type Rect (line 15) | type Rect struct
method enclosingIntRect (line 22) | func (r *Rect) enclosingIntRect() *Rect {
method contains (line 30) | func (r Rect) contains(p Position) bool {
type SelectOption (line 36) | type SelectOption struct
type Size (line 43) | type Size struct
method enclosingIntSize (line 48) | func (s Size) enclosingIntSize() *Size {
method String (line 55) | func (s Size) String() string {
type Viewport (line 60) | type Viewport struct
method IsEmpty (line 66) | func (v Viewport) IsEmpty() bool {
method String (line 70) | func (v Viewport) String() string {
method recalculateInset (line 77) | func (v Viewport) recalculateInset(headless bool, os string) Viewport {
FILE: internal/js/modules/k6/browser/common/layout_test.go
function TestViewportCalculateInset (line 10) | func TestViewportCalculateInset(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/lifecycle.go
type FrameLifecycleEvent (line 12) | type FrameLifecycleEvent struct
type LifecycleEvent (line 21) | type LifecycleEvent
method String (line 34) | func (l LifecycleEvent) String() string {
method MarshalJSON (line 51) | func (l LifecycleEvent) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 59) | func (l *LifecycleEvent) UnmarshalJSON(b []byte) error {
method MarshalText (line 72) | func (l *LifecycleEvent) MarshalText() ([]byte, error) {
method UnmarshalText (line 89) | func (l *LifecycleEvent) UnmarshalText(text []byte) error {
constant LifecycleEventLoad (line 25) | LifecycleEventLoad LifecycleEvent = iota
constant LifecycleEventDOMContentLoad (line 28) | LifecycleEventDOMContentLoad
constant LifecycleEventNetworkIdle (line 31) | LifecycleEventNetworkIdle
FILE: internal/js/modules/k6/browser/common/lifecycle_test.go
function TestLifecycleEventMarshalText (line 10) | func TestLifecycleEventMarshalText(t *testing.T) {
function TestLifecycleEventMarshalTextRound (line 31) | func TestLifecycleEventMarshalTextRound(t *testing.T) {
function TestLifecycleEventUnmarshalText (line 45) | func TestLifecycleEventUnmarshalText(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/locator.go
type Locator (line 19) | type Locator struct
method BoundingBox (line 60) | func (l *Locator) BoundingBox(opts *FrameBaseOptions) (*Rect, error) {
method Clear (line 67) | func (l *Locator) Clear(opts *FrameFillOptions) error {
method Timeout (line 82) | func (l *Locator) Timeout() time.Duration {
method Click (line 87) | func (l *Locator) Click(opts *FrameClickOptions) error {
method All (line 103) | func (l *Locator) All() ([]*Locator, error) {
method ContentFrame (line 122) | func (l *Locator) ContentFrame() *FrameLocator {
method Count (line 129) | func (l *Locator) Count() (int, error) {
method Dblclick (line 134) | func (l *Locator) Dblclick(opts *FrameDblclickOptions) error {
method Evaluate (line 148) | func (l *Locator) Evaluate(pageFunc string, args ...any) (any, error) {
method EvaluateHandle (line 152) | func (l *Locator) EvaluateHandle(pageFunc string, args ...any) (JSHand...
method SetChecked (line 158) | func (l *Locator) SetChecked(checked bool, opts *FrameCheckOptions) er...
method Check (line 176) | func (l *Locator) Check(opts *FrameCheckOptions) error {
method Uncheck (line 191) | func (l *Locator) Uncheck(opts *FrameUncheckOptions) error {
method IsChecked (line 207) | func (l *Locator) IsChecked(opts *FrameIsCheckedOptions) (bool, error) {
method IsEditable (line 221) | func (l *Locator) IsEditable(opts *FrameIsEditableOptions) (bool, erro...
method IsEnabled (line 235) | func (l *Locator) IsEnabled(opts *FrameIsEnabledOptions) (bool, error) {
method IsDisabled (line 249) | func (l *Locator) IsDisabled(opts *FrameIsDisabledOptions) (bool, erro...
method IsVisible (line 263) | func (l *Locator) IsVisible() (bool, error) {
method IsHidden (line 276) | func (l *Locator) IsHidden() (bool, error) {
method Fill (line 288) | func (l *Locator) Fill(value string, opts *FrameFillOptions) error {
method Filter (line 311) | func (l *Locator) Filter(opts *LocatorFilterOptions) *Locator {
method First (line 317) | func (l *Locator) First() *Locator {
method Focus (line 322) | func (l *Locator) Focus(opts *FrameBaseOptions) error {
method GetAttribute (line 337) | func (l *Locator) GetAttribute(name string, opts *FrameBaseOptions) (s...
method GetByAltText (line 353) | func (l *Locator) GetByAltText(alt string, opts *GetByBaseOptions) *Lo...
method GetByLabel (line 364) | func (l *Locator) GetByLabel(label string, opts *GetByBaseOptions) *Lo...
method GetByPlaceholder (line 374) | func (l *Locator) GetByPlaceholder(placeholder string, opts *GetByBase...
method GetByRole (line 384) | func (l *Locator) GetByRole(role string, opts *GetByRoleOptions) *Loca...
method GetByTestID (line 394) | func (l *Locator) GetByTestID(testID string) *Locator {
method GetByText (line 404) | func (l *Locator) GetByText(text string, opts *GetByBaseOptions) *Loca...
method GetByTitle (line 414) | func (l *Locator) GetByTitle(title string, opts *GetByBaseOptions) *Lo...
method Locator (line 424) | func (l *Locator) Locator(selector string, opts *LocatorOptions) *Loca...
method FrameLocator (line 430) | func (l *Locator) FrameLocator(selector string) *FrameLocator {
method InnerHTML (line 438) | func (l *Locator) InnerHTML(opts *FrameInnerHTMLOptions) (string, erro...
method InnerText (line 452) | func (l *Locator) InnerText(opts *FrameInnerTextOptions) (string, erro...
method Last (line 466) | func (l *Locator) Last() *Locator {
method Nth (line 472) | func (l *Locator) Nth(nth int) *Locator {
method TextContent (line 480) | func (l *Locator) TextContent(opts *FrameTextContentOptions) (string, ...
method InputValue (line 494) | func (l *Locator) InputValue(opts *FrameInputValueOptions) (string, er...
method SelectOption (line 509) | func (l *Locator) SelectOption(values []any, opts *FrameSelectOptionOp...
method Press (line 525) | func (l *Locator) Press(key string, opts *FramePressOptions) error {
method PressSequentially (line 544) | func (l *Locator) PressSequentially(text string, opts *FrameTypeOption...
method Type (line 564) | func (l *Locator) Type(text string, opts *FrameTypeOptions) error {
method Hover (line 584) | func (l *Locator) Hover(opts *FrameHoverOptions) error {
method Tap (line 599) | func (l *Locator) Tap(opts *FrameTapOptions) error {
method DispatchEvent (line 615) | func (l *Locator) DispatchEvent(typ string, eventInit any, opts *Frame...
method WaitFor (line 632) | func (l *Locator) WaitFor(opts *FrameWaitForSelectorOptions) error {
method DefaultTimeout (line 646) | func (l *Locator) DefaultTimeout() time.Duration {
type LocatorOptions (line 30) | type LocatorOptions struct
function NewLocator (line 40) | func NewLocator(ctx context.Context, opts *LocatorOptions, selector stri...
type LocatorFilterOptions (line 306) | type LocatorFilterOptions struct
type FrameLocator (line 651) | type FrameLocator struct
method GetByAltText (line 672) | func (fl *FrameLocator) GetByAltText(alt string, opts *GetByBaseOption...
method GetByLabel (line 679) | func (fl *FrameLocator) GetByLabel(label string, opts *GetByBaseOption...
method GetByPlaceholder (line 686) | func (fl *FrameLocator) GetByPlaceholder(placeholder string, opts *Get...
method GetByRole (line 693) | func (fl *FrameLocator) GetByRole(role string, opts *GetByRoleOptions)...
method GetByTestID (line 700) | func (fl *FrameLocator) GetByTestID(testID string) *Locator {
method GetByText (line 707) | func (fl *FrameLocator) GetByText(text string, opts *GetByBaseOptions)...
method GetByTitle (line 714) | func (fl *FrameLocator) GetByTitle(title string, opts *GetByBaseOption...
method Locator (line 721) | func (fl *FrameLocator) Locator(selector string, opts *LocatorOptions)...
method FrameLocator (line 728) | func (fl *FrameLocator) FrameLocator(selector string) *FrameLocator {
function NewFrameLocator (line 661) | func NewFrameLocator(ctx context.Context, selector string, f *Frame, l *...
FILE: internal/js/modules/k6/browser/common/locator_options.go
type GetByRoleOptions (line 5) | type GetByRoleOptions struct
type GetByBaseOptions (line 19) | type GetByBaseOptions struct
FILE: internal/js/modules/k6/browser/common/mouse.go
type Mouse (line 13) | type Mouse struct
method Click (line 37) | func (m *Mouse) Click(x float64, y float64, opts *MouseClickOptions) e...
method click (line 44) | func (m *Mouse) click(x float64, y float64, opts *MouseClickOptions) e...
method DblClick (line 70) | func (m *Mouse) DblClick(x float64, y float64, opts *MouseDblClickOpti...
method Down (line 78) | func (m *Mouse) Down(opts *MouseDownUpOptions) error {
method down (line 85) | func (m *Mouse) down(opts *MouseDownUpOptions) error {
method Up (line 98) | func (m *Mouse) Up(opts *MouseDownUpOptions) error {
method up (line 105) | func (m *Mouse) up(opts *MouseDownUpOptions) error {
method Move (line 119) | func (m *Mouse) Move(x float64, y float64, opts *MouseMoveOptions) err...
method move (line 126) | func (m *Mouse) move(x float64, y float64, opts *MouseMoveOptions) err...
function NewMouse (line 25) | func NewMouse(ctx context.Context, s session, f *Frame, ts *TimeoutSetti...
FILE: internal/js/modules/k6/browser/common/mouse_options.go
type MouseClickOptions (line 3) | type MouseClickOptions struct
method ToMouseDownUpOptions (line 31) | func (o *MouseClickOptions) ToMouseDownUpOptions() *MouseDownUpOptions {
type MouseDblClickOptions (line 9) | type MouseDblClickOptions struct
method ToMouseClickOptions (line 46) | func (o *MouseDblClickOptions) ToMouseClickOptions() *MouseClickOptions {
type MouseDownUpOptions (line 14) | type MouseDownUpOptions struct
type MouseMoveOptions (line 19) | type MouseMoveOptions struct
function NewMouseClickOptions (line 23) | func NewMouseClickOptions() *MouseClickOptions {
function NewMouseDblClickOptions (line 38) | func NewMouseDblClickOptions() *MouseDblClickOptions {
function NewMouseDownUpOptions (line 54) | func NewMouseDownUpOptions() *MouseDownUpOptions {
function NewMouseMoveOptions (line 61) | func NewMouseMoveOptions() *MouseMoveOptions {
FILE: internal/js/modules/k6/browser/common/network_manager.go
type Credentials (line 34) | type Credentials struct
method IsEmpty (line 40) | func (c Credentials) IsEmpty() bool {
type eventInterceptor (line 48) | type eventInterceptor interface
type NetworkManager (line 57) | type NetworkManager struct
method deleteRequestByID (line 205) | func (m *NetworkManager) deleteRequestByID(reqID network.RequestID) {
method emitRequestMetrics (line 211) | func (m *NetworkManager) emitRequestMetrics(req *Request) {
method emitResponseMetrics (line 234) | func (m *NetworkManager) emitResponseMetrics(resp *Response, req *Requ...
method handleRequestRedirect (line 334) | func (m *NetworkManager) handleRequestRedirect(
method initDomains (line 356) | func (m *NetworkManager) initDomains() error {
method initEvents (line 374) | func (m *NetworkManager) initEvents() {
method handleEvents (line 392) | func (m *NetworkManager) handleEvents(in <-chan Event) bool {
method onLoadingFailed (line 426) | func (m *NetworkManager) onLoadingFailed(event *network.EventLoadingFa...
method onLoadingFinished (line 440) | func (m *NetworkManager) onLoadingFinished(event *network.EventLoading...
method requestForOnLoadingFinished (line 480) | func (m *NetworkManager) requestForOnLoadingFinished(rid network.Reque...
method onRequest (line 515) | func (m *NetworkManager) onRequest(event *network.EventRequestWillBeSent,
method onRequestWillBeSent (line 593) | func (m *NetworkManager) onRequestWillBeSent(event *network.EventReque...
method onRequestPaused (line 619) | func (m *NetworkManager) onRequestPaused(event *fetch.EventRequestPaus...
method onAuthRequired (line 721) | func (m *NetworkManager) onAuthRequired(event *fetch.EventAuthRequired) {
method onRequestServedFromCache (line 759) | func (m *NetworkManager) onRequestServedFromCache(event *network.Event...
method onResponseReceived (line 766) | func (m *NetworkManager) onResponseReceived(event *network.EventRespon...
method requestFromID (line 782) | func (m *NetworkManager) requestFromID(reqID network.RequestID) (*Requ...
method willBeSentEventFromReqID (line 791) | func (m *NetworkManager) willBeSentEventFromReqID(reqID network.Reques...
method pausedEventFromReqID (line 800) | func (m *NetworkManager) pausedEventFromReqID(reqID network.RequestID)...
method setRequestInterception (line 809) | func (m *NetworkManager) setRequestInterception(value bool) error {
method updateProtocolCacheDisabled (line 814) | func (m *NetworkManager) updateProtocolCacheDisabled() error {
method updateProtocolRequestInterception (line 826) | func (m *NetworkManager) updateProtocolRequestInterception() error {
method Authenticate (line 863) | func (m *NetworkManager) Authenticate(credentials Credentials) error {
method AbortRequest (line 875) | func (m *NetworkManager) AbortRequest(requestID fetch.RequestID, error...
method ContinueRequest (line 898) | func (m *NetworkManager) ContinueRequest(
method FulfillRequest (line 945) | func (m *NetworkManager) FulfillRequest(request *Request, opts Fulfill...
method SetExtraHTTPHeaders (line 1002) | func (m *NetworkManager) SetExtraHTTPHeaders(headers network.Headers) ...
method SetOfflineMode (line 1014) | func (m *NetworkManager) SetOfflineMode(offline bool) error {
method ThrottleNetwork (line 1035) | func (m *NetworkManager) ThrottleNetwork(networkProfile NetworkProfile...
method SetUserAgent (line 1055) | func (m *NetworkManager) SetUserAgent(userAgent string) {
method SetCacheEnabled (line 1063) | func (m *NetworkManager) SetCacheEnabled(enabled bool) {
method wait (line 1070) | func (m *NetworkManager) wait() {
function NewNetworkManager (line 97) | func NewNetworkManager(
function errorReasons (line 142) | func errorReasons() map[string]network.ErrorReason {
function newResolver (line 164) | func newResolver(conf k6types.DNSConfig) (k6netext.Resolver, error) {
function parseTTL (line 184) | func parseTTL(ttlS string) (time.Duration, error) {
function handleURLTag (line 321) | func handleURLTag(mi eventInterceptor, url string, method string, tags *...
function isInternalURL (line 511) | func isInternalURL(u *url.URL) bool {
function checkBlockedHosts (line 700) | func checkBlockedHosts(host string, blockedHosts *k6types.HostnameTrie) ...
function checkBlockedIPs (line 710) | func checkBlockedIPs(ip net.IP, blockedIPs []*k6lib.IPNet) error {
function toFetchHeaders (line 986) | func toFetchHeaders(headers []HTTPHeader) []*fetch.HeaderEntry {
FILE: internal/js/modules/k6/browser/common/network_manager_test.go
constant mockHostname (line 26) | mockHostname = "host.test"
type fakeSession (line 28) | type fakeSession struct
method Execute (line 35) | func (s *fakeSession) Execute(
function newTestNetworkManager (line 42) | func newTestNetworkManager(t *testing.T, k6opts k6lib.Options) (*Network...
function TestOnRequestPausedBlockedHostnames (line 86) | func TestOnRequestPausedBlockedHostnames(t *testing.T) {
function TestOnRequestPausedBlockedIPs (line 149) | func TestOnRequestPausedBlockedIPs(t *testing.T) {
type EventInterceptorMock (line 216) | type EventInterceptorMock struct
method urlTagName (line 218) | func (m *EventInterceptorMock) urlTagName(_ string, _ string) (string,...
method onRequest (line 222) | func (m *EventInterceptorMock) onRequest(_ *Request) {}
method onResponse (line 224) | func (m *EventInterceptorMock) onResponse(_ *Response) {}
method onRequestFinished (line 226) | func (m *EventInterceptorMock) onRequestFinished(_ *Request) {}
method onRequestFailed (line 228) | func (m *EventInterceptorMock) onRequestFailed(_ *Request) {}
function TestNetworkManagerEmitRequestResponseMetricsTimingSkew (line 230) | func TestNetworkManagerEmitRequestResponseMetricsTimingSkew(t *testing.T) {
function TestRequestForOnLoadingFinished (line 321) | func TestRequestForOnLoadingFinished(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/network_profile.go
type NetworkProfile (line 4) | type NetworkProfile struct
function NewNetworkProfile (line 16) | func NewNetworkProfile() NetworkProfile {
function GetNetworkProfiles (line 26) | func GetNetworkProfiles() map[string]NetworkProfile {
FILE: internal/js/modules/k6/browser/common/page.go
constant BlankPage (line 32) | BlankPage = "about:blank"
type PageEventName (line 35) | type PageEventName
constant webVitalBinding (line 37) | webVitalBinding = "k6browserSendWebVitalMetric"
constant PageEventConsole (line 41) | PageEventConsole PageEventName = "console"
constant PageEventMetric (line 44) | PageEventMetric PageEventName = "metric"
constant PageEventRequest (line 47) | PageEventRequest PageEventName = "request"
constant PageEventResponse (line 50) | PageEventResponse PageEventName = "response"
constant PageEventRequestFinished (line 53) | PageEventRequestFinished PageEventName = "requestfinished"
constant PageEventRequestFailed (line 56) | PageEventRequestFailed PageEventName = "requestfailed"
type PageEventHandler (line 60) | type PageEventHandler
type pageEventHandlerRecord (line 64) | type pageEventHandlerRecord struct
type MediaType (line 70) | type MediaType
constant MediaTypeScreen (line 74) | MediaTypeScreen MediaType = "screen"
constant MediaTypePrint (line 77) | MediaTypePrint MediaType = "print"
type ReducedMotion (line 81) | type ReducedMotion
method String (line 89) | func (r ReducedMotion) String() string {
method MarshalJSON (line 104) | func (r ReducedMotion) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 112) | func (r *ReducedMotion) UnmarshalJSON(b []byte) error {
constant ReducedMotionReduce (line 85) | ReducedMotionReduce ReducedMotion = "reduce"
constant ReducedMotionNoPreference (line 86) | ReducedMotionNoPreference ReducedMotion = "no-preference"
type Screen (line 124) | type Screen struct
type ColorScheme (line 130) | type ColorScheme
method String (line 139) | func (c ColorScheme) String() string {
method MarshalJSON (line 156) | func (c ColorScheme) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 164) | func (c *ColorScheme) UnmarshalJSON(b []byte) error {
constant ColorSchemeLight (line 134) | ColorSchemeLight ColorScheme = "light"
constant ColorSchemeDark (line 135) | ColorSchemeDark ColorScheme = "dark"
constant ColorSchemeNoPreference (line 136) | ColorSchemeNoPreference ColorScheme = "no-preference"
type EmulatedSize (line 176) | type EmulatedSize struct
function NewEmulatedSize (line 182) | func NewEmulatedSize(viewport Viewport, screen Screen) *EmulatedSize {
type ConsoleMessage (line 190) | type ConsoleMessage struct
type RouteHandler (line 207) | type RouteHandler struct
function NewRouteHandler (line 213) | func NewRouteHandler(
type RouteHandlerCallback (line 225) | type RouteHandlerCallback
type Page (line 228) | type Page struct
method initEvents (line 368) | func (p *Page) initEvents() {
method urlTagName (line 489) | func (p *Page) urlTagName(url string, method string) (string, bool) {
method onRequest (line 514) | func (p *Page) onRequest(request *Request) {
method onResponse (line 524) | func (p *Page) onResponse(resp *Response) {
method onRequestFinished (line 534) | func (p *Page) onRequestFinished(request *Request) {
method onRequestFailed (line 544) | func (p *Page) onRequestFailed(request *Request) {
method onConsoleAPICalled (line 552) | func (p *Page) onConsoleAPICalled(event *runtime.EventConsoleAPICalled) {
method consoleMsgFromConsoleEvent (line 569) | func (p *Page) consoleMsgFromConsoleEvent(e *runtime.EventConsoleAPICa...
method addWorker (line 600) | func (p *Page) addWorker(sessionID target.SessionID, w *Worker) {
method removeWorker (line 608) | func (p *Page) removeWorker(sessionID target.SessionID) {
method defaultTimeout (line 616) | func (p *Page) defaultTimeout() time.Duration {
method didClose (line 620) | func (p *Page) didClose() {
method evaluateOnNewDocument (line 630) | func (p *Page) evaluateOnNewDocument(source string) error {
method getFrameElement (line 642) | func (p *Page) getFrameElement(f *Frame) (handle *ElementHandle, _ err...
method getOwnerFrame (line 680) | func (p *Page) getOwnerFrame(apiCtx context.Context, h *ElementHandle)...
method attachFrameSession (line 749) | func (p *Page) attachFrameSession(fid cdp.FrameID, fs *FrameSession) e...
method waitForFrameSessions (line 773) | func (p *Page) waitForFrameSessions() {
method getFrameSession (line 785) | func (p *Page) getFrameSession(frameID cdp.FrameID) (*FrameSession, bo...
method hasRoutes (line 795) | func (p *Page) hasRoutes() bool {
method resetViewport (line 802) | func (p *Page) resetViewport() error {
method setEmulatedSize (line 809) | func (p *Page) setEmulatedSize(emulatedSize *EmulatedSize) error {
method setViewportSize (line 816) | func (p *Page) setViewportSize(viewportSize *Size) error {
method updateExtraHTTPHeaders (line 831) | func (p *Page) updateExtraHTTPHeaders() error {
method updateGeolocation (line 846) | func (p *Page) updateGeolocation() error {
method updateOffline (line 869) | func (p *Page) updateOffline() error {
method updateHTTPCredentials (line 884) | func (p *Page) updateHTTPCredentials() error {
method viewportSize (line 899) | func (p *Page) viewportSize() Size {
method BringToFront (line 907) | func (p *Page) BringToFront() error {
method SetChecked (line 919) | func (p *Page) SetChecked(selector string, checked bool, popts *FrameC...
method Check (line 926) | func (p *Page) Check(selector string, popts *FrameCheckOptions) error {
method Uncheck (line 933) | func (p *Page) Uncheck(selector string, popts *FrameUncheckOptions) er...
method IsChecked (line 941) | func (p *Page) IsChecked(selector string, opts *FrameIsCheckedOptions)...
method Click (line 948) | func (p *Page) Click(selector string, opts *FrameClickOptions) error {
method isClosing (line 955) | func (p *Page) isClosing() bool {
method Close (line 966) | func (p *Page) Close() error {
method Content (line 1022) | func (p *Page) Content() (string, error) {
method Context (line 1029) | func (p *Page) Context() *BrowserContext {
method Dblclick (line 1034) | func (p *Page) Dblclick(selector string, popts *FrameDblclickOptions) ...
method DispatchEvent (line 1041) | func (p *Page) DispatchEvent(selector string, typ string, eventInit an...
method EmulateMedia (line 1048) | func (p *Page) EmulateMedia(popts *PageEmulateMediaOptions) error {
method EmulateVisionDeficiency (line 1070) | func (p *Page) EmulateVisionDeficiency(typ string) error {
method Evaluate (line 1097) | func (p *Page) Evaluate(pageFunc string, args ...any) (any, error) {
method EvaluateHandle (line 1104) | func (p *Page) EvaluateHandle(pageFunc string, args ...any) (JSHandleA...
method Fill (line 1115) | func (p *Page) Fill(selector string, value string, popts *FrameFillOpt...
method Focus (line 1122) | func (p *Page) Focus(selector string, popts *FrameBaseOptions) error {
method Frames (line 1129) | func (p *Page) Frames() []*Frame {
method GetAttribute (line 1135) | func (p *Page) GetAttribute(selector string, name string, popts *Frame...
method GetByRole (line 1143) | func (p *Page) GetByRole(role string, opts *GetByRoleOptions) *Locator {
method GetByAltText (line 1151) | func (p *Page) GetByAltText(alt string, opts *GetByBaseOptions) *Locat...
method GetByLabel (line 1158) | func (p *Page) GetByLabel(label string, opts *GetByBaseOptions) *Locat...
method GetByPlaceholder (line 1165) | func (p *Page) GetByPlaceholder(placeholder string, opts *GetByBaseOpt...
method GetByTitle (line 1172) | func (p *Page) GetByTitle(title string, opts *GetByBaseOptions) *Locat...
method GetByTestID (line 1179) | func (p *Page) GetByTestID(testID string) *Locator {
method GetByText (line 1186) | func (p *Page) GetByText(text string, opts *GetByBaseOptions) *Locator {
method GetKeyboard (line 1193) | func (p *Page) GetKeyboard() *Keyboard {
method GetMouse (line 1198) | func (p *Page) GetMouse() *Mouse {
method GetTouchscreen (line 1203) | func (p *Page) GetTouchscreen() *Touchscreen {
method Goto (line 1208) | func (p *Page) Goto(url string, opts *FrameGotoOptions) (*Response, er...
method Hover (line 1227) | func (p *Page) Hover(selector string, popts *FrameHoverOptions) error {
method InnerHTML (line 1234) | func (p *Page) InnerHTML(selector string, popts *FrameInnerHTMLOptions...
method InnerText (line 1241) | func (p *Page) InnerText(selector string, popts *FrameInnerTextOptions...
method InputValue (line 1248) | func (p *Page) InputValue(selector string, popts *FrameInputValueOptio...
method IsClosed (line 1254) | func (p *Page) IsClosed() bool {
method IsDisabled (line 1263) | func (p *Page) IsDisabled(selector string, opts *FrameIsDisabledOption...
method IsEditable (line 1271) | func (p *Page) IsEditable(selector string, opts *FrameIsEditableOption...
method IsEnabled (line 1279) | func (p *Page) IsEnabled(selector string, opts *FrameIsEnabledOptions)...
method IsHidden (line 1288) | func (p *Page) IsHidden(selector string, opts *FrameIsHiddenOptions) (...
method IsVisible (line 1296) | func (p *Page) IsVisible(selector string, opts *FrameIsVisibleOptions)...
method Locator (line 1303) | func (p *Page) Locator(selector string, opts *LocatorOptions) *Locator {
method FrameLocator (line 1310) | func (p *Page) FrameLocator(selector string) *FrameLocator {
method MainFrame (line 1317) | func (p *Page) MainFrame() *Frame {
method Referrer (line 1333) | func (p *Page) Referrer() string {
method Route (line 1339) | func (p *Page) Route(path string, cb RouteHandlerCallback, rm RegExMat...
method Unroute (line 1366) | func (p *Page) Unroute(path string) error {
method UnrouteAll (line 1385) | func (p *Page) UnrouteAll() error {
method NavigationTimeout (line 1399) | func (p *Page) NavigationTimeout() time.Duration {
method On (line 1423) | func (p *Page) On(event PageEventName, handler PageEventHandler) error {
method addEventHandler (line 1432) | func (p *Page) addEventHandler(event PageEventName, handler PageEventH...
method removeEventHandler (line 1445) | func (p *Page) removeEventHandler(event PageEventName, id uint64) {
method hasEventHandler (line 1464) | func (p *Page) hasEventHandler(event PageEventName) bool {
method Opener (line 1472) | func (p *Page) Opener() *Page {
method Press (line 1477) | func (p *Page) Press(selector string, key string, opts *FramePressOpti...
method Query (line 1484) | func (p *Page) Query(selector string) (*ElementHandle, error) {
method QueryAll (line 1491) | func (p *Page) QueryAll(selector string) ([]*ElementHandle, error) {
method Reload (line 1498) | func (p *Page) Reload(opts *PageReloadOptions) (_ *Response, rerr erro...
method GoBackForward (line 1594) | func (p *Page) GoBackForward(delta int, opts *PageGoBackForwardOptions...
method Screenshot (line 1674) | func (p *Page) Screenshot(opts *PageScreenshotOptions, sp ScreenshotPe...
method SelectOption (line 1691) | func (p *Page) SelectOption(selector string, values []any, popts *Fram...
method SetContent (line 1698) | func (p *Page) SetContent(html string, opts *FrameSetContentOptions) e...
method SetDefaultNavigationTimeout (line 1705) | func (p *Page) SetDefaultNavigationTimeout(timeout int64) {
method SetDefaultTimeout (line 1712) | func (p *Page) SetDefaultTimeout(timeout int64) {
method SetExtraHTTPHeaders (line 1719) | func (p *Page) SetExtraHTTPHeaders(headers map[string]string) error {
method SetInputFiles (line 1727) | func (p *Page) SetInputFiles(selector string, files *Files, opts *Fram...
method SetViewportSize (line 1734) | func (p *Page) SetViewportSize(viewportSize *Size) error {
method Tap (line 1745) | func (p *Page) Tap(selector string, opts *FrameTapOptions) error {
method TextContent (line 1754) | func (p *Page) TextContent(selector string, popts *FrameTextContentOpt...
method Timeout (line 1762) | func (p *Page) Timeout() time.Duration {
method Title (line 1767) | func (p *Page) Title() (string, error) {
method ThrottleCPU (line 1785) | func (p *Page) ThrottleCPU(cpuProfile CPUProfile) error {
method ThrottleNetwork (line 1802) | func (p *Page) ThrottleNetwork(networkProfile NetworkProfile) error {
method Type (line 1818) | func (p *Page) Type(selector string, text string, popts *FrameTypeOpti...
method URL (line 1825) | func (p *Page) URL() (string, error) {
method ViewportSize (line 1832) | func (p *Page) ViewportSize() map[string]float64 {
method WaitForFunction (line 1843) | func (p *Page) WaitForFunction(js string, opts *FrameWaitForFunctionOp...
method WaitForLoadState (line 1849) | func (p *Page) WaitForLoadState(state string, popts *FrameWaitForLoadS...
method WaitForNavigation (line 1857) | func (p *Page) WaitForNavigation(opts *FrameWaitForNavigationOptions, ...
method WaitForSelector (line 1871) | func (p *Page) WaitForSelector(selector string, popts *FrameWaitForSel...
method WaitForTimeout (line 1880) | func (p *Page) WaitForTimeout(timeout int64) {
method WaitForURL (line 1891) | func (p *Page) WaitForURL(urlPattern string, opts *FrameWaitForURLOpti...
method eventHandlersByName (line 1907) | func (p *Page) eventHandlersByName(evn PageEventName) iter.Seq[PageEve...
method waitForEvent (line 1930) | func (p *Page) waitForEvent(
method WaitForResponse (line 1977) | func (p *Page) WaitForResponse(
method WaitForRequest (line 2006) | func (p *Page) WaitForRequest(
method WaitForEvent (line 2034) | func (p *Page) WaitForEvent(
method Workers (line 2061) | func (p *Page) Workers() []*Worker {
method TargetID (line 2073) | func (p *Page) TargetID() string {
method executionContextForID (line 2078) | func (p *Page) executionContextForID(
method sessionID (line 2095) | func (p *Page) sessionID() (sid target.SessionID) {
function NewPage (line 290) | func NewPage(
type MetricEvent (line 406) | type MetricEvent struct
method Tag (line 440) | func (e *MetricEvent) Tag(rm RegExMatcher, matches TagMatches) error {
type TagMatches (line 422) | type TagMatches struct
type Match (line 431) | type Match struct
type PageEvent (line 1405) | type PageEvent struct
type PageWaitForRequestOptions (line 2000) | type PageWaitForRequestOptions struct
type PageWaitForEventOptions (line 2028) | type PageWaitForEventOptions struct
function textForConsoleEvent (line 2104) | func textForConsoleEvent(e *runtime.EventConsoleAPICalled, args []string...
FILE: internal/js/modules/k6/browser/common/page_options.go
type PageEmulateMediaOptions (line 16) | type PageEmulateMediaOptions struct
type PageReloadOptions (line 22) | type PageReloadOptions struct
method Parse (line 93) | func (o *PageReloadOptions) Parse(ctx context.Context, opts sobek.Valu...
type PageScreenshotOptions (line 27) | type PageScreenshotOptions struct
method Parse (line 126) | func (o *PageScreenshotOptions) Parse(ctx context.Context, opts sobek....
type PageGoBackForwardOptions (line 37) | type PageGoBackForwardOptions struct
method Parse (line 69) | func (o *PageGoBackForwardOptions) Parse(ctx context.Context, opts sob...
function NewPageEmulateMediaOptions (line 42) | func NewPageEmulateMediaOptions(from *Page) *PageEmulateMediaOptions {
function NewPageReloadOptions (line 50) | func NewPageReloadOptions(defaultWaitUntil LifecycleEvent, defaultTimeou...
function NewPageGoBackForwardOptions (line 58) | func NewPageGoBackForwardOptions(
function NewPageScreenshotOptions (line 114) | func NewPageScreenshotOptions() *PageScreenshotOptions {
type PageWaitForResponseOptions (line 174) | type PageWaitForResponseOptions struct
function NewPageWaitForResponseOptions (line 179) | func NewPageWaitForResponseOptions(defaultTimeout time.Duration) *PageWa...
FILE: internal/js/modules/k6/browser/common/page_test.go
function TestPageLocator (line 15) | func TestPageLocator(t *testing.T) {
function TestPageEventHandlersLifecycle (line 37) | func TestPageEventHandlersLifecycle(t *testing.T) {
function TestPageEventHandlerIterator (line 66) | func TestPageEventHandlerIterator(t *testing.T) {
function TestPageOn (line 143) | func TestPageOn(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/remote_object.go
type objectOverflowError (line 20) | type objectOverflowError struct
method Error (line 23) | func (*objectOverflowError) Error() string {
type objectPropertyParseError (line 27) | type objectPropertyParseError struct
method Error (line 34) | func (pe *objectPropertyParseError) Error() string {
method Unwrap (line 39) | func (pe *objectPropertyParseError) Unwrap() error {
type remoteObjectParseError (line 43) | type remoteObjectParseError struct
method Error (line 51) | func (e *remoteObjectParseError) Error() string {
method Unwrap (line 57) | func (e *remoteObjectParseError) Unwrap() error {
function parseRemoteObjectPreview (line 61) | func parseRemoteObjectPreview(op *runtime.ObjectPreview) (map[string]any...
function parseRemoteObjectValue (line 80) | func parseRemoteObjectValue(
function parseExceptionDetails (line 127) | func parseExceptionDetails(exc *runtime.ExceptionDetails) string {
function parseRemoteObject (line 145) | func parseRemoteObject(obj *runtime.RemoteObject) (any, error) {
function valueFromRemoteObject (line 177) | func valueFromRemoteObject(_ context.Context, robj *runtime.RemoteObject...
function parseConsoleRemoteObjectPreview (line 185) | func parseConsoleRemoteObjectPreview(logger *log.Logger, op *runtime.Obj...
function parseConsoleRemoteArrayPreview (line 207) | func parseConsoleRemoteArrayPreview(logger *log.Logger, op *runtime.Obje...
function parseConsoleRemoteObjectValue (line 229) | func parseConsoleRemoteObjectValue(
function parseConsoleRemoteObject (line 275) | func parseConsoleRemoteObject(logger *log.Logger, obj *runtime.RemoteObj...
FILE: internal/js/modules/k6/browser/common/remote_object_test.go
function TestValueFromRemoteObject (line 16) | func TestValueFromRemoteObject(t *testing.T) {
function TestParseRemoteObject (line 182) | func TestParseRemoteObject(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/screenshotter.go
type ScreenshotPersister (line 21) | type ScreenshotPersister interface
type ImageFormat (line 26) | type ImageFormat
method String (line 34) | func (f ImageFormat) String() string {
method MarshalJSON (line 49) | func (f ImageFormat) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 57) | func (f *ImageFormat) UnmarshalJSON(b []byte) error {
constant ImageFormatJPEG (line 30) | ImageFormatJPEG ImageFormat = "jpeg"
constant ImageFormatPNG (line 31) | ImageFormatPNG ImageFormat = "png"
type screenshotter (line 68) | type screenshotter struct
method fullPageSize (line 82) | func (s *screenshotter) fullPageSize(p *Page) (*Size, error) {
method originalViewportSize (line 116) | func (s *screenshotter) originalViewportSize(p *Page) (*Size, *Size, e...
method restoreViewport (line 146) | func (s *screenshotter) restoreViewport(p *Page, originalViewport *Siz...
method screenshot (line 153) | func (s *screenshotter) screenshot(
method screenshotElement (line 267) | func (s *screenshotter) screenshotElement(h *ElementHandle, opts *Elem...
method screenshotPage (line 352) | func (s *screenshotter) screenshotPage(p *Page, opts *PageScreenshotOp...
method trimClipToSize (line 432) | func (s *screenshotter) trimClipToSize(clip *Rect, size *Size) (*Rect,...
function newScreenshotter (line 74) | func newScreenshotter(
function getViewPortDimensions (line 236) | func getViewPortDimensions(ctx context.Context, sess session, logger *lo...
FILE: internal/js/modules/k6/browser/common/selectors.go
type SelectorPart (line 34) | type SelectorPart struct
type Selector (line 39) | type Selector struct
method appendPart (line 63) | func (s *Selector) appendPart(p *SelectorPart, capture bool) error {
method parse (line 79) | func (s *Selector) parse() error {
function NewSelector (line 49) | func NewSelector(selector string) (*Selector, error) {
FILE: internal/js/modules/k6/browser/common/selectors_test.go
function TestSelectorParse (line 10) | func TestSelectorParse(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/session.go
type Session (line 16) | type Session struct
method ID (line 52) | func (s *Session) ID() target.SessionID {
method TargetID (line 57) | func (s *Session) TargetID() target.ID {
method close (line 61) | func (s *Session) close() {
method markAsCrashed (line 73) | func (s *Session) markAsCrashed() {
method readLoop (line 79) | func (s *Session) readLoop() {
method Execute (line 108) | func (s *Session) Execute(
method ExecuteWithoutExpectationOnReply (line 168) | func (s *Session) ExecuteWithoutExpectationOnReply(
method Done (line 218) | func (s *Session) Done() <-chan struct{} {
method Closed (line 223) | func (s *Session) Closed() bool {
function NewSession (line 32) | func NewSession(
FILE: internal/js/modules/k6/browser/common/session_test.go
function TestSessionCreateSession (line 22) | func TestSessionCreateSession(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/timeout.go
type TimeoutSettings (line 6) | type TimeoutSettings struct
method setDefaultTimeout (line 22) | func (t *TimeoutSettings) setDefaultTimeout(timeout time.Duration) {
method setDefaultNavigationTimeout (line 26) | func (t *TimeoutSettings) setDefaultNavigationTimeout(timeout time.Dur...
method navigationTimeout (line 30) | func (t *TimeoutSettings) navigationTimeout() time.Duration {
method timeout (line 43) | func (t *TimeoutSettings) timeout() time.Duration {
function NewTimeoutSettings (line 13) | func NewTimeoutSettings(parent *TimeoutSettings) *TimeoutSettings {
FILE: internal/js/modules/k6/browser/common/timeout_test.go
function TestTimeoutSettings (line 10) | func TestTimeoutSettings(t *testing.T) {
function testTimeoutSettingsNewTimeoutSettings (line 43) | func testTimeoutSettingsNewTimeoutSettings(t *testing.T) {
function testTimeoutSettingsNewTimeoutSettingsWithParent (line 52) | func testTimeoutSettingsNewTimeoutSettingsWithParent(t *testing.T) {
function testTimeoutSettingsSetDefaultTimeout (line 62) | func testTimeoutSettingsSetDefaultTimeout(t *testing.T) {
function testTimeoutSettingsSetDefaultNavigationTimeout (line 70) | func testTimeoutSettingsSetDefaultNavigationTimeout(t *testing.T) {
function testTimeoutSettingsNavigationTimeout (line 78) | func testTimeoutSettingsNavigationTimeout(t *testing.T) {
function testTimeoutSettingsNavigationTimeoutWithParent (line 91) | func testTimeoutSettingsNavigationTimeoutWithParent(t *testing.T) {
function testTimeoutSettingsTimeout (line 109) | func testTimeoutSettingsTimeout(t *testing.T) {
function testTimeoutSettingsTimeoutWithParent (line 122) | func testTimeoutSettingsTimeoutWithParent(t *testing.T) {
FILE: internal/js/modules/k6/browser/common/touchscreen.go
type Touchscreen (line 12) | type Touchscreen struct
method Tap (line 28) | func (t *Touchscreen) Tap(x float64, y float64) error {
method tap (line 35) | func (t *Touchscreen) tap(x float64, y float64) error {
function NewTouchscreen (line 19) | func NewTouchscreen(ctx context.Context, s session, k *Keyboard) *Touchs...
FILE: internal/js/modules/k6/browser/common/trace.go
type Tracer (line 14) | type Tracer interface
function TraceAPICall (line 29) | func TraceAPICall(
function TraceNavigation (line 41) | func TraceNavigation(
function TraceEvent (line 53) | func TraceEvent(
function spanRecordErrorf (line 65) | func spanRecordErrorf(span trace.Span, format string, a ...any) error {
function spanRecordError (line 71) | func spanRecordError(span trace.Span, err error) error {
FILE: internal/js/modules/k6/browser/common/worker.go
type Worker (line 14) | type Worker struct
method initEvents (line 37) | func (w *Worker) initEvents() error {
method URL (line 52) | func (w *Worker) URL() string {
function NewWorker (line 23) | func NewWorker(ctx context.Context, s session, id target.ID, url string)...
FILE: internal/js/modules/k6/browser/env/env.go
constant InstanceScenarios (line 13) | InstanceScenarios = "K6_INSTANCE_SCENARIOS"
constant WebSocketURLs (line 17) | WebSocketURLs = "K6_BROWSER_WS_URL"
constant BrowserArguments (line 21) | BrowserArguments = "K6_BROWSER_ARGS"
constant BrowserExecutablePath (line 25) | BrowserExecutablePath = "K6_BROWSER_EXECUTABLE_PATH"
constant BrowserEnableDebugging (line 29) | BrowserEnableDebugging = "K6_BROWSER_DEBUG"
constant BrowserHeadless (line 33) | BrowserHeadless = "K6_BROWSER_HEADLESS"
constant BrowserIgnoreDefaultArgs (line 37) | BrowserIgnoreDefaultArgs = "K6_BROWSER_IGNORE_DEFAULT_ARGS"
constant BrowserGlobalTimeout (line 41) | BrowserGlobalTimeout = "K6_BROWSER_TIMEOUT"
constant LogCaller (line 48) | LogCaller = "K6_BROWSER_LOG_CALLER"
constant LogLevel (line 52) | LogLevel = "K6_BROWSER_LOG"
constant LogCategoryFilter (line 57) | LogCategoryFilter = "K6_BROWSER_LOG_CATEGORY_FILTER"
constant TracesMetadata (line 65) | TracesMetadata = "K6_BROWSER_TRACES_METADATA"
constant ScreenshotsOutput (line 73) | ScreenshotsOutput = "K6_BROWSER_SCREENSHOTS_OUTPUT"
constant K6TestRunID (line 80) | K6TestRunID = "K6_CLOUD_PUSH_REF_ID"
type LookupFunc (line 84) | type LookupFunc
function EmptyLookup (line 87) | func EmptyLookup(_ string) (string, bool) { return "", false }
function Lookup (line 90) | func Lookup(key string) (string, bool) { return os.LookupEnv(key) }
function ConstLookup (line 95) | func ConstLookup(k, v string) LookupFunc {
function LookupBool (line 107) | func LookupBool(key string) (value bool, ok bool) {
function IsBrowserHeadless (line 122) | func IsBrowserHeadless() bool {
FILE: internal/js/modules/k6/browser/k6ext/context.go
type ctxKey (line 12) | type ctxKey
constant ctxKeyVU (line 15) | ctxKeyVU ctxKey = iota
constant ctxKeyPid (line 16) | ctxKeyPid
constant ctxKeyCustomK6Metrics (line 17) | ctxKeyCustomK6Metrics
function WithVU (line 21) | func WithVU(ctx context.Context, vu k6modules.VU) context.Context {
function GetVU (line 29) | func GetVU(ctx context.Context) k6modules.VU {
function WithCustomMetrics (line 38) | func WithCustomMetrics(ctx context.Context, k6m *CustomMetrics) context....
function GetCustomMetrics (line 43) | func GetCustomMetrics(ctx context.Context) *CustomMetrics {
function Runtime (line 52) | func Runtime(ctx context.Context) *sobek.Runtime {
function GetScenarioName (line 57) | func GetScenarioName(ctx context.Context) string {
function GetScenarioOpts (line 67) | func GetScenarioOpts(ctx context.Context, vu k6modules.VU) map[string]any {
FILE: internal/js/modules/k6/browser/k6ext/k6test/executor.go
type TestExecutor (line 12) | type TestExecutor struct
method GetDescription (line 17) | func (te *TestExecutor) GetDescription(*k6lib.ExecutionTuple) string {
method GetExecutionRequirements (line 22) | func (te *TestExecutor) GetExecutionRequirements(*k6lib.ExecutionTuple...
method NewExecutor (line 27) | func (te *TestExecutor) NewExecutor(*k6lib.ExecutionState, *logrus.Ent...
method HasWork (line 32) | func (te *TestExecutor) HasWork(*k6lib.ExecutionTuple) bool {
FILE: internal/js/modules/k6/browser/k6ext/k6test/vu.go
type VU (line 31) | type VU struct
method ToSobekValue (line 40) | func (v *VU) ToSobekValue(i any) sobek.Value { return v.Runtime().ToVa...
method ActivateVU (line 45) | func (v *VU) ActivateVU() {
method AssertSamples (line 52) | func (v *VU) AssertSamples(assertSample func(s k6metrics.Sample)) int {
method StartIteration (line 81) | func (v *VU) StartIteration(tb testing.TB, opts ...any) {
method EndIteration (line 93) | func (v *VU) EndIteration(tb testing.TB, opts ...any) {
method iterEvent (line 99) | func (v *VU) iterEvent(tb testing.TB, eventType event.Type, eventName ...
method RunOnEventLoop (line 130) | func (v *VU) RunOnEventLoop(tb testing.TB, js string, args ...any) (so...
method RunAsync (line 138) | func (v *VU) RunAsync(tb testing.TB, js string, args ...any) (sobek.Va...
method RunPromise (line 148) | func (v *VU) RunPromise(tb testing.TB, js string, args ...any) *sobek....
method SetVar (line 157) | func (v *VU) SetVar(tb testing.TB, name string, value any) {
function ToPromise (line 165) | func ToPromise(tb testing.TB, gv sobek.Value) *sobek.Promise {
type WithSamples (line 175) | type WithSamples
type WithTracerProvider (line 178) | type WithTracerProvider
function NewVU (line 186) | func NewVU(tb testing.TB, opts ...any) *VU {
FILE: internal/js/modules/k6/browser/k6ext/metrics.go
constant webVitalFID (line 8) | webVitalFID = "FID"
constant webVitalTTFB (line 9) | webVitalTTFB = "TTFB"
constant webVitalLCP (line 10) | webVitalLCP = "LCP"
constant webVitalCLS (line 11) | webVitalCLS = "CLS"
constant webVitalINP (line 12) | webVitalINP = "INP"
constant webVitalFCP (line 13) | webVitalFCP = "FCP"
constant fidName (line 15) | fidName = "browser_web_vital_fid"
constant ttfbName (line 16) | ttfbName = "browser_web_vital_ttfb"
constant lcpName (line 17) | lcpName = "browser_web_vital_lcp"
constant clsName (line 18) | clsName = "browser_web_vital_cls"
constant inpName (line 19) | inpName = "browser_web_vital_inp"
constant fcpName (line 20) | fcpName = "browser_web_vital_fcp"
constant browserDataSentName (line 22) | browserDataSentName = "browser_data_sent"
constant browserDataReceivedName (line 23) | browserDataReceivedName = "browser_data_received"
constant browserHTTPReqDurationName (line 24) | browserHTTPReqDurationName = "browser_http_req_duration"
constant browserHTTPReqFailedName (line 25) | browserHTTPReqFailedName = "browser_http_req_failed"
type CustomMetrics (line 29) | type CustomMetrics struct
function RegisterCustomMetrics (line 40) | func RegisterCustomMetrics(registry *k6metrics.Registry) *CustomMetrics {
FILE: internal/js/modules/k6/browser/k6ext/panic.go
function Abortf (line 21) | func Abortf(ctx context.Context, format string, a ...any) {
function Panicf (line 33) | func Panicf(ctx context.Context, format string, a ...any) {
function sharedPanic (line 40) | func sharedPanic(ctx context.Context, failFunc func(rt *sobek.Runtime, a...
type UserFriendlyError (line 80) | type UserFriendlyError struct
method Unwrap (line 85) | func (e *UserFriendlyError) Unwrap() error { return e.Err }
method Error (line 87) | func (e *UserFriendlyError) Error() string {
FILE: internal/js/modules/k6/browser/keyboardlayout/layout.go
type KeyInput (line 9) | type KeyInput
type KeyDefinition (line 11) | type KeyDefinition struct
type KeyboardLayout (line 22) | type KeyboardLayout struct
method KeyDefinition (line 29) | func (kl KeyboardLayout) KeyDefinition(key KeyInput) (KeyDefinition, b...
method ShiftKeyDefinition (line 40) | func (kl KeyboardLayout) ShiftKeyDefinition(key KeyInput) KeyDefinition {
function GetKeyboardLayout (line 56) | func GetKeyboardLayout(name string) KeyboardLayout {
function init (line 62) | func init() {
function register (line 68) | func register(lang string, validKeys map[KeyInput]bool, keys map[KeyInpu...
FILE: internal/js/modules/k6/browser/keyboardlayout/us.go
function initUS (line 4) | func initUS() {
FILE: internal/js/modules/k6/browser/log/logger.go
type Logger (line 15) | type Logger struct
method Tracef (line 50) | func (l *Logger) Tracef(category string, msg string, args ...any) {
method Debugf (line 55) | func (l *Logger) Debugf(category string, msg string, args ...any) {
method Errorf (line 60) | func (l *Logger) Errorf(category string, msg string, args ...any) {
method Infof (line 65) | func (l *Logger) Infof(category string, msg string, args ...any) {
method Warnf (line 70) | func (l *Logger) Warnf(category string, msg string, args ...any) {
method Logf (line 75) | func (l *Logger) Logf(level logrus.Level, category string, msg string,...
method SetLevel (line 124) | func (l *Logger) SetLevel(level string) error {
method DebugMode (line 134) | func (l *Logger) DebugMode() bool {
method ReportCaller (line 139) | func (l *Logger) ReportCaller() {
method SetCategoryFilter (line 155) | func (l *Logger) SetCategoryFilter(filter string) (err error) {
function NewNullLogger (line 25) | func NewNullLogger() *Logger {
function New (line 32) | func New(logger logrus.FieldLogger, iterID string) *Logger {
FILE: internal/js/modules/k6/browser/storage/file_persister.go
type LocalFilePersister (line 20) | type LocalFilePersister struct
method Persist (line 24) | func (l *LocalFilePersister) Persist(_ context.Context, path string, d...
type RemoteFilePersister (line 59) | type RemoteFilePersister struct
method Persist (line 95) | func (r *RemoteFilePersister) Persist(ctx context.Context, path string...
method requestPresignedURL (line 125) | func (r *RemoteFilePersister) requestPresignedURL(ctx context.Context,...
type PresignedURLResponse (line 68) | type PresignedURLResponse struct
function NewRemoteFilePersister (line 79) | func NewRemoteFilePersister(
function buildPresignedRequestBody (line 158) | func buildPresignedRequestBody(basePath, path string) ([]byte, error) {
function readPresignedURLResponse (line 185) | func readPresignedURLResponse(resp *http.Response) (PresignedURLResponse...
function newFileUploadRequest (line 203) | func newFileUploadRequest(
function checkStatusCode (line 246) | func checkStatusCode(resp *http.Response) error {
FILE: internal/js/modules/k6/browser/storage/file_persister_test.go
function TestLocalFilePersister (line 19) | func TestLocalFilePersister(t *testing.T) {
function TestRemoteFilePersister (line 83) | func TestRemoteFilePersister(t *testing.T) {
FILE: internal/js/modules/k6/browser/storage/storage.go
constant K6BrowserDataDirPattern (line 17) | K6BrowserDataDirPattern = "k6browser-data-*"
type Dir (line 21) | type Dir struct
method Make (line 34) | func (d *Dir) Make(tmpDir string, dir any) error {
method Cleanup (line 70) | func (d *Dir) Cleanup() error {
FILE: internal/js/modules/k6/browser/storage/storage_test.go
function TestDirMake (line 13) | func TestDirMake(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/browser_context_options_test.go
function TestBrowserContextOptionsDefaultValues (line 15) | func TestBrowserContextOptionsDefaultValues(t *testing.T) {
function TestBrowserContextOptionsDefaultViewport (line 41) | func TestBrowserContextOptionsDefaultViewport(t *testing.T) {
function TestBrowserContextOptionsSetViewport (line 51) | func TestBrowserContextOptionsSetViewport(t *testing.T) {
function TestBrowserContextOptionsExtraHTTPHeaders (line 75) | func TestBrowserContextOptionsExtraHTTPHeaders(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/browser_context_test.go
function TestBrowserContextAddCookies (line 18) | func TestBrowserContextAddCookies(t *testing.T) {
function TestBrowserContextCookies (line 222) | func TestBrowserContextCookies(t *testing.T) {
function TestBrowserContextClearCookies (line 601) | func TestBrowserContextClearCookies(t *testing.T) {
function TestK6Object (line 627) | func TestK6Object(t *testing.T) {
function TestNewTab (line 682) | func TestNewTab(t *testing.T) {
function TestBrowserContextTimeout (line 701) | func TestBrowserContextTimeout(t *testing.T) {
function TestBrowserContextWaitForEvent (line 763) | func TestBrowserContextWaitForEvent(t *testing.T) {
function TestBrowserContextGrantPermissions (line 866) | func TestBrowserContextGrantPermissions(t *testing.T) {
function TestBrowserContextClearPermissions (line 914) | func TestBrowserContextClearPermissions(t *testing.T) {
function TestBrowserContextMappingBehavior (line 971) | func TestBrowserContextMappingBehavior(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/browser_test.go
function TestBrowserNewPage (line 26) | func TestBrowserNewPage(t *testing.T) {
function TestBrowserNewContext (line 54) | func TestBrowserNewContext(t *testing.T) {
function TestTmpDirCleanup (line 76) | func TestTmpDirCleanup(t *testing.T) {
function TestTmpDirCleanupOnContextClose (line 111) | func TestTmpDirCleanupOnContextClose(t *testing.T) {
function TestBrowserOn (line 136) | func TestBrowserOn(t *testing.T) {
function TestBrowserVersion (line 191) | func TestBrowserVersion(t *testing.T) {
function TestBrowserUserAgent (line 204) | func TestBrowserUserAgent(t *testing.T) {
function TestBrowserCrashErr (line 217) | func TestBrowserCrashErr(t *testing.T) {
function TestBrowserLogIterationID (line 242) | func TestBrowserLogIterationID(t *testing.T) {
function TestMultiBrowserPanic (line 272) | func TestMultiBrowserPanic(t *testing.T) {
function TestBrowserMultiClose (line 312) | func TestBrowserMultiClose(t *testing.T) {
function TestMultiConnectToSingleBrowser (line 322) | func TestMultiConnectToSingleBrowser(t *testing.T) {
function TestCloseContext (line 354) | func TestCloseContext(t *testing.T) {
function TestIsolateBrowserContexts (line 381) | func TestIsolateBrowserContexts(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/browser_type_test.go
function TestBrowserTypeConnect (line 15) | func TestBrowserTypeConnect(t *testing.T) {
function TestBrowserTypeLaunchToConnect (line 32) | func TestBrowserTypeLaunchToConnect(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/element_handle_test.go
function TestElementHandleBoundingBoxInvisibleElement (line 60) | func TestElementHandleBoundingBoxInvisibleElement(t *testing.T) {
function TestElementHandleBoundingBoxInvisibleElementWithMapper (line 77) | func TestElementHandleBoundingBoxInvisibleElementWithMapper(t *testing.T) {
function TestElementHandleBoundingBoxSVG (line 97) | func TestElementHandleBoundingBoxSVG(t *testing.T) {
function TestElementHandleClick (line 126) | func TestElementHandleClick(t *testing.T) {
function TestElementHandleClickWithNodeRemoved (line 150) | func TestElementHandleClickWithNodeRemoved(t *testing.T) {
function TestElementHandleClickWithDetachedNode (line 178) | func TestElementHandleClickWithDetachedNode(t *testing.T) {
function TestElementHandleClickConcealedLink (line 205) | func TestElementHandleClickConcealedLink(t *testing.T) {
function TestElementHandleNonClickable (line 255) | func TestElementHandleNonClickable(t *testing.T) {
function TestElementHandleGetAttribute (line 279) | func TestElementHandleGetAttribute(t *testing.T) {
function TestElementHandleGetAttributeMissing (line 295) | func TestElementHandleGetAttributeMissing(t *testing.T) {
function TestElementHandleGetAttributeEmpty (line 311) | func TestElementHandleGetAttributeEmpty(t *testing.T) {
function TestElementHandleInputValue (line 327) | func TestElementHandleInputValue(t *testing.T) {
function TestElementHandleIsChecked (line 364) | func TestElementHandleIsChecked(t *testing.T) {
function TestElementHandleQueryAll (line 390) | func TestElementHandleQueryAll(t *testing.T) {
type mockPersister (line 445) | type mockPersister struct
method Persist (line 447) | func (m *mockPersister) Persist(_ context.Context, _ string, _ io.Read...
function TestElementHandleScreenshot (line 451) | func TestElementHandleScreenshot(t *testing.T) {
function TestElementHandleWaitForSelector (line 506) | func TestElementHandleWaitForSelector(t *testing.T) {
function TestElementHandlePress (line 537) | func TestElementHandlePress(t *testing.T) {
function TestElementHandleQuery (line 559) | func TestElementHandleQuery(t *testing.T) {
function TestElementHandleTextContent (line 572) | func TestElementHandleTextContent(t *testing.T) {
function TestElementHandleTextContentMissing (line 588) | func TestElementHandleTextContentMissing(t *testing.T) {
function TestElementHandleTextContentEmpty (line 602) | func TestElementHandleTextContentEmpty(t *testing.T) {
function TestElementHandleSetChecked (line 618) | func TestElementHandleSetChecked(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/frame_manager_test.go
function TestWaitForFrameNavigationWithinDocument (line 21) | func TestWaitForFrameNavigationWithinDocument(t *testing.T) {
function TestWaitForFrameNavigation (line 64) | func TestWaitForFrameNavigation(t *testing.T) {
function TestFrameManagerRequestStartedWithRoutes (line 124) | func TestFrameManagerRequestStartedWithRoutes(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/frame_test.go
function TestFramePress (line 21) | func TestFramePress(t *testing.T) {
function TestFrameDismissDialogBox (line 43) | func TestFrameDismissDialogBox(t *testing.T) {
function TestFrameNoPanicWithEmbeddedIFrame (line 80) | func TestFrameNoPanicWithEmbeddedIFrame(t *testing.T) {
function TestFrameNoPanicNavigateAndClickOnPageWithIFrames (line 115) | func TestFrameNoPanicNavigateAndClickOnPageWithIFrames(t *testing.T) {
function TestFrameTitle (line 167) | func TestFrameTitle(t *testing.T) {
function TestFrameGetAttribute (line 182) | func TestFrameGetAttribute(t *testing.T) {
function TestFrameGetAttributeMissing (line 195) | func TestFrameGetAttributeMissing(t *testing.T) {
function TestFrameGetAttributeEmpty (line 208) | func TestFrameGetAttributeEmpty(t *testing.T) {
function TestFrameSetChecked (line 221) | func TestFrameSetChecked(t *testing.T) {
function TestFrameWaitForURLSuccess (line 248) | func TestFrameWaitForURLSuccess(t *testing.T) {
function TestFrameWaitForURLFailure (line 342) | func TestFrameWaitForURLFailure(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/get_by_test.go
constant frameLocatorImpl (line 15) | frameLocatorImpl = "frameLocator"
constant locatorImpl (line 16) | locatorImpl = "locator"
constant frameImpl (line 17) | frameImpl = "frame"
constant pageImpl (line 18) | pageImpl = "page"
constant iframeID (line 19) | iframeID = "frameB"
function TestGetByRoleSuccess (line 22) | func TestGetByRoleSuccess(t *testing.T) {
function TestGetByRoleFailure (line 808) | func TestGetByRoleFailure(t *testing.T) {
function TestGetByAltTextSuccess (line 860) | func TestGetByAltTextSuccess(t *testing.T) {
function TestGetByLabelSuccess (line 938) | func TestGetByLabelSuccess(t *testing.T) {
function TestGetByPlaceholderSuccess (line 1023) | func TestGetByPlaceholderSuccess(t *testing.T) {
function TestGetByTitleSuccess (line 1119) | func TestGetByTitleSuccess(t *testing.T) {
function TestGetByTestIDSuccess (line 1215) | func TestGetByTestIDSuccess(t *testing.T) {
function TestGetByTextSuccess (line 1310) | func TestGetByTextSuccess(t *testing.T) {
function TestGetByNullHandling (line 1428) | func TestGetByNullHandling(t *testing.T) {
function getByImplementationsOf (line 1483) | func getByImplementationsOf[T any](p *common.Page) map[string]T {
FILE: internal/js/modules/k6/browser/tests/goroutine_leak_test.go
function TestGoroutineLeakOnRepeatedClicks (line 17) | func TestGoroutineLeakOnRepeatedClicks(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/js_handle_get_properties_test.go
function TestJSHandleGetProperties (line 11) | func TestJSHandleGetProperties(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/js_handle_test.go
function TestJSHandleEvaluate (line 10) | func TestJSHandleEvaluate(t *testing.T) {
function TestJSHandleEvaluateHandle (line 56) | func TestJSHandleEvaluateHandle(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/keyboard_test.go
function TestKeyboardPress (line 20) | func TestKeyboardPress(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/launch_options_slowmo_test.go
function TestBrowserOptionsSlowMo (line 13) | func TestBrowserOptionsSlowMo(t *testing.T) {
function testSlowMoImpl (line 305) | func testSlowMoImpl(t *testing.T, tb *testBrowser, fn func(*testBrowser)) {
function testPageSlowMoImpl (line 328) | func testPageSlowMoImpl(t *testing.T, tb *testBrowser, fn func(*testBrow...
function testFrameSlowMoImpl (line 347) | func testFrameSlowMoImpl(t *testing.T, tb *testBrowser, fn func(bt *test...
FILE: internal/js/modules/k6/browser/tests/lifecycle_wait_test.go
function TestLifecycleWaitForNavigation (line 53) | func TestLifecycleWaitForNavigation(t *testing.T) {
function TestLifecycleWaitForLoadState (line 209) | func TestLifecycleWaitForLoadState(t *testing.T) {
function TestLifecycleReload (line 332) | func TestLifecycleReload(t *testing.T) {
function TestLifecycleGotoWithSubFrame (line 440) | func TestLifecycleGotoWithSubFrame(t *testing.T) {
function TestLifecycleGoto (line 530) | func TestLifecycleGoto(t *testing.T) {
function TestLifecycleGotoNetworkIdle (line 606) | func TestLifecycleGotoNetworkIdle(t *testing.T) {
function withHomeHandler (line 689) | func withHomeHandler(t *testing.T, tb *testBrowser, htmlFile string) {
function withSubHandler (line 697) | func withSubHandler(t *testing.T, tb *testBrowser, htmlFile string) {
function withPingHandler (line 705) | func withPingHandler(t *testing.T, tb *testBrowser, slow time.Duration, ...
function withPingJSHandler (line 726) | func withPingJSHandler(t *testing.T, tb *testBrowser, slow bool, ch chan...
function assertHome (line 756) | func assertHome(
FILE: internal/js/modules/k6/browser/tests/locator_test.go
function TestLocator (line 26) | func TestLocator(t *testing.T) {
function TestLocatorElementState (line 586) | func TestLocatorElementState(t *testing.T) {
function TestLocatorPress (line 725) | func TestLocatorPress(t *testing.T) {
function TestLocatorShadowDOM (line 746) | func TestLocatorShadowDOM(t *testing.T) {
function TestSelectOption (line 764) | func TestSelectOption(t *testing.T) {
function TestCount (line 834) | func TestCount(t *testing.T) {
function TestReactInput (line 931) | func TestReactInput(t *testing.T) {
function TestLocatorNesting (line 968) | func TestLocatorNesting(t *testing.T) {
function TestActionabilityRetry (line 1011) | func TestActionabilityRetry(t *testing.T) {
function TestLocatorFilter (line 1037) | func TestLocatorFilter(t *testing.T) {
function TestFrameLocatorLocatorOptions (line 1173) | func TestFrameLocatorLocatorOptions(t *testing.T) {
function TestLocatorLocatorOptions (line 1223) | func TestLocatorLocatorOptions(t *testing.T) {
function TestVisibilityWithCORS (line 1347) | func TestVisibilityWithCORS(t *testing.T) {
function TestLocatorEvaluate (line 1406) | func TestLocatorEvaluate(t *testing.T) {
function TestLocatorEvaluateHandle (line 1451) | func TestLocatorEvaluateHandle(t *testing.T) {
function TestFrameLocator (line 1501) | func TestFrameLocator(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/logrus_hook.go
type logCache (line 14) | type logCache struct
method Levels (line 22) | func (lc *logCache) Levels() []logrus.Level {
method Fire (line 27) | func (lc *logCache) Fire(e *logrus.Entry) error {
method assertContains (line 37) | func (lc *logCache) assertContains(tb testing.TB, msg string) {
method dump (line 48) | func (lc *logCache) dump(tb testing.TB) {
method contains (line 62) | func (lc *logCache) contains(msg string) bool {
function attachLogCache (line 75) | func attachLogCache(tb testing.TB, fl logrus.FieldLogger) *logCache {
FILE: internal/js/modules/k6/browser/tests/mouse_test.go
function TestMouseActions (line 11) | func TestMouseActions(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/network_manager_test.go
function TestURLSkipRequest (line 23) | func TestURLSkipRequest(t *testing.T) {
function TestBlockHostnames (line 58) | func TestBlockHostnames(t *testing.T) {
function TestBlockIPs (line 89) | func TestBlockIPs(t *testing.T) {
function TestBasicAuth (line 120) | func TestBasicAuth(t *testing.T) {
function TestInterceptBeforePageLoad (line 174) | func TestInterceptBeforePageLoad(t *testing.T) {
function TestNetworkManagerCloseMetricEmissionRace (line 252) | func TestNetworkManagerCloseMetricEmissionRace(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/page_test.go
type jsFrameBaseOpts (line 33) | type jsFrameBaseOpts struct
constant sampleHTML (line 38) | sampleHTML = `
`
function TestNestedFrames (line 40) | func TestNestedFrames(t *testing.T) {
function TestPageEmulateMedia (line 89) | func TestPageEmulateMedia(t *testing.T) {
function TestPageContent (line 116) | func TestPageContent(t *testing.T) {
function TestPageEvaluate (line 131) | func TestPageEvaluate(t *testing.T) {
function TestPageEvaluateMapping (line 190) | func TestPageEvaluateMapping(t *testing.T) {
function TestPageEvaluateMappingError (line 254) | func TestPageEvaluateMappingError(t *testing.T) { //nolint:tparallel
function TestPageGoto (line 302) | func TestPageGoto(t *testing.T) {
function TestPageGotoDataURI (line 321) | func TestPageGotoDataURI(t *testing.T) {
function TestPageGotoWaitUntilLoad (line 339) | func TestPageGotoWaitUntilLoad(t *testing.T) {
function TestPageGotoWaitUntilDOMContentLoaded (line 362) | func TestPageGotoWaitUntilDOMContentLoaded(t *testing.T) {
function TestPageInnerHTML (line 390) | func TestPageInnerHTML(t *testing.T) {
function TestPageInnerText (line 430) | func TestPageInnerText(t *testing.T) {
function TestPageTextContent (line 468) | func TestPageTextContent(t *testing.T) {
function TestPageInputValue (line 515) | func TestPageInputValue(t *testing.T) {
function TestPageInputSpecialCharacters (line 544) | func TestPageInputSpecialCharacters(t *testing.T) {
function TestPageFill (line 572) | func TestPageFill(t *testing.T) {
function TestPageIsChecked (line 613) | func TestPageIsChecked(t *testing.T) {
function TestPageSetChecked (line 635) | func TestPageSetChecked(t *testing.T) {
function TestPageScreenshotFullpage (line 662) | func TestPageScreenshotFullpage(t *testing.T) {
function TestPageTitle (line 709) | func TestPageTitle(t *testing.T) {
function TestPageSetExtraHTTPHeaders (line 720) | func TestPageSetExtraHTTPHeaders(t *testing.T) {
function TestPageWaitForFunction (line 755) | func TestPageWaitForFunction(t *testing.T) {
function TestPageWaitForLoadState (line 922) | func TestPageWaitForLoadState(t *testing.T) {
function TestPageWaitForNavigationErrOnCtxDone (line 936) | func TestPageWaitForNavigationErrOnCtxDone(t *testing.T) {
function TestPagePress (line 948) | func TestPagePress(t *testing.T) {
function TestPageURL (line 968) | func TestPageURL(t *testing.T) {
function TestPageClose (line 992) | func TestPageClose(t *testing.T) {
function TestPageOn (line 1021) | func TestPageOn(t *testing.T) {
function TestPageOnConsole (line 1096) | func TestPageOnConsole(t *testing.T) {
function TestPageTimeout (line 1388) | func TestPageTimeout(t *testing.T) {
function TestPageWaitForSelector (line 1448) | func TestPageWaitForSelector(t *testing.T) {
function TestPageThrottleNetwork (line 1512) | func TestPageThrottleNetwork(t *testing.T) {
function TestPageThrottleCPU (line 1622) | func TestPageThrottleCPU(t *testing.T) {
function performPingTest (line 1657) | func performPingTest(t *testing.T, tb *testBrowser, page *common.Page, i...
function TestPageIsVisible (line 1686) | func TestPageIsVisible(t *testing.T) {
function TestPageIsHidden (line 1758) | func TestPageIsHidden(t *testing.T) {
function TestShadowDOMAndDocumentFragment (line 1830) | func TestShadowDOMAndDocumentFragment(t *testing.T) {
function TestPageTargetBlank (line 1888) | func TestPageTargetBlank(t *testing.T) {
function TestPageGetAttribute (line 1944) | func TestPageGetAttribute(t *testing.T) {
function TestPageGetAttributeMissing (line 1957) | func TestPageGetAttributeMissing(t *testing.T) {
function TestPageGetAttributeEmpty (line 1970) | func TestPageGetAttributeEmpty(t *testing.T) {
function TestPageOnMetric (line 1983) | func TestPageOnMetric(t *testing.T) {
function TestPageOnRequest (line 2260) | func TestPageOnRequest(t *testing.T) {
type request (line 2490) | type request struct
type response (line 2505) | type response struct
function TestPageOnResponse (line 2525) | func TestPageOnResponse(t *testing.T) {
function TestPageOnRequestFinished (line 2805) | func TestPageOnRequestFinished(t *testing.T) {
function TestPageOnRequestFinishedRedirect (line 2915) | func TestPageOnRequestFinishedRedirect(t *testing.T) {
function TestPageOnResponseRedirect (line 2991) | func TestPageOnResponseRedirect(t *testing.T) {
function TestPageOnRequestFailed (line 3070) | func TestPageOnRequestFailed(t *testing.T) {
function TestPageMustUseNativeJavaScriptObjects (line 3194) | func TestPageMustUseNativeJavaScriptObjects(t *testing.T) {
function TestWaitForNavigationWithURL (line 3246) | func TestWaitForNavigationWithURL(t *testing.T) {
function TestPageWaitForURLSuccess (line 3330) | func TestPageWaitForURLSuccess(t *testing.T) {
function TestPageWaitForURLFailure (line 3423) | func TestPageWaitForURLFailure(t *testing.T) {
function TestPageWaitForResponse (line 3477) | func TestPageWaitForResponse(t *testing.T) {
function TestPageWaitForRequest (line 3573) | func TestPageWaitForRequest(t *testing.T) {
function TestClickInNestedFramesCORS (line 3685) | func TestClickInNestedFramesCORS(t *testing.T) {
function TestPageUnroute (line 4004) | func TestPageUnroute(t *testing.T) {
function TestPageUnrouteAll (line 4198) | func TestPageUnrouteAll(t *testing.T) {
function TestPageWaitForEvent (line 4281) | func TestPageWaitForEvent(t *testing.T) {
function TestPageGoBackForward (line 4404) | func TestPageGoBackForward(t *testing.T) {
function TestPageCloseMetricEmissionRaceCondition (line 4514) | func TestPageCloseMetricEmissionRaceCondition(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/remote_obj_test.go
function TestConsoleLogParse (line 14) | func TestConsoleLogParse(t *testing.T) {
function TestEvalRemoteObjectParse (line 111) | func TestEvalRemoteObjectParse(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/setinputfiles_test.go
function TestSetInputFiles (line 13) | func TestSetInputFiles(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/static/mouse_helper.js
function updateButtons (line 58) | function updateButtons(buttons) {
FILE: internal/js/modules/k6/browser/tests/static/react-dom.development.js
function setSuppressWarning (line 19) | function setSuppressWarning(newSuppressWarning) {
function warn (line 29) | function warn(format) {
function error (line 40) | function error(format) {
function printWarning (line 52) | function printWarning(level, format, args) {
function registerTwoPhaseEvent (line 160) | function registerTwoPhaseEvent(registrationName, dependencies) {
function registerDirectEvent (line 164) | function registerDirectEvent(registrationName, dependencies) {
function typeName (line 201) | function typeName(value) {
function willCoercionThrow (line 211) | function willCoercionThrow(value) {
function testStringCoercion (line 222) | function testStringCoercion(value) {
function checkAttributeStringCoercion (line 249) | function checkAttributeStringCoercion(value, attributeName) {
function checkKeyStringCoercion (line 258) | function checkKeyStringCoercion(value) {
function checkPropStringCoercion (line 267) | function checkPropStringCoercion(value, propName) {
function checkCSSPropertyStringCoercion (line 276) | function checkCSSPropertyStringCoercion(value, propName) {
function checkHtmlStringCoercion (line 285) | function checkHtmlStringCoercion(value) {
function checkFormFieldValueStringCoercion (line 294) | function checkFormFieldValueStringCoercion(value) {
function isAttributeNameSafe (line 339) | function isAttributeNameSafe(attributeName) {
function shouldIgnoreAttribute (line 361) | function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) {
function shouldRemoveAttributeWithWarning (line 376) | function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isC...
function shouldRemoveAttribute (line 406) | function shouldRemoveAttribute(name, value, propertyInfo, isCustomCompon...
function getPropertyInfo (line 439) | function getPropertyInfo(name) {
function PropertyInfoRecord (line 443) | function PropertyInfoRecord(name, type, mustUseProperty, attributeName, ...
function sanitizeURL (line 637) | function sanitizeURL(url) {
function getValueForProperty (line 652) | function getValueForProperty(node, name, expected, propertyInfo) {
function getValueForAttribute (line 731) | function getValueForAttribute(node, name, expected, isCustomComponentTag) {
function setValueForProperty (line 762) | function setValueForProperty(node, name, value, isCustomComponentTag) {
function getIteratorFn (line 871) | function getIteratorFn(maybeIterable) {
function disabledLog (line 900) | function disabledLog() {}
function disableLogs (line 903) | function disableLogs() {
function reenableLogs (line 937) | function reenableLogs() {
function describeBuiltInComponentFrame (line 983) | function describeBuiltInComponentFrame(name, source, ownerFn) {
function describeNativeComponentFrame (line 1007) | function describeNativeComponentFrame(fn, construct) {
function describeClassComponentFrame (line 1167) | function describeClassComponentFrame(ctor, source, ownerFn) {
function describeFunctionComponentFrame (line 1172) | function describeFunctionComponentFrame(fn, source, ownerFn) {
function shouldConstruct (line 1178) | function shouldConstruct(Component) {
function describeUnknownElementTypeFrameInDEV (line 1183) | function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
function describeFiber (line 1233) | function describeFiber(fiber) {
function getStackByFiberInDevAndProd (line 1266) | function getStackByFiberInDevAndProd(workInProgress) {
function getWrappedName (line 1282) | function getWrappedName(outerType, innerType, wrapperName) {
function getContextName (line 1294) | function getContextName(type) {
function getComponentNameFromType (line 1299) | function getComponentNameFromType(type) {
function getWrappedName$1 (line 1382) | function getWrappedName$1(outerType, innerType, wrapperName) {
function getContextName$1 (line 1388) | function getContextName$1(type) {
function getComponentNameFromFiber (line 1392) | function getComponentNameFromFiber(fiber) {
function getCurrentFiberOwnerNameInDevOrNull (line 1485) | function getCurrentFiberOwnerNameInDevOrNull() {
function getCurrentFiberStackInDev (line 1501) | function getCurrentFiberStackInDev() {
function resetCurrentFiber (line 1513) | function resetCurrentFiber() {
function setCurrentFiber (line 1520) | function setCurrentFiber(fiber) {
function getCurrentFiber (line 1527) | function getCurrentFiber() {
function setIsRendering (line 1532) | function setIsRendering(rendering) {
function toString (line 1541) | function toString(value) {
function getToStringValue (line 1546) | function getToStringValue(value) {
function checkControlledValueProps (line 1576) | function checkControlledValueProps(tagName, props) {
function isCheckable (line 1588) | function isCheckable(elem) {
function getTracker (line 1594) | function getTracker(node) {
function detachTracker (line 1598) | function detachTracker(node) {
function getValueFromNode (line 1602) | function getValueFromNode(node) {
function trackValueOnNode (line 1618) | function trackValueOnNode(node) {
function track (line 1677) | function track(node) {
function updateValueIfChanged (line 1685) | function updateValueIfChanged(node) {
function getActiveElement (line 1708) | function getActiveElement(doc) {
function isControlled (line 1727) | function isControlled(props) {
function getHostProps (line 1749) | function getHostProps(element, props) {
function initWrapperState (line 1760) | function initWrapperState(element, props) {
function updateChecked (line 1785) | function updateChecked(element, props) {
function updateWrapper (line 1793) | function updateWrapper(element, props) {
function postMountWrapper (line 1854) | function postMountWrapper(element, props, isHydrating) {
function restoreControlledState (line 1918) | function restoreControlledState(element, props) {
function updateNamedCousins (line 1924) | function updateNamedCousins(rootNode, props) {
function setDefaultValue (line 1983) | function setDefaultValue(node, type, value) {
function validateProps (line 2001) | function validateProps(element, props) {
function postMountWrapper$1 (line 2038) | function postMountWrapper$1(element, props) {
function isArray (line 2047) | function isArray(a) {
function getDeclarationErrorAddendum (line 2057) | function getDeclarationErrorAddendum() {
function checkSelectPropTypes (line 2072) | function checkSelectPropTypes(props) {
function updateOptions (line 2094) | function updateOptions(node, multiple, propValue, setDefaultSelected) {
function getHostProps$1 (line 2162) | function getHostProps$1(element, props) {
function initWrapperState$1 (line 2167) | function initWrapperState$1(element, props) {
function postMountWrapper$2 (line 2186) | function postMountWrapper$2(element, props) {
function postUpdateWrapper (line 2197) | function postUpdateWrapper(element, props) {
function restoreControlledState$1 (line 2215) | function restoreControlledState$1(element, props) {
function getHostProps$2 (line 2241) | function getHostProps$2(element, props) {
function initWrapperState$2 (line 2262) | function initWrapperState$2(element, props) {
function updateWrapper$1 (line 2314) | function updateWrapper$1(element, props) {
function postMountWrapper$3 (line 2337) | function postMountWrapper$3(element, props) {
function restoreControlledState$2 (line 2352) | function restoreControlledState$2(element, props) {
function getIntrinsicNamespace (line 2361) | function getIntrinsicNamespace(type) {
function getChildNamespace (line 2373) | function getChildNamespace(parentNamespace, type) {
function prefixKey (line 2580) | function prefixKey(prefix, key) {
function dangerousStyleValue (line 2608) | function dangerousStyleValue(name, value, isCustomProperty) {
function hyphenateStyleName (line 2651) | function hyphenateStyleName(name) {
function createDangerousStringForStyles (line 2760) | function createDangerousStringForStyles(styles) {
function setValueForStyles (line 2791) | function setValueForStyles(node, styles) {
function isValueEmpty (line 2821) | function isValueEmpty(value) {
function expandShorthandMap (line 2834) | function expandShorthandMap(styles) {
function validateShorthandPropertyCollisionInDev (line 2863) | function validateShorthandPropertyCollisionInDev(styleUpdates, nextStyle...
function assertValidProps (line 2921) | function assertValidProps(tag, props) {
function isCustomComponent (line 2954) | function isCustomComponent(tagName, props) {
function validateProperty (line 3536) | function validateProperty(tagName, name) {
function warnInvalidARIAProps (line 3586) | function warnInvalidARIAProps(type, props) {
function validateProperties (line 3610) | function validateProperties(type, props) {
function validateProperties$1 (line 3619) | function validateProperties$1(type, props) {
function validateProperties$2 (line 3809) | function validateProperties$2(type, props, eventRegistry) {
function setReplayingEvent (line 3830) | function setReplayingEvent(event) {
function resetReplayingEvent (line 3839) | function resetReplayingEvent() {
function isReplayingEvent (line 3848) | function isReplayingEvent(event) {
function getEventTarget (line 3860) | function getEventTarget(nativeEvent) {
function restoreStateOfTarget (line 3878) | function restoreStateOfTarget(target) {
function setRestoreImplementation (line 3901) | function setRestoreImplementation(impl) {
function enqueueStateRestore (line 3904) | function enqueueStateRestore(target) {
function needsStateRestore (line 3915) | function needsStateRestore() {
function restoreStateIfNeeded (line 3918) | function restoreStateIfNeeded() {
function finishEventHandler (line 3950) | function finishEventHandler() {
function batchedUpdates (line 3968) | function batchedUpdates(fn, a, b) {
function setBatchingImplementation (line 3984) | function setBatchingImplementation(_batchedUpdatesImpl, _discreteUpdates...
function isInteractive (line 3989) | function isInteractive(tag) {
function shouldPreventMouseEvent (line 3993) | function shouldPreventMouseEvent(name, type, props) {
function getListener (line 4019) | function getListener(inst, registrationName) {
function invokeGuardedCallbackProd (line 4066) | function invokeGuardedCallbackProd(name, func, context, a, b, c, d, e, f) {
function restoreAfterDispatch (line 4128) | function restoreAfterDispatch() {
function callCallback (line 4148) | function callCallback() {
function handleWindowError (line 4171) | function handleWindowError(event) {
function invokeGuardedCallback (line 4261) | function invokeGuardedCallback(name, func, context, a, b, c, d, e, f) {
function invokeGuardedCallbackAndCatchFirstError (line 4277) | function invokeGuardedCallbackAndCatchFirstError(name, func, context, a,...
function rethrowCaughtError (line 4294) | function rethrowCaughtError() {
function hasCaughtError (line 4302) | function hasCaughtError() {
function clearCaughtError (line 4305) | function clearCaughtError() {
function get (line 4348) | function get(key) {
function has (line 4351) | function has(key) {
function set (line 4354) | function set(key, value) {
function getNearestMountedFiber (line 4461) | function getNearestMountedFiber(fiber) {
function getSuspenseInstanceFromFiber (line 4498) | function getSuspenseInstanceFromFiber(fiber) {
function getContainerFromFiber (line 4517) | function getContainerFromFiber(fiber) {
function isFiberMounted (line 4520) | function isFiberMounted(fiber) {
function isMounted (line 4523) | function isMounted(component) {
function assertIsMounted (line 4548) | function assertIsMounted(fiber) {
function findCurrentFiberUsingSlowPath (line 4554) | function findCurrentFiberUsingSlowPath(fiber) {
function findCurrentHostFiber (line 4712) | function findCurrentHostFiber(parent) {
function findCurrentHostFiberImpl (line 4717) | function findCurrentHostFiberImpl(node) {
function findCurrentHostFiberWithNoPortals (line 4738) | function findCurrentHostFiberWithNoPortals(parent) {
function findCurrentHostFiberWithNoPortalsImpl (line 4743) | function findCurrentHostFiberWithNoPortalsImpl(node) {
function injectInternals (line 4788) | function injectInternals(internals) {
function onScheduleRoot (line 4841) | function onScheduleRoot(root, children) {
function onCommitRoot (line 4856) | function onCommitRoot(root, eventPriority) {
function onPostCommitRoot (line 4901) | function onPostCommitRoot(root) {
function onCommitUnmount (line 4916) | function onCommitUnmount(fiber) {
function setIsStrictModeForDevtools (line 4931) | function setIsStrictModeForDevtools(newIsStrictMode) {
function injectProfilingHooks (line 4957) | function injectProfilingHooks(profilingHooks) {
function getLaneLabelMap (line 4961) | function getLaneLabelMap() {
function markCommitStarted (line 4976) | function markCommitStarted(lanes) {
function markCommitStopped (line 4983) | function markCommitStopped() {
function markComponentRenderStarted (line 4990) | function markComponentRenderStarted(fiber) {
function markComponentRenderStopped (line 4997) | function markComponentRenderStopped() {
function markComponentPassiveEffectMountStarted (line 5004) | function markComponentPassiveEffectMountStarted(fiber) {
function markComponentPassiveEffectMountStopped (line 5011) | function markComponentPassiveEffectMountStopped() {
function markComponentPassiveEffectUnmountStarted (line 5018) | function markComponentPassiveEffectUnmountStarted(fiber) {
function markComponentPassiveEffectUnmountStopped (line 5025) | function markComponentPassiveEffectUnmountStopped() {
function markComponentLayoutEffectMountStarted (line 5032) | function markComponentLayoutEffectMountStarted(fiber) {
function markComponentLayoutEffectMountStopped (line 5039) | function markComponentLayoutEffectMountStopped() {
function markComponentLayoutEffectUnmountStarted (line 5046) | function markComponentLayoutEffectUnmountStarted(fiber) {
function markComponentLayoutEffectUnmountStopped (line 5053) | function markComponentLayoutEffectUnmountStopped() {
function markComponentErrored (line 5060) | function markComponentErrored(fiber, thrownValue, lanes) {
function markComponentSuspended (line 5067) | function markComponentSuspended(fiber, wakeable, lanes) {
function markLayoutEffectsStarted (line 5074) | function markLayoutEffectsStarted(lanes) {
function markLayoutEffectsStopped (line 5081) | function markLayoutEffectsStopped() {
function markPassiveEffectsStarted (line 5088) | function markPassiveEffectsStarted(lanes) {
function markPassiveEffectsStopped (line 5095) | function markPassiveEffectsStopped() {
function markRenderStarted (line 5102) | function markRenderStarted(lanes) {
function markRenderYielded (line 5109) | function markRenderYielded() {
function markRenderStopped (line 5116) | function markRenderStopped() {
function markRenderScheduled (line 5123) | function markRenderScheduled(lane) {
function markForceUpdateScheduled (line 5130) | function markForceUpdateScheduled(fiber, lane) {
function markStateUpdateScheduled (line 5137) | function markStateUpdateScheduled(fiber, lane) {
function clz32Fallback (line 5170) | function clz32Fallback(x) {
function getLabelForLane (line 5294) | function getLabelForLane(lane) {
function getHighestPriorityLanes (line 5349) | function getHighestPriorityLanes(lanes) {
function getNextLanes (line 5416) | function getNextLanes(root, wipLanes) {
function getMostRecentEventTime (line 5528) | function getMostRecentEventTime(root, lanes) {
function computeExpirationTime (line 5547) | function computeExpirationTime(lane, currentTime) {
function markStarvedLanesAsExpired (line 5612) | function markStarvedLanesAsExpired(root, currentTime) {
function getHighestPriorityPendingLanes (line 5648) | function getHighestPriorityPendingLanes(root) {
function getLanesToRetrySynchronouslyOnError (line 5651) | function getLanesToRetrySynchronouslyOnError(root) {
function includesSyncLane (line 5664) | function includesSyncLane(lanes) {
function includesNonIdleWork (line 5667) | function includesNonIdleWork(lanes) {
function includesOnlyRetries (line 5670) | function includesOnlyRetries(lanes) {
function includesOnlyNonUrgentLanes (line 5673) | function includesOnlyNonUrgentLanes(lanes) {
function includesOnlyTransitions (line 5677) | function includesOnlyTransitions(lanes) {
function includesBlockingLane (line 5680) | function includesBlockingLane(root, lanes) {
function includesExpiredLane (line 5685) | function includesExpiredLane(root, lanes) {
function isTransitionLane (line 5690) | function isTransitionLane(lane) {
function claimNextTransitionLane (line 5693) | function claimNextTransitionLane() {
function claimNextRetryLane (line 5706) | function claimNextRetryLane() {
function getHighestPriorityLane (line 5716) | function getHighestPriorityLane(lanes) {
function pickArbitraryLane (line 5719) | function pickArbitraryLane(lanes) {
function pickArbitraryLaneIndex (line 5727) | function pickArbitraryLaneIndex(lanes) {
function laneToIndex (line 5731) | function laneToIndex(lane) {
function includesSomeLane (line 5735) | function includesSomeLane(a, b) {
function isSubsetOfLanes (line 5738) | function isSubsetOfLanes(set, subset) {
function mergeLanes (line 5741) | function mergeLanes(a, b) {
function removeLanes (line 5744) | function removeLanes(set, subset) {
function intersectLanes (line 5747) | function intersectLanes(a, b) {
function laneToLanes (line 5752) | function laneToLanes(lane) {
function higherPriorityLane (line 5755) | function higherPriorityLane(a, b) {
function createLaneMap (line 5759) | function createLaneMap(initial) {
function markRootUpdated (line 5770) | function markRootUpdated(root, updateLane, eventTime) {
function markRootSuspended (line 5795) | function markRootSuspended(root, suspendedLanes) {
function markRootPinged (line 5809) | function markRootPinged(root, pingedLanes, eventTime) {
function markRootFinished (line 5812) | function markRootFinished(root, remainingLanes) {
function markRootEntangled (line 5836) | function markRootEntangled(root, entangledLanes) {
function getBumpedLaneForHydration (line 5865) | function getBumpedLaneForHydration(root, renderLanes) {
function addFiberToLanesMap (line 5923) | function addFiberToLanesMap(root, fiber, lanes) {
function movePendingFibersToMemoized (line 5939) | function movePendingFibersToMemoized(root, lanes) {
function getTransitionsForLanes (line 5967) | function getTransitionsForLanes(root, lanes) {
function getCurrentUpdatePriority (line 5978) | function getCurrentUpdatePriority() {
function setCurrentUpdatePriority (line 5981) | function setCurrentUpdatePriority(newPriority) {
function runWithPriority (line 5984) | function runWithPriority(priority, fn) {
function higherEventPriority (line 5994) | function higherEventPriority(a, b) {
function lowerEventPriority (line 5997) | function lowerEventPriority(a, b) {
function isHigherEventPriority (line 6000) | function isHigherEventPriority(a, b) {
function lanesToEventPriority (line 6003) | function lanesToEventPriority(lanes) {
function isRootDehydrated (line 6024) | function isRootDehydrated(root) {
function setAttemptSynchronousHydration (line 6031) | function setAttemptSynchronousHydration(fn) {
function attemptSynchronousHydration (line 6034) | function attemptSynchronousHydration(fiber) {
function setAttemptContinuousHydration (line 6038) | function setAttemptContinuousHydration(fn) {
function setAttemptHydrationAtCurrentPriority (line 6042) | function setAttemptHydrationAtCurrentPriority(fn) {
function setGetCurrentUpdatePriority (line 6046) | function setGetCurrentUpdatePriority(fn) {
function setAttemptHydrationAtPriority (line 6050) | function setAttemptHydrationAtPriority(fn) {
function isDiscreteEventThatRequiresHydration (line 6070) | function isDiscreteEventThatRequiresHydration(eventType) {
function createQueuedReplayableEvent (line 6074) | function createQueuedReplayableEvent(blockedOn, domEventName, eventSyste...
function clearIfContinuousEvent (line 6084) | function clearIfContinuousEvent(domEventName, nativeEvent) {
function accumulateOrCreateContinuousQueuedReplayableEvent (line 6119) | function accumulateOrCreateContinuousQueuedReplayableEvent(existingQueue...
function queueIfContinuousEvent (line 6149) | function queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlag...
function attemptExplicitHydrationTarget (line 6195) | function attemptExplicitHydrationTarget(queuedTarget) {
function queueExplicitHydrationTarget (line 6235) | function queueExplicitHydrationTarget(target) {
function attemptReplayContinuousQueuedEvent (line 6261) | function attemptReplayContinuousQueuedEvent(queuedEvent) {
function attemptReplayContinuousQueuedEventInMap (line 6299) | function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) {
function replayUnblockedEvents (line 6305) | function replayUnblockedEvents() {
function scheduleCallbackIfUnblocked (line 6325) | function scheduleCallbackIfUnblocked(queuedEvent, unblocked) {
function retryIfBlockedOn (line 6339) | function retryIfBlockedOn(unblocked) {
function setEnabled (line 6405) | function setEnabled(enabled) {
function isEnabled (line 6408) | function isEnabled() {
function createEventListenerWrapperWithPriority (line 6411) | function createEventListenerWrapperWithPriority(targetContainer, domEven...
function dispatchDiscreteEvent (line 6433) | function dispatchDiscreteEvent(domEventName, eventSystemFlags, container...
function dispatchContinuousEvent (line 6447) | function dispatchContinuousEvent(domEventName, eventSystemFlags, contain...
function dispatchEvent (line 6461) | function dispatchEvent(domEventName, eventSystemFlags, targetContainer, ...
function dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (line 6471) | function dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDis...
function findInstanceBlockingEvent (line 6525) | function findInstanceBlockingEvent(domEventName, eventSystemFlags, targe...
function getEventPriority (line 6579) | function getEventPriority(domEventName) {
function addEventBubbleListener (line 6696) | function addEventBubbleListener(target, eventType, listener) {
function addEventCaptureListener (line 6700) | function addEventCaptureListener(target, eventType, listener) {
function addEventCaptureListenerWithPassiveFlag (line 6704) | function addEventCaptureListenerWithPassiveFlag(target, eventType, liste...
function addEventBubbleListenerWithPassiveFlag (line 6711) | function addEventBubbleListenerWithPassiveFlag(target, eventType, listen...
function initialize (line 6732) | function initialize(nativeEventTarget) {
function reset (line 6737) | function reset() {
function getData (line 6742) | function getData() {
function getText (line 6772) | function getText() {
function getEventCharCode (line 6790) | function getEventCharCode(nativeEvent) {
function functionThatReturnsTrue (line 6820) | function functionThatReturnsTrue() {
function functionThatReturnsFalse (line 6824) | function functionThatReturnsFalse() {
function createSyntheticEvent (line 6830) | function createSyntheticEvent(Interface) {
function updateMouseMovementPolyfillState (line 6961) | function updateMouseMovementPolyfillState(event) {
function getEventKey (line 7150) | function getEventKey(nativeEvent) {
function modifierStateGetter (line 7194) | function modifierStateGetter(keyArg) {
function getEventModifierState (line 7206) | function getEventModifierState(nativeEvent) {
function registerEvents (line 7362) | function registerEvents() {
function isKeypressCommand (line 7377) | function isKeypressCommand(nativeEvent) {
function getCompositionEventType (line 7386) | function getCompositionEventType(domEventName) {
function isFallbackCompositionStart (line 7404) | function isFallbackCompositionStart(domEventName, nativeEvent) {
function isFallbackCompositionEnd (line 7412) | function isFallbackCompositionEnd(domEventName, nativeEvent) {
function getDataFromCustomEvent (line 7444) | function getDataFromCustomEvent(nativeEvent) {
function isUsingKoreanIME (line 7465) | function isUsingKoreanIME(nativeEvent) {
function extractCompositionEvent (line 7475) | function extractCompositionEvent(dispatchQueue, domEventName, targetInst...
function getNativeBeforeInputChars (line 7528) | function getNativeBeforeInputChars(domEventName, nativeEvent) {
function getFallbackBeforeInputChars (line 7580) | function getFallbackBeforeInputChars(domEventName, nativeEvent) {
function extractBeforeInputEvent (line 7650) | function extractBeforeInputEvent(dispatchQueue, domEventName, targetInst...
function extractEvents (line 7696) | function extractEvents(dispatchQueue, domEventName, targetInst, nativeEv...
function isTextInputElement (line 7722) | function isTextInputElement(elem) {
function isEventSupported (line 7750) | function isEventSupported(eventNameSuffix) {
function registerEvents$1 (line 7767) | function registerEvents$1() {
function createAndAccumulateChangeEvent (line 7771) | function createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent...
function shouldUseChangeEvent (line 7795) | function shouldUseChangeEvent(elem) {
function manualDispatchChangeEvent (line 7800) | function manualDispatchChangeEvent(nativeEvent) {
function runEventInBatch (line 7817) | function runEventInBatch(dispatchQueue) {
function getInstIfValueChanged (line 7821) | function getInstIfValueChanged(targetInst) {
function getTargetInstForChangeEvent (line 7829) | function getTargetInstForChangeEvent(domEventName, targetInst) {
function startWatchingForValueChange (line 7853) | function startWatchingForValueChange(target, targetInst) {
function stopWatchingForValueChange (line 7864) | function stopWatchingForValueChange() {
function handlePropertyChange (line 7879) | function handlePropertyChange(nativeEvent) {
function handleEventsForInputEventPolyfill (line 7889) | function handleEventsForInputEventPolyfill(domEventName, target, targetI...
function getTargetInstForInputEventPolyfill (line 7909) | function getTargetInstForInputEventPolyfill(domEventName, targetInst) {
function shouldUseClickEvent (line 7929) | function shouldUseClickEvent(elem) {
function getTargetInstForClickEvent (line 7937) | function getTargetInstForClickEvent(domEventName, targetInst) {
function getTargetInstForInputOrChangeEvent (line 7943) | function getTargetInstForInputOrChangeEvent(domEventName, targetInst) {
function handleControlledInputBlur (line 7949) | function handleControlledInputBlur(node) {
function extractEvents$1 (line 7973) | function extractEvents$1(dispatchQueue, domEventName, targetInst, native...
function registerEvents$2 (line 8009) | function registerEvents$2() {
function extractEvents$2 (line 8024) | function extractEvents$2(dispatchQueue, domEventName, targetInst, native...
function is (line 8128) | function is(x, y) {
function shallowEqual (line 8141) | function shallowEqual(objA, objB) {
function getLeafNode (line 8176) | function getLeafNode(node) {
function getSiblingNode (line 8192) | function getSiblingNode(node) {
function getNodeForCharacterOffset (line 8210) | function getNodeForCharacterOffset(root, offset) {
function getOffsets (line 8238) | function getOffsets(outerNode) {
function getModernOffsetsFromPoints (line 8279) | function getModernOffsetsFromPoints(outerNode, anchorNode, anchorOffset,...
function setOffsets (line 8366) | function setOffsets(node, offsets) {
function isTextNode (line 8410) | function isTextNode(node) {
function containsNode (line 8414) | function containsNode(outerNode, innerNode) {
function isInDocument (line 8432) | function isInDocument(node) {
function isSameOriginFrame (line 8436) | function isSameOriginFrame(iframe) {
function getActiveElementDeep (line 8451) | function getActiveElementDeep() {
function hasSelectionCapabilities (line 8481) | function hasSelectionCapabilities(elem) {
function getSelectionInformation (line 8485) | function getSelectionInformation() {
function restoreSelection (line 8498) | function restoreSelection(priorSelectionInformation) {
function getSelection (line 8540) | function getSelection(input) {
function setSelection (line 8566) | function setSelection(input, offsets) {
function registerEvents$3 (line 8584) | function registerEvents$3() {
function getSelection$1 (line 8599) | function getSelection$1(node) {
function getEventTargetDocument (line 8621) | function getEventTargetDocument(eventTarget) {
function constructSelectEvent (line 8633) | function constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTar...
function extractEvents$3 (line 8677) | function extractEvents$3(dispatchQueue, domEventName, targetInst, native...
function makePrefixMap (line 8740) | function makePrefixMap(styleProp, eventName) {
function getVendorPrefixedEventName (line 8797) | function getVendorPrefixedEventName(eventName) {
function registerSimpleEvent (line 8832) | function registerSimpleEvent(domEventName, reactName) {
function registerSimpleEvents (line 8837) | function registerSimpleEvents() {
function extractEvents$4 (line 8855) | function extractEvents$4(dispatchQueue, domEventName, targetInst, native...
function extractEvents$5 (line 9007) | function extractEvents$5(dispatchQueue, domEventName, targetInst, native...
function executeDispatch (line 9048) | function executeDispatch(event, listener, currentTarget) {
function processDispatchQueueItemsInOrder (line 9055) | function processDispatchQueueItemsInOrder(event, dispatchListeners, inCa...
function processDispatchQueue (line 9089) | function processDispatchQueue(dispatchQueue, eventSystemFlags) {
function dispatchEventsForPlugins (line 9103) | function dispatchEventsForPlugins(domEventName, eventSystemFlags, native...
function listenToNonDelegatedEvent (line 9110) | function listenToNonDelegatedEvent(domEventName, targetElement) {
function listenToNativeEvent (line 9126) | function listenToNativeEvent(domEventName, isCapturePhaseListener, targe...
function listenToAllSupportedEvents (line 9142) | function listenToAllSupportedEvents(rootContainerElement) {
function addTrappedEventListener (line 9169) | function addTrappedEventListener(targetContainer, domEventName, eventSys...
function isMatchingRootContainer (line 9206) | function isMatchingRootContainer(grandContainer, targetContainer) {
function dispatchEventForPluginEventSystem (line 9210) | function dispatchEventForPluginEventSystem(domEventName, eventSystemFlag...
function createDispatchListener (line 9302) | function createDispatchListener(instance, listener, currentTarget) {
function accumulateSinglePhaseListeners (line 9310) | function accumulateSinglePhaseListeners(targetFiber, reactName, nativeEv...
function accumulateTwoPhaseListeners (line 9354) | function accumulateTwoPhaseListeners(targetFiber, reactName) {
function getParent (line 9385) | function getParent(inst) {
function getLowestCommonAncestor (line 9410) | function getLowestCommonAncestor(instA, instB) {
function accumulateEnterLeaveListenersForEvent (line 9452) | function accumulateEnterLeaveListenersForEvent(dispatchQueue, event, tar...
function accumulateEnterLeaveTwoPhaseListeners (line 9505) | function accumulateEnterLeaveTwoPhaseListeners(dispatchQueue, leaveEvent...
function getListenerSetKey (line 9516) | function getListenerSetKey(domEventName, capture) {
function normalizeMarkupForTextOrAttribute (line 9627) | function normalizeMarkupForTextOrAttribute(markup) {
function checkForUnmatchedText (line 9636) | function checkForUnmatchedText(serverText, clientText, isConcurrentMode,...
function getOwnerDocumentFromRootContainer (line 9661) | function getOwnerDocumentFromRootContainer(rootContainerElement) {
function noop (line 9665) | function noop() {}
function trapClickOnNonInteractiveElement (line 9667) | function trapClickOnNonInteractiveElement(node) {
function setInitialDOMProperties (line 9680) | function setInitialDOMProperties(tag, domElement, rootContainerElement, ...
function updateDOMProperties (line 9735) | function updateDOMProperties(domElement, updatePayload, wasCustomCompone...
function createElement (line 9753) | function createElement(type, props, rootContainerElement, parentNamespac...
function createTextNode (line 9833) | function createTextNode(text, rootContainerElement) {
function setInitialProperties (line 9836) | function setInitialProperties(domElement, tag, rawProps, rootContainerEl...
function diffProperties (line 9966) | function diffProperties(domElement, tag, lastRawProps, nextRawProps, roo...
function updateProperties (line 10142) | function updateProperties(domElement, updatePayload, tag, lastRawProps, ...
function getPossibleStandardName (line 10176) | function getPossibleStandardName(propName) {
function diffHydratedProperties (line 10188) | function diffHydratedProperties(domElement, tag, rawProps, parentNamespa...
function diffHydratedText (line 10475) | function diffHydratedText(textNode, text, isConcurrentMode) {
function warnForDeletedHydratableElement (line 10479) | function warnForDeletedHydratableElement(parentNode, child) {
function warnForDeletedHydratableText (line 10490) | function warnForDeletedHydratableText(parentNode, child) {
function warnForInsertedHydratedElement (line 10501) | function warnForInsertedHydratedElement(parentNode, tag, props) {
function warnForInsertedHydratedText (line 10512) | function warnForInsertedHydratedText(parentNode, text) {
function restoreControlledState$3 (line 10531) | function restoreControlledState$3(domElement, tag, props) {
function getRootHostContext (line 10872) | function getRootHostContext(rootContainerInstance) {
function getChildHostContext (line 10906) | function getChildHostContext(parentHostContext, type, rootContainerInsta...
function getPublicInstance (line 10917) | function getPublicInstance(instance) {
function prepareForCommit (line 10920) | function prepareForCommit(containerInfo) {
function resetAfterCommit (line 10928) | function resetAfterCommit(containerInfo) {
function createInstance (line 10934) | function createInstance(type, props, rootContainerInstance, hostContext,...
function appendInitialChild (line 10956) | function appendInitialChild(parentInstance, child) {
function finalizeInitialChildren (line 10959) | function finalizeInitialChildren(domElement, type, props, rootContainerI...
function prepareUpdate (line 10976) | function prepareUpdate(domElement, type, oldProps, newProps, rootContain...
function shouldSetTextContent (line 10989) | function shouldSetTextContent(type, props) {
function createTextInstance (line 10992) | function createTextInstance(text, rootContainerInstance, hostContext, in...
function getCurrentEventPriority (line 11002) | function getCurrentEventPriority() {
function handleErrorInNextTick (line 11022) | function handleErrorInNextTick(error) {
function commitMount (line 11027) | function commitMount(domElement, type, newProps, internalInstanceHandle) {
function commitUpdate (line 11055) | function commitUpdate(domElement, updatePayload, type, oldProps, newProp...
function resetTextContent (line 11062) | function resetTextContent(domElement) {
function commitTextUpdate (line 11065) | function commitTextUpdate(textInstance, oldText, newText) {
function appendChild (line 11068) | function appendChild(parentInstance, child) {
function appendChildToContainer (line 11071) | function appendChildToContainer(container, child) {
function insertBefore (line 11097) | function insertBefore(parentInstance, child, beforeChild) {
function insertInContainerBefore (line 11100) | function insertInContainerBefore(container, child, beforeChild) {
function removeChild (line 11108) | function removeChild(parentInstance, child) {
function removeChildFromContainer (line 11111) | function removeChildFromContainer(container, child) {
function clearSuspenseBoundary (line 11118) | function clearSuspenseBoundary(parentInstance, suspenseInstance) {
function clearSuspenseBoundaryFromContainer (line 11153) | function clearSuspenseBoundaryFromContainer(container, suspenseInstance) {
function hideInstance (line 11163) | function hideInstance(instance) {
function hideTextInstance (line 11175) | function hideTextInstance(textInstance) {
function unhideInstance (line 11178) | function unhideInstance(instance, props) {
function unhideTextInstance (line 11184) | function unhideTextInstance(textInstance, text) {
function clearContainer (line 11187) | function clearContainer(container) {
function canHydrateInstance (line 11196) | function canHydrateInstance(instance, type, props) {
function canHydrateTextInstance (line 11204) | function canHydrateTextInstance(instance, text) {
function canHydrateSuspenseInstance (line 11213) | function canHydrateSuspenseInstance(instance) {
function isSuspenseInstancePending (line 11222) | function isSuspenseInstancePending(instance) {
function isSuspenseInstanceFallback (line 11225) | function isSuspenseInstanceFallback(instance) {
function getSuspenseInstanceFallbackErrorDetails (line 11228) | function getSuspenseInstanceFallbackErrorDetails(instance) {
function registerSuspenseInstanceRetry (line 11260) | function registerSuspenseInstanceRetry(instance, callback) {
function getNextHydratable (line 11264) | function getNextHydratable(node) {
function getNextHydratableSibling (line 11289) | function getNextHydratableSibling(instance) {
function getFirstHydratableChild (line 11292) | function getFirstHydratableChild(parentInstance) {
function getFirstHydratableChildWithinContainer (line 11295) | function getFirstHydratableChildWithinContainer(parentContainer) {
function getFirstHydratableChildWithinSuspenseInstance (line 11298) | function getFirstHydratableChildWithinSuspenseInstance(parentInstance) {
function hydrateInstance (line 11301) | function hydrateInstance(instance, type, props, rootContainerInstance, h...
function hydrateTextInstance (line 11318) | function hydrateTextInstance(textInstance, text, internalInstanceHandle,...
function hydrateSuspenseInstance (line 11325) | function hydrateSuspenseInstance(suspenseInstance, internalInstanceHandl...
function getNextHydratableInstanceAfterSuspenseInstance (line 11328) | function getNextHydratableInstanceAfterSuspenseInstance(suspenseInstance) {
function getParentSuspenseInstance (line 11359) | function getParentSuspenseInstance(targetInstance) {
function commitHydratedContainer (line 11386) | function commitHydratedContainer(container) {
function commitHydratedSuspenseInstance (line 11390) | function commitHydratedSuspenseInstance(suspenseInstance) {
function shouldDeleteUnhydratedTailInstances (line 11394) | function shouldDeleteUnhydratedTailInstances(parentType) {
function didNotMatchHydratedContainerTextInstance (line 11397) | function didNotMatchHydratedContainerTextInstance(parentContainer, textI...
function didNotMatchHydratedTextInstance (line 11401) | function didNotMatchHydratedTextInstance(parentType, parentProps, parent...
function didNotHydrateInstanceWithinContainer (line 11407) | function didNotHydrateInstanceWithinContainer(parentContainer, instance) {
function didNotHydrateInstanceWithinSuspenseInstance (line 11416) | function didNotHydrateInstanceWithinSuspenseInstance(parentInstance, ins...
function didNotHydrateInstance (line 11430) | function didNotHydrateInstance(parentType, parentProps, parentInstance, ...
function didNotFindHydratableInstanceWithinContainer (line 11441) | function didNotFindHydratableInstanceWithinContainer(parentContainer, ty...
function didNotFindHydratableTextInstanceWithinContainer (line 11446) | function didNotFindHydratableTextInstanceWithinContainer(parentContainer...
function didNotFindHydratableInstanceWithinSuspenseInstance (line 11451) | function didNotFindHydratableInstanceWithinSuspenseInstance(parentInstan...
function didNotFindHydratableTextInstanceWithinSuspenseInstance (line 11458) | function didNotFindHydratableTextInstanceWithinSuspenseInstance(parentIn...
function didNotFindHydratableInstance (line 11465) | function didNotFindHydratableInstance(parentType, parentProps, parentIns...
function didNotFindHydratableTextInstance (line 11472) | function didNotFindHydratableTextInstance(parentType, parentProps, paren...
function errorHydratingContainer (line 11479) | function errorHydratingContainer(parentContainer) {
function preparePortalMount (line 11486) | function preparePortalMount(portalInstance) {
function detachDeletedInstance (line 11497) | function detachDeletedInstance(node) {
function precacheFiberNode (line 11506) | function precacheFiberNode(hostInst, node) {
function markContainerAsRoot (line 11509) | function markContainerAsRoot(hostRoot, node) {
function unmarkContainerAsRoot (line 11512) | function unmarkContainerAsRoot(node) {
function isContainerMarkedAsRoot (line 11515) | function isContainerMarkedAsRoot(node) {
function getClosestInstanceFromNode (line 11525) | function getClosestInstanceFromNode(targetNode) {
function getInstanceFromNode (line 11608) | function getInstanceFromNode(node) {
function getNodeFromInstance (line 11626) | function getNodeFromInstance(inst) {
function getFiberCurrentPropsFromNode (line 11637) | function getFiberCurrentPropsFromNode(node) {
function updateFiberProps (line 11640) | function updateFiberProps(node, props) {
function getEventListenerSet (line 11643) | function getEventListenerSet(node) {
function setCurrentlyValidatingElement (line 11656) | function setCurrentlyValidatingElement(element) {
function checkPropTypes (line 11668) | function checkPropTypes(typeSpecs, values, location, componentName, elem...
function createCursor (line 11726) | function createCursor(defaultValue) {
function pop (line 11732) | function pop(cursor, fiber) {
function push (line 11757) | function push(cursor, value, fiber) {
function getUnmaskedContext (line 11789) | function getUnmaskedContext(workInProgress, Component, didPushOwnContext...
function cacheContext (line 11803) | function cacheContext(workInProgress, unmaskedContext, maskedContext) {
function getMaskedContext (line 11811) | function getMaskedContext(workInProgress, unmaskedContext) {
function hasContextChanged (line 11850) | function hasContextChanged() {
function isContextProvider (line 11856) | function isContextProvider(type) {
function popContext (line 11863) | function popContext(fiber) {
function popTopLevelContextObject (line 11870) | function popTopLevelContextObject(fiber) {
function pushTopLevelContextObject (line 11877) | function pushTopLevelContextObject(fiber, context, didChange) {
function processChildContext (line 11888) | function processChildContext(fiber, type, parentContext) {
function pushContextProvider (line 11925) | function pushContextProvider(workInProgress) {
function invalidateContextProvider (line 11941) | function invalidateContextProvider(workInProgress, type, didChange) {
function findCurrentUnmaskedContext (line 11969) | function findCurrentUnmaskedContext(fiber) {
function scheduleSyncCallback (line 12009) | function scheduleSyncCallback(callback) {
function scheduleLegacySyncCallback (line 12020) | function scheduleLegacySyncCallback(callback) {
function flushSyncCallbacksOnlyInLegacyMode (line 12024) | function flushSyncCallbacksOnlyInLegacyMode() {
function flushSyncCallbacks (line 12034) | function flushSyncCallbacks() {
function isForkedChild (line 12089) | function isForkedChild(workInProgress) {
function getForksAtLevel (line 12093) | function getForksAtLevel(workInProgress) {
function getTreeId (line 12097) | function getTreeId() {
function pushTreeFork (line 12103) | function pushTreeFork(workInProgress, totalChildren) {
function pushTreeId (line 12124) | function pushTreeId(workInProgress, totalChildren, index) {
function pushMaterializedTreeId (line 12181) | function pushMaterializedTreeId(workInProgress) {
function getBitLength (line 12195) | function getBitLength(number) {
function getLeadingBit (line 12199) | function getLeadingBit(id) {
function popTreeContext (line 12203) | function popTreeContext(workInProgress) {
function getSuspendedTreeContext (line 12225) | function getSuspendedTreeContext() {
function restoreSuspendedTreeContext (line 12237) | function restoreSuspendedTreeContext(workInProgress, suspendedContext) {
function warnIfNotHydrating (line 12247) | function warnIfNotHydrating() {
function warnIfHydrating (line 12266) | function warnIfHydrating() {
function markDidThrowWhileHydratingDEV (line 12274) | function markDidThrowWhileHydratingDEV() {
function didSuspendOrErrorWhileHydratingDEV (line 12279) | function didSuspendOrErrorWhileHydratingDEV() {
function enterHydrationState (line 12285) | function enterHydrationState(fiber) {
function reenterHydrationStateFromDehydratedSuspenseInstance (line 12296) | function reenterHydrationStateFromDehydratedSuspenseInstance(fiber, susp...
function warnUnhydratedInstance (line 12311) | function warnUnhydratedInstance(returnFiber, instance) {
function deleteHydratableInstance (line 12338) | function deleteHydratableInstance(returnFiber, instance) {
function warnNonhydratedInstance (line 12353) | function warnNonhydratedInstance(returnFiber, fiber) {
function insertNonHydratedInstance (line 12440) | function insertNonHydratedInstance(returnFiber, fiber) {
function tryHydrate (line 12445) | function tryHydrate(fiber, nextInstance) {
function shouldClientRenderOnMismatch (line 12512) | function shouldClientRenderOnMismatch(fiber) {
function throwOnHydrationMismatch (line 12516) | function throwOnHydrationMismatch(fiber) {
function tryToClaimNextHydratableInstance (line 12520) | function tryToClaimNextHydratableInstance(fiber) {
function prepareToHydrateHostInstance (line 12570) | function prepareToHydrateHostInstance(fiber, rootContainerInstance, host...
function prepareToHydrateHostTextInstance (line 12586) | function prepareToHydrateHostTextInstance(fiber) {
function prepareToHydrateHostSuspenseInstance (line 12627) | function prepareToHydrateHostSuspenseInstance(fiber) {
function skipPastDehydratedSuspenseInstance (line 12639) | function skipPastDehydratedSuspenseInstance(fiber) {
function popToNextHostParent (line 12651) | function popToNextHostParent(fiber) {
function popHydrationState (line 12661) | function popHydrationState(fiber) {
function hasUnhydratedTailNodes (line 12709) | function hasUnhydratedTailNodes() {
function warnIfUnhydratedTailNodes (line 12713) | function warnIfUnhydratedTailNodes(fiber) {
function resetHydrationState (line 12722) | function resetHydrationState() {
function upgradeHydrationErrorsToRecoverable (line 12730) | function upgradeHydrationErrorsToRecoverable() {
function getIsHydrating (line 12740) | function getIsHydrating() {
function queueHydrationError (line 12744) | function queueHydrationError(error) {
function requestCurrentTransition (line 12754) | function requestCurrentTransition() {
function isReactClass (line 13044) | function isReactClass(type) {
function coerceRef (line 13048) | function coerceRef(returnFiber, current, element) {
function throwOnInvalidObjectType (line 13131) | function throwOnInvalidObjectType(returnFiber, newChild) {
function warnOnFunctionType (line 13136) | function warnOnFunctionType(returnFiber) {
function resolveLazy (line 13150) | function resolveLazy(lazyType) {
function ChildReconciler (line 13160) | function ChildReconciler(shouldTrackSideEffects) {
function cloneChildFibers (line 14096) | function cloneChildFibers(current, workInProgress) {
function resetChildFibers (line 14119) | function resetChildFibers(workInProgress, lanes) {
function resetContextDependencies (line 14140) | function resetContextDependencies() {
function enterDisallowedContextReadInDEV (line 14151) | function enterDisallowedContextReadInDEV() {
function exitDisallowedContextReadInDEV (line 14156) | function exitDisallowedContextReadInDEV() {
function pushProvider (line 14161) | function pushProvider(providerFiber, context, nextValue) {
function popProvider (line 14175) | function popProvider(context, providerFiber) {
function scheduleContextWorkOnParentPath (line 14185) | function scheduleContextWorkOnParentPath(parent, renderLanes, propagatio...
function propagateContextChange (line 14215) | function propagateContextChange(workInProgress, context, renderLanes) {
function propagateContextChange_eager (line 14221) | function propagateContextChange_eager(workInProgress, context, renderLan...
function prepareToReadContext (line 14350) | function prepareToReadContext(workInProgress, renderLanes) {
function readContext (line 14372) | function readContext(context) {
function pushConcurrentUpdateQueue (line 14415) | function pushConcurrentUpdateQueue(queue) {
function finishQueueingConcurrentUpdates (line 14422) | function finishQueueingConcurrentUpdates() {
function enqueueConcurrentHookUpdate (line 14451) | function enqueueConcurrentHookUpdate(fiber, queue, update, lane) {
function enqueueConcurrentHookUpdateAndEagerlyBailout (line 14468) | function enqueueConcurrentHookUpdateAndEagerlyBailout(fiber, queue, upda...
function enqueueConcurrentClassUpdate (line 14484) | function enqueueConcurrentClassUpdate(fiber, queue, update, lane) {
function enqueueConcurrentRenderForLane (line 14501) | function enqueueConcurrentRenderForLane(fiber, lane) {
function markUpdateLaneFromFiberToRoot (line 14508) | function markUpdateLaneFromFiberToRoot(sourceFiber, lane) {
function initializeUpdateQueue (line 14569) | function initializeUpdateQueue(fiber) {
function cloneUpdateQueue (line 14583) | function cloneUpdateQueue(current, workInProgress) {
function createUpdate (line 14599) | function createUpdate(eventTime, lane) {
function enqueueUpdate (line 14610) | function enqueueUpdate(fiber, update, lane) {
function entangleTransitions (line 14651) | function entangleTransitions(root, fiber, lane) {
function enqueueCapturedUpdate (line 14678) | function enqueueCapturedUpdate(workInProgress, capturedUpdate) {
function getStateFromUpdate (line 14760) | function getStateFromUpdate(workInProgress, queue, update, prevState, ne...
function processUpdateQueue (line 14851) | function processUpdateQueue(workInProgress, props, instance, renderLanes) {
function callCallback (line 15041) | function callCallback(callback, context) {
function resetHasForceUpdateBeforeProcessing (line 15049) | function resetHasForceUpdateBeforeProcessing() {
function checkHasForceUpdateAfterProcessing (line 15052) | function checkHasForceUpdateAfterProcessing() {
function commitUpdateQueue (line 15055) | function commitUpdateQueue(finishedWork, finishedQueue, instance) {
function requiredContext (line 15078) | function requiredContext(c) {
function getRootHostContainer (line 15086) | function getRootHostContainer() {
function pushHostContainer (line 15091) | function pushHostContainer(fiber, nextRootInstance) {
function popHostContainer (line 15110) | function popHostContainer(fiber) {
function getHostContext (line 15116) | function getHostContext() {
function pushHostContext (line 15121) | function pushHostContext(fiber) {
function popHostContext (line 15136) | function popHostContext(fiber) {
function hasSuspenseContext (line 15166) | function hasSuspenseContext(parentContext, flag) {
function setDefaultShallowSuspenseContext (line 15169) | function setDefaultShallowSuspenseContext(parentContext) {
function setShallowSuspenseContext (line 15172) | function setShallowSuspenseContext(parentContext, shallowContext) {
function addSubtreeSuspenseContext (line 15175) | function addSubtreeSuspenseContext(parentContext, subtreeContext) {
function pushSuspenseContext (line 15178) | function pushSuspenseContext(fiber, newContext) {
function popSuspenseContext (line 15181) | function popSuspenseContext(fiber) {
function shouldCaptureSuspense (line 15185) | function shouldCaptureSuspense(workInProgress, hasInvisibleParent) {
function findFirstSuspended (line 15205) | function findFirstSuspended(row) {
function resetWorkInProgressVersions (line 15274) | function resetWorkInProgressVersions() {
function registerMutableSourceForHydration (line 15289) | function registerMutableSourceForHydration(root, mutableSource) {
function mountHookTypesDev (line 15350) | function mountHookTypesDev() {
function updateHookTypesDev (line 15362) | function updateHookTypesDev() {
function checkDepsAreArrayDev (line 15376) | function checkDepsAreArrayDev(deps) {
function warnOnHookMismatchInDev (line 15386) | function warnOnHookMismatchInDev(currentHookName) {
function throwInvalidHookError (line 15417) | function throwInvalidHookError() {
function areHookInputsEqual (line 15421) | function areHookInputsEqual(nextDeps, prevDeps) {
function renderWithHooks (line 15456) | function renderWithHooks(current, workInProgress, Component, props, seco...
function checkDidRenderIdHook (line 15577) | function checkDidRenderIdHook() {
function bailoutHooks (line 15585) | function bailoutHooks(current, workInProgress, lanes) {
function resetHooksAfterThrow (line 15597) | function resetHooksAfterThrow() {
function mountWorkInProgressHook (line 15642) | function mountWorkInProgressHook() {
function updateWorkInProgressHook (line 15662) | function updateWorkInProgressHook() {
function createFunctionComponentUpdateQueue (line 15722) | function createFunctionComponentUpdateQueue() {
function basicStateReducer (line 15729) | function basicStateReducer(state, action) {
function mountReducer (line 15734) | function mountReducer(reducer, initialArg, init) {
function updateReducer (line 15758) | function updateReducer(reducer, initialArg, init) {
function rerenderReducer (line 15904) | function rerenderReducer(reducer, initialArg, init) {
function mountMutableSource (line 15955) | function mountMutableSource(source, getSnapshot, subscribe) {
function updateMutableSource (line 15961) | function updateMutableSource(source, getSnapshot, subscribe) {
function mountSyncExternalStore (line 15967) | function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapsho...
function updateSyncExternalStore (line 16045) | function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapsh...
function pushStoreConsistencyCheck (line 16101) | function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) {
function updateStoreInstance (line 16124) | function updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) {
function subscribeToStore (line 16138) | function subscribeToStore(fiber, inst, subscribe) {
function checkIfSnapshotChanged (line 16152) | function checkIfSnapshotChanged(inst) {
function forceStoreRerender (line 16164) | function forceStoreRerender(fiber) {
function mountState (line 16172) | function mountState(initialState) {
function updateState (line 16194) | function updateState(initialState) {
function rerenderState (line 16198) | function rerenderState(initialState) {
function pushEffect (line 16202) | function pushEffect(tag, create, destroy, deps) {
function mountRef (line 16233) | function mountRef(initialValue) {
function updateRef (line 16245) | function updateRef(initialValue) {
function mountEffectImpl (line 16250) | function mountEffectImpl(fiberFlags, hookFlags, create, deps) {
function updateEffectImpl (line 16257) | function updateEffectImpl(fiberFlags, hookFlags, create, deps) {
function mountEffect (line 16280) | function mountEffect(create, deps) {
function updateEffect (line 16288) | function updateEffect(create, deps) {
function mountInsertionEffect (line 16292) | function mountInsertionEffect(create, deps) {
function updateInsertionEffect (line 16296) | function updateInsertionEffect(create, deps) {
function mountLayoutEffect (line 16300) | function mountLayoutEffect(create, deps) {
function updateLayoutEffect (line 16314) | function updateLayoutEffect(create, deps) {
function imperativeHandleEffect (line 16318) | function imperativeHandleEffect(create, ref) {
function mountImperativeHandle (line 16346) | function mountImperativeHandle(ref, create, deps) {
function updateImperativeHandle (line 16368) | function updateImperativeHandle(ref, create, deps) {
function mountDebugValue (line 16380) | function mountDebugValue(value, formatterFn) {// This hook is normally a...
function mountCallback (line 16387) | function mountCallback(callback, deps) {
function updateCallback (line 16394) | function updateCallback(callback, deps) {
function mountMemo (line 16413) | function mountMemo(nextCreate, deps) {
function updateMemo (line 16421) | function updateMemo(nextCreate, deps) {
function mountDeferredValue (line 16442) | function mountDeferredValue(value) {
function updateDeferredValue (line 16448) | function updateDeferredValue(value) {
function rerenderDeferredValue (line 16455) | function rerenderDeferredValue(value) {
function updateDeferredValueImpl (line 16469) | function updateDeferredValueImpl(hook, prevValue, value) {
function startTransition (line 16509) | function startTransition(setPending, callback, options) {
function mountTransition (line 16542) | function mountTransition() {
function updateTransition (line 16554) | function updateTransition() {
function rerenderTransition (line 16563) | function rerenderTransition() {
function getIsUpdatingOpaqueValueInRenderPhaseInDEV (line 16573) | function getIsUpdatingOpaqueValueInRenderPhaseInDEV() {
function mountId (line 16579) | function mountId() {
function updateId (line 16614) | function updateId() {
function dispatchReducerAction (line 16620) | function dispatchReducerAction(fiber, queue, action) {
function dispatchSetState (line 16651) | function dispatchSetState(fiber, queue, action) {
function isRenderPhaseUpdate (line 16726) | function isRenderPhaseUpdate(fiber) {
function enqueueRenderPhaseUpdate (line 16731) | function enqueueRenderPhaseUpdate(queue, update) {
function entangleTransitionUpdate (line 16750) | function entangleTransitionUpdate(root, queue, lane) {
function markUpdateInDevTools (line 16769) | function markUpdateInDevTools(fiber, lane, action) {
function isCurrentUpdateNested (line 17653) | function isCurrentUpdateNested() {
function markNestedUpdateScheduled (line 17657) | function markNestedUpdateScheduled() {
function resetNestedUpdateFlag (line 17663) | function resetNestedUpdateFlag() {
function syncNestedUpdateFlag (line 17670) | function syncNestedUpdateFlag() {
function getCommitTime (line 17677) | function getCommitTime() {
function recordCommitTime (line 17681) | function recordCommitTime() {
function startProfilerTimer (line 17686) | function startProfilerTimer(fiber) {
function stopProfilerTimerIfRunning (line 17695) | function stopProfilerTimerIfRunning(fiber) {
function stopProfilerTimerIfRunningAndRecordDelta (line 17700) | function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTim...
function recordLayoutEffectDuration (line 17714) | function recordLayoutEffectDuration(fiber) {
function recordPassiveEffectDuration (line 17741) | function recordPassiveEffectDuration(fiber) {
function startLayoutEffectTimer (line 17779) | function startLayoutEffectTimer() {
function startPassiveEffectTimer (line 17784) | function startPassiveEffectTimer() {
function transferActualDuration (line 17789) | function transferActualDuration(fiber) {
function resolveDefaultProps (line 17801) | function resolveDefaultProps(Component, baseProps) {
function applyDerivedStateFromProps (line 17884) | function applyDerivedStateFromProps(workInProgress, ctor, getDerivedStat...
function checkShouldComponentUpdate (line 17998) | function checkShouldComponentUpdate(workInProgress, ctor, oldProps, newP...
function checkClassInstance (line 18031) | function checkClassInstance(workInProgress, ctor, newProps) {
function adoptClassInstance (line 18154) | function adoptClassInstance(workInProgress, instance) {
function constructClassInstance (line 18165) | function constructClassInstance(workInProgress, ctor, props) {
function callComponentWillMount (line 18284) | function callComponentWillMount(workInProgress, instance) {
function callComponentWillReceiveProps (line 18304) | function callComponentWillReceiveProps(workInProgress, instance, newProp...
function mountClassInstance (line 18331) | function mountClassInstance(workInProgress, ctor, newProps, renderLanes) {
function resumeMountClassInstance (line 18403) | function resumeMountClassInstance(workInProgress, ctor, newProps, render...
function updateClassInstance (line 18522) | function updateClassInstance(current, workInProgress, ctor, newProps, re...
function createCapturedValueAtFiber (line 18637) | function createCapturedValueAtFiber(value, source) {
function createCapturedValue (line 18647) | function createCapturedValue(value, digest, stack) {
function showErrorDialog (line 18659) | function showErrorDialog(boundary, errorInfo) {
function logCapturedError (line 18663) | function logCapturedError(boundary, errorInfo) {
function createRootErrorUpdate (line 18734) | function createRootErrorUpdate(fiber, errorInfo, lane) {
function createClassErrorUpdate (line 18753) | function createClassErrorUpdate(fiber, errorInfo, lane) {
function attachPingListener (line 18815) | function attachPingListener(root, wakeable, lanes) {
function attachRetryListener (line 18860) | function attachRetryListener(suspenseBoundary, root, wakeable, lanes) {
function resetSuspendedComponent (line 18883) | function resetSuspendedComponent(sourceFiber, rootRenderLanes) {
function getNearestSuspenseBoundaryToCapture (line 18903) | function getNearestSuspenseBoundaryToCapture(returnFiber) {
function markSuspenseBoundaryShouldCapture (line 18919) | function markSuspenseBoundaryShouldCapture(suspenseBoundary, returnFiber...
function throwException (line 19027) | function throwException(root, returnFiber, sourceFiber, value, rootRende...
function getSuspendedCache (line 19160) | function getSuspendedCache() {
function reconcileChildren (line 19190) | function reconcileChildren(current, workInProgress, nextChildren, render...
function forceUnmountCurrentAndReconcile (line 19207) | function forceUnmountCurrentAndReconcile(current, workInProgress, nextCh...
function updateForwardRef (line 19224) | function updateForwardRef(current, workInProgress, Component, nextProps,...
function updateMemoComponent (line 19291) | function updateMemoComponent(current, workInProgress, Component, nextPro...
function updateSimpleMemoComponent (line 19382) | function updateSimpleMemoComponent(current, workInProgress, Component, n...
function updateOffscreenComponent (line 19467) | function updateOffscreenComponent(current, workInProgress, renderLanes) {
function updateFragment (line 19551) | function updateFragment(current, workInProgress, renderLanes) {
function updateMode (line 19557) | function updateMode(current, workInProgress, renderLanes) {
function updateProfiler (line 19563) | function updateProfiler(current, workInProgress, renderLanes) {
function markRef (line 19582) | function markRef(current, workInProgress) {
function updateFunctionComponent (line 19595) | function updateFunctionComponent(current, workInProgress, Component, nex...
function updateClassComponent (line 19663) | function updateClassComponent(current, workInProgress, Component, nextPr...
function finishClassComponent (line 19754) | function finishClassComponent(current, workInProgress, Component, should...
function pushHostRootContext (line 19835) | function pushHostRootContext(workInProgress) {
function updateHostRoot (line 19848) | function updateHostRoot(current, workInProgress, renderLanes) {
function mountHostRootWithoutHydrating (line 19928) | function mountHostRootWithoutHydrating(current, workInProgress, nextChil...
function updateHostComponent (line 19937) | function updateHostComponent(current, workInProgress, renderLanes) {
function updateHostText (line 19967) | function updateHostText(current, workInProgress) {
function mountLazyComponent (line 19977) | function mountLazyComponent(_current, workInProgress, elementType, rende...
function mountIncompleteClassComponent (line 20055) | function mountIncompleteClassComponent(_current, workInProgress, Compone...
function mountIndeterminateComponent (line 20078) | function mountIndeterminateComponent(_current, workInProgress, Component...
function validateFunctionComponentInDev (line 20206) | function validateFunctionComponentInDev(workInProgress, Component) {
function mountSuspenseOffscreenState (line 20274) | function mountSuspenseOffscreenState(renderLanes) {
function updateSuspenseOffscreenState (line 20282) | function updateSuspenseOffscreenState(prevOffscreenState, renderLanes) {
function shouldRemainOnFallback (line 20293) | function shouldRemainOnFallback(suspenseContext, current, workInProgress...
function getRemainingWorkInPrimaryTree (line 20313) | function getRemainingWorkInPrimaryTree(current, renderLanes) {
function updateSuspenseComponent (line 20318) | function updateSuspenseComponent(current, workInProgress, renderLanes) {
function mountSuspensePrimaryChildren (line 20437) | function mountSuspensePrimaryChildren(workInProgress, primaryChildren, r...
function mountSuspenseFallbackChildren (line 20449) | function mountSuspenseFallbackChildren(workInProgress, primaryChildren, ...
function mountWorkInProgressOffscreenFiber (line 20490) | function mountWorkInProgressOffscreenFiber(offscreenProps, mode, renderL...
function updateWorkInProgressOffscreenFiber (line 20496) | function updateWorkInProgressOffscreenFiber(current, offscreenProps) {
function updateSuspensePrimaryChildren (line 20502) | function updateSuspensePrimaryChildren(current, workInProgress, primaryC...
function updateSuspenseFallbackChildren (line 20533) | function updateSuspenseFallbackChildren(current, workInProgress, primary...
function retrySuspenseComponentWithoutHydrating (line 20598) | function retrySuspenseComponentWithoutHydrating(current, workInProgress,...
function mountSuspenseFallbackAfterRetryWithoutHydrating (line 20623) | function mountSuspenseFallbackAfterRetryWithoutHydrating(current, workIn...
function mountDehydratedSuspenseComponent (line 20648) | function mountDehydratedSuspenseComponent(workInProgress, suspenseInstan...
function updateDehydratedSuspenseComponent (line 20679) | function updateDehydratedSuspenseComponent(current, workInProgress, didS...
function scheduleSuspenseWorkOnFiber (line 20817) | function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) {
function propagateSuspenseContextChange (line 20828) | function propagateSuspenseContextChange(workInProgress, firstChild, rend...
function findLastContentRow (line 20871) | function findLastContentRow(firstChild) {
function validateRevealOrder (line 20895) | function validateRevealOrder(revealOrder) {
function validateTailOptions (line 20931) | function validateTailOptions(tailMode, revealOrder) {
function validateSuspenseListNestedChild (line 20947) | function validateSuspenseListNestedChild(childSlot, index) {
function validateSuspenseListChildren (line 20964) | function validateSuspenseListChildren(children, revealOrder) {
function initSuspenseListRenderState (line 20999) | function initSuspenseListRenderState(workInProgress, isBackwards, tail, ...
function updateSuspenseListComponent (line 21029) | function updateSuspenseListComponent(current, workInProgress, renderLane...
function updatePortalComponent (line 21140) | function updatePortalComponent(current, workInProgress, renderLanes) {
function updateContextProvider (line 21160) | function updateContextProvider(current, workInProgress, renderLanes) {
function updateContextConsumer (line 21209) | function updateContextConsumer(current, workInProgress, renderLanes) {
function markWorkInProgressReceivedUpdate (line 21270) | function markWorkInProgressReceivedUpdate() {
function resetSuspendedCurrentOnMountInLegacyMode (line 21274) | function resetSuspendedCurrentOnMountInLegacyMode(current, workInProgres...
function bailoutOnAlreadyFinishedWork (line 21289) | function bailoutOnAlreadyFinishedWork(current, workInProgress, renderLan...
function remountFiber (line 21317) | function remountFiber(current, oldWorkInProgress, newWorkInProgress) {
function checkScheduledUpdateOrContext (line 21375) | function checkScheduledUpdateOrContext(current, renderLanes) {
function attemptEarlyBailoutIfNoScheduledUpdate (line 21387) | function attemptEarlyBailoutIfNoScheduledUpdate(current, workInProgress,...
function beginWork (line 21565) | function beginWork(current, workInProgress, renderLanes) {
function markUpdate (line 21760) | function markUpdate(workInProgress) {
function markRef$1 (line 21766) | function markRef$1(workInProgress) {
function cutOffTailIfNeeded (line 21853) | function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
function bubbleProperties (line 21933) | function bubbleProperties(completedWork) {
function completeDehydratedSuspenseBoundary (line 22028) | function completeDehydratedSuspenseBoundary(current, workInProgress, nex...
function completeWork (line 22113) | function completeWork(current, workInProgress, renderLanes) {
function unwindWork (line 22690) | function unwindWork(current, workInProgress, renderLanes) {
function unwindInterruptedWork (line 22806) | function unwindInterruptedWork(current, interruptedWork, renderLanes) {
function reportUncaughtErrorInDEV (line 22880) | function reportUncaughtErrorInDEV(error) {
function safelyCallCommitHookLayoutEffectListMount (line 22911) | function safelyCallCommitHookLayoutEffectListMount(current, nearestMount...
function safelyCallComponentWillUnmount (line 22920) | function safelyCallComponentWillUnmount(current, nearestMountedAncestor,...
function safelyCallComponentDidMount (line 22929) | function safelyCallComponentDidMount(current, nearestMountedAncestor, in...
function safelyAttachRef (line 22938) | function safelyAttachRef(current, nearestMountedAncestor) {
function safelyDetachRef (line 22946) | function safelyDetachRef(current, nearestMountedAncestor) {
function safelyCallDestroy (line 22979) | function safelyCallDestroy(current, nearestMountedAncestor, destroy) {
function commitBeforeMutationEffects (line 22989) | function commitBeforeMutationEffects(root, firstChild) {
function commitBeforeMutationEffects_begin (line 23000) | function commitBeforeMutationEffects_begin() {
function commitBeforeMutationEffects_complete (line 23015) | function commitBeforeMutationEffects_complete() {
function commitBeforeMutationEffectsOnFiber (line 23039) | function commitBeforeMutationEffectsOnFiber(finishedWork) {
function commitHookEffectListUnmount (line 23120) | function commitHookEffectListUnmount(flags, finishedWork, nearestMounted...
function commitHookEffectListMount (line 23172) | function commitHookEffectListMount(flags, finishedWork) {
function commitPassiveEffectDurations (line 23249) | function commitPassiveEffectDurations(finishedRoot, finishedWork) {
function commitLayoutEffectOnFiber (line 23302) | function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork, ...
function reappearLayoutEffectsOnFiber (line 23558) | function reappearLayoutEffectsOnFiber(node) {
function hideOrUnhideAllChildren (line 23600) | function hideOrUnhideAllChildren(finishedWork, isHidden) {
function commitAttachRef (line 23672) | function commitAttachRef(finishedWork) {
function detachFiberMutation (line 23719) | function detachFiberMutation(fiber) {
function detachFiberAfterEffects (line 23745) | function detachFiberAfterEffects(fiber) {
function getHostParentFiber (line 23807) | function getHostParentFiber(fiber) {
function isHostParent (line 23821) | function isHostParent(fiber) {
function getHostSibling (line 23825) | function getHostSibling(fiber) {
function commitPlacement (line 23873) | function commitPlacement(finishedWork) {
function insertOrAppendPlacementNodeIntoContainer (line 23914) | function insertOrAppendPlacementNodeIntoContainer(node, before, parent) {
function insertOrAppendPlacementNode (line 23941) | function insertOrAppendPlacementNode(node, before, parent) {
function commitDeletionEffects (line 23975) | function commitDeletionEffects(root, returnFiber, deletedFiber) {
function recursivelyTraverseDeletionEffects (line 24033) | function recursivelyTraverseDeletionEffects(finishedRoot, nearestMounted...
function commitDeletionEffectsOnFiber (line 24043) | function commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncest...
function commitSuspenseCallback (line 24225) | function commitSuspenseCallback(finishedWork) {
function commitSuspenseHydrationCallbacks (line 24230) | function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) {
function attachSuspenseRetryListeners (line 24251) | function attachSuspenseRetryListeners(finishedWork) {
function commitMutationEffects (line 24288) | function commitMutationEffects(root, finishedWork, committedLanes) {
function recursivelyTraverseMutationEffects (line 24298) | function recursivelyTraverseMutationEffects(root, parentFiber, lanes) {
function commitMutationEffectsOnFiber (line 24330) | function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
function commitReconciliationEffects (line 24632) | function commitReconciliationEffects(finishedWork) {
function commitLayoutEffects (line 24657) | function commitLayoutEffects(finishedWork, root, committedLanes) {
function commitLayoutEffects_begin (line 24666) | function commitLayoutEffects_begin(subtreeRoot, root, committedLanes) {
function commitLayoutMountEffects_complete (line 24728) | function commitLayoutMountEffects_complete(subtreeRoot, root, committedL...
function disappearLayoutEffects_begin (line 24762) | function disappearLayoutEffects_begin(subtreeRoot) {
function disappearLayoutEffects_complete (line 24832) | function disappearLayoutEffects_complete(subtreeRoot) {
function reappearLayoutEffects_begin (line 24853) | function reappearLayoutEffects_begin(subtreeRoot) {
function reappearLayoutEffects_complete (line 24880) | function reappearLayoutEffects_complete(subtreeRoot) {
function commitPassiveMountEffects (line 24913) | function commitPassiveMountEffects(root, finishedWork, committedLanes, c...
function commitPassiveMountEffects_begin (line 24918) | function commitPassiveMountEffects_begin(subtreeRoot, root, committedLan...
function commitPassiveMountEffects_complete (line 24932) | function commitPassiveMountEffects_complete(subtreeRoot, root, committed...
function commitPassiveMountOnFiber (line 24965) | function commitPassiveMountOnFiber(finishedRoot, finishedWork, committed...
function commitPassiveUnmountEffects (line 24988) | function commitPassiveUnmountEffects(firstChild) {
function commitPassiveUnmountEffects_begin (line 24993) | function commitPassiveUnmountEffects_begin() {
function commitPassiveUnmountEffects_complete (line 25050) | function commitPassiveUnmountEffects_complete() {
function commitPassiveUnmountOnFiber (line 25072) | function commitPassiveUnmountOnFiber(finishedWork) {
function commitPassiveUnmountEffectsInsideOfDeletedTree_begin (line 25091) | function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(deletedSub...
function commitPassiveUnmountEffectsInsideOfDeletedTree_complete (line 25111) | function commitPassiveUnmountEffectsInsideOfDeletedTree_complete(deleted...
function commitPassiveUnmountInsideDeletedTreeOnFiber (line 25139) | function commitPassiveUnmountInsideDeletedTreeOnFiber(current, nearestMo...
function invokeLayoutEffectMountInDEV (line 25159) | function invokeLayoutEffectMountInDEV(fiber) {
function invokePassiveEffectMountInDEV (line 25193) | function invokePassiveEffectMountInDEV(fiber) {
function invokeLayoutEffectUnmountInDEV (line 25214) | function invokeLayoutEffectUnmountInDEV(fiber) {
function invokePassiveEffectUnmountInDEV (line 25246) | function invokePassiveEffectUnmountInDEV(fiber) {
function onCommitRoot$1 (line 25280) | function onCommitRoot$1() {
function isLegacyActEnvironment (line 25289) | function isLegacyActEnvironment(fiber) {
function isConcurrentActEnvironment (line 25302) | function isConcurrentActEnvironment() {
function resetRenderTimer (line 25391) | function resetRenderTimer() {
function getRenderTargetTime (line 25395) | function getRenderTargetTime() {
function getWorkInProgressRoot (line 25421) | function getWorkInProgressRoot() {
function requestEventTime (line 25424) | function requestEventTime() {
function requestUpdateLane (line 25440) | function requestUpdateLane(fiber) {
function requestRetryLane (line 25509) | function requestRetryLane(fiber) {
function scheduleUpdateOnFiber (line 25523) | function scheduleUpdateOnFiber(root, fiber, lane, eventTime) {
function scheduleInitialHydrationOnRoot (line 25594) | function scheduleInitialHydrationOnRoot(root, lane, eventTime) {
function isUnsafeClassRenderPhaseUpdate (line 25609) | function isUnsafeClassRenderPhaseUpdate(fiber) {
function ensureRootIsScheduled (line 25622) | function ensureRootIsScheduled(root, currentTime) {
function performConcurrentWorkOnRoot (line 25741) | function performConcurrentWorkOnRoot(root, didTimeout) {
function recoverFromConcurrentError (line 25873) | function recoverFromConcurrentError(root, errorRetryLanes) {
function queueRecoverableErrors (line 25918) | function queueRecoverableErrors(errors) {
function finishConcurrentRender (line 25926) | function finishConcurrentRender(root, exitStatus, lanes) {
function isRenderConsistentWithExternalStores (line 26041) | function isRenderConsistentWithExternalStores(finishedWork) {
function markRootSuspended$1 (line 26104) | function markRootSuspended$1(root, suspendedLanes) {
function performSyncWorkOnRoot (line 26116) | function performSyncWorkOnRoot(root) {
function flushRoot (line 26173) | function flushRoot(root, lanes) {
function batchedUpdates$1 (line 26184) | function batchedUpdates$1(fn, a) {
function discreteUpdates (line 26201) | function discreteUpdates(fn, a, b, c, d) {
function flushSync (line 26221) | function flushSync(fn) {
function isAlreadyRendering (line 26254) | function isAlreadyRendering() {
function pushRenderLanes (line 26259) | function pushRenderLanes(fiber, lanes) {
function popRenderLanes (line 26264) | function popRenderLanes(fiber) {
function prepareFreshStack (line 26269) | function prepareFreshStack(root, lanes) {
function handleError (line 26312) | function handleError(root, thrownValue) {
function pushDispatcher (line 26383) | function pushDispatcher() {
function popDispatcher (line 26397) | function popDispatcher(prevDispatcher) {
function markCommitTimeOfFallback (line 26401) | function markCommitTimeOfFallback() {
function markSkippedUpdateLanes (line 26404) | function markSkippedUpdateLanes(lane) {
function renderDidSuspend (line 26407) | function renderDidSuspend() {
function renderDidSuspendDelayIfPossible (line 26412) | function renderDidSuspendDelayIfPossible() {
function renderDidError (line 26430) | function renderDidError(error) {
function renderHasNotSuspendedYet (line 26443) | function renderHasNotSuspendedYet() {
function renderRootSync (line 26449) | function renderRootSync(root, lanes) {
function workLoopSync (line 26512) | function workLoopSync() {
function renderRootConcurrent (line 26519) | function renderRootConcurrent(root, lanes) {
function workLoopConcurrent (line 26589) | function workLoopConcurrent() {
function performUnitOfWork (line 26596) | function performUnitOfWork(unitOfWork) {
function completeUnitOfWork (line 26625) | function completeUnitOfWork(unitOfWork) {
function commitRoot (line 26722) | function commitRoot(root, recoverableErrors, transitions) {
function commitRootImpl (line 26740) | function commitRootImpl(root, recoverableErrors, transitions, renderPrio...
function flushPassiveEffects (line 27017) | function flushPassiveEffects() {
function enqueuePendingPassiveProfilerEffect (line 27042) | function enqueuePendingPassiveProfilerEffect(fiber) {
function flushPassiveEffectsImpl (line 27056) | function flushPassiveEffectsImpl() {
function isAlreadyFailedLegacyErrorBoundary (line 27141) | function isAlreadyFailedLegacyErrorBoundary(instance) {
function markLegacyErrorBoundaryAsFailed (line 27144) | function markLegacyErrorBoundaryAsFailed(instance) {
function prepareToThrowUncaughtError (line 27152) | function prepareToThrowUncaughtError(error) {
function captureCommitPhaseErrorOnRoot (line 27161) | function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {
function captureCommitPhaseError (line 27173) | function captureCommitPhaseError(sourceFiber, nearestMountedAncestor, er...
function pingSuspendedRoot (line 27227) | function pingSuspendedRoot(root, wakeable, pingedLanes) {
function retryTimedOutBoundary (line 27261) | function retryTimedOutBoundary(boundaryFiber, retryLane) {
function retryDehydratedSuspenseBoundary (line 27282) | function retryDehydratedSuspenseBoundary(boundaryFiber) {
function resolveRetryWakeable (line 27292) | function resolveRetryWakeable(boundaryFiber, wakeable) {
function jnd (line 27333) | function jnd(timeElapsed) {
function checkForNestedUpdates (line 27337) | function checkForNestedUpdates() {
function flushRenderPhaseStrictModeWarningsInDEV (line 27354) | function flushRenderPhaseStrictModeWarningsInDEV() {
function commitDoubleInvokeEffectsInDEV (line 27364) | function commitDoubleInvokeEffectsInDEV(fiber, hasPassiveEffects) {
function invokeEffectsInDev (line 27386) | function invokeEffectsInDev(firstChild, fiberFlags, invokeEffectFn) {
function warnAboutUpdateOnNotYetMountedFiberInDEV (line 27414) | function warnAboutUpdateOnNotYetMountedFiberInDEV(fiber) {
function warnAboutRenderPhaseUpdatesInDEV (line 27525) | function warnAboutRenderPhaseUpdatesInDEV(fiber) {
function restorePendingUpdaters (line 27562) | function restorePendingUpdaters(root, lanes) {
function scheduleCallback$1 (line 27576) | function scheduleCallback$1(priorityLevel, callback) {
function cancelCallback$1 (line 27591) | function cancelCallback$1(callbackNode) {
function shouldForceFlushFallbacksInDEV (line 27600) | function shouldForceFlushFallbacksInDEV() {
function warnIfUpdatesNotWrappedWithActDEV (line 27605) | function warnIfUpdatesNotWrappedWithActDEV(fiber) {
function warnIfSuspenseResolutionNotWrappedWithActDEV (line 27650) | function warnIfSuspenseResolutionNotWrappedWithActDEV(root) {
function setIsRunningInsertionEffect (line 27658) | function setIsRunningInsertionEffect(isRunning) {
function resolveFunctionForHotReloading (line 27673) | function resolveFunctionForHotReloading(type) {
function resolveClassForHotReloading (line 27690) | function resolveClassForHotReloading(type) {
function resolveForwardRefForHotReloading (line 27694) | function resolveForwardRefForHotReloading(type) {
function isCompatibleFamilyForHotReloading (line 27732) | function isCompatibleFamilyForHotReloading(fiber, element) {
function markFailedErrorBoundaryForHotReloading (line 27816) | function markFailedErrorBoundaryForHotReloading(fiber) {
function scheduleFibersWithFamiliesRecursively (line 27865) | function scheduleFibersWithFamiliesRecursively(fiber, updatedFamilies, s...
function findHostInstancesForMatchingFibersRecursively (line 27948) | function findHostInstancesForMatchingFibersRecursively(fiber, types, hos...
function findHostInstancesForFiberShallowly (line 27994) | function findHostInstancesForFiberShallowly(fiber, hostInstances) {
function findChildHostInstancesForFiberShallowly (line 28029) | function findChildHostInstancesForFiberShallowly(fiber, hostInstances) {
function FiberNode (line 28083) | function FiberNode(tag, pendingProps, key, mode) {
function shouldConstruct$1 (line 28167) | function shouldConstruct$1(Component) {
function isSimpleFunctionComponent (line 28172) | function isSimpleFunctionComponent(type) {
function resolveLazyComponentTag (line 28175) | function resolveLazyComponentTag(Component) {
function createWorkInProgress (line 28193) | function createWorkInProgress(current, pendingProps) {
function resetWorkInProgress (line 28286) | function resetWorkInProgress(workInProgress, renderLanes) {
function createHostRootFiber (line 28347) | function createHostRootFiber(tag, isStrictMode, concurrentUpdatesByDefau...
function createFiberFromTypeAndProps (line 28373) | function createFiberFromTypeAndProps(type, // React$ElementType
function createFiberFromElement (line 28504) | function createFiberFromElement(element, mode, lanes) {
function createFiberFromFragment (line 28523) | function createFiberFromFragment(elements, mode, lanes, key) {
function createFiberFromProfiler (line 28529) | function createFiberFromProfiler(pendingProps, mode, lanes, key) {
function createFiberFromSuspense (line 28550) | function createFiberFromSuspense(pendingProps, mode, lanes, key) {
function createFiberFromSuspenseList (line 28556) | function createFiberFromSuspenseList(pendingProps, mode, lanes, key) {
function createFiberFromOffscreen (line 28562) | function createFiberFromOffscreen(pendingProps, mode, lanes, key) {
function createFiberFromText (line 28572) | function createFiberFromText(content, mode, lanes) {
function createFiberFromHostInstanceForDeletion (line 28577) | function createFiberFromHostInstanceForDeletion() {
function createFiberFromDehydratedFragment (line 28582) | function createFiberFromDehydratedFragment(dehydratedNode) {
function createFiberFromPortal (line 28587) | function createFiberFromPortal(portal, mode, lanes) {
function assignFiberPropertiesInDEV (line 28600) | function assignFiberPropertiesInDEV(target, source) {
function FiberRootNode (line 28649) | function FiberRootNode(containerInfo, tag, hydrate, identifierPrefix, on...
function createFiberRoot (line 28705) | function createFiberRoot(containerInfo, tag, hydrate, initialChildren, h...
function createPortal (line 28736) | function createPortal(children, containerInfo, // TODO: figure out the A...
function getContextForSubtree (line 28762) | function getContextForSubtree(parentComponent) {
function findHostInstanceWithWarning (line 28781) | function findHostInstanceWithWarning(component, methodName) {
function createContainer (line 28831) | function createContainer(containerInfo, tag, hydrationCallbacks, isStric...
function createHydrationContainer (line 28836) | function createHydrationContainer(initialChildren, // TODO: Remove `call...
function updateContainer (line 28857) | function updateContainer(element, container, parentComponent, callback) {
function getPublicRootInstance (line 28913) | function getPublicRootInstance(container) {
function attemptSynchronousHydration$1 (line 28928) | function attemptSynchronousHydration$1(fiber) {
function markRetryLaneImpl (line 28963) | function markRetryLaneImpl(fiber, retryLane) {
function markRetryLaneIfNotHydrated (line 28972) | function markRetryLaneIfNotHydrated(fiber, retryLane) {
function attemptContinuousHydration$1 (line 28980) | function attemptContinuousHydration$1(fiber) {
function attemptHydrationAtCurrentPriority$1 (line 28999) | function attemptHydrationAtCurrentPriority$1(fiber) {
function findHostInstanceWithNoPortals (line 29016) | function findHostInstanceWithNoPortals(fiber) {
function shouldError (line 29030) | function shouldError(fiber) {
function shouldSuspend (line 29038) | function shouldSuspend(fiber) {
function findHostInstanceByFiber (line 29269) | function findHostInstanceByFiber(fiber) {
function emptyFindFiberByHostInstance (line 29279) | function emptyFindFiberByHostInstance(instance) {
function getCurrentFiberForDevTools (line 29283) | function getCurrentFiberForDevTools() {
function injectIntoDevTools (line 29287) | function injectIntoDevTools(devToolsConfig) {
function ReactDOMRoot (line 29330) | function ReactDOMRoot(internalRoot) {
function createRoot (line 29392) | function createRoot(container, options) {
function ReactDOMHydrationRoot (line 29439) | function ReactDOMHydrationRoot(internalRoot) {
function scheduleHydration (line 29443) | function scheduleHydration(target) {
function hydrateRoot (line 29450) | function hydrateRoot(container, initialChildren, options) {
function isValidContainer (line 29501) | function isValidContainer(node) {
function isValidContainerLegacy (line 29506) | function isValidContainerLegacy(node) {
function warnIfReactDOMContainerInDEV (line 29510) | function warnIfReactDOMContainerInDEV(container) {
function getReactRootElementInContainer (line 29555) | function getReactRootElementInContainer(container) {
function noopOnRecoverableError (line 29567) | function noopOnRecoverableError() {// This isn't reachable because onRec...
function legacyCreateRootFromDOMContainer (line 29571) | function legacyCreateRootFromDOMContainer(container, initialChildren, pa...
function warnOnInvalidCallback$1 (line 29631) | function warnOnInvalidCallback$1(callback, callerName) {
function legacyRenderSubtreeIntoContainer (line 29639) | function legacyRenderSubtreeIntoContainer(parentComponent, children, con...
function findDOMNode (line 29671) | function findDOMNode(componentOrElement) {
function hydrate (line 29704) | function hydrate(element, container, callback) {
function render (line 29724) | function render(element, container, callback) {
function unstable_renderSubtreeIntoContainer (line 29743) | function unstable_renderSubtreeIntoContainer(parentComponent, element, c...
function unmountComponentAtNode (line 29759) | function unmountComponentAtNode(container) {
function createPortal$1 (line 29835) | function createPortal$1(children, container) {
function renderSubtreeIntoContainer (line 29847) | function renderSubtreeIntoContainer(parentComponent, element, containerN...
function createRoot$1 (line 29858) | function createRoot$1(container, options) {
function hydrateRoot$1 (line 29868) | function hydrateRoot$1(container, initialChildren, options) {
function flushSync$1 (line 29881) | function flushSync$1(fn) {
FILE: internal/js/modules/k6/browser/tests/static/react.development.js
function getIteratorFn (line 37) | function getIteratorFn(maybeIterable) {
function setExtraStackFrame (line 93) | function setExtraStackFrame(stack) {
function warn (line 155) | function warn(format) {
function error (line 166) | function error(format) {
function printWarning (line 178) | function printWarning(level, format, args) {
function warnNoop (line 205) | function warnNoop(publicInstance, callerName) {
function Component (line 302) | function Component(props, context, updater) {
function ComponentDummy (line 395) | function ComponentDummy() {}
function PureComponent (line 402) | function PureComponent(props, context, updater) {
function createRef (line 417) | function createRef() {
function isArray (line 431) | function isArray(a) {
function typeName (line 445) | function typeName(value) {
function willCoercionThrow (line 455) | function willCoercionThrow(value) {
function testStringCoercion (line 466) | function testStringCoercion(value) {
function checkKeyStringCoercion (line 492) | function checkKeyStringCoercion(value) {
function getWrappedName (line 502) | function getWrappedName(outerType, innerType, wrapperName) {
function getContextName (line 514) | function getContextName(type) {
function getComponentNameFromType (line 519) | function getComponentNameFromType(type) {
function hasValidRef (line 616) | function hasValidRef(config) {
function hasValidKey (line 630) | function hasValidKey(config) {
function defineKeyPropWarningGetter (line 644) | function defineKeyPropWarningGetter(props, displayName) {
function defineRefPropWarningGetter (line 662) | function defineRefPropWarningGetter(props, displayName) {
function warnIfStringRefCannotBeAutoConverted (line 680) | function warnIfStringRefCannotBeAutoConverted(config) {
function createElement (line 773) | function createElement(type, config, children) {
function cloneAndReplaceKey (line 858) | function cloneAndReplaceKey(oldElement, newKey) {
function cloneElement (line 867) | function cloneElement(element, config, children) {
function isValidElement (line 947) | function isValidElement(object) {
function escape (line 960) | function escape(key) {
function escapeUserProvidedKey (line 980) | function escapeUserProvidedKey(text) {
function getElementKey (line 992) | function getElementKey(element, index) {
function mapIntoArray (line 1008) | function mapIntoArray(children, array, escapedPrefix, nameSoFar, callbac...
function mapChildren (line 1140) | function mapChildren(children, func, context) {
function countChildren (line 1163) | function countChildren(children) {
function forEachChildren (line 1183) | function forEachChildren(children, forEachFunc, forEachContext) {
function toArray (line 1196) | function toArray(children) {
function onlyChild (line 1217) | function onlyChild(children) {
function createContext (line 1225) | function createContext(defaultValue) {
function lazyInitializer (line 1344) | function lazyInitializer(payload) {
function lazy (line 1401) | function lazy(ctor) {
function forwardRef (line 1457) | function forwardRef(render) {
function isValidElementType (line 1514) | function isValidElementType(type) {
function memo (line 1537) | function memo(type, compare) {
function resolveDispatcher (line 1577) | function resolveDispatcher() {
function useContext (line 1591) | function useContext(Context) {
function useState (line 1610) | function useState(initialState) {
function useReducer (line 1614) | function useReducer(reducer, initialArg, init) {
function useRef (line 1618) | function useRef(initialValue) {
function useEffect (line 1622) | function useEffect(create, deps) {
function useInsertionEffect (line 1626) | function useInsertionEffect(create, deps) {
function useLayoutEffect (line 1630) | function useLayoutEffect(create, deps) {
function useCallback (line 1634) | function useCallback(callback, deps) {
function useMemo (line 1638) | function useMemo(create, deps) {
function useImperativeHandle (line 1642) | function useImperativeHandle(ref, create, deps) {
function useDebugValue (line 1646) | function useDebugValue(value, formatterFn) {
function useTransition (line 1652) | function useTransition() {
function useDeferredValue (line 1656) | function useDeferredValue(value) {
function useId (line 1660) | function useId() {
function useSyncExternalStore (line 1664) | function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
function disabledLog (line 1682) | function disabledLog() {}
function disableLogs (line 1685) | function disableLogs() {
function reenableLogs (line 1719) | function reenableLogs() {
function describeBuiltInComponentFrame (line 1765) | function describeBuiltInComponentFrame(name, source, ownerFn) {
function describeNativeComponentFrame (line 1789) | function describeNativeComponentFrame(fn, construct) {
function describeFunctionComponentFrame (line 1948) | function describeFunctionComponentFrame(fn, source, ownerFn) {
function shouldConstruct (line 1954) | function shouldConstruct(Component) {
function describeUnknownElementTypeFrameInDEV (line 1959) | function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
function setCurrentlyValidatingElement (line 2012) | function setCurrentlyValidatingElement(element) {
function checkPropTypes (line 2024) | function checkPropTypes(typeSpecs, values, location, componentName, elem...
function setCurrentlyValidatingElement$1 (line 2073) | function setCurrentlyValidatingElement$1(element) {
function getDeclarationErrorAddendum (line 2091) | function getDeclarationErrorAddendum() {
function getSourceInfoErrorAddendum (line 2103) | function getSourceInfoErrorAddendum(source) {
function getSourceInfoErrorAddendumForProps (line 2113) | function getSourceInfoErrorAddendumForProps(elementProps) {
function getCurrentComponentErrorInfo (line 2129) | function getCurrentComponentErrorInfo(parentType) {
function validateExplicitKey (line 2155) | function validateExplicitKey(element, parentType) {
function validateChildKeys (line 2197) | function validateChildKeys(node, parentType) {
function validatePropTypes (line 2242) | function validatePropTypes(element) {
function validateFragmentProps (line 2285) | function validateFragmentProps(fragment) {
function createElementWithValidation (line 2311) | function createElementWithValidation(type, props, children) {
function createFactoryWithValidation (line 2375) | function createFactoryWithValidation(type) {
function cloneElementWithValidation (line 2402) | function cloneElementWithValidation(element, props, children) {
function push (line 2417) | function push(heap, node) {
function peek (line 2422) | function peek(heap) {
function pop (line 2425) | function pop(heap) {
function siftUp (line 2441) | function siftUp(heap, node, i) {
function siftDown (line 2460) | function siftDown(heap, node, i) {
function compare (line 2492) | function compare(a, b) {
function markTaskErrored (line 2505) | function markTaskErrored(task, ms) {
function advanceTimers (line 2557) | function advanceTimers(currentTime) {
function handleTimeout (line 2579) | function handleTimeout(currentTime) {
function flushWork (line 2597) | function flushWork(hasTimeRemaining, initialTime) {
function workLoop (line 2635) | function workLoop(hasTimeRemaining, initialTime) {
function unstable_runWithPriority (line 2687) | function unstable_runWithPriority(priorityLevel, eventHandler) {
function unstable_next (line 2710) | function unstable_next(eventHandler) {
function unstable_wrapCallback (line 2737) | function unstable_wrapCallback(callback) {
function unstable_scheduleCallback (line 2752) | function unstable_scheduleCallback(priorityLevel, callback, options) {
function unstable_pauseExecution (line 2835) | function unstable_pauseExecution() {
function unstable_continueExecution (line 2838) | function unstable_continueExecution() {
function unstable_getFirstCallbackNode (line 2846) | function unstable_getFirstCallbackNode() {
function unstable_cancelCallback (line 2850) | function unstable_cancelCallback(task) {
function unstable_getCurrentPriorityLevel (line 2858) | function unstable_getCurrentPriorityLevel() {
function shouldYieldToHost (line 2872) | function shouldYieldToHost() {
function requestPaint (line 2885) | function requestPaint() {
function forceFrameRate (line 2889) | function forceFrameRate(fps) {
function requestHostCallback (line 2970) | function requestHostCallback(callback) {
function requestHostTimeout (line 2979) | function requestHostTimeout(callback, ms) {
function cancelHostTimeout (line 2985) | function cancelHostTimeout() {
method unstable_now (line 3013) | get unstable_now () { return getCurrentTime; }
function startTransition (line 3035) | function startTransition(scope, options) {
function enqueueTask (line 3065) | function enqueueTask(task) {
function act (line 3102) | function act(callback) {
function popActScope (line 3229) | function popActScope(prevActScopeDepth) {
function recursivelyFlushAsyncActWork (line 3239) | function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
function flushActQueue (line 3267) | function flushActQueue(queue) {
FILE: internal/js/modules/k6/browser/tests/test_browser.go
constant testBrowserStaticDir (line 29) | testBrowserStaticDir = "static"
type testBrowser (line 32) | type testBrowser struct
method applyDefaultOptions (line 128) | func (b *testBrowser) applyDefaultOptions() {
method applyOptions (line 136) | func (b *testBrowser) applyOptions(opts ...func(*testBrowser)) {
method withFileServer (line 178) | func (b *testBrowser) withFileServer() *testBrowser {
method withHandler (line 193) | func (b *testBrowser) withHandler(pattern string, handler http.Handler...
method withIFrameURL (line 253) | func (tb *testBrowser) withIFrameURL(iframeURL string, iframeID string) {
method GotoNewPage (line 308) | func (b *testBrowser) GotoNewPage(url string) *common.Page {
method GotoPage (line 323) | func (b *testBrowser) GotoPage(p *common.Page, url string) {
method GotoPageAndAssertURL (line 334) | func (b *testBrowser) GotoPageAndAssertURL(p *common.Page, url string) {
method AssertURL (line 344) | func (b *testBrowser) AssertURL(p *common.Page, expectedURL string, ms...
method NewPage (line 354) | func (b *testBrowser) NewPage(opts *common.BrowserContextOptions) *com...
method url (line 364) | func (b *testBrowser) url(path string) string {
method staticURL (line 374) | func (b *testBrowser) staticURL(path string) string {
method context (line 380) | func (b *testBrowser) context() context.Context { return b.ctx }
method cancelContext (line 383) | func (b *testBrowser) cancelContext() { b.cancel() }
method runtime (line 386) | func (b *testBrowser) runtime() *sobek.Runtime { return b.vu.Runtime() }
method toSobekValue (line 389) | func (b *testBrowser) toSobekValue(i any) sobek.Value { return b.runti...
method runJavaScript (line 392) | func (b *testBrowser) runJavaScript(s string, args ...any) (sobek.Valu...
method run (line 402) | func (b *testBrowser) run(ctx context.Context, fs ...func() error) err...
method awaitWithTimeout (line 431) | func (b *testBrowser) awaitWithTimeout(timeout time.Duration, fn func(...
function newTestBrowser (line 73) | func newTestBrowser(tb testing.TB, opts ...func(*testBrowser)) *testBrow...
function newTestBrowserVU (line 105) | func newTestBrowserVU(tb testing.TB, tbr *testBrowser) (_ *k6test.VU, ca...
function withEnvLookup (line 147) | func withEnvLookup(lookupFunc env.LookupFunc) func(*testBrowser) {
function withFileServer (line 159) | func withFileServer() func(*testBrowser) {
function withHTTPServer (line 209) | func withHTTPServer() func(*testBrowser) {
function withIFrameContent (line 226) | func withIFrameContent(iframeHTML string, iframeID string) func(*testBro...
function withLogCache (line 280) | func withLogCache() func(*testBrowser) {
function withSamples (line 291) | func withSamples(sc chan k6metrics.SampleContainer) func(*testBrowser) {
function withSkipClose (line 302) | func withSkipClose() func(*testBrowser) {
function convert (line 455) | func convert[T any](tb testing.TB, from any, to *T) *T {
function asBool (line 464) | func asBool(tb testing.TB, v any) bool {
function asString (line 473) | func asString(tb testing.TB, v any) string {
function toPtr (line 482) | func toPtr[T any](v T) *T {
FILE: internal/js/modules/k6/browser/tests/test_browser_proxy.go
type testBrowserProxy (line 18) | type testBrowserProxy struct
method wsURL (line 41) | func (p *testBrowserProxy) wsURL() string {
method connHandler (line 51) | func (p *testBrowserProxy) connHandler() http.Handler {
method fwdMssgs (line 91) | func (p *testBrowserProxy) fwdMssgs(ctx context.Context,
function newTestBrowserProxy (line 29) | func newTestBrowserProxy(tb testing.TB, b *testBrowser) *testBrowserProxy {
FILE: internal/js/modules/k6/browser/tests/test_browser_test.go
function TestTestBrowserAwaitWithTimeoutShortCircuit (line 13) | func TestTestBrowserAwaitWithTimeoutShortCircuit(t *testing.T) {
type testingT (line 25) | type testingT struct
method Fatalf (line 33) | func (t *testingT) Fatalf(format string, args ...any) {
function TestTestBrowserWithLookupFunc (line 38) | func TestTestBrowserWithLookupFunc(t *testing.T) {
FILE: internal/js/modules/k6/browser/tests/tracing_test.go
constant html (line 25) | html = `
function TestTracing (line 57) | func TestTracing(t *testing.T) {
function TestNavigationSpanCreation (line 184) | func TestNavigationSpanCreation(t *testing.T) {
function setupTestTracing (line 329) | func setupTestTracing(t *testing.T, rt *sobek.Runtime) {
function assertJSInEventLoop (line 345) | func assertJSInEventLoop(t *testing.T, vu *k6test.VU, js string) {
type mockTracerProvider (line 366) | type mockTracerProvider struct
method Tracer (line 372) | func (m *mockTracerProvider) Tracer(
type mockTracer (line 378) | type mockTracer struct
method Start (line 386) | func (m *mockTracer) Start(
method verifySpans (line 402) | func (m *mockTracer) verifySpans(spanNames ...string) error {
method cloneOrderedSpans (line 416) | func (m *mockTracer) cloneOrderedSpans() []string {
FILE: internal/js/modules/k6/browser/tests/webvital_test.go
function TestWebVitalMetric (line 18) | func TestWebVitalMetric(t *testing.T) {
function TestWebVitalMetricNoInteraction (line 69) | func TestWebVitalMetricNoInteraction(t *testing.T) {
function markExpectedWebVitalsFromSamples (line 107) | func markExpectedWebVitalsFromSamples(samples <-chan k6metrics.SampleCon...
FILE: internal/js/modules/k6/browser/tests/ws/server.go
type Server (line 33) | type Server struct
function NewServer (line 43) | func NewServer(t testing.TB, opts ...func(*Server)) *Server {
function WithClosureAbnormalHandler (line 98) | func WithClosureAbnormalHandler(path string) func(*Server) {
function WithEchoHandler (line 117) | func WithEchoHandler(path string) func(*Server) {
function WithCDPHandler (line 154) | func WithCDPHandler(
function CDPDefaultHandler (line 239) | func CDPDefaultHandler(conn *websocket.Conn, msg *cdproto.Message, write...
FILE: internal/js/modules/k6/browser/trace/trace.go
constant tracerName (line 16) | tracerName = "k6.browser"
type liveSpan (line 25) | type liveSpan struct
type Tracer (line 34) | type Tracer struct
method Start (line 53) | func (t *Tracer) Start(
method TraceAPICall (line 65) | func (t *Tracer) TraceAPICall(
method TraceNavigation (line 88) | func (t *Tracer) TraceNavigation(
method TraceEvent (line 122) | func (t *Tracer) TraceEvent(
function NewTracer (line 44) | func NewTracer(tp k6lib.TracerProvider, metadata map[string]string, opti...
function buildMetadataAttributes (line 151) | func buildMetadataAttributes(metadata map[string]string) []attribute.Key...
type NoopSpan (line 161) | type NoopSpan struct
method SpanContext (line 166) | func (NoopSpan) SpanContext() trace.SpanContext { return trace.SpanCon...
method IsRecording (line 169) | func (NoopSpan) IsRecording() bool { return false }
method SetStatus (line 172) | func (NoopSpan) SetStatus(codes.Code, string) {}
method SetError (line 175) | func (NoopSpan) SetError(bool) {}
method SetAttributes (line 178) | func (NoopSpan) SetAttributes(...attribute.KeyValue) {}
method End (line 181) | func (NoopSpan) End(...trace.SpanEndOption) {}
method RecordError (line 184) | func (NoopSpan) RecordError(error, ...trace.EventOption) {}
method AddEvent (line 187) | func (NoopSpan) AddEvent(string, ...trace.EventOption) {}
method SetName (line 190) | func (NoopSpan) SetName(string) {}
method TracerProvider (line 193) | func (NoopSpan) TracerProvider() trace.TracerProvider { return noop.Ne...
FILE: internal/js/modules/k6/crypto/crypto.go
type RootModule (line 29) | type RootModule struct
method NewModuleInstance (line 50) | func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type Crypto (line 32) | type Crypto struct
method Exports (line 55) | func (c *Crypto) Exports() modules.Exports {
method randomBytes (line 77) | func (c *Crypto) randomBytes(size int) (*sobek.ArrayBuffer, error) {
method md4 (line 91) | func (c *Crypto) md4(input any, outputEncoding string) (any, error) {
method md5 (line 96) | func (c *Crypto) md5(input any, outputEncoding string) (any, error) {
method sha1 (line 101) | func (c *Crypto) sha1(input any, outputEncoding string) (any, error) {
method sha256 (line 106) | func (c *Crypto) sha256(input any, outputEncoding string) (any, error) {
method sha384 (line 111) | func (c *Crypto) sha384(input any, outputEncoding string) (any, error) {
method sha512 (line 116) | func (c *Crypto) sha512(input any, outputEncoding string) (any, error) {
method sha512_224 (line 121) | func (c *Crypto) sha512_224(input any, outputEncoding string) (any, er...
method sha512_256 (line 126) | func (c *Crypto) sha512_256(input any, outputEncoding string) (any, er...
method ripemd160 (line 131) | func (c *Crypto) ripemd160(input any, outputEncoding string) (any, err...
method createHash (line 136) | func (c *Crypto) createHash(algorithm string) *Hasher {
method buildInputsDigest (line 145) | func (c *Crypto) buildInputsDigest(alg string, input any, outputEncodi...
method hexEncode (line 157) | func (c *Crypto) hexEncode(data any) (string, error) {
method createHMAC (line 166) | func (c *Crypto) createHMAC(algorithm string, key any) (*Hasher, error) {
method hmac (line 181) | func (c *Crypto) hmac(algorithm string, key, input any, outputEncoding...
method parseHashFunc (line 193) | func (c *Crypto) parseHashFunc(a string) func() hash.Hash {
function New (line 44) | func New() *RootModule {
type Hasher (line 219) | type Hasher struct
method Update (line 225) | func (hasher *Hasher) Update(input any) error {
method Digest (line 238) | func (hasher *Hasher) Digest(outputEncoding string) (any, error) {
FILE: internal/js/modules/k6/crypto/crypto_test.go
type MockReader (line 17) | type MockReader struct
method Read (line 19) | func (MockReader) Read(_ []byte) (int, error) {
function makeRuntime (line 23) | func makeRuntime(t *testing.T) *sobek.Runtime {
function TestCryptoAlgorithms (line 41) | func TestCryptoAlgorithms(t *testing.T) {
function TestStreamingApi (line 232) | func TestStreamingApi(t *testing.T) {
function TestOutputEncoding (line 299) | func TestOutputEncoding(t *testing.T) {
function TestHMac (line 376) | func TestHMac(t *testing.T) {
function TestHexEncode (line 494) | func TestHexEncode(t *testing.T) {
function TestAWSv4 (line 526) | func TestAWSv4(t *testing.T) {
FILE: internal/js/modules/k6/crypto/x509/x509.go
type RootModule (line 23) | type RootModule struct
method NewModuleInstance (line 43) | func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type X509 (line 26) | type X509 struct
method Exports (line 48) | func (mi *X509) Exports() modules.Exports {
method parse (line 107) | func (mi X509) parse(encoded []byte) (Certificate, error) {
method altNames (line 120) | func (mi X509) altNames(encoded []byte) ([]string, error) {
method issuer (line 129) | func (mi X509) issuer(encoded []byte) (Issuer, error) {
method subject (line 138) | func (mi X509) subject(encoded []byte) Subject {
function New (line 37) | func New() *RootModule {
type Certificate (line 60) | type Certificate struct
type RDN (line 72) | type RDN struct
type Subject (line 78) | type Subject struct
type Issuer (line 91) | type Issuer struct
type PublicKey (line 101) | type PublicKey struct
function parseCertificate (line 146) | func parseCertificate(encoded []byte) (*x509.Certificate, error) {
function makeCertificate (line 158) | func makeCertificate(parsed *x509.Certificate) (Certificate, error) {
function makeSubject (line 175) | func makeSubject(subject pkix.Name) Subject {
function makeIssuer (line 189) | func makeIssuer(issuer pkix.Name) Issuer {
function makePublicKey (line 200) | func makePublicKey(parsed any) (PublicKey, error) {
function first (line 219) | func first(values []string) string {
function iso8601 (line 226) | func iso8601(value time.Time) string {
function makeRdns (line 230) | func makeRdns(names []pkix.AttributeTypeAndValue) []RDN {
function makeRdn (line 238) | func makeRdn(name pkix.AttributeTypeAndValue) RDN {
function altNames (line 245) | func altNames(parsed *x509.Certificate) []string {
function ipAddresses (line 255) | func ipAddresses(parsed *x509.Certificate) []string {
function uris (line 263) | func uris(parsed *x509.Certificate) []string {
function signatureAlgorithm (line 271) | func signatureAlgorithm(value x509.SignatureAlgorithm) string {
function fingerPrint (line 278) | func fingerPrint(parsed *x509.Certificate) []byte {
FILE: internal/js/modules/k6/crypto/x509/x509_test.go
function makeRuntime (line 17) | func makeRuntime(t *testing.T) *sobek.Runtime {
type Material (line 33) | type Material struct
function TestParse (line 132) | func TestParse(t *testing.T) {
function TestGetAltNames (line 662) | func TestGetAltNames(t *testing.T) {
function TestGetIssuer (line 705) | func TestGetIssuer(t *testing.T) {
function TestGetSubject (line 746) | func TestGetSubject(t *testing.T) {
function TestSignatureAlgorithm (line 794) | func TestSignatureAlgorithm(t *testing.T) {
function TestMakePublicKey (line 812) | func TestMakePublicKey(t *testing.T) {
function TestMakeCertificateUnsupportedKey (line 823) | func TestMakeCertificateUnsupportedKey(t *testing.T) {
FILE: internal/js/modules/k6/data/data.go
type RootModule (line 22) | type RootModule struct
method NewModuleInstance (line 54) | func (rm *RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type Data (line 27) | type Data struct
method Exports (line 62) | func (d *Data) Exports() modules.Exports {
method sharedArray (line 74) | func (d *Data) sharedArray(call sobek.ConstructorCall) *sobek.Object {
method NewSharedArrayFrom (line 126) | func (d *Data) NewSharedArrayFrom(rt *sobek.Runtime, name string, r Re...
type sharedArrays (line 32) | type sharedArrays struct
method loadOrStore (line 173) | func (s *sharedArrays) loadOrStore(name string, builder func() (shared...
function New (line 44) | func New() *RootModule {
constant asyncFunctionNotSupportedMsg (line 70) | asyncFunctionNotSupportedMsg = "SharedArray constructor does not support...
type RecordReader (line 109) | type RecordReader interface
function getSharedArrayFromCall (line 199) | func getSharedArrayFromCall(rt *sobek.Runtime, call sobek.Callable) (sha...
FILE: internal/js/modules/k6/data/data_test.go
function TestNewSharedArrayFromReusesExistingArrays (line 15) | func TestNewSharedArrayFromReusesExistingArrays(t *testing.T) {
function TestSharedArraysLoadOrStoreBuildsOnce (line 39) | func TestSharedArraysLoadOrStoreBuildsOnce(t *testing.T) {
type countingRecordReader (line 64) | type countingRecordReader struct
method Read (line 74) | func (r *countingRecordReader) Read() (any, error) {
function newCountingRecordReader (line 70) | func newCountingRecordReader(records [][]string) *countingRecordReader {
function TestNewSharedArrayFromConcurrentMultiVU (line 85) | func TestNewSharedArrayFromConcurrentMultiVU(t *testing.T) {
type sharedCountingRecordReader (line 115) | type sharedCountingRecordReader struct
method Read (line 121) | func (r *sharedCountingRecordReader) Read() (any, error) {
function TestNewSharedArrayFromReaderError (line 132) | func TestNewSharedArrayFromReaderError(t *testing.T) {
type errorRecordReader (line 148) | type errorRecordReader struct
method Read (line 154) | func (r *errorRecordReader) Read() (any, error) {
function TestNewSharedArrayFromMarshalError (line 166) | func TestNewSharedArrayFromMarshalError(t *testing.T) {
type unmarshalableRecordReader (line 180) | type unmarshalableRecordReader struct
method Read (line 184) | func (r *unmarshalableRecordReader) Read() (any, error) {
function TestNewSharedArrayFromEmpty (line 193) | func TestNewSharedArrayFromEmpty(t *testing.T) {
function TestNewSharedArrayFromDifferentNames (line 212) | func TestNewSharedArrayFromDifferentNames(t *testing.T) {
FILE: internal/js/modules/k6/data/share.go
type sharedArray (line 10) | type sharedArray struct
method wrap (line 23) | func (s sharedArray) wrap(rt *sobek.Runtime) sobek.Value {
type wrappedSharedArray (line 14) | type wrappedSharedArray struct
method Set (line 36) | func (s wrappedSharedArray) Set(_ int, _ sobek.Value) bool {
method SetLen (line 40) | func (s wrappedSharedArray) SetLen(_ int) bool {
method Get (line 44) | func (s wrappedSharedArray) Get(index int) sobek.Value {
method Len (line 61) | func (s wrappedSharedArray) Len() int {
method deepFreeze (line 65) | func (s wrappedSharedArray) deepFreeze(rt *sobek.Runtime, val sobek.Va...
FILE: internal/js/modules/k6/data/share_test.go
constant makeArrayScript (line 18) | makeArrayScript = `
constant initGlobals (line 29) | initGlobals = `
function newConfiguredRuntime (line 34) | func newConfiguredRuntime(t testing.TB) (*modulestest.Runtime, error) {
function configuredRuntimeFromAnother (line 45) | func configuredRuntimeFromAnother(t testing.TB, another *modulestest.Run...
function TestSharedArrayConstructorExceptions (line 56) | func TestSharedArrayConstructorExceptions(t *testing.T) {
function TestSharedArrayAnotherRuntimeExceptions (line 111) | func TestSharedArrayAnotherRuntimeExceptions(t *testing.T) {
function TestSharedArrayAnotherRuntimeWorking (line 164) | func TestSharedArrayAnotherRuntimeWorking(t *testing.T) {
function TestSharedArrayRaceInInitialization (line 219) | func TestSharedArrayRaceInInitialization(t *testing.T) {
FILE: internal/js/modules/k6/encoding/encoding.go
type RootModule (line 14) | type RootModule struct
method NewModuleInstance (line 34) | func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type Encoding (line 17) | type Encoding struct
method Exports (line 39) | func (e *Encoding) Exports() modules.Exports {
method b64Encode (line 50) | func (e *Encoding) b64Encode(input any, encoding string) string {
method b64Decode (line 72) | func (e *Encoding) b64Decode(input, encoding, format string) any {
function New (line 28) | func New() *RootModule {
FILE: internal/js/modules/k6/encoding/encoding_test.go
function makeRuntime (line 15) | func makeRuntime(t *testing.T) *sobek.Runtime {
function TestEncodingAlgorithms (line 32) | func TestEncodingAlgorithms(t *testing.T) {
FILE: internal/js/modules/k6/execution/execution.go
type RootModule (line 22) | type RootModule struct
method NewModuleInstance (line 43) | func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type ModuleInstance (line 25) | type ModuleInstance struct
method Exports (line 70) | func (mi *ModuleInstance) Exports() modules.Exports {
method newScenarioInfo (line 78) | func (mi *ModuleInstance) newScenarioInfo() (*sobek.Object, error) {
method newInstanceInfo (line 135) | func (mi *ModuleInstance) newInstanceInfo() (*sobek.Object, error) {
method newTestInfo (line 167) | func (mi *ModuleInstance) newTestInfo() (*sobek.Object, error) {
method newVUInfo (line 221) | func (mi *ModuleInstance) newVUInfo() (*sobek.Object, error) {
function New (line 37) | func New() *RootModule {
function newInfoObj (line 278) | func newInfoObj(rt *sobek.Runtime, props map[string]func() any) (*sobek....
function optionsAsObject (line 296) | func optionsAsObject(rt *sobek.Runtime, options lib.Options) (*sobek.Obj...
type tagsDynamicObject (line 354) | type tagsDynamicObject struct
method Get (line 360) | func (o *tagsDynamicObject) Get(key string) sobek.Value {
method Set (line 371) | func (o *tagsDynamicObject) Set(key string, val sobek.Value) bool {
method Has (line 381) | func (o *tagsDynamicObject) Has(key string) bool {
method Delete (line 391) | func (o *tagsDynamicObject) Delete(key string) bool {
method Keys (line 400) | func (o *tagsDynamicObject) Keys() []string {
type metadataDynamicObject (line 411) | type metadataDynamicObject struct
method Get (line 417) | func (o *metadataDynamicObject) Get(key string) sobek.Value {
method Set (line 428) | func (o *metadataDynamicObject) Set(key string, val sobek.Value) bool {
method Has (line 438) | func (o *metadataDynamicObject) Has(key string) bool {
method Delete (line 448) | func (o *metadataDynamicObject) Delete(key string) bool {
method Keys (line 457) | func (o *metadataDynamicObject) Keys() []string {
FILE: internal/js/modules/k6/execution/execution_test.go
function setupTagsExecEnv (line 36) | func setupTagsExecEnv(t *testing.T) *modulestest.Runtime {
function TestVUTagsMetadatasGet (line 45) | func TestVUTagsMetadatasGet(t *testing.T) {
function TestVUTagsMetadatasJSONEncoding (line 70) | func TestVUTagsMetadatasJSONEncoding(t *testing.T) {
function TestVUTagMetadatasSetSuccessAcceptedTypes (line 97) | func TestVUTagMetadatasSetSuccessAcceptedTypes(t *testing.T) {
function TestVUTagsMetadatasSuccessOverwriteSystemTag (line 132) | func TestVUTagsMetadatasSuccessOverwriteSystemTag(t *testing.T) {
function TestVUTagsMetadataErrorOutOnInvalidValues (line 147) | func TestVUTagsMetadataErrorOutOnInvalidValues(t *testing.T) {
function TestAbortTest (line 182) | func TestAbortTest(t *testing.T) { //nolint:tparallel
function TestFailTest (line 220) | func TestFailTest(t *testing.T) {
function TestOptionsTestFull (line 287) | func TestOptionsTestFull(t *testing.T) {
function TestOptionsTestSetPropertyDenied (line 458) | func TestOptionsTestSetPropertyDenied(t *testing.T) {
function TestScenarioNoAvailableInInitContext (line 483) | func TestScenarioNoAvailableInInitContext(t *testing.T) {
function TestOptionsNoAvailableInInitContext (line 511) | func TestOptionsNoAvailableInInitContext(t *testing.T) {
function TestVUDefaultDetails (line 528) | func TestVUDefaultDetails(t *testing.T) {
function TestTagsDynamicObjectGet (line 556) | func TestTagsDynamicObjectGet(t *testing.T) {
function TestTagsDynamicObjectSet (line 570) | func TestTagsDynamicObjectSet(t *testing.T) {
FILE: internal/js/modules/k6/experimental/csv/module.go
type RootModule (line 30) | type RootModule struct
method NewModuleInstance (line 54) | func (rm *RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type ModuleInstance (line 35) | type ModuleInstance struct
method Exports (line 68) | func (mi *ModuleInstance) Exports() modules.Exports {
method Parse (line 98) | func (mi *ModuleInstance) Parse(file sobek.Value, options sobek.Value)...
method NewParser (line 151) | func (mi *ModuleInstance) NewParser(call sobek.ConstructorCall) *sobek...
function New (line 48) | func New() *RootModule {
type Parser (line 78) | type Parser struct
method Next (line 202) | func (p *Parser) Next() *sobek.Promise {
constant parseSharedArrayNamePrefix (line 94) | parseSharedArrayNamePrefix = "csv.parse."
function buildSharedArrayName (line 229) | func buildSharedArrayName(file fs.File, opts options) (string, error) {
type parseResult (line 276) | type parseResult struct
type options (line 290) | type options struct
function newDefaultParserOptions (line 319) | func newDefaultParserOptions() options {
function newParserOptionsFrom (line 328) | func newParserOptionsFrom(obj *sobek.Object) (options, error) {
FILE: internal/js/modules/k6/experimental/csv/module_test.go
constant testFilePath (line 24) | testFilePath = fsext.FilePathSeparator + "testdata.csv"
constant csvTestData (line 28) | csvTestData = `lastname,firstname,composer,born,died,dates
function TestParserConstructor (line 41) | func TestParserConstructor(t *testing.T) {
function TestParserNext (line 155) | func TestParserNext(t *testing.T) {
function TestParse (line 468) | func TestParse(t *testing.T) {
function TestBuildSharedArrayNameDeterministic (line 693) | func TestBuildSharedArrayNameDeterministic(t *testing.T) {
constant initGlobals (line 713) | initGlobals = `
function newConfiguredRuntime (line 718) | func newConfiguredRuntime(t testing.TB) (*modulestest.Runtime, error) {
function newTestFs (line 746) | func newTestFs(t *testing.T, fn func(fs fsext.Fs) error) fsext.Fs {
function wrapInAsyncLambda (line 761) | func wrapInAsyncLambda(input string) string {
FILE: internal/js/modules/k6/experimental/csv/reader.go
type Reader (line 15) | type Reader struct
method Read (line 95) | func (r *Reader) Read() (any, error) {
function NewReaderFrom (line 37) | func NewReaderFrom(r io.Reader, options options) (*Reader, error) {
function validateOptions (line 132) | func validateOptions(options options) error {
FILE: internal/js/modules/k6/experimental/csv/reader_test.go
function TestNewReaderFrom (line 14) | func TestNewReaderFrom(t *testing.T) {
function TestReader_Read (line 143) | func TestReader_Read(t *testing.T) {
function TestValidateOptions (line 237) | func TestValidateOptions(t *testing.T) {
FILE: internal/js/modules/k6/experimental/experimental.go
type RootModule (line 15) | type RootModule struct
method NewModuleInstance (line 28) | func (*RootModule) NewModuleInstance(m modules.VU) modules.Instance {
type ModuleInstance (line 17) | type ModuleInstance struct
method Exports (line 38) | func (mi *ModuleInstance) Exports() modules.Exports {
method setTimeout (line 46) | func (mi *ModuleInstance) setTimeout(f sobek.Callable, t float64) {
function New (line 33) | func New() *RootModule {
FILE: internal/js/modules/k6/experimental/fs/cache.go
type cache (line 41) | type cache struct
method open (line 78) | func (fr *cache) open(filename string, fromFs fsext.Fs) (data []byte, ...
FILE: internal/js/modules/k6/experimental/fs/cache_test.go
function TestFileCacheOpen (line 10) | func TestFileCacheOpen(t *testing.T) {
function sameUnderlyingArray (line 68) | func sameUnderlyingArray(lhs, rhs []byte) bool {
FILE: internal/js/modules/k6/experimental/fs/errors.go
function newFsError (line 5) | func newFsError(k errorKind, message string) *fsError {
type errorKind (line 22) | type errorKind
constant NotFoundError (line 26) | NotFoundError errorKind = iota + 1
constant InvalidResourceError (line 30) | InvalidResourceError
constant ForbiddenError (line 33) | ForbiddenError
constant TypeError (line 36) | TypeError
constant EOFError (line 39) | EOFError
type fsError (line 53) | type fsError struct
method Error (line 69) | func (e *fsError) Error() string {
FILE: internal/js/modules/k6/experimental/fs/errors_gen.go
constant _errorKindName (line 10) | _errorKindName = "NotFoundErrorInvalidResourceErrorForbiddenErrorTypeErr...
constant _errorKindLowerName (line 14) | _errorKindLowerName = "notfounderrorinvalidresourceerrorforbiddenerrorty...
method String (line 16) | func (i errorKind) String() string {
function _errorKindNoOp (line 26) | func _errorKindNoOp() {
function errorKindString (line 60) | func errorKindString(s string) (errorKind, error) {
function errorKindValues (line 72) | func errorKindValues() []errorKind {
function errorKindStrings (line 77) | func errorKindStrings() []string {
method IsAerrorKind (line 84) | func (i errorKind) IsAerrorKind() bool {
FILE: internal/js/modules/k6/experimental/fs/file.go
type file (line 10) | type file struct
method Stat (line 25) | func (f *file) Stat() *FileInfo {
method Read (line 48) | func (f *file) Read(into []byte) (n int, err error) {
method Seek (line 85) | func (f *file) Seek(offset int64, whence SeekMode) (int64, error) { //...
method size (line 141) | func (f *file) size() int64 {
type FileInfo (line 34) | type FileInfo struct
constant SeekModeStart (line 129) | SeekModeStart SeekMode = 0
constant SeekModeCurrent (line 132) | SeekModeCurrent = 1
constant SeekModeEnd (line 138) | SeekModeEnd = 2
FILE: internal/js/modules/k6/experimental/fs/file_test.go
function TestFileImpl (line 10) | func TestFileImpl(t *testing.T) {
FILE: internal/js/modules/k6/experimental/fs/module.go
type RootModule (line 26) | type RootModule struct
method NewModuleInstance (line 51) | func (rm *RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type ModuleInstance (line 31) | type ModuleInstance struct
method Exports (line 57) | func (mi *ModuleInstance) Exports() modules.Exports {
method Open (line 71) | func (mi *ModuleInstance) Open(path sobek.Value) *sobek.Promise {
method openImpl (line 104) | func (mi *ModuleInstance) openImpl(path string) (*File, error) {
function New (line 43) | func New() *RootModule {
type Stater (line 163) | type Stater interface
type ReadSeekStater (line 171) | type ReadSeekStater interface
type File (line 181) | type File struct
method Stat (line 208) | func (f *File) Stat() *sobek.Promise {
method Read (line 225) | func (f *File) Read(into sobek.Value) (*sobek.Promise, error) {
method Seek (line 294) | func (f *File) Seek(offset sobek.Value, whence sobek.Value) (*sobek.Pr...
function isUint8Array (line 333) | func isUint8Array(rt *sobek.Runtime, o *sobek.Object) bool {
function exportInt (line 342) | func exportInt(v sobek.Value) (int64, error) {
FILE: internal/js/modules/k6/experimental/fs/module_test.go
constant testFileName (line 18) | testFileName = "bonjour.txt"
function TestOpen (line 20) | func TestOpen(t *testing.T) {
function TestFile (line 202) | func TestFile(t *testing.T) {
function TestOpenImpl (line 603) | func TestOpenImpl(t *testing.T) {
constant initGlobals (line 687) | initGlobals = `
function newConfiguredRuntime (line 691) | func newConfiguredRuntime(t testing.TB) (*modulestest.Runtime, error) {
function newTestFs (line 714) | func newTestFs(t *testing.T, fn func(fs fsext.Fs) error) fsext.Fs {
function wrapInAsyncLambda (line 729) | func wrapInAsyncLambda(input string) string {
FILE: internal/js/modules/k6/experimental/streams/errors.go
function newTypeError (line 5) | func newTypeError(rt *sobek.Runtime, message string) *jsError {
function newRangeError (line 9) | func newRangeError(rt *sobek.Runtime, message string) *jsError {
function newJsError (line 13) | func newJsError(rt *sobek.Runtime, base sobek.Value, kind errorKind, mes...
type jsError (line 40) | type jsError struct
method Error (line 45) | func (e *jsError) Error() string {
method Err (line 49) | func (e *jsError) Err() *sobek.Object {
function newError (line 53) | func newError(k errorKind, message string) *streamError {
type errorKind (line 62) | type errorKind
constant TypeError (line 66) | TypeError errorKind = iota + 1
constant RangeError (line 69) | RangeError
constant RuntimeError (line 73) | RuntimeError
constant AssertionError (line 76) | AssertionError
constant NotSupportedError (line 79) | NotSupportedError
type streamError (line 82) | type streamError struct
method Error (line 96) | func (e *streamError) Error() string {
function throw (line 100) | func throw(rt *sobek.Runtime, err any) {
function errToObj (line 108) | func errToObj(rt *sobek.Runtime, err any) sobek.Value {
FILE: internal/js/modules/k6/experimental/streams/errors_gen.go
constant _errorKindName (line 9) | _errorKindName = "TypeErrorRangeErrorRuntimeErrorAssertionErrorNotSuppor...
method String (line 13) | func (i errorKind) String() string {
function errorKindString (line 33) | func errorKindString(s string) (errorKind, error) {
function errorKindValues (line 41) | func errorKindValues() []errorKind {
method IsAerrorKind (line 46) | func (i errorKind) IsAerrorKind() bool {
FILE: internal/js/modules/k6/experimental/streams/goja.go
function newResolvedPromise (line 14) | func newResolvedPromise(vu modules.VU, with sobek.Value) *sobek.Promise {
function newRejectedPromise (line 25) | func newRejectedPromise(vu modules.VU, with any) *sobek.Promise {
function promiseThen (line 36) | func promiseThen(
function isNumber (line 71) | func isNumber(value sobek.Value) bool {
function isNonNegativeNumber (line 81) | func isNonNegativeNumber(value sobek.Value) bool {
function setReadOnlyPropertyOf (line 98) | func setReadOnlyPropertyOf(obj *sobek.Object, objName, propName string, ...
function isObject (line 113) | func isObject(val sobek.Value) bool {
FILE: internal/js/modules/k6/experimental/streams/module.go
type RootModule (line 15) | type RootModule struct
method NewModuleInstance (line 35) | func (rm *RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type ModuleInstance (line 18) | type ModuleInstance struct
method Exports (line 42) | func (mi *ModuleInstance) Exports() modules.Exports {
method NewReadableStream (line 51) | func (mi *ModuleInstance) NewReadableStream(call sobek.ConstructorCall...
method NewCountQueuingStrategy (line 174) | func (mi *ModuleInstance) NewCountQueuingStrategy(call sobek.Construct...
method NewReadableStreamDefaultReader (line 270) | func (mi *ModuleInstance) NewReadableStreamDefaultReader(call sobek.Co...
function New (line 30) | func New() *RootModule {
function newReadableStream (line 55) | func newReadableStream(vu modules.VU, call sobek.ConstructorCall) *sobek...
function defaultSizeFunc (line 137) | func defaultSizeFunc(_ sobek.Value) (float64, error) { return 1.0, nil }
function initializeStrategy (line 139) | func initializeStrategy(rt *sobek.Runtime, call sobek.ConstructorCall) *...
function newCountQueuingStrategy (line 185) | func newCountQueuingStrategy(
function extractHighWaterMark (line 225) | func extractHighWaterMark(rt *sobek.Runtime, strategy *sobek.Object, def...
function extractSizeAlgorithm (line 250) | func extractSizeAlgorithm(rt *sobek.Runtime, strategy *sobek.Object) Siz...
function NewReadableStreamFromReader (line 297) | func NewReadableStreamFromReader(vu modules.VU, reader io.Reader) *sobek...
function underlyingSourceFromReader (line 305) | func underlyingSourceFromReader(vu modules.VU, reader io.Reader) *sobek....
FILE: internal/js/modules/k6/experimental/streams/module_test.go
function TestNewReadableStreamFromReader (line 13) | func TestNewReadableStreamFromReader(t *testing.T) {
FILE: internal/js/modules/k6/experimental/streams/queue.go
type ValueWithSize (line 13) | type ValueWithSize struct
type QueueWithSizes (line 19) | type QueueWithSizes struct
method Enqueue (line 38) | func (q *QueueWithSizes) Enqueue(value sobek.Value, size float64) error {
method Dequeue (line 59) | func (q *QueueWithSizes) Dequeue() (sobek.Value, error) {
method Peek (line 79) | func (q *QueueWithSizes) Peek() (sobek.Value, error) {
method Reset (line 92) | func (q *QueueWithSizes) Reset() {
method Len (line 98) | func (q *QueueWithSizes) Len() int {
function NewQueueWithSizes (line 28) | func NewQueueWithSizes(runtime *sobek.Runtime) *QueueWithSizes {
FILE: internal/js/modules/k6/experimental/streams/readable_stream_controller.go
type ReadableStreamController (line 8) | type ReadableStreamController interface
FILE: internal/js/modules/k6/experimental/streams/readable_stream_default_controller.go
type ReadableStreamDefaultController (line 15) | type ReadableStreamDefaultController struct
method Close (line 104) | func (controller *ReadableStreamDefaultController) Close() {
method Enqueue (line 121) | func (controller *ReadableStreamDefaultController) Enqueue(chunk sobek...
method Error (line 141) | func (controller *ReadableStreamDefaultController) Error(err sobek.Val...
method cancelSteps (line 156) | func (controller *ReadableStreamDefaultController) cancelSteps(reason ...
method pullSteps (line 182) | func (controller *ReadableStreamDefaultController) pullSteps(readReque...
method releaseSteps (line 221) | func (controller *ReadableStreamDefaultController) releaseSteps() {
method close (line 229) | func (controller *ReadableStreamDefaultController) close() {
method enqueue (line 255) | func (controller *ReadableStreamDefaultController) enqueue(chunk sobek...
method error (line 303) | func (controller *ReadableStreamDefaultController) error(e any) {
method clearAlgorithms (line 329) | func (controller *ReadableStreamDefaultController) clearAlgorithms() {
method canCloseOrEnqueue (line 347) | func (controller *ReadableStreamDefaultController) canCloseOrEnqueue()...
method resetQueue (line 365) | func (controller *ReadableStreamDefaultController) resetQueue() {
method callPullIfNeeded (line 377) | func (controller *ReadableStreamDefaultController) callPullIfNeeded() {
method shouldCallPull (line 438) | func (controller *ReadableStreamDefaultController) shouldCallPull() bo...
method getDesiredSize (line 474) | func (controller *ReadableStreamDefaultController) getDesiredSize() nu...
method toObject (line 488) | func (controller *ReadableStreamDefaultController) toObject() (*sobek....
function NewReadableStreamDefaultControllerObject (line 61) | func NewReadableStreamDefaultControllerObject(controller *ReadableStream...
FILE: internal/js/modules/k6/experimental/streams/readable_stream_default_reader.go
type ReadableStreamDefaultReader (line 10) | type ReadableStreamDefaultReader struct
method Read (line 52) | func (reader *ReadableStreamDefaultReader) Read() *sobek.Promise {
method Cancel (line 106) | func (reader *ReadableStreamDefaultReader) Cancel(reason sobek.Value) ...
method ReleaseLock (line 130) | func (reader *ReadableStreamDefaultReader) ReleaseLock() {
method release (line 144) | func (reader *ReadableStreamDefaultReader) release() {
method setup (line 158) | func (reader *ReadableStreamDefaultReader) setup(stream *ReadableStrea...
method errorReadRequests (line 176) | func (reader *ReadableStreamDefaultReader) errorReadRequests(e any) {
method read (line 193) | func (reader *ReadableStreamDefaultReader) read(readRequest ReadReques...
function NewReadableStreamDefaultReaderObject (line 19) | func NewReadableStreamDefaultReaderObject(reader *ReadableStreamDefaultR...
type ReadResult (line 120) | type ReadResult struct
FILE: internal/js/modules/k6/experimental/streams/readable_stream_reader.go
type ReadableStreamReader (line 11) | type ReadableStreamReader interface
type ReadableStreamGenericReader (line 31) | type ReadableStreamGenericReader interface
type BaseReadableStreamReader (line 49) | type BaseReadableStreamReader struct
method GetStream (line 65) | func (reader *BaseReadableStreamReader) GetStream() *ReadableStream {
method SetStream (line 70) | func (reader *BaseReadableStreamReader) SetStream(stream *ReadableStre...
method GetClosed (line 77) | func (reader *BaseReadableStreamReader) GetClosed() (p *sobek.Promise,...
method SetClosed (line 82) | func (reader *BaseReadableStreamReader) SetClosed(p *sobek.Promise, re...
method Cancel (line 89) | func (reader *BaseReadableStreamReader) Cancel(reason sobek.Value) *so...
method cancel (line 96) | func (reader *BaseReadableStreamReader) cancel(reason sobek.Value) *so...
method release (line 112) | func (reader *BaseReadableStreamReader) release() {
type ReadRequest (line 169) | type ReadRequest struct
function ReadableStreamReaderGenericInitialize (line 185) | func ReadableStreamReaderGenericInitialize(reader ReadableStreamGenericR...
FILE: internal/js/modules/k6/experimental/streams/readable_streams.go
type ReadableStream (line 18) | type ReadableStream struct
method Cancel (line 46) | func (stream *ReadableStream) Cancel(reason sobek.Value) (*sobek.Promi...
method GetReader (line 65) | func (stream *ReadableStream) GetReader(options *sobek.Object) sobek.V...
method Tee (line 91) | func (stream *ReadableStream) Tee() sobek.Value {
method isLocked (line 121) | func (stream *ReadableStream) isLocked() bool {
method initialize (line 128) | func (stream *ReadableStream) initialize() {
method setupReadableStreamDefaultControllerFromUnderlyingSource (line 140) | func (stream *ReadableStream) setupReadableStreamDefaultControllerFrom...
method startAlgorithm (line 189) | func (stream *ReadableStream) startAlgorithm(
method pullAlgorithm (line 209) | func (stream *ReadableStream) pullAlgorithm(
method cancelAlgorithm (line 236) | func (stream *ReadableStream) cancelAlgorithm(
method setupDefaultController (line 272) | func (stream *ReadableStream) setupDefaultController(
method acquireDefaultReader (line 357) | func (stream *ReadableStream) acquireDefaultReader() *ReadableStreamDe...
method addReadRequest (line 371) | func (stream *ReadableStream) addReadRequest(readRequest ReadRequest) {
method cancel (line 392) | func (stream *ReadableStream) cancel(reason sobek.Value) *sobek.Promise {
method close (line 435) | func (stream *ReadableStream) close() {
method error (line 483) | func (stream *ReadableStream) error(e any) {
method fulfillReadRequest (line 544) | func (stream *ReadableStream) fulfillReadRequest(chunk any, done bool) {
method getNumReadRequests (line 579) | func (stream *ReadableStream) getNumReadRequests() int {
method hasDefaultReader (line 597) | func (stream *ReadableStream) hasDefaultReader() bool {
type ReadableStreamState (line 97) | type ReadableStreamState
constant ReadableStreamStateReadable (line 101) | ReadableStreamStateReadable = "readable"
constant ReadableStreamStateClosed (line 104) | ReadableStreamStateClosed = "closed"
constant ReadableStreamStateErrored (line 107) | ReadableStreamStateErrored = "errored"
constant ReadableStreamTypeBytes (line 115) | ReadableStreamTypeBytes = "bytes"
FILE: internal/js/modules/k6/experimental/streams/readable_streams_test.go
constant webPlatformTestSuite (line 14) | webPlatformTestSuite = "tests/wpt"
function TestReadableStream (line 16) | func TestReadableStream(t *testing.T) {
function newConfiguredRuntime (line 48) | func newConfiguredRuntime(t testing.TB) *modulestest.Runtime {
function compileAndRun (line 79) | func compileAndRun(t testing.TB, runtime *modulestest.Runtime, base, fil...
function executeTestScript (line 87) | func executeTestScript(vu modules.VU, base string, script string) error {
FILE: internal/js/modules/k6/experimental/streams/underlying_source.go
type UnderlyingSource (line 13) | type UnderlyingSource struct
type UnderlyingSourceStartCallback (line 67) | type UnderlyingSourceStartCallback
type UnderlyingSourcePullCallback (line 71) | type UnderlyingSourcePullCallback
type UnderlyingSourceCancelCallback (line 75) | type UnderlyingSourceCancelCallback
function NewUnderlyingSourceFromObject (line 78) | func NewUnderlyingSourceFromObject(rt *sobek.Runtime, obj *sobek.Object)...
FILE: internal/js/modules/k6/grpc/client.go
type Client (line 36) | type Client struct
method Load (line 47) | func (c *Client) Load(importPaths []string, filenames ...string) ([]Me...
method LoadProtoset (line 94) | func (c *Client) LoadProtoset(protosetPath string) ([]MethodInfo, erro...
method Connect (line 219) | func (c *Client) Connect(addr string, params sobek.Value) (bool, error) {
method HealthCheck (line 292) | func (c *Client) HealthCheck(svc *string) (*grpcext.HealthCheckRespons...
method Invoke (line 301) | func (c *Client) Invoke(
method AsyncInvoke (line 315) | func (c *Client) AsyncInvoke(
method buildInvokeRequest (line 344) | func (c *Client) buildInvokeRequest(
method Close (line 476) | func (c *Client) Close() error {
method convertToMethodInfo (line 494) | func (c *Client) convertToMethodInfo(fdset *descriptorpb.FileDescripto...
method getMethodDescriptor (line 609) | func (c *Client) getMethodDescriptor(method string) (protoreflect.Meth...
function decryptPrivateKey (line 125) | func decryptPrivateKey(key, password []byte) ([]byte, error) {
function buildTLSConfig (line 151) | func buildTLSConfig(parentConfig *tls.Config, certificate, key []byte, c...
function buildTLSConfigFromMap (line 183) | func buildTLSConfigFromMap(parentConfig *tls.Config, tlsConfigMap map[st...
function normalizeNumberStrings (line 412) | func normalizeNumberStrings(v sobek.Value, runtime *sobek.Runtime, stack...
type MethodInfo (line 487) | type MethodInfo struct
function walkFileDescriptors (line 577) | func walkFileDescriptors(seen map[string]struct{}, fd protoreflect.FileD...
function sanitizeMethodName (line 596) | func sanitizeMethodName(name string) string {
FILE: internal/js/modules/k6/grpc/client_test.go
function TestClient (line 47) | func TestClient(t *testing.T) {
function TestClient_TlsParameters (line 1277) | func TestClient_TlsParameters(t *testing.T) {
function TestDebugStat (line 1422) | func TestDebugStat(t *testing.T) {
function TestClientLoadProto (line 1494) | func TestClientLoadProto(t *testing.T) {
function TestClientLoadProtoAbsoluteRootWithFile (line 1531) | func TestClientLoadProtoAbsoluteRootWithFile(t *testing.T) {
function TestClientConnectionReflectMetadata (line 1569) | func TestClientConnectionReflectMetadata(t *testing.T) {
function TestAnyWithNotCommonTypes (line 1612) | func TestAnyWithNotCommonTypes(t *testing.T) {
FILE: internal/js/modules/k6/grpc/client_types_test.go
method Types (line 7) | func (c *Client) Types() *protoregistry.Types {
FILE: internal/js/modules/k6/grpc/grpc.go
type RootModule (line 22) | type RootModule struct
method NewModuleInstance (line 44) | func (r *RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type ModuleInstance (line 25) | type ModuleInstance struct
method NewClient (line 64) | func (mi *ModuleInstance) NewClient(_ sobek.ConstructorCall) *sobek.Ob...
method defineConstants (line 70) | func (mi *ModuleInstance) defineConstants() {
method Exports (line 105) | func (mi *ModuleInstance) Exports() modules.Exports {
method stream (line 112) | func (mi *ModuleInstance) stream(c sobek.ConstructorCall) *sobek.Object {
function New (line 38) | func New() *RootModule {
function extractClient (line 169) | func extractClient(v sobek.Value, rt *sobek.Runtime) (*Client, error) {
FILE: internal/js/modules/k6/grpc/helpers_test.go
function assertResponse (line 14) | func assertResponse(t *testing.T, cb codeBlock, err error, val sobek.Val...
function assertMetricEmitted (line 33) | func assertMetricEmitted(
FILE: internal/js/modules/k6/grpc/listeners.go
constant eventData (line 10) | eventData = "data"
constant eventError (line 11) | eventError = "error"
constant eventEnd (line 12) | eventEnd = "end"
constant eventStatus (line 13) | eventStatus = "status"
type eventListeners (line 17) | type eventListeners struct
method getType (line 46) | func (l *eventListeners) getType(t string) *eventListener {
method add (line 62) | func (l *eventListeners) add(t string, f func(sobek.Value, sobek.Value...
method all (line 75) | func (l *eventListeners) all(t string) []func(sobek.Value, sobek.Value...
type eventListener (line 25) | type eventListener struct
method add (line 41) | func (l *eventListener) add(fn func(sobek.Value, sobek.Value) (sobek.V...
function newListener (line 34) | func newListener(eventType string) *eventListener {
function newEventListeners (line 85) | func newEventListeners() *eventListeners {
FILE: internal/js/modules/k6/grpc/metrics.go
type instanceMetrics (line 6) | type instanceMetrics struct
function registerMetrics (line 13) | func registerMetrics(registry *metrics.Registry) (*instanceMetrics, erro...
FILE: internal/js/modules/k6/grpc/params.go
type callParams (line 20) | type callParams struct
method SetSystemTags (line 110) | func (p *callParams) SetSystemTags(state *lib.State, addr string, meth...
function newCallParams (line 29) | func newCallParams(vu modules.VU, input sobek.Value) (*callParams, error) {
function newMetadata (line 73) | func newMetadata(input sobek.Value) (metadata.MD, error) {
type connectParams (line 126) | type connectParams struct
function newConnectParams (line 137) | func newConnectParams(vu modules.VU, input sobek.Value) (*connectParams,...
function parseConnectTLSParam (line 220) | func parseConnectTLSParam(params *connectParams, v any) error {
FILE: internal/js/modules/k6/grpc/params_test.go
function TestCallParamsInvalidInput (line 20) | func TestCallParamsInvalidInput(t *testing.T) {
function TestCallParamsMetadata (line 63) | func TestCallParamsMetadata(t *testing.T) {
function TestCallParamsTimeOutParse (line 97) | func TestCallParamsTimeOutParse(t *testing.T) {
function TestCallParamsDiscardResponseMessageParse (line 136) | func TestCallParamsDiscardResponseMessageParse(t *testing.T) {
function TestConnectParamsAuthority (line 175) | func TestConnectParamsAuthority(t *testing.T) {
function newParamsTestRuntime (line 213) | func newParamsTestRuntime(t *testing.T, paramsJSON string) (*modulestest...
FILE: internal/js/modules/k6/grpc/stream.go
type message (line 26) | type message struct
constant opened (line 32) | opened = iota + 1
constant closed (line 33) | closed
constant timestampMetadata (line 37) | timestampMetadata = "ts"
type stream (line 40) | type stream struct
method beginStream (line 81) | func (s *stream) beginStream(p *callParams) error {
method loop (line 119) | func (s *stream) loop() {
method queueMessage (line 149) | func (s *stream) queueMessage(msg any) {
method readData (line 184) | func (s *stream) readData(wg *sync.WaitGroup) {
method writeData (line 221) | func (s *stream) writeData(wg *sync.WaitGroup) {
method processSendError (line 294) | func (s *stream) processSendError(err error) {
method on (line 306) | func (s *stream) on(event string, handler func(sobek.Value, sobek.Valu...
method write (line 317) | func (s *stream) write(input sobek.Value) {
method end (line 338) | func (s *stream) end() {
method closeWithError (line 349) | func (s *stream) closeWithError(err error) error {
method close (line 357) | func (s *stream) close(err error) {
method callErrorListeners (line 381) | func (s *stream) callErrorListeners(e error) error {
method callEventListeners (line 444) | func (s *stream) callEventListeners(eventType string) error {
function defineStream (line 70) | func defineStream(rt *sobek.Runtime, s *stream) {
function isRegularClosing (line 216) | func isRegularClosing(err error) bool {
type grpcError (line 411) | type grpcError struct
method Error (line 421) | func (e grpcError) Error() string {
function extractError (line 427) | func extractError(e error) grpcError {
function must (line 462) | func must(rt *sobek.Runtime, err error) {
FILE: internal/js/modules/k6/grpc/stream_test.go
function TestStream_InvalidHeader (line 25) | func TestStream_InvalidHeader(t *testing.T) {
function TestStream_RequestHeaders (line 49) | func TestStream_RequestHeaders(t *testing.T) {
function TestStream_ErrorHandling (line 104) | func TestStream_ErrorHandling(t *testing.T) {
function TestStream_ReceiveAllServerResponsesAfterEnd (line 190) | func TestStream_ReceiveAllServerResponsesAfterEnd(t *testing.T) {
function TestStream_ReceiveAllServerResponsesAfterEndWithDiscardedMessages (line 275) | func TestStream_ReceiveAllServerResponsesAfterEndWithDiscardedMessages(t...
function TestStream_ReceiveMetadata (line 360) | func TestStream_ReceiveMetadata(t *testing.T) {
type featureExplorerStub (line 447) | type featureExplorerStub struct
method GetFeature (line 454) | func (s *featureExplorerStub) GetFeature(ctx context.Context, point *g...
method ListFeatures (line 462) | func (s *featureExplorerStub) ListFeatures(rect *grpcservice.Rectangle...
function TestStream_Wrappers (line 470) | func TestStream_Wrappers(t *testing.T) {
function TestStream_UndefinedHandler (line 536) | func TestStream_UndefinedHandler(t *testing.T) {
function TestStream_MetricsTagsMetadata (line 580) | func TestStream_MetricsTagsMetadata(t *testing.T) {
function assertTags (line 655) | func assertTags(t *testing.T, sample metrics.Sample, tags map[string]str...
FILE: internal/js/modules/k6/grpc/teststate_test.go
constant isWindows (line 26) | isWindows = runtime.GOOS == "windows"
type codeBlock (line 29) | type codeBlock struct
type testcase (line 37) | type testcase struct
type callRecorder (line 45) | type callRecorder struct
method Call (line 51) | func (r *callRecorder) Call(text string) {
method Len (line 59) | func (r *callRecorder) Len() int {
method Recorded (line 67) | func (r *callRecorder) Recorded() []string {
type testState (line 77) | type testState struct
method Run (line 87) | func (ts *testState) Run(code string) (sobek.Value, error) {
method RunOnEventLoop (line 92) | func (ts *testState) RunOnEventLoop(code string) (sobek.Value, error) {
method ToVUContext (line 144) | func (ts *testState) ToVUContext() {
function newTestState (line 97) | func newTestState(t *testing.T) testState {
FILE: internal/js/modules/k6/k6.go
type RootModule (line 29) | type RootModule struct
method NewModuleInstance (line 49) | func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type K6 (line 32) | type K6 struct
method Exports (line 54) | func (mi *K6) Exports() modules.Exports {
method Fail (line 67) | func (*K6) Fail(msg string) (sobek.Value, error) {
method Sleep (line 72) | func (mi *K6) Sleep(secs float64) {
method RandomSeed (line 83) | func (mi *K6) RandomSeed(seed int64) {
method Group (line 89) | func (mi *K6) Group(name string, val sobek.Value) (sobek.Value, error) {
method Check (line 147) | func (mi *K6) Check(arg0, checks sobek.Value, extras ...sobek.Value) (...
function New (line 43) | func New() *RootModule {
FILE: internal/js/modules/k6/k6_test.go
function TestFail (line 16) | func TestFail(t *testing.T) {
function TestSleep (line 24) | func TestSleep(t *testing.T) {
function TestRandSeed (line 67) | func TestRandSeed(t *testing.T) {
function TestGroup (line 87) | func TestGroup(t *testing.T) {
function TestCheckObject (line 128) | func TestCheckObject(t *testing.T) {
function TestCheckArray (line 203) | func TestCheckArray(t *testing.T) {
function TestCheckContextDone (line 224) | func TestCheckContextDone(t *testing.T) {
function TestCheckLiteral (line 248) | func TestCheckLiteral(t *testing.T) {
function TestCheckNull (line 257) | func TestCheckNull(t *testing.T) {
function TestCheckThrows (line 267) | func TestCheckThrows(t *testing.T) {
function TestCheckTypes (line 292) | func TestCheckTypes(t *testing.T) {
function TestCheckTags (line 345) | func TestCheckTags(t *testing.T) {
type testCase (line 369) | type testCase struct
function testCaseRuntime (line 374) | func testCaseRuntime(t testing.TB) *testCase {
FILE: internal/js/modules/k6/marshalling_test.go
function TestSetupDataMarshalling (line 21) | func TestSetupDataMarshalling(t *testing.T) {
FILE: internal/js/modules/k6/metrics/metrics.go
type Metric (line 20) | type Metric struct
method add (line 77) | func (m Metric) add(v sobek.Value, addTags sobek.Value) (bool, error) {
constant warnMessageValueMaxSize (line 62) | warnMessageValueMaxSize = 100
function limitValue (line 64) | func limitValue(v string) string {
type RootModule (line 133) | type RootModule struct
method NewModuleInstance (line 146) | func (*RootModule) NewModuleInstance(m modules.VU) modules.Instance {
type ModuleInstance (line 135) | type ModuleInstance struct
method newMetric (line 28) | func (mi *ModuleInstance) newMetric(call sobek.ConstructorCall, t metr...
method Exports (line 156) | func (mi *ModuleInstance) Exports() modules.Exports {
method XCounter (line 168) | func (mi *ModuleInstance) XCounter(call sobek.ConstructorCall, rt *sob...
method XGauge (line 177) | func (mi *ModuleInstance) XGauge(call sobek.ConstructorCall, rt *sobek...
method XTrend (line 186) | func (mi *ModuleInstance) XTrend(call sobek.ConstructorCall, rt *sobek...
method XRate (line 195) | func (mi *ModuleInstance) XRate(call sobek.ConstructorCall, rt *sobek....
function New (line 151) | func New() *RootModule {
FILE: internal/js/modules/k6/metrics/metrics_test.go
type addTestValue (line 21) | type addTestValue struct
type addTest (line 28) | type addTest struct
method run (line 40) | func (a addTest) run(t *testing.T) {
function TestMetrics (line 69) | func TestMetrics(t *testing.T) {
function TestMetricGetName (line 168) | func TestMetricGetName(t *testing.T) {
function TestMetricDuplicates (line 196) | func TestMetricDuplicates(t *testing.T) {
FILE: internal/js/modules/k6/secrets/secrets.go
type RootModule (line 16) | type RootModule struct
method NewModuleInstance (line 37) | func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type Secrets (line 19) | type Secrets struct
method Exports (line 42) | func (mi *Secrets) Exports() modules.Exports {
method secrets (line 53) | func (mi *Secrets) secrets() (*sobek.Object, error) {
function New (line 31) | func New() *RootModule {
function secretSourceObjectForSourceName (line 69) | func secretSourceObjectForSourceName(
FILE: internal/js/modules/k6/secrets/secrets_test.go
function testRuntimeWithSecrets (line 14) | func testRuntimeWithSecrets(t testing.TB, secretSources map[string]secre...
function TestSecrets (line 27) | func TestSecrets(t *testing.T) {
FILE: internal/js/modules/k6/timers/timers.go
type RootModule (line 10) | type RootModule struct
method NewModuleInstance (line 29) | func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type Timers (line 13) | type Timers struct
method Exports (line 36) | func (e *Timers) Exports() modules.Exports {
function New (line 23) | func New() *RootModule {
FILE: internal/js/modules/k6/webcrypto/aes.go
type AESKeyGenParams (line 20) | type AESKeyGenParams struct
method alg (line 29) | func (akgp AESKeyGenParams) alg() string {
method GenerateKey (line 59) | func (akgp *AESKeyGenParams) GenerateKey(
function newAESKeyGenParams (line 38) | func newAESKeyGenParams(rt *sobek.Runtime, normalized Algorithm, params ...
type AESKeyAlgorithm (line 118) | type AESKeyAlgorithm struct
method alg (line 126) | func (aka AESKeyAlgorithm) alg() string {
function exportAESKey (line 131) | func exportAESKey(key *CryptoKey, format KeyFormat) (any, error) {
type AESGetLengthParams (line 163) | type AESGetLengthParams struct
method GetKeyLength (line 181) | func (kgl AESGetLengthParams) GetKeyLength() int {
function newAESGetLengthParams (line 168) | func newAESGetLengthParams(rt *sobek.Runtime, normalized Algorithm, para...
type AESImportParams (line 188) | type AESImportParams struct
method ImportKey (line 200) | func (aip *AESImportParams) ImportKey(
function newAESImportParams (line 192) | func newAESImportParams(normalized Algorithm) *AESImportParams {
function isAESBitsLengthValid (line 248) | func isAESBitsLengthValid(length int) bool {
type AESCBCParams (line 262) | type AESCBCParams struct
method Encrypt (line 278) | func (acp *AESCBCParams) Encrypt(plaintext []byte, key CryptoKey) ([]b...
method Decrypt (line 313) | func (acp *AESCBCParams) Decrypt(ciphertext []byte, key CryptoKey) ([]...
type AESCTRParams (line 361) | type AESCTRParams struct
method Encrypt (line 385) | func (acp *AESCTRParams) Encrypt(plaintext []byte, key CryptoKey) ([]b...
method Decrypt (line 419) | func (acp *AESCTRParams) Decrypt(ciphertext []byte, key CryptoKey) ([]...
type AESGCMParams (line 457) | type AESGCMParams struct
method Encrypt (line 503) | func (agp *AESGCMParams) Encrypt(plaintext []byte, key CryptoKey) ([]b...
method Decrypt (line 577) | func (agp *AESGCMParams) Decrypt(ciphertext []byte, key CryptoKey) ([]...
constant maxAESGCMPlaintextLength (line 642) | maxAESGCMPlaintextLength uint64 = (1 << 39) - 256
constant maxAESGcmAdditionalDataLength (line 648) | maxAESGcmAdditionalDataLength uint64 = (1 << 64) - 1
constant maxAESGcmIvLength (line 654) | maxAESGcmIvLength uint64 = (1 << 64) - 1
function pKCS7Pad (line 668) | func pKCS7Pad(plaintext []byte, blockSize int) ([]byte, error) {
constant unsupportedKeyFormatErrorMsg (line 687) | unsupportedKeyFormatErrorMsg = "unsupported key format"
FILE: internal/js/modules/k6/webcrypto/algorithm.go
type Algorithm (line 12) | type Algorithm struct
constant RSASsaPkcs1v15 (line 27) | RSASsaPkcs1v15 = "RSASSA-PKCS1-v1_5"
constant RSAPss (line 30) | RSAPss = "RSA-PSS"
constant RSAOaep (line 33) | RSAOaep = "RSA-OAEP"
constant HMAC (line 36) | HMAC = "HMAC"
constant AESCtr (line 39) | AESCtr = "AES-CTR"
constant AESCbc (line 42) | AESCbc = "AES-CBC"
constant AESGcm (line 45) | AESGcm = "AES-GCM"
constant AESKw (line 48) | AESKw = "AES-KW"
constant ECDSA (line 51) | ECDSA = "ECDSA"
constant ECDH (line 54) | ECDH = "ECDH"
constant PBKDF2 (line 57) | PBKDF2 = "PBKDF2"
constant SHA1 (line 68) | SHA1 HashAlgorithmIdentifier = "SHA-1"
constant SHA256 (line 71) | SHA256 = "SHA-256"
constant SHA384 (line 74) | SHA384 = "SHA-384"
constant SHA512 (line 77) | SHA512 = "SHA-512"
constant OperationIdentifierSign (line 88) | OperationIdentifierSign OperationIdentifier = "sign"
constant OperationIdentifierVerify (line 91) | OperationIdentifierVerify OperationIdentifier = "verify"
constant OperationIdentifierEncrypt (line 94) | OperationIdentifierEncrypt OperationIdentifier = "encrypt"
constant OperationIdentifierDecrypt (line 97) | OperationIdentifierDecrypt OperationIdentifier = "decrypt"
constant OperationIdentifierDeriveBits (line 100) | OperationIdentifierDeriveBits OperationIdentifier = "deriveBits"
constant OperationIdentifierDeriveKey (line 103) | OperationIdentifierDeriveKey OperationIdentifier = "deriveKey"
constant OperationIdentifierWrapKey (line 106) | OperationIdentifierWrapKey OperationIdentifier = "wrapKey"
constant OperationIdentifierUnwrapKey (line 109) | OperationIdentifierUnwrapKey OperationIdentifier = "unwrapKey"
constant OperationIdentifierImportKey (line 112) | OperationIdentifierImportKey OperationIdentifier = "importKey"
constant OperationIdentifierExportKey (line 115) | OperationIdentifierExportKey OperationIdentifier = "exportKey"
constant OperationIdentifierGenerateKey (line 118) | OperationIdentifierGenerateKey OperationIdentifier = "generateKey"
constant OperationIdentifierDigest (line 121) | OperationIdentifierDigest OperationIdentifier = "digest"
constant OperationIdentifierGetKeyLength (line 124) | OperationIdentifierGetKeyLength = "getKeyLength"
function normalizeAlgorithm (line 131) | func normalizeAlgorithm(rt *sobek.Runtime, v sobek.Value, op AlgorithmId...
function normalizeAlgorithmName (line 167) | func normalizeAlgorithmName(name string) string {
function isRegisteredAlgorithm (line 186) | func isRegisteredAlgorithm(algorithmName string, forOperation string) bo...
function isAesAlgorithm (line 221) | func isAesAlgorithm(algorithmName string) bool {
function isHashAlgorithm (line 225) | func isHashAlgorithm(algorithmName string) bool {
function isRSAAlgorithm (line 229) | func isRSAAlgorithm(algorithmName string) bool {
function isPBKDF2Algorithm (line 233) | func isPBKDF2Algorithm(algorithmName string) bool {
function isECDHAlgorithm (line 237) | func isECDHAlgorithm(algorithmName string) bool {
function isHMACAlgorithm (line 241) | func isHMACAlgorithm(algorithmName string) bool {
type hasAlg (line 247) | type hasAlg interface
function isEllipticCurve (line 251) | func isEllipticCurve(algorithmName string) bool {
FILE: internal/js/modules/k6/webcrypto/base64.go
function base64URLEncode (line 5) | func base64URLEncode(data []byte) string {
function base64URLDecode (line 9) | func base64URLDecode(data string) ([]byte, error) {
FILE: internal/js/modules/k6/webcrypto/bits.go
type BitsDeriver (line 6) | type BitsDeriver interface
function newBitsDeriver (line 10) | func newBitsDeriver(rt *sobek.Runtime, normalized Algorithm, algorithm s...
FILE: internal/js/modules/k6/webcrypto/cmd_run_test.go
function getSingleFileTestState (line 17) | func getSingleFileTestState(tb testing.TB, script string, cliFlags []str...
function TestExamplesInputOutput (line 39) | func TestExamplesInputOutput(t *testing.T) {
function getFiles (line 102) | func getFiles(t *testing.T, path string) []string {
FILE: internal/js/modules/k6/webcrypto/crypto.go
type Crypto (line 15) | type Crypto struct
method GetRandomValues (line 38) | func (c *Crypto) GetRandomValues(typedArray sobek.Value) sobek.Value {
method RandomUUID (line 111) | func (c *Crypto) RandomUUID() string {
constant maxRandomValuesLength (line 101) | maxRandomValuesLength = 65536
FILE: internal/js/modules/k6/webcrypto/elliptic_curve.go
constant p256Canonical (line 17) | p256Canonical = "P-256"
constant p384Canonical (line 18) | p384Canonical = "P-384"
constant p521Canonical (line 19) | p521Canonical = "P-521"
type EcKeyAlgorithm (line 25) | type EcKeyAlgorithm struct
type EcKeyImportParams (line 35) | type EcKeyImportParams struct
method ImportKey (line 59) | func (e *EcKeyImportParams) ImportKey(
function newEcKeyImportParams (line 42) | func newEcKeyImportParams(rt *sobek.Runtime, normalized Algorithm, param...
function importECDHPublicKey (line 105) | func importECDHPublicKey(curve EllipticCurveKind, keyData []byte) (any, ...
function importECDHSPKIPublicKey (line 119) | func importECDHSPKIPublicKey(_ EllipticCurveKind, keyData []byte) (any, ...
function importECDSASPKIPublicKey (line 139) | func importECDSASPKIPublicKey(_ EllipticCurveKind, keyData []byte) (any,...
type EllipticCurveKind (line 155) | type EllipticCurveKind
method String (line 168) | func (k EllipticCurveKind) String() string {
constant EllipticCurveKindP256 (line 159) | EllipticCurveKindP256 EllipticCurveKind = "P-256"
constant EllipticCurveKindP384 (line 162) | EllipticCurveKindP384 EllipticCurveKind = "P-384"
constant EllipticCurveKindP521 (line 165) | EllipticCurveKindP521 EllipticCurveKind = "P-521"
function IsEllipticCurve (line 174) | func IsEllipticCurve(name string) bool {
function importECDHPrivateKey (line 187) | func importECDHPrivateKey(_ EllipticCurveKind, keyData []byte) (any, Cry...
function importECDSAPrivateKey (line 208) | func importECDSAPrivateKey(_ EllipticCurveKind, keyData []byte) (any, Cr...
function importECDSAPublicKey (line 222) | func importECDSAPublicKey(curve EllipticCurveKind, keyData []byte) (any,...
type ECKeyGenParams (line 244) | type ECKeyGenParams struct
method GenerateKey (line 270) | func (ecgp *ECKeyGenParams) GenerateKey(
function newECKeyGenParams (line 254) | func newECKeyGenParams(rt *sobek.Runtime, normalized Algorithm, params s...
function generateECDHKeyPair (line 338) | func generateECDHKeyPair(curve EllipticCurveKind, keyUsages []CryptoKeyU...
function generateECDSAKeyPair (line 362) | func generateECDSAKeyPair(curve EllipticCurveKind, keyUsages []CryptoKey...
function isValidEllipticCurve (line 386) | func isValidEllipticCurve(curve EllipticCurveKind) bool {
function pickECDHCurve (line 390) | func pickECDHCurve(k string) (ecdh.Curve, error) {
function pickEllipticCurve (line 403) | func pickEllipticCurve(k string) (elliptic.Curve, error) {
function exportECKey (line 416) | func exportECKey(ck *CryptoKey, format KeyFormat) (any, error) {
function extractPublicKeyBytes (line 467) | func extractPublicKeyBytes(alg string, handle any) ([]byte, error) {
type ECDHKeyDeriveParams (line 492) | type ECDHKeyDeriveParams struct
method DeriveBits (line 537) | func (keyParams ECDHKeyDeriveParams) DeriveBits(privateKey *CryptoKey,...
function newECDHKeyDeriveParams (line 499) | func newECDHKeyDeriveParams(rt *sobek.Runtime, normalized Algorithm, par...
type ECDSAParams (line 578) | type ECDSAParams struct
method Sign (line 608) | func (edsa *ECDSAParams) Sign(key CryptoKey, data []byte) ([]byte, err...
method Verify (line 653) | func (edsa *ECDSAParams) Verify(key CryptoKey, signature []byte, data ...
function newECDSAParams (line 590) | func newECDSAParams(rt *sobek.Runtime, normalized Algorithm, params sobe...
function ensureLength (line 643) | func ensureLength(b []byte, n int) []byte {
function convertECDHtoECDSAKey (line 684) | func convertECDHtoECDSAKey(k *ecdh.PrivateKey) (*ecdsa.PrivateKey, error) {
function convertPublicECDHtoECDSA (line 696) | func convertPublicECDHtoECDSA(k *ecdh.PublicKey) (*ecdsa.PublicKey, erro...
function ensureKeysUseSameCurve (line 721) | func ensureKeysUseSameCurve(k1, k2 CryptoKey) error {
FILE: internal/js/modules/k6/webcrypto/encryption.go
type Encrypter (line 11) | type Encrypter interface
type Decrypter (line 16) | type Decrypter interface
type EncryptDecrypter (line 21) | type EncryptDecrypter interface
function newEncryptDecrypter (line 31) | func newEncryptDecrypter(
FILE: internal/js/modules/k6/webcrypto/errors.go
constant DataError (line 11) | DataError = "DataError"
constant ImplementationError (line 15) | ImplementationError = "ImplementationError"
constant InvalidAccessError (line 18) | InvalidAccessError = "InvalidAccessError"
constant NotSupportedError (line 21) | NotSupportedError ErrorName = "NotSupportedError"
constant OperationError (line 24) | OperationError = "OperationError"
constant SyntaxError (line 27) | SyntaxError = "SyntaxError"
constant TypeMismatchError (line 30) | TypeMismatchError = "TypeMismatchError"
constant TypeError (line 33) | TypeError = "TypeError"
constant QuotaExceededError (line 37) | QuotaExceededError = "QuotaExceededError"
constant NotImplemented (line 40) | NotImplemented = "NotImplemented"
constant errMsgNotExpectedPublicKey (line 44) | errMsgNotExpectedPublicKey = "given CryptoKey is not a public %s key, i...
constant errMsgNotExpectedPrivateKey (line 45) | errMsgNotExpectedPrivateKey = "given CryptoKey is not a private %s key, ...
type Error (line 50) | type Error struct
method Error (line 59) | func (e *Error) Error() string {
function NewError (line 64) | func NewError(name, message string) *Error {
FILE: internal/js/modules/k6/webcrypto/hash.go
function getHashFn (line 16) | func getHashFn(name string) (func() hash.Hash, bool) {
type hasHash (line 33) | type hasHash interface
function mapHashFn (line 37) | func mapHashFn(hash AlgorithmIdentifier) (crypto.Hash, error) {
function extractHash (line 55) | func extractHash(rt *sobek.Runtime, params sobek.Value) (Algorithm, erro...
FILE: internal/js/modules/k6/webcrypto/hmac.go
type HMACKeyGenParams (line 18) | type HMACKeyGenParams struct
method hash (line 34) | func (hkgp HMACKeyGenParams) hash() string {
method GenerateKey (line 87) | func (hkgp *HMACKeyGenParams) GenerateKey(
function newHMACKeyGenParams (line 47) | func newHMACKeyGenParams(rt *sobek.Runtime, normalized Algorithm, params...
type HMACKeyAlgorithm (line 167) | type HMACKeyAlgorithm struct
method hash (line 177) | func (hka HMACKeyAlgorithm) hash() string {
method HashFn (line 211) | func (hka *HMACKeyAlgorithm) HashFn() (func() hash.Hash, error) {
function exportHMACKey (line 181) | func exportHMACKey(ck *CryptoKey, format KeyFormat) (any, error) {
type HMACImportParams (line 222) | type HMACImportParams struct
method hash (line 240) | func (hip HMACImportParams) hash() string {
method ImportKey (line 286) | func (hip *HMACImportParams) ImportKey(
function newHMACImportParams (line 246) | func newHMACImportParams(rt *sobek.Runtime, normalized Algorithm, params...
type hmacSignerVerifier (line 356) | type hmacSignerVerifier struct
method Sign (line 359) | func (hmacSignerVerifier) Sign(key CryptoKey, data []byte) ([]byte, er...
method Verify (line 382) | func (hmacSignerVerifier) Verify(key CryptoKey, signature, data []byte...
FILE: internal/js/modules/k6/webcrypto/jwk.go
constant JWKECKeyType (line 16) | JWKECKeyType = "EC"
constant JWKOctKeyType (line 19) | JWKOctKeyType = "oct"
type JsonWebKey (line 23) | type JsonWebKey
method Set (line 26) | func (jwk *JsonWebKey) Set(key string, value any) {
type symmetricJWK (line 32) | type symmetricJWK struct
method validate (line 37) | func (jwk *symmetricJWK) validate() error {
function extractSymmetricJWK (line 50) | func extractSymmetricJWK(jsonKeyData []byte) ([]byte, error) {
function exportSymmetricJWK (line 69) | func exportSymmetricJWK(key *CryptoKey) (*JsonWebKey, error) {
function extractAlg (line 92) | func extractAlg(inAlg any, keyLen int) (string, error) {
type ecJWK (line 114) | type ecJWK struct
method validate (line 127) | func (jwk *ecJWK) validate() error {
function encodeCurveBigInt (line 148) | func encodeCurveBigInt(data *big.Int, curveBits int) string {
function padLeft (line 163) | func padLeft(bytes []byte, size int) []byte {
function exportECJWK (line 168) | func exportECJWK(key *CryptoKey) (any, error) {
function importECDSAJWK (line 221) | func importECDSAJWK(_ EllipticCurveKind, jsonKeyData []byte) (any, Crypt...
function importECDHJWK (line 268) | func importECDHJWK(_ EllipticCurveKind, jsonKeyData []byte) (any, Crypto...
type rsaJWK (line 295) | type rsaJWK struct
method validate (line 307) | func (jwk *rsaJWK) validate() error {
function importRSAJWK (line 324) | func importRSAJWK(jsonKeyData []byte) (any, CryptoKeyType, int, error) {
function exportRSAJWK (line 403) | func exportRSAJWK(key *CryptoKey) (any, error) {
FILE: internal/js/modules/k6/webcrypto/key.go
type CryptoKeyGenerationResult (line 12) | type CryptoKeyGenerationResult interface
type CryptoKeyPair (line 28) | type CryptoKeyPair struct
method IsKeyPair (line 39) | func (ckp *CryptoKeyPair) IsKeyPair() bool {
method ResolveCryptoKeyPair (line 44) | func (ckp *CryptoKeyPair) ResolveCryptoKeyPair() (*CryptoKeyPair, erro...
method ResolveCryptoKey (line 49) | func (ckp *CryptoKeyPair) ResolveCryptoKey() (*CryptoKey, error) {
type CryptoKey (line 58) | type CryptoKey struct
method IsKeyPair (line 86) | func (ck *CryptoKey) IsKeyPair() bool {
method ResolveCryptoKeyPair (line 91) | func (ck *CryptoKey) ResolveCryptoKeyPair() (*CryptoKeyPair, error) {
method ResolveCryptoKey (line 96) | func (ck *CryptoKey) ResolveCryptoKey() (*CryptoKey, error) {
method Validate (line 101) | func (ck *CryptoKey) Validate() error {
method ContainsUsage (line 112) | func (ck *CryptoKey) ContainsUsage(usage CryptoKeyUsage) bool {
constant UnknownCryptoKeyType (line 124) | UnknownCryptoKeyType CryptoKeyType = "unknown"
constant SecretCryptoKeyType (line 128) | SecretCryptoKeyType CryptoKeyType = "secret"
constant PrivateCryptoKeyType (line 132) | PrivateCryptoKeyType CryptoKeyType = "private"
constant PublicCryptoKeyType (line 136) | PublicCryptoKeyType CryptoKeyType = "public"
constant EncryptCryptoKeyUsage (line 147) | EncryptCryptoKeyUsage CryptoKeyUsage = "encrypt"
constant DecryptCryptoKeyUsage (line 150) | DecryptCryptoKeyUsage CryptoKeyUsage = "decrypt"
constant SignCryptoKeyUsage (line 153) | SignCryptoKeyUsage CryptoKeyUsage = "sign"
constant VerifyCryptoKeyUsage (line 156) | VerifyCryptoKeyUsage CryptoKeyUsage = "verify"
constant DeriveKeyCryptoKeyUsage (line 159) | DeriveKeyCryptoKeyUsage CryptoKeyUsage = "deriveKey"
constant DeriveBitsCryptoKeyUsage (line 162) | DeriveBitsCryptoKeyUsage CryptoKeyUsage = "deriveBits"
constant WrapKeyCryptoKeyUsage (line 165) | WrapKeyCryptoKeyUsage CryptoKeyUsage = "wrapKey"
constant UnwrapKeyCryptoKeyUsage (line 168) | UnwrapKeyCryptoKeyUsage CryptoKeyUsage = "unwrapKey"
type KeyAlgorithm (line 172) | type KeyAlgorithm struct
type KeyGenerator (line 178) | type KeyGenerator interface
function newKeyGenerator (line 182) | func newKeyGenerator(rt *sobek.Runtime, normalized Algorithm, params sob...
type KeyDeriver (line 212) | type KeyDeriver interface
function newKeyDeriver (line 222) | func newKeyDeriver(rt *sobek.Runtime, normalized Algorithm, params sobek...
type KeyGetLengther (line 242) | type KeyGetLengther interface
function newKeyGetLengther (line 246) | func newKeyGetLengther(rt *sobek.Runtime, normalized Algorithm, params s...
type KeyImporter (line 266) | type KeyImporter interface
function newKeyImporter (line 270) | func newKeyImporter(rt *sobek.Runtime, normalized Algorithm, params sobe...
function UsageIntersection (line 302) | func UsageIntersection(a, b []CryptoKeyUsage) []CryptoKeyUsage {
constant RawKeyFormat (line 324) | RawKeyFormat KeyFormat = "raw"
constant Pkcs8KeyFormat (line 327) | Pkcs8KeyFormat KeyFormat = "pkcs8"
constant SpkiKeyFormat (line 330) | SpkiKeyFormat KeyFormat = "spki"
constant JwkKeyFormat (line 333) | JwkKeyFormat KeyFormat = "jwk"
constant KeyLength128 (line 344) | KeyLength128 KeyLength = 128
constant KeyLength192 (line 347) | KeyLength192 KeyLength = 192
constant KeyLength256 (line 350) | KeyLength256 KeyLength = 256
constant KeyLength384 (line 353) | KeyLength384 KeyLength = 384
constant KeyLength512 (line 356) | KeyLength512 KeyLength = 512
FILE: internal/js/modules/k6/webcrypto/module.go
constant cryptoGlobalIdentifier (line 12) | cryptoGlobalIdentifier = "crypto"
type RootModule (line 17) | type RootModule struct
method NewModuleInstance (line 38) | func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type ModuleInstance (line 20) | type ModuleInstance struct
method Exports (line 46) | func (mi *ModuleInstance) Exports() modules.Exports {
function New (line 32) | func New() *RootModule {
function SetupGlobally (line 53) | func SetupGlobally(vu modules.VU) error {
function newCryptoObject (line 61) | func newCryptoObject(vu modules.VU) *sobek.Object {
function newSubtleCryptoObject (line 91) | func newSubtleCryptoObject(vu modules.VU) *sobek.Object {
function setReadOnlyPropertyOf (line 150) | func setReadOnlyPropertyOf(obj *sobek.Object, name string, value sobek.V...
FILE: internal/js/modules/k6/webcrypto/params.go
type From (line 7) | type From interface
type AESKwParams (line 16) | type AESKwParams struct
type HKDFParams (line 23) | type HKDFParams struct
type HMACSignatureParams (line 54) | type HMACSignatureParams struct
type PBKDF2Params (line 61) | type PBKDF2Params struct
type RSAHashedKeyGenParams (line 91) | type RSAHashedKeyGenParams struct
type RSAHashedImportParams (line 113) | type RSAHashedImportParams struct
type RSAOaepParams (line 125) | type RSAOaepParams struct
type RSAPssParams (line 140) | type RSAPssParams struct
type RSASsaPkcs1v15Params (line 151) | type RSASsaPkcs1v15Params struct
FILE: internal/js/modules/k6/webcrypto/pbkdf2.go
type PBKDF2KeyImportParams (line 13) | type PBKDF2KeyImportParams struct
method ImportKey (line 38) | func (keyParams PBKDF2KeyImportParams) ImportKey(
function newPBKDF2ImportParams (line 17) | func newPBKDF2ImportParams(normalized Algorithm) *PBKDF2KeyImportParams {
type PBKDF2KeyAlgorithm (line 26) | type PBKDF2KeyAlgorithm struct
function newPBKDF2DeriveParams (line 68) | func newPBKDF2DeriveParams(rt *sobek.Runtime, normalized Algorithm, para...
method DeriveBits (line 108) | func (keyParams PBKDF2Params) DeriveBits(
method DeriveKey (line 146) | func (keyParams PBKDF2Params) DeriveKey(
function validateBaseKey (line 193) | func validateBaseKey(baseKey *CryptoKey, usage CryptoKeyUsage) ([]byte, ...
FILE: internal/js/modules/k6/webcrypto/rsa.go
type RsaHashedKeyAlgorithm (line 18) | type RsaHashedKeyAlgorithm struct
function newRsaHashedKeyGenParams (line 28) | func newRsaHashedKeyGenParams(
method GenerateKey (line 62) | func (rsakgp *RSAHashedKeyGenParams) GenerateKey(
function validatePublicExponent (line 145) | func validatePublicExponent(e int) error {
function generateRSAKeyPair (line 160) | func generateRSAKeyPair(
function exportRSAKey (line 179) | func exportRSAKey(ck *CryptoKey, format KeyFormat) (any, error) {
function newRsaHashedImportParams (line 214) | func newRsaHashedImportParams(
method ImportKey (line 234) | func (rhkip *RSAHashedImportParams) ImportKey(
function importRSAPrivateKey (line 275) | func importRSAPrivateKey(keyData []byte) (any, CryptoKeyType, int, error) {
function importRSAPublicKey (line 289) | func importRSAPublicKey(keyData []byte) (any, CryptoKeyType, int, error) {
type rsaSsaPkcs1v15SignerVerifier (line 303) | type rsaSsaPkcs1v15SignerVerifier struct
method Sign (line 307) | func (rsasv *rsaSsaPkcs1v15SignerVerifier) Sign(key CryptoKey, data []...
method Verify (line 329) | func (rsasv *rsaSsaPkcs1v15SignerVerifier) Verify(key CryptoKey, signa...
function extractHashFromRSAKey (line 351) | func extractHashFromRSAKey(key CryptoKey) (crypto.Hash, error) {
function newRSAPssParams (line 362) | func newRSAPssParams(rt *sobek.Runtime, normalized Algorithm, params sob...
method Sign (line 377) | func (rsasv *RSAPssParams) Sign(key CryptoKey, data []byte) ([]byte, err...
method Verify (line 406) | func (rsasv *RSAPssParams) Verify(key CryptoKey, signature []byte, data ...
method Encrypt (line 431) | func (rsaoaep *RSAOaepParams) Encrypt(plaintext []byte, key CryptoKey) (...
method Decrypt (line 451) | func (rsaoaep *RSAOaepParams) Decrypt(ciphertext []byte, key CryptoKey) ...
FILE: internal/js/modules/k6/webcrypto/signer.go
type SignerVerifier (line 6) | type SignerVerifier interface
function newSignerVerifier (line 11) | func newSignerVerifier(rt *sobek.Runtime, normalized Algorithm, params s...
FILE: internal/js/modules/k6/webcrypto/sobek.go
function exportArrayBuffer (line 13) | func exportArrayBuffer(rt *sobek.Runtime, v sobek.Value) ([]byte, error) {
function traverseObject (line 48) | func traverseObject(rt *sobek.Runtime, src sobek.Value, fields ...string...
function IsInstanceOf (line 81) | func IsInstanceOf(rt *sobek.Runtime, v sobek.Value, instanceOf ...JSType...
function IsTypedArray (line 95) | func IsTypedArray(rt *sobek.Runtime, v sobek.Value) bool {
type JSType (line 116) | type JSType
constant ArrayBufferConstructor (line 120) | ArrayBufferConstructor JSType = "ArrayBuffer"
constant DataViewConstructor (line 123) | DataViewConstructor = "DataView"
constant Int8ArrayConstructor (line 126) | Int8ArrayConstructor = "Int8Array"
constant Uint8ArrayConstructor (line 129) | Uint8ArrayConstructor = "Uint8Array"
constant Uint8ClampedArrayConstructor (line 132) | Uint8ClampedArrayConstructor = "Uint8ClampedArray"
constant Int16ArrayConstructor (line 135) | Int16ArrayConstructor = "Int16Array"
constant Uint16ArrayConstructor (line 138) | Uint16ArrayConstructor = "Uint16Array"
constant Int32ArrayConstructor (line 141) | Int32ArrayConstructor = "Int32Array"
constant Uint32ArrayConstructor (line 144) | Uint32ArrayConstructor = "Uint32Array"
constant Float32ArrayConstructor (line 147) | Float32ArrayConstructor = "Float32Array"
constant Float64ArrayConstructor (line 150) | Float64ArrayConstructor = "Float64Array"
constant BigInt64ArrayConstructor (line 153) | BigInt64ArrayConstructor = "BigInt64Array"
constant BigUint64ArrayConstructor (line 156) | BigUint64ArrayConstructor = "BigUint64Array"
FILE: internal/js/modules/k6/webcrypto/sobek_test.go
function TestTraverseObject (line 13) | func TestTraverseObject(t *testing.T) {
FILE: internal/js/modules/k6/webcrypto/subtle_crypto.go
type SubtleCrypto (line 19) | type SubtleCrypto struct
method Encrypt (line 39) | func (sc *SubtleCrypto) Encrypt( //nolint:dupl // we have two similar ...
method Decrypt (line 130) | func (sc *SubtleCrypto) Decrypt( //nolint:dupl // we have two similar ...
method Sign (line 220) | func (sc *SubtleCrypto) Sign(algorithm, key, data sobek.Value) (*sobek...
method Verify (line 316) | func (sc *SubtleCrypto) Verify(algorithm, key, signature, data sobek.V...
method Digest (line 408) | func (sc *SubtleCrypto) Digest(algorithm sobek.Value, data sobek.Value...
method GenerateKey (line 491) | func (sc *SubtleCrypto) GenerateKey(
method DeriveKey (line 588) | func (sc *SubtleCrypto) DeriveKey(
method DeriveBits (line 734) | func (sc *SubtleCrypto) DeriveBits(
method ImportKey (line 821) | func (sc *SubtleCrypto) ImportKey( //nolint:funlen // we have a lot of...
method ExportKey (line 920) | func (sc *SubtleCrypto) ExportKey( //nolint:funlen // we have a lot of...
method WrapKey (line 1037) | func (sc *SubtleCrypto) WrapKey(
method UnwrapKey (line 1092) | func (sc *SubtleCrypto) UnwrapKey(
function getKeyInteractors (line 663) | func getKeyInteractors(
function isBinaryExportedFormat (line 1004) | func isBinaryExportedFormat(format KeyFormat) bool {
FILE: internal/js/modules/k6/webcrypto/tests/subtle_crypto_test.go
constant webPlatformTestSuite (line 14) | webPlatformTestSuite = "./wpt/WebCryptoAPI/"
function TestWebPlatformTestSuite (line 16) | func TestWebPlatformTestSuite(t *testing.T) {
FILE: internal/js/modules/k6/webcrypto/tests/test_setup_test.go
constant initGlobals (line 13) | initGlobals = `
function newConfiguredRuntime (line 21) | func newConfiguredRuntime(t testing.TB) *modulestest.Runtime {
function compileAndRun (line 53) | func compileAndRun(t testing.TB, runtime *modulestest.Runtime, base, fil...
FILE: internal/js/modules/k6/webcrypto/tests/util/helpers.js
function allNonemptySubsetsOf (line 35) | function allNonemptySubsetsOf(arr) {
function objectToString (line 59) | function objectToString(obj) {
function assert_goodCryptoKey (line 95) | function assert_goodCryptoKey(key, algorithm, extractable, usages, kind) {
function allAlgorithmSpecifiersFor (line 175) | function allAlgorithmSpecifiersFor(algorithmName) {
function allValidUsages (line 224) | function allValidUsages(validUsages, emptyIsValid, mandatoryUsages) {
function unique (line 251) | function unique(names) {
function allNameVariants (line 257) | function allNameVariants(name, slowTest) {
FILE: internal/js/modules/k6/webcrypto/types.go
type bitLength (line 10) | type bitLength
method asByteLength (line 13) | func (b bitLength) asByteLength() byteLength {
type byteLength (line 18) | type byteLength
method asBitLength (line 21) | func (b byteLength) asBitLength() bitLength {
function ToBytes (line 26) | func ToBytes(data any) ([]byte, error) {
FILE: internal/js/modules/k6/websockets/autobahn_tests/script.js
function teardown (line 36) | function teardown() {
FILE: internal/js/modules/k6/websockets/blob.go
type blob (line 16) | type blob struct
method text (line 21) | func (b *blob) text() string {
method blob (line 25) | func (r *WebSocketsAPI) blob(call sobek.ConstructorCall) *sobek.Object {
method fillData (line 105) | func (r *WebSocketsAPI) fillData(b *blob, blobParts []any, call sobek.Co...
method slice (line 142) | func (r *WebSocketsAPI) slice(call sobek.FunctionCall, b *blob, rt *sobe...
FILE: internal/js/modules/k6/websockets/blob_test.go
function TestBlob (line 11) | func TestBlob(t *testing.T) {
function TestBlob_type (line 101) | func TestBlob_type(t *testing.T) {
function TestBlob_size (line 113) | func TestBlob_size(t *testing.T) {
function TestBlob_arrayBuffer (line 125) | func TestBlob_arrayBuffer(t *testing.T) {
function TestBlob_bytes (line 144) | func TestBlob_bytes(t *testing.T) {
function TestBlob_slice (line 167) | func TestBlob_slice(t *testing.T) {
function assertBlobTypeAndContents (line 216) | func assertBlobTypeAndContents(t *testing.T, ts testState, blob *sobek.O...
function TestBlob_text (line 240) | func TestBlob_text(t *testing.T) {
function TestBlob_stream (line 257) | func TestBlob_stream(t *testing.T) {
FILE: internal/js/modules/k6/websockets/events/events.go
constant OPEN (line 7) | OPEN = "open"
constant CLOSE (line 9) | CLOSE = "close"
constant MESSAGE (line 11) | MESSAGE = "message"
constant ERROR (line 13) | ERROR = "error"
constant PING (line 15) | PING = "ping"
constant PONG (line 17) | PONG = "pong"
FILE: internal/js/modules/k6/websockets/helpers.go
function must (line 13) | func must(rt *sobek.Runtime, err error) {
function isString (line 19) | func isString(o *sobek.Object, rt *sobek.Runtime) bool {
function isArray (line 23) | func isArray(o *sobek.Object, rt *sobek.Runtime) bool {
function isUint8Array (line 27) | func isUint8Array(o *sobek.Object, rt *sobek.Runtime) bool {
function isDataView (line 31) | func isDataView(o *sobek.Object, rt *sobek.Runtime) bool {
function isBlob (line 35) | func isBlob(o *sobek.Object, blobConstructor sobek.Value) bool {
function isObject (line 39) | func isObject(val sobek.Value) bool {
function extractBytes (line 43) | func extractBytes(o *sobek.Object, rt *sobek.Runtime) []byte {
FILE: internal/js/modules/k6/websockets/listeners.go
type eventListeners (line 11) | type eventListeners struct
method getType (line 75) | func (l *eventListeners) getType(t string) *eventListener {
method add (line 95) | func (l *eventListeners) add(t string, f func(sobek.Value) (sobek.Valu...
method all (line 108) | func (l *eventListeners) all(t string) []func(sobek.Value) (sobek.Valu...
function newEventListeners (line 20) | func newEventListeners() *eventListeners {
type eventListener (line 34) | type eventListener struct
method add (line 51) | func (l *eventListener) add(fn func(sobek.Value) (sobek.Value, error)) {
method setOn (line 56) | func (l *eventListener) setOn(fn func(sobek.Value) (sobek.Value, error...
method getOn (line 61) | func (l *eventListener) getOn() func(sobek.Value) (sobek.Value, error) {
method all (line 66) | func (l *eventListener) all() []func(sobek.Value) (sobek.Value, error) {
function newListener (line 44) | func newListener(eventType string) *eventListener {
FILE: internal/js/modules/k6/websockets/main_test.go
function TestMain (line 9) | func TestMain(m *testing.M) {
FILE: internal/js/modules/k6/websockets/params.go
type wsParams (line 18) | type wsParams struct
function buildParams (line 27) | func buildParams(state *lib.State, rt *sobek.Runtime, raw sobek.Value) (...
FILE: internal/js/modules/k6/websockets/websockets.go
type RootModule (line 28) | type RootModule struct
method NewModuleInstance (line 44) | func (r *RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type WebSocketsAPI (line 31) | type WebSocketsAPI struct
method Exports (line 51) | func (r *WebSocketsAPI) Exports() modules.Exports {
method websocket (line 111) | func (r *WebSocketsAPI) websocket(c sobek.ConstructorCall) *sobek.Obje...
function New (line 39) | func New() *RootModule {
type ReadyState (line 62) | type ReadyState
constant CONNECTING (line 66) | CONNECTING ReadyState = iota
constant OPEN (line 68) | OPEN
constant CLOSING (line 70) | CLOSING
constant CLOSED (line 72) | CLOSED
type webSocket (line 75) | type webSocket struct
method establishConnection (line 268) | func (w *webSocket) establishConnection(params *wsParams) {
method emitConnectionMetrics (line 346) | func (w *webSocket) emitConnectionMetrics(ctx context.Context, start t...
method loop (line 371) | func (w *webSocket) loop() {
method queueMessage (line 435) | func (w *webSocket) queueMessage(msg *message) {
method readPump (line 491) | func (w *webSocket) readPump(wg *sync.WaitGroup) {
method writePump (line 529) | func (w *webSocket) writePump(wg *sync.WaitGroup) {
method send (line 605) | func (w *webSocket) send(msg sobek.Value) {
method sendArrayBuffer (line 659) | func (w *webSocket) sendArrayBuffer(o sobek.ArrayBuffer) {
method ping (line 692) | func (w *webSocket) ping() {
method trackPong (line 707) | func (w *webSocket) trackPong(pingID string) {
method assertStateOpen (line 732) | func (w *webSocket) assertStateOpen() {
method close (line 749) | func (w *webSocket) close(code int, reason string) error {
method queueClose (line 784) | func (w *webSocket) queueClose() {
method connectionConnected (line 792) | func (w *webSocket) connectionConnected() error {
method connectionClosedWithError (line 801) | func (w *webSocket) connectionClosedWithError(err error) error {
method newEvent (line 822) | func (w *webSocket) newEvent(eventType string, t time.Time, funcOption...
method callOpenListeners (line 852) | func (w *webSocket) callOpenListeners(timestamp time.Time) error {
method callErrorListeners (line 863) | func (w *webSocket) callErrorListeners(e error) error { // TODO use th...
method callEventListeners (line 878) | func (w *webSocket) callEventListeners(eventType string) error {
method addEventListener (line 904) | func (w *webSocket) addEventListener(event string, handler func(sobek....
type ping (line 106) | type ping struct
function parseURL (line 161) | func parseURL(urlValue sobek.Value) (*url.URL, error) {
constant arraybufferBinaryType (line 183) | arraybufferBinaryType = "arraybuffer"
constant blobBinaryType (line 184) | blobBinaryType = "blob"
function defineWebsocket (line 188) | func defineWebsocket(rt *sobek.Runtime, w *webSocket) {
type message (line 261) | type message struct
constant writeWait (line 369) | writeWait = 10 * time.Second
function isArrayBufferView (line 669) | func isArrayBufferView(rt *sobek.Runtime, v sobek.Value) (bool, error) {
function isValidClientCloseCode (line 741) | func isValidClientCloseCode(code int) bool {
function isValidCloseReason (line 745) | func isValidCloseReason(reason string) bool {
FILE: internal/js/modules/k6/websockets/websockets_test.go
function assertSessionMetricsEmitted (line 28) | func assertSessionMetricsEmitted(
function assertMetricEmittedCount (line 68) | func assertMetricEmittedCount(t *testing.T, metricName string, sampleCon...
type testState (line 84) | type testState struct
method addHandler (line 172) | func (ts *testState) addHandler(uri string, upgrader *websocket.Upgrad...
type callRecorder (line 97) | type callRecorder struct
method Call (line 103) | func (r *callRecorder) Call(text string) {
method Len (line 111) | func (r *callRecorder) Len() int {
method Recorded (line 119) | func (r *callRecorder) Recorded() []string {
function newTestState (line 129) | func newTestState(t testing.TB) testState {
type testMessage (line 204) | type testMessage struct
function TestBasic (line 209) | func TestBasic(t *testing.T) {
function TestBasicSendBlob (line 225) | func TestBasicSendBlob(t *testing.T) {
function TestAddUndefinedHandler (line 241) | func TestAddUndefinedHandler(t *testing.T) {
function TestBasicWithOn (line 255) | func TestBasicWithOn(t *testing.T) {
function TestReadyState (line 272) | func TestReadyState(t *testing.T) {
function TestBinaryState (line 297) | func TestBinaryState(t *testing.T) {
function TestBinaryType_Default (line 341) | func TestBinaryType_Default(t *testing.T) {
function TestBinaryType_Blob (line 370) | func TestBinaryType_Blob(t *testing.T) {
function TestBinaryType_ArrayBuffer (line 401) | func TestBinaryType_ArrayBuffer(t *testing.T) {
function TestBinaryType_ArrayBuffer_issue_5226 (line 430) | func TestBinaryType_ArrayBuffer_issue_5226(t *testing.T) {
function TestExceptionDontPanic (line 459) | func TestExceptionDontPanic(t *testing.T) {
function TestTwoTalking (line 576) | func TestTwoTalking(t *testing.T) {
function TestTwoTalkingUsingOn (line 664) | func TestTwoTalkingUsingOn(t *testing.T) {
function TestSubProtocols (line 754) | func TestSubProtocols(t *testing.T) {
function TestDialError (line 816) | func TestDialError(t *testing.T) {
function TestOnError (line 837) | func TestOnError(t *testing.T) {
function TestOnClose (line 853) | func TestOnClose(t *testing.T) {
function TestMixingOnAndAddHandlers (line 871) | func TestMixingOnAndAddHandlers(t *testing.T) {
function TestOncloseRedefineListener (line 894) | func TestOncloseRedefineListener(t *testing.T) {
function TestOncloseRedefineWithNull (line 916) | func TestOncloseRedefineWithNull(t *testing.T) {
function TestOncloseDefineWithInvalidValue (line 936) | func TestOncloseDefineWithInvalidValue(t *testing.T) {
function TestCustomHeaders (line 950) | func TestCustomHeaders(t *testing.T) {
function TestCookies (line 995) | func TestCookies(t *testing.T) {
function TestCookiesDefaultJar (line 1049) | func TestCookiesDefaultJar(t *testing.T) {
function TestManualNameTag (line 1102) | func TestManualNameTag(t *testing.T) {
function TestSystemTags (line 1139) | func TestSystemTags(t *testing.T) {
function TestCustomTags (line 1190) | func TestCustomTags(t *testing.T) {
function TestCompressionSession (line 1221) | func TestCompressionSession(t *testing.T) {
function TestServerWithoutCompression (line 1265) | func TestServerWithoutCompression(t *testing.T) {
function TestCompressionParams (line 1298) | func TestCompressionParams(t *testing.T) {
function TestSessionPing (line 1369) | func TestSessionPing(t *testing.T) {
function TestSessionPingAdd (line 1396) | func TestSessionPingAdd(t *testing.T) {
function TestLockingUpWithAThrow (line 1423) | func TestLockingUpWithAThrow(t *testing.T) {
function TestLockingUpWithAJustGeneralCancel (line 1463) | func TestLockingUpWithAJustGeneralCancel(t *testing.T) {
function destroySamples (line 1504) | func destroySamples(ctx context.Context, c <-chan metrics.SampleContaine...
function TestArrayBufferViewSupport (line 1514) | func TestArrayBufferViewSupport(t *testing.T) {
function testArrayBufferViewSupport (line 1530) | func testArrayBufferViewSupport(t *testing.T, viewName string) {
function TestReadyStateSwitch (line 1556) | func TestReadyStateSwitch(t *testing.T) {
function TestCloseWithCode (line 1579) | func TestCloseWithCode(t *testing.T) {
function TestCloseWithCodeAndReason (line 1600) | func TestCloseWithCodeAndReason(t *testing.T) {
function TestCloseWithDisallowedCode (line 1625) | func TestCloseWithDisallowedCode(t *testing.T) {
function TestCloseWithReasonTooLong (line 1641) | func TestCloseWithReasonTooLong(t *testing.T) {
function TestRemoteCloseWithCodeAndReason (line 1657) | func TestRemoteCloseWithCodeAndReason(t *testing.T) {
FILE: internal/js/modules/k6/ws/ws.go
type RootModule (line 32) | type RootModule struct
method NewModuleInstance (line 53) | func (*RootModule) NewModuleInstance(m modules.VU) modules.Instance {
type WS (line 35) | type WS struct
method Exports (line 113) | func (mi *WS) Exports() modules.Exports {
method Connect (line 120) | func (mi *WS) Connect(url string, args ...sobek.Value) (*HTTPResponse,...
method dial (line 246) | func (mi *WS) dial(
function New (line 47) | func New() *RootModule {
type Socket (line 71) | type Socket struct
method On (line 312) | func (s *Socket) On(event string, handler sobek.Value) {
method handleEvent (line 318) | func (s *Socket) handleEvent(event string, args ...sobek.Value) {
method Send (line 329) | func (s *Socket) Send(message string) {
method SendBinary (line 346) | func (s *Socket) SendBinary(message sobek.Value) {
method Ping (line 379) | func (s *Socket) Ping() {
method trackPong (line 394) | func (s *Socket) trackPong(pingID string) {
method SetTimeout (line 417) | func (s *Socket) SetTimeout(fn sobek.Callable, timeoutMs float64) error {
method SetInterval (line 446) | func (s *Socket) SetInterval(fn sobek.Callable, intervalMs float64) er...
method Close (line 479) | func (s *Socket) Close(args ...sobek.Value) {
method closeConnection (line 490) | func (s *Socket) closeConnection(code int) error {
method pushSessionMetrics (line 518) | func (s *Socket) pushSessionMetrics(connStart, connEnd time.Time) func...
method readPump (line 563) | func (s *Socket) readPump(readChan chan *message, errorChan chan error...
type HTTPResponse (line 89) | type HTTPResponse struct
type message (line 97) | type message struct
type wsConnectArgs (line 102) | type wsConnectArgs struct
constant writeWait (line 110) | writeWait = 10 * time.Second
function wrapHTTPResponse (line 599) | func wrapHTTPResponse(httpResponse *http.Response) (*HTTPResponse, error) {
function parseConnectArgs (line 624) | func parseConnectArgs(state *lib.State, rt *sobek.Runtime, args ...sobek...
FILE: internal/js/modules/k6/ws/ws_test.go
constant statusProtocolSwitch (line 29) | statusProtocolSwitch = 101
function assertSessionMetricsEmitted (line 31) | func assertSessionMetricsEmitted(t *testing.T, sampleContainers []metric...
function assertMetricEmittedCount (line 60) | func assertMetricEmittedCount(t *testing.T, metricName string, sampleCon...
type testState (line 76) | type testState struct
function newTestState (line 82) | func newTestState(t testing.TB) testState {
function TestSessionConnectWs (line 118) | func TestSessionConnectWs(t *testing.T) {
function TestSessionConnectWss (line 135) | func TestSessionConnectWss(t *testing.T) {
function TestSessionOpen (line 151) | func TestSessionOpen(t *testing.T) {
function TestSessionSendReceive (line 171) | func TestSessionSendReceive(t *testing.T) {
function TestSessionInterval (line 197) | func TestSessionInterval(t *testing.T) {
function TestSessionNegativeInterval (line 217) | func TestSessionNegativeInterval(t *testing.T) {
function TestSessionIntervalSub1 (line 236) | func TestSessionIntervalSub1(t *testing.T) {
function TestSessionTimeout (line 254) | func TestSessionTimeout(t *testing.T) {
function TestSessionBadTimeout (line 275) | func TestSessionBadTimeout(t *testing.T) {
function TestSessionPing (line 295) | func TestSessionPing(t *testing.T) {
function TestSessionMultipleHandlers (line 323) | func TestSessionMultipleHandlers(t *testing.T) {
function TestSessionClientClose (line 361) | func TestSessionClientClose(t *testing.T) {
function TestSessionClose (line 383) | func TestSessionClose(t *testing.T) {
function TestMultiMessage (line 420) | func TestMultiMessage(t *testing.T) {
function TestSocketSendBinary (line 569) | func TestSocketSendBinary(t *testing.T) { //nolint:tparallel
function TestErrors (line 637) | func TestErrors(t *testing.T) {
function TestConnectWrongStatusCode (line 708) | func TestConnectWrongStatusCode(t *testing.T) {
function TestSystemTags (line 723) | func TestSystemTags(t *testing.T) {
function TestTLSConfig (line 770) | func TestTLSConfig(t *testing.T) {
function TestReadPump (line 813) | func TestReadPump(t *testing.T) {
function TestUserAgent (line 867) | func TestUserAgent(t *testing.T) {
function TestCompression (line 912) | func TestCompression(t *testing.T) {
function clearSamples (line 1045) | func clearSamples(tb *httpmultibin.HTTPMultiBin, samples chan metrics.Sa...
function BenchmarkCompression (line 1056) | func BenchmarkCompression(b *testing.B) {
function TestCookieJar (line 1125) | func TestCookieJar(t *testing.T) {
function TestWSConnectEnableThrowErrorOption (line 1184) | func TestWSConnectEnableThrowErrorOption(t *testing.T) {
function TestWSConnectDisableThrowErrorOption (line 1204) | func TestWSConnectDisableThrowErrorOption(t *testing.T) {
FILE: internal/js/modules_vu.go
type events (line 13) | type events struct
type moduleVUImpl (line 17) | type moduleVUImpl struct
method Context (line 26) | func (m *moduleVUImpl) Context() context.Context {
method Events (line 30) | func (m *moduleVUImpl) Events() common.Events {
method InitEnv (line 34) | func (m *moduleVUImpl) InitEnv() *common.InitEnvironment {
method State (line 38) | func (m *moduleVUImpl) State() *lib.State {
method Runtime (line 42) | func (m *moduleVUImpl) Runtime() *sobek.Runtime {
method RegisterCallback (line 46) | func (m *moduleVUImpl) RegisterCallback() func(func() error) {
FILE: internal/js/path_resolution_test.go
function TestPathResolution (line 17) | func TestPathResolution(t *testing.T) {
function writeToFs (line 320) | func writeToFs(fs fsext.Fs, in map[string]any) error {
function TestImportMetaResolve (line 338) | func TestImportMetaResolve(t *testing.T) {
FILE: internal/js/runner.go
type Runner (line 51) | type Runner struct
method MakeArchive (line 113) | func (r *Runner) MakeArchive() *lib.Archive {
method NewVU (line 118) | func (r *Runner) NewVU(
method newVU (line 129) | func (r *Runner) newVU(
method forceHTTP1 (line 261) | func (r *Runner) forceHTTP1() bool {
method Setup (line 280) | func (r *Runner) Setup(ctx context.Context, out chan<- metrics.SampleC...
method GetSetupData (line 311) | func (r *Runner) GetSetupData() []byte {
method SetSetupData (line 316) | func (r *Runner) SetSetupData(data []byte) {
method Teardown (line 321) | func (r *Runner) Teardown(ctx context.Context, out chan<- metrics.Samp...
method GetOptions (line 346) | func (r *Runner) GetOptions() lib.Options {
method IsExecutable (line 352) | func (r *Runner) IsExecutable(name string) bool {
method HandleSummary (line 358) | func (r *Runner) HandleSummary(
method checkDeadline (line 520) | func (r *Runner) checkDeadline(ctx context.Context, name string, resul...
method SetOptions (line 537) | func (r *Runner) SetOptions(opts lib.Options) error {
method setResolver (line 583) | func (r *Runner) setResolver(dns types.DNSConfig) error {
method runPart (line 626) | func (r *Runner) runPart(
method getTimeoutFor (line 687) | func (r *Runner) getTimeoutFor(stage string) time.Duration {
function New (line 68) | func New(
function NewFromArchive (line 80) | func NewFromArchive(piState *lib.TestPreInitState, arc *lib.Archive, mr ...
function NewFromBundle (line 90) | func NewFromBundle(piState *lib.TestPreInitState, b *Bundle) (*Runner, e...
function prepareHandleSummaryCall (line 425) | func prepareHandleSummaryCall(
function runUserProvidedHandleSummaryCallback (line 469) | func runUserProvidedHandleSummaryCallback(
function prepareHandleWrapperArgs (line 495) | func prepareHandleWrapperArgs(
function parseTTL (line 603) | func parseTTL(ttlS string) (time.Duration, error) {
function unPromisify (line 672) | func unPromisify(v sobek.Value) sobek.Value {
type VU (line 701) | type VU struct
method GetID (line 743) | func (u *VU) GetID() uint64 {
method Activate (line 748) | func (u *VU) Activate(params *lib.VUActivationParams) lib.ActiveVU {
method getExported (line 909) | func (u *VU) getExported(name string) sobek.Value {
method runFn (line 915) | func (u *VU) runFn(
type ActiveVU (line 732) | type ActiveVU struct
method RunOnce (line 822) | func (u *ActiveVU) RunOnce() error {
method emitAndWaitEvent (line 900) | func (u *ActiveVU) emitAndWaitEvent(evt *event.Event) {
method incrIteration (line 1002) | func (u *ActiveVU) incrIteration() {
function iterationSamples (line 977) | func iterationSamples(
type scriptExceptionError (line 1017) | type scriptExceptionError struct
method Error (line 1028) | func (s *scriptExceptionError) Error() string {
method StackTrace (line 1033) | func (s *scriptExceptionError) StackTrace() string {
method Unwrap (line 1037) | func (s *scriptExceptionError) Unwrap() error {
method Hint (line 1041) | func (s *scriptExceptionError) Hint() string {
method AbortReason (line 1045) | func (s *scriptExceptionError) AbortReason() errext.AbortReason {
method ExitCode (line 1049) | func (s *scriptExceptionError) ExitCode() exitcodes.ExitCode {
FILE: internal/js/runner_test.go
function TestRunnerNew (line 53) | func TestRunnerNew(t *testing.T) {
function TestRunnerOptions (line 90) | func TestRunnerOptions(t *testing.T) {
function TestRunnerRPSLimit (line 114) | func TestRunnerRPSLimit(t *testing.T) {
function TestOptionsSettingToScript (line 159) | func TestOptionsSettingToScript(t *testing.T) {
function TestOptionsPropagationToScript (line 199) | func TestOptionsPropagationToScript(t *testing.T) {
function TestMetricName (line 246) | func TestMetricName(t *testing.T) {
function TestDataIsolation (line 263) | func TestDataIsolation(t *testing.T) {
function testSetupDataHelper (line 385) | func testSetupDataHelper(t *testing.T, data string) {
function TestSetupDataReturnValue (line 411) | func TestSetupDataReturnValue(t *testing.T) {
function TestSetupDataNoSetup (line 431) | func TestSetupDataNoSetup(t *testing.T) {
function TestConsoleInInitContext (line 449) | func TestConsoleInInitContext(t *testing.T) {
function TestSetupDataNoReturn (line 472) | func TestSetupDataNoReturn(t *testing.T) {
function TestSetupDataPromise (line 490) | func TestSetupDataPromise(t *testing.T) {
function TestRunnerIntegrationImports (line 510) | func TestRunnerIntegrationImports(t *testing.T) {
function TestVURunContext (line 577) | func TestVURunContext(t *testing.T) {
function TestVURunInterrupt (line 621) | func TestVURunInterrupt(t *testing.T) {
function TestVURunInterruptDoesntPanic (line 650) | func TestVURunInterruptDoesntPanic(t *testing.T) {
function TestVUIntegrationMetrics (line 695) | func TestVUIntegrationMetrics(t *testing.T) {
function generateTLSCertificate (line 755) | func generateTLSCertificate(t *testing.T, host string, notBefore time.Ti...
function generateTLSCertificateWithCA (line 759) | func generateTLSCertificateWithCA(t *testing.T, host string, notBefore t...
function getTestServerWithCertificate (line 819) | func getTestServerWithCertificate(t *testing.T, certPem, key []byte) *ht...
function TestVUIntegrationInsecureRequests (line 865) | func TestVUIntegrationInsecureRequests(t *testing.T) {
function TestVUIntegrationBlacklistOption (line 942) | func TestVUIntegrationBlacklistOption(t *testing.T) {
function TestVUIntegrationBlacklistScript (line 973) | func TestVUIntegrationBlacklistScript(t *testing.T) {
function TestVUIntegrationBlockHostnamesOption (line 1006) | func TestVUIntegrationBlockHostnamesOption(t *testing.T) {
function TestVUIntegrationBlockHostnamesScript (line 1041) | func TestVUIntegrationBlockHostnamesScript(t *testing.T) {
function TestVUIntegrationHosts (line 1074) | func TestVUIntegrationHosts(t *testing.T) {
function TestVUIntegrationTLSConfig (line 1123) | func TestVUIntegrationTLSConfig(t *testing.T) {
function TestVUIntegrationRequireFunctionError (line 1217) | func TestVUIntegrationRequireFunctionError(t *testing.T) {
function TestVUIntegrationOpenFunctionError (line 1233) | func TestVUIntegrationOpenFunctionError(t *testing.T) {
function TestVUIntegrationOpenFunctionErrorWhenSneaky (line 1249) | func TestVUIntegrationOpenFunctionErrorWhenSneaky(t *testing.T) {
function TestVUDoesOpenUnderV0Condition (line 1266) | func TestVUDoesOpenUnderV0Condition(t *testing.T) {
function TestVUDoesNotOpenUnderConditions (line 1290) | func TestVUDoesNotOpenUnderConditions(t *testing.T) {
function TestVUDoesNonExistingPathnUnderConditions (line 1315) | func TestVUDoesNonExistingPathnUnderConditions(t *testing.T) {
function TestVUDoesRequireUnderV0Condition (line 1339) | func TestVUDoesRequireUnderV0Condition(t *testing.T) {
function TestVUDoesNotRequireUnderConditions (line 1363) | func TestVUDoesNotRequireUnderConditions(t *testing.T) {
function TestVUDoesRequireUnderConditions (line 1388) | func TestVUDoesRequireUnderConditions(t *testing.T) {
function TestVUIntegrationCookiesReset (line 1434) | func TestVUIntegrationCookiesReset(t *testing.T) {
function TestVUIntegrationCookiesNoReset (line 1478) | func TestVUIntegrationCookiesNoReset(t *testing.T) {
function TestVUIntegrationVUID (line 1533) | func TestVUIntegrationVUID(t *testing.T) {
function TestVUIntegrationClientCerts (line 1562) | func TestVUIntegrationClientCerts(t *testing.T) {
function TestHTTPRequestInInitContext (line 1677) | func TestHTTPRequestInInitContext(t *testing.T) {
function TestInitContextForbidden (line 1698) | func TestInitContextForbidden(t *testing.T) {
function TestArchiveRunningIntegrity (line 1781) | func TestArchiveRunningIntegrity(t *testing.T) {
function TestArchiveNotPanicking (line 1832) | func TestArchiveNotPanicking(t *testing.T) {
function TestStuffNotPanicking (line 1851) | func TestStuffNotPanicking(t *testing.T) {
function TestPanicOnSimpleHTML (line 1916) | func TestPanicOnSimpleHTML(t *testing.T) {
function TestSystemTags (line 1951) | func TestSystemTags(t *testing.T) {
type multiFileTestCase (line 2035) | type multiFileTestCase struct
function runMultiFileTestCase (line 2045) | func runMultiFileTestCase(t *testing.T, tc multiFileTestCase, tb *httpmu...
function TestComplicatedFileImportsForGRPC (line 2095) | func TestComplicatedFileImportsForGRPC(t *testing.T) {
function TestMinIterationDurationIsCancellable (line 2204) | func TestMinIterationDurationIsCancellable(t *testing.T) {
function TestForceHTTP1Feature (line 2235) | func TestForceHTTP1Feature(t *testing.T) {
function TestExecutionInfo (line 2319) | func TestExecutionInfo(t *testing.T) {
function TestPromiseRejectionIsCleared (line 2424) | func TestPromiseRejectionIsCleared(t *testing.T) {
function TestArchivingAnArchiveWorks (line 2465) | func TestArchivingAnArchiveWorks(t *testing.T) {
FILE: internal/js/share_test.go
function TestNewSharedArrayIntegration (line 16) | func TestNewSharedArrayIntegration(t *testing.T) {
FILE: internal/js/summary-legacy.js
function strWidth (line 48) | function strWidth(s) {
function summarizeCheck (line 85) | function summarizeCheck(indent, check, decorate) {
function summarizeGroup (line 114) | function summarizeGroup(indent, group, decorate) {
function displayNameForMetric (line 134) | function displayNameForMetric(name) {
function indentForMetric (line 142) | function indentForMetric(name) {
function humanizeBytes (line 149) | function humanizeBytes(bytes) {
function toFixedNoTrailingZeros (line 168) | function toFixedNoTrailingZeros(val, prec) {
function toFixedNoTrailingZerosTrunc (line 173) | function toFixedNoTrailingZerosTrunc(val, prec) {
function humanizeGenericDuration (line 178) | function humanizeGenericDuration(dur) {
function humanizeDuration (line 211) | function humanizeDuration(dur, timeUnit) {
function humanizeValue (line 219) | function humanizeValue(val, metric, timeUnit) {
function nonTrendMetricValueForSum (line 235) | function nonTrendMetricValueForSum(metric, timeUnit) {
function summarizeMetrics (line 258) | function summarizeMetrics(options, data, decorate) {
function generateTextSummary (line 399) | function generateTextSummary(data, options) {
FILE: internal/js/summary.go
function summarizeReportToObject (line 38) | func summarizeReportToObject(rt *sobek.Runtime, s *summary.Summary) (map...
function metricValueGetter (line 98) | func metricValueGetter(summaryTrendStats []string) func(metrics.Sink, ti...
function summarizeMetricsToObject (line 130) | func summarizeMetricsToObject(data *lib.LegacySummary, options lib.Optio...
function exportGroup (line 183) | func exportGroup(group *lib.Group) map[string]any {
function getSummaryResult (line 209) | func getSummaryResult(rawResult sobek.Value) (map[string]io.Reader, erro...
FILE: internal/js/summary.js
function generateTextSummary (line 21) | function generateTextSummary(report, options) {
function humanizeValue (line 47) | function humanizeValue(val, metric, timeUnit) {
class TestReportGenerator (line 148) | class TestReportGenerator {
method constructor (line 156) | constructor(formatter, renderContext, options = {}) {
method generate (line 168) | generate(report) {
class ReportBuilder (line 189) | class ReportBuilder {
method constructor (line 197) | constructor(formatter, renderContext, options) {
method addThresholds (line 211) | addThresholds(thresholds) {
method addTotalResults (line 227) | addTotalResults(report) {
method addGroups (line 244) | addGroups(groups) {
method addScenarios (line 263) | addScenarios(scenarios) {
method _computeGlobalMaxNameWidth (line 284) | _computeGlobalMaxNameWidth(report) {
method _collectMetricsFromGroups (line 316) | _collectMetricsFromGroups(groups, allMetrics) {
method build (line 333) | build() {
method _renderThresholds (line 352) | _renderThresholds(thresholds, renderContext) {
method _renderChecks (line 372) | _renderChecks(checks, renderContext) {
method _renderMetrics (line 387) | _renderMetrics(metrics, renderContext, globalMaxNameWidth) {
method _renderGroupContent (line 436) | _renderGroupContent(group, renderContext) {
method _renderScenarioContent (line 453) | _renderScenarioContent(scenarioData, renderContext) {
method _renderNestedGroups (line 472) | _renderNestedGroups(groups, renderContext) {
method _processThresholds (line 494) | _processThresholds(thresholds) {
class RenderContext (line 519) | class RenderContext {
method constructor (line 520) | constructor(baseIndentationLevel = 0) {
method indentLevel (line 530) | indentLevel(level = 1) {
method indent (line 539) | indent(text, level = 1) {
method indentedContext (line 552) | indentedContext(increment = 1) {
class ANSIFormatter (line 560) | class ANSIFormatter {
method constructor (line 567) | constructor(options = {}) {
method decorate (line 582) | decorate(text, color, ...styles) {
method boldify (line 607) | boldify(text) {
function renderTitle (line 670) | function renderTitle(
function renderCheck (line 689) | function renderCheck(check, formatter, renderContext) {
function renderChecks (line 735) | function renderChecks(checks, formatter, renderContext, options = {}) {
function renderMetrics (line 784) | function renderMetrics(
function renderThresholds (line 822) | function renderThresholds(metrics, formatter, renderContext, options) {
function renderThresholdResults (line 881) | function renderThresholdResults(
function renderMetricLine (line 927) | function renderMetricLine(
function renderMetricNameForThresholds (line 966) | function renderMetricNameForThresholds(
function renderMetricValueForThresholds (line 992) | function renderMetricValueForThresholds(
function renderTrendData (line 1027) | function renderTrendData(name, info, formatter) {
function renderNonTrendData (line 1047) | function renderNonTrendData(name, info, formatter) {
function renderTrendValue (line 1086) | function renderTrendValue(value, stat, metric, options) {
function computeSummaryInfo (line 1115) | function computeSummaryInfo(metrics, renderContext, options, globalMaxNa...
function sortMetricsByName (line 1220) | function sortMetricsByName(metricNames) {
function forEach (line 1242) | function forEach(obj, callback) {
function strWidth (line 1271) | function strWidth(s) {
function renderMetricDisplayName (line 1324) | function renderMetricDisplayName(name) {
function humanizeBytes (line 1338) | function humanizeBytes(bytes) {
function toFixedNoTrailingZeros (line 1364) | function toFixedNoTrailingZeros(val, prec) {
function toFixedNoTrailingZerosTrunc (line 1375) | function toFixedNoTrailingZerosTrunc(val, prec) {
function humanizeGenericDuration (line 1387) | function humanizeGenericDuration(duration) {
function humanizeDuration (line 1431) | function humanizeDuration(dur, timeUnit) {
function nonTrendMetricValueForSum (line 1448) | function nonTrendMetricValueForSum(metric, timeUnit) {
FILE: internal/js/summary_test.go
constant checksOut (line 22) | checksOut = " â–ˆ child\n\n" +
constant countOut (line 27) | countOut = " ✗ http_reqs...: 3 3/s\n"
constant gaugeOut (line 28) | gaugeOut = " vus.........: 1 min=1 max=1\n"
constant trendOut (line 29) | trendOut = " ✗ my_trend....: avg=15ms min=10ms med=15ms max=20ms p(90)...
function TestTextSummary (line 33) | func TestTextSummary(t *testing.T) {
function TestTextSummaryWithSubMetrics (line 77) | func TestTextSummaryWithSubMetrics(t *testing.T) {
function createTestMetrics (line 135) | func createTestMetrics(t *testing.T) (map[string]*metrics.Metric, *lib.G...
function createTestLegacySummary (line 207) | func createTestLegacySummary(t *testing.T) *lib.LegacySummary {
constant expectedOldJSONExportResult (line 216) | expectedOldJSONExportResult = `{
function TestOldJSONExport (line 292) | func TestOldJSONExport(t *testing.T) {
constant expectedHandleSummaryRawData (line 323) | expectedHandleSummaryRawData = `
constant expectedHandleSummaryDataWithSetup (line 440) | expectedHandleSummaryDataWithSetup = `
function TestRawHandleSummaryData (line 558) | func TestRawHandleSummaryData(t *testing.T) {
function TestRawHandleSummaryDataWithSetupData (line 595) | func TestRawHandleSummaryDataWithSetupData(t *testing.T) {
function TestRawHandleSummaryPromise (line 621) | func TestRawHandleSummaryPromise(t *testing.T) {
function TestWrongSummaryHandlerExportTypes (line 644) | func TestWrongSummaryHandlerExportTypes(t *testing.T) {
function TestExceptionInHandleSummaryFallsBackToTextSummary (line 667) | func TestExceptionInHandleSummaryFallsBackToTextSummary(t *testing.T) {
FILE: internal/js/tc39/tc39_norace_test.go
method runTest (line 9) | func (ctx *tc39TestCtx) runTest(name string, f func(t *testing.T)) {
method flush (line 16) | func (ctx *tc39TestCtx) flush() {
FILE: internal/js/tc39/tc39_race_test.go
constant tc39MaxTestGroupSize (line 13) | tc39MaxTestGroupSize = 1000
method runTest (line 16) | func (ctx *tc39TestCtx) runTest(name string, f func(t *testing.T)) {
method flush (line 23) | func (ctx *tc39TestCtx) flush() {
FILE: internal/js/tc39/tc39_test.go
constant tc39BASE (line 39) | tc39BASE = "TestTC39/test262"
type tc39Test (line 261) | type tc39Test struct
type tc39BenchmarkItem (line 266) | type tc39BenchmarkItem struct
type tc39BenchmarkData (line 271) | type tc39BenchmarkData
type tc39TestCtx (line 273) | type tc39TestCtx struct
method detachArrayBuffer (line 344) | func (*tc39TestCtx) detachArrayBuffer(call sobek.FunctionCall) sobek.V...
method fail (line 356) | func (ctx *tc39TestCtx) fail(t testing.TB, name string, strict bool, e...
method runTC39Test (line 376) | func (ctx *tc39TestCtx) runTC39Test(t testing.TB, name, src string, me...
method runTC39File (line 532) | func (ctx *tc39TestCtx) runTC39File(name string, t testing.TB) {
method init (line 583) | func (ctx *tc39TestCtx) init() {
method compile (line 603) | func (ctx *tc39TestCtx) compile(base, name string) (*sobek.Program, er...
method runFile (line 631) | func (ctx *tc39TestCtx) runFile(base, name string, vm *sobek.Runtime) ...
method compileOnly (line 640) | func (ctx *tc39TestCtx) compileOnly(src, name string, stripTypes bool)...
method compiler (line 656) | func (ctx *tc39TestCtx) compiler() *compiler.Compiler {
method runTC39Script (line 660) | func (ctx *tc39TestCtx) runTC39Script(name, src string, includes []str...
method runTC39Module (line 693) | func (ctx *tc39TestCtx) runTC39Module(name, src string, includes []str...
method runTC39Tests (line 750) | func (ctx *tc39TestCtx) runTC39Tests(name string) {
type TC39MetaNegative (line 290) | type TC39MetaNegative struct
type tc39Meta (line 294) | type tc39Meta struct
method hasFlag (line 304) | func (m *tc39Meta) hasFlag(flag string) bool {
function parseTC39File (line 308) | func parseTC39File(name string) (*tc39Meta, string, error) {
function getErrType (line 496) | func getErrType(name string, err error, failf func(str string, args ...a...
function shouldBeSkipped (line 522) | func shouldBeSkipped(t testing.TB, meta *tc39Meta) {
function breakingTestErrorsFilename (line 579) | func breakingTestErrorsFilename(stripTypes bool) string {
function TestTC39 (line 789) | func TestTC39(t *testing.T) {
function runTestTC39 (line 798) | func runTestTC39(t *testing.T, stripTypes bool) {
FILE: internal/js/tc55/timers/timers.go
type timers (line 18) | type timers struct
method setupGlobally (line 54) | func (e *timers) setupGlobally() error {
method nextID (line 71) | func (e *timers) nextID() uint64 {
method call (line 76) | func (e *timers) call(callback sobek.Callable, args []sobek.Value) err...
method setTimeout (line 82) | func (e *timers) setTimeout(callback sobek.Callable, delay float64, ar...
method clearTimeout (line 88) | func (e *timers) clearTimeout(id uint64) {
method freeEventLoopIfPossible (line 106) | func (e *timers) freeEventLoopIfPossible() {
method setInterval (line 112) | func (e *timers) setInterval(callback sobek.Callable, delay float64, a...
method clearInterval (line 118) | func (e *timers) clearInterval(id uint64) {
method timerInitialization (line 124) | func (e *timers) timerInitialization(
method runAfterTimeout (line 173) | func (e *timers) runAfterTimeout(t *timer) {
method runFirstTask (line 186) | func (e *timers) runFirstTask() error {
method setupTaskTimeout (line 203) | func (e *timers) setupTaskTimeout() {
method closeTaskQueue (line 216) | func (e *timers) closeTaskQueue() {
method logger (line 235) | func (e *timers) logger() logrus.FieldLogger {
method setupTaskQueueCloserOnIterationEnd (line 242) | func (e *timers) setupTaskQueueCloserOnIterationEnd() {
constant setTimeoutName (line 36) | setTimeoutName = "setTimeout"
constant setIntervalName (line 37) | setIntervalName = "setInterval"
function SetupGlobally (line 42) | func SetupGlobally(vu modules.VU) error {
function newTimers (line 46) | func newTimers(vu modules.VU) *timers {
type timer (line 278) | type timer struct
type timerQueue (line 287) | type timerQueue struct
method add (line 292) | func (tq *timerQueue) add(t *timer) int {
method stopTimer (line 303) | func (tq *timerQueue) stopTimer() {
method remove (line 312) | func (tq *timerQueue) remove(id uint64) {
method pop (line 318) | func (tq *timerQueue) pop() *timer {
method length (line 328) | func (tq *timerQueue) length() int {
method first (line 332) | func (tq *timerQueue) first() *timer {
FILE: internal/js/tc55/timers/timers_test.go
function newRuntime (line 13) | func newRuntime(t testing.TB) *modulestest.Runtime {
function TestSetTimeout (line 20) | func TestSetTimeout(t *testing.T) {
function TestSetUndefinedFunction (line 38) | func TestSetUndefinedFunction(t *testing.T) {
function TestSetInterval (line 48) | func TestSetInterval(t *testing.T) {
function TestSetTimeoutOrder (line 77) | func TestSetTimeoutOrder(t *testing.T) {
function TestSetIntervalOrder (line 102) | func TestSetIntervalOrder(t *testing.T) {
function TestSetTimeoutContextCancel (line 143) | func TestSetTimeoutContextCancel(t *testing.T) {
function TestClearFirstTimeoutWhenMultiple (line 200) | func TestClearFirstTimeoutWhenMultiple(t *testing.T) {
FILE: internal/js/timeout_error.go
type timeoutError (line 13) | type timeoutError struct
method Error (line 31) | func (t timeoutError) Error() string {
method Hint (line 36) | func (t timeoutError) Hint() string {
method AbortReason (line 48) | func (t timeoutError) AbortReason() errext.AbortReason {
method ExitCode (line 53) | func (t timeoutError) ExitCode() exitcodes.ExitCode {
function newTimeoutError (line 26) | func newTimeoutError(place string, d time.Duration) timeoutError {
FILE: internal/js/timeout_error_test.go
function TestTimeoutError (line 11) | func TestTimeoutError(t *testing.T) {
function TestTimeoutErrorHint (line 30) | func TestTimeoutErrorHint(t *testing.T) {
FILE: internal/lib/consts/js.go
constant DefaultFn (line 6) | DefaultFn = "default"
constant Options (line 7) | Options = "options"
constant SetupFn (line 8) | SetupFn = "setup"
constant TeardownFn (line 9) | TeardownFn = "teardown"
constant HandleSummaryFn (line 10) | HandleSummaryFn = "handleSummary"
FILE: internal/lib/netext/grpcext/conn.go
type InvokeRequest (line 36) | type InvokeRequest struct
type InvokeResponse (line 47) | type InvokeResponse struct
type StreamRequest (line 56) | type StreamRequest struct
type HealthCheckResponse (line 66) | type HealthCheckResponse struct
type clientConnCloser (line 70) | type clientConnCloser interface
type Conn (line 76) | type Conn struct
method Reflect (line 110) | func (c *Conn) Reflect(ctx context.Context) (*descriptorpb.FileDescrip...
method HealthCheck (line 116) | func (c *Conn) HealthCheck(ctx context.Context, svc string) (*HealthCh...
method Invoke (line 127) | func (c *Conn) Invoke(
method NewStream (line 208) | func (c *Conn) NewStream(
method Close (line 237) | func (c *Conn) Close() error {
function DefaultOptions (line 83) | func DefaultOptions(getState func() *lib.State) []grpc.DialOption {
function Dial (line 98) | func Dial(ctx context.Context, addr string, types *protoregistry.Types, ...
type statsHandler (line 241) | type statsHandler struct
method TagConn (line 246) | func (statsHandler) TagConn(ctx context.Context, _ *grpcstats.ConnTagI...
method HandleConn (line 251) | func (statsHandler) HandleConn(context.Context, grpcstats.ConnStats) {
method TagRPC (line 256) | func (statsHandler) TagRPC(ctx context.Context, _ *grpcstats.RPCTagInf...
method HandleRPC (line 262) | func (h statsHandler) HandleRPC(ctx context.Context, stat grpcstats.RP...
function DebugStat (line 307) | func DebugStat(logger logrus.FieldLogger, stat grpcstats.RPCStats, httpD...
function formatMetadata (line 337) | func formatMetadata(md metadata.MD) string {
function formatPayload (line 349) | func formatPayload(payload any) string {
type contextKey (line 371) | type contextKey
type rpcState (line 375) | type rpcState struct
function withRPCState (line 379) | func withRPCState(ctx context.Context, rpcState *rpcState) context.Conte...
function getRPCState (line 383) | func getRPCState(ctx context.Context) *rpcState {
FILE: internal/lib/netext/grpcext/conn_test.go
type healthcheckmock (line 23) | type healthcheckmock
method Invoke (line 25) | func (im healthcheckmock) Invoke(_ context.Context, _ string, payload,...
method Close (line 37) | func (healthcheckmock) Close() error {
method NewStream (line 41) | func (healthcheckmock) NewStream(_ context.Context, _ *grpc.StreamDesc...
function TestHealthCheck (line 45) | func TestHealthCheck(t *testing.T) {
function TestInvoke (line 106) | func TestInvoke(t *testing.T) {
function TestInvokeWithCallOptions (line 131) | func TestInvokeWithCallOptions(t *testing.T) {
function TestInvokeWithDiscardResponseMessage (line 151) | func TestInvokeWithDiscardResponseMessage(t *testing.T) {
function TestInvokeReturnError (line 173) | func TestInvokeReturnError(t *testing.T) {
function TestConnInvokeInvalid (line 195) | func TestConnInvokeInvalid(t *testing.T) {
function methodFromProto (line 252) | func methodFromProto(method string) protoreflect.MethodDescriptor {
type invokemock (line 314) | type invokemock
method Invoke (line 316) | func (im invokemock) Invoke(_ context.Context, _ string, payload any, ...
method NewStream (line 328) | func (invokemock) NewStream(_ context.Context, _ *grpc.StreamDesc, _ s...
method Close (line 332) | func (invokemock) Close() error {
FILE: internal/lib/netext/grpcext/reflect.go
type reflectionClient (line 14) | type reflectionClient struct
method Reflect (line 20) | func (rc *reflectionClient) Reflect(ctx context.Context) (*descriptorp...
type fileDescriptorLookupKey (line 67) | type fileDescriptorLookupKey struct
FILE: internal/lib/netext/grpcext/stream.go
type Stream (line 20) | type Stream struct
method ReceiveConverted (line 35) | func (s *Stream) ReceiveConverted() (any, error) {
method receive (line 53) | func (s *Stream) receive() (msg *dynamicpb.Message, err error) {
method CloseSend (line 112) | func (s *Stream) CloseSend() error {
method buildMessage (line 117) | func (s *Stream) buildMessage(b []byte) (*dynamicpb.Message, error) {
method Send (line 127) | func (s *Stream) Send(b []byte) error {
function convert (line 93) | func convert(marshaler protojson.MarshalOptions, msg *dynamicpb.Message)...
FILE: internal/lib/strvals/parser.go
type Token (line 6) | type Token struct
type tokenizer (line 11) | type tokenizer struct
method readKey (line 17) | func (t *tokenizer) readKey() (string, error) {
method readValue (line 37) | func (t *tokenizer) readValue() string {
method readArray (line 50) | func (t *tokenizer) readArray() (string, error) {
function Parse (line 70) | func Parse(s string) ([]Token, error) {
FILE: internal/lib/strvals/parser_test.go
function TestParser (line 10) | func TestParser(t *testing.T) {
function TestParserInvalid (line 29) | func TestParserInvalid(t *testing.T) {
FILE: internal/lib/summary/machine_readable.go
function ToMachineReadable (line 19) | func ToMachineReadable(s *Summary, meta Meta) (machinereadable.Summary, ...
function machineReadableSummaryConfigBuilder (line 28) | func machineReadableSummaryConfigBuilder(s *Summary, meta Meta) *machine...
function machineReadableSummaryMetadataBuilder (line 40) | func machineReadableSummaryMetadataBuilder() *machinereadable.SummarySum...
function machineReadableSummaryResultsBuilder (line 46) | func machineReadableSummaryResultsBuilder(s *Summary) *machinereadable.S...
function machineReadableSummaryResultsChecksBuilder (line 52) | func machineReadableSummaryResultsChecksBuilder(s *Summary) *machineread...
function machineReadableSummaryResultsMetricsBuilder (line 67) | func machineReadableSummaryResultsMetricsBuilder(metrics Metrics) []cog....
function machineReadableSummaryResultsChecksResultsBuilder (line 87) | func machineReadableSummaryResultsChecksResultsBuilder(
function machineReadableMetricBuilder (line 106) | func machineReadableMetricBuilder(m Metric) *machinereadable.MetricBuild...
function machineReadableMetricType (line 124) | func machineReadableMetricType(mType string) (machinereadable.MetricType...
function machineReadableMetricContains (line 139) | func machineReadableMetricContains(mContains string) (machinereadable.Me...
function machineReadableMetricValues (line 152) | func machineReadableMetricValues(m Metric) (any, error) {
FILE: internal/lib/summary/machinereadable/cog/builder.go
type Builder (line 8) | type Builder interface
FILE: internal/lib/summary/machinereadable/cog/errors.go
type BuildErrors (line 13) | type BuildErrors
method Error (line 15) | func (errs BuildErrors) Error() string {
type BuildError (line 26) | type BuildError struct
method Error (line 31) | func (err *BuildError) Error() string {
function MakeBuildErrors (line 35) | func MakeBuildErrors(rootPath string, err error) BuildErrors {
function ToPtr (line 56) | func ToPtr[T any](v T) *T {
FILE: internal/lib/summary/machinereadable/countervalues_builder_gen.go
type CounterValuesBuilder (line 14) | type CounterValuesBuilder struct
method Build (line 29) | func (builder *CounterValuesBuilder) Build() (CounterValues, error) {
method Count (line 42) | func (builder *CounterValuesBuilder) Count(count float64) *CounterValu...
function NewCounterValuesBuilder (line 19) | func NewCounterValuesBuilder() *CounterValuesBuilder {
FILE: internal/lib/summary/machinereadable/gaugevalues_builder_gen.go
type GaugeValuesBuilder (line 14) | type GaugeValuesBuilder struct
method Build (line 29) | func (builder *GaugeValuesBuilder) Build() (GaugeValues, error) {
method Max (line 42) | func (builder *GaugeValuesBuilder) Max(max float64) *GaugeValuesBuilder {
method Min (line 49) | func (builder *GaugeValuesBuilder) Min(min float64) *GaugeValuesBuilder {
method Value (line 56) | func (builder *GaugeValuesBuilder) Value(value float64) *GaugeValuesBu...
function NewGaugeValuesBuilder (line 19) | func NewGaugeValuesBuilder() *GaugeValuesBuilder {
FILE: internal/lib/summary/machinereadable/metric_builder_gen.go
type MetricBuilder (line 14) | type MetricBuilder struct
method Build (line 29) | func (builder *MetricBuilder) Build() (Metric, error) {
method Contains (line 42) | func (builder *MetricBuilder) Contains(contains MetricContains /* Anon...
method Name (line 49) | func (builder *MetricBuilder) Name(name string) *MetricBuilder {
method Type (line 56) | func (builder *MetricBuilder) Type(typeArg MetricType /* AnonymousEnum...
method Values (line 62) | func (builder *MetricBuilder) Values(values any /* UndiscriminatedDisj...
function NewMetricBuilder (line 19) | func NewMetricBuilder() *MetricBuilder {
FILE: internal/lib/summary/machinereadable/ratevalues_builder_gen.go
type RateValuesBuilder (line 14) | type RateValuesBuilder struct
method Build (line 29) | func (builder *RateValuesBuilder) Build() (RateValues, error) {
method Matches (line 42) | func (builder *RateValuesBuilder) Matches(matches int64) *RateValuesBu...
method Rate (line 49) | func (builder *RateValuesBuilder) Rate(rate float64) *RateValuesBuilder {
method Total (line 56) | func (builder *RateValuesBuilder) Total(total int64) *RateValuesBuilder {
function NewRateValuesBuilder (line 19) | func NewRateValuesBuilder() *RateValuesBuilder {
FILE: internal/lib/summary/machinereadable/schema_version_const.go
constant SchemaVersion (line 9) | SchemaVersion = "1.0.0"
FILE: internal/lib/summary/machinereadable/summary_builder_gen.go
type SummaryBuilder (line 14) | type SummaryBuilder struct
method Build (line 29) | func (builder *SummaryBuilder) Build() (Summary, error) {
method Config (line 42) | func (builder *SummaryBuilder) Config(config cog.Builder[SummarySummar...
method Metadata (line 54) | func (builder *SummaryBuilder) Metadata(metadata cog.Builder[SummarySu...
method Results (line 66) | func (builder *SummaryBuilder) Results(results cog.Builder[SummarySumm...
method Version (line 78) | func (builder *SummaryBuilder) Version(version SemVer) *SummaryBuilder {
function NewSummaryBuilder (line 19) | func NewSummaryBuilder() *SummaryBuilder {
FILE: internal/lib/summary/machinereadable/summarysummaryconfig_builder_gen.go
type SummarySummaryConfigBuilder (line 14) | type SummarySummaryConfigBuilder struct
method Build (line 29) | func (builder *SummarySummaryConfigBuilder) Build() (SummarySummaryCon...
method Duration (line 42) | func (builder *SummarySummaryConfigBuilder) Duration(duration float64)...
method Execution (line 49) | func (builder *SummarySummaryConfigBuilder) Execution(execution Summar...
method Script (line 56) | func (builder *SummarySummaryConfigBuilder) Script(script string) *Sum...
function NewSummarySummaryConfigBuilder (line 19) | func NewSummarySummaryConfigBuilder() *SummarySummaryConfigBuilder {
FILE: internal/lib/summary/machinereadable/summarysummarymetadata_builder_gen.go
type SummarySummaryMetadataBuilder (line 16) | type SummarySummaryMetadataBuilder struct
method Build (line 31) | func (builder *SummarySummaryMetadataBuilder) Build() (SummarySummaryM...
method GeneratedAt (line 44) | func (builder *SummarySummaryMetadataBuilder) GeneratedAt(generatedAt ...
method K6Version (line 51) | func (builder *SummarySummaryMetadataBuilder) K6Version(k6Version SemV...
function NewSummarySummaryMetadataBuilder (line 21) | func NewSummarySummaryMetadataBuilder() *SummarySummaryMetadataBuilder {
FILE: internal/lib/summary/machinereadable/summarysummaryresults_builder_gen.go
type SummarySummaryResultsBuilder (line 14) | type SummarySummaryResultsBuilder struct
method Build (line 29) | func (builder *SummarySummaryResultsBuilder) Build() (SummarySummaryRe...
method Checks (line 42) | func (builder *SummarySummaryResultsBuilder) Checks(checks cog.Builder...
method Metrics (line 54) | func (builder *SummarySummaryResultsBuilder) Metrics(metrics []cog.Bui...
function NewSummarySummaryResultsBuilder (line 19) | func NewSummarySummaryResultsBuilder() *SummarySummaryResultsBuilder {
FILE: internal/lib/summary/machinereadable/summarysummaryresultschecks_builder_gen.go
type SummarySummaryResultsChecksBuilder (line 14) | type SummarySummaryResultsChecksBuilder struct
method Build (line 29) | func (builder *SummarySummaryResultsChecksBuilder) Build() (SummarySum...
method Metrics (line 42) | func (builder *SummarySummaryResultsChecksBuilder) Metrics(metrics []c...
method Results (line 58) | func (builder *SummarySummaryResultsChecksBuilder) Results(results []c...
function NewSummarySummaryResultsChecksBuilder (line 19) | func NewSummarySummaryResultsChecksBuilder() *SummarySummaryResultsCheck...
FILE: internal/lib/summary/machinereadable/summarysummaryresultschecksresults_builder_gen.go
type SummarySummaryResultsChecksResultsBuilder (line 14) | type SummarySummaryResultsChecksResultsBuilder struct
method Build (line 29) | func (builder *SummarySummaryResultsChecksResultsBuilder) Build() (Sum...
method Fails (line 42) | func (builder *SummarySummaryResultsChecksResultsBuilder) Fails(fails ...
method Name (line 49) | func (builder *SummarySummaryResultsChecksResultsBuilder) Name(name st...
method Passes (line 56) | func (builder *SummarySummaryResultsChecksResultsBuilder) Passes(passe...
function NewSummarySummaryResultsChecksResultsBuilder (line 19) | func NewSummarySummaryResultsChecksResultsBuilder() *SummarySummaryResul...
FILE: internal/lib/summary/machinereadable/trendvalues_builder_gen.go
type TrendValuesBuilder (line 14) | type TrendValuesBuilder struct
method Build (line 29) | func (builder *TrendValuesBuilder) Build() (TrendValues, error) {
method Avg (line 42) | func (builder *TrendValuesBuilder) Avg(avg float64) *TrendValuesBuilder {
method Max (line 49) | func (builder *TrendValuesBuilder) Max(max float64) *TrendValuesBuilder {
method Med (line 56) | func (builder *TrendValuesBuilder) Med(med float64) *TrendValuesBuilder {
method Min (line 63) | func (builder *TrendValuesBuilder) Min(min float64) *TrendValuesBuilder {
method P90 (line 70) | func (builder *TrendValuesBuilder) P90(p90 float64) *TrendValuesBuilder {
method P95 (line 77) | func (builder *TrendValuesBuilder) P95(p95 float64) *TrendValuesBuilder {
function NewTrendValuesBuilder (line 19) | func NewTrendValuesBuilder() *TrendValuesBuilder {
FILE: internal/lib/summary/machinereadable/types_gen.go
type CounterValues (line 19) | type CounterValues struct
method UnmarshalJSONStrict (line 31) | func (resource *CounterValues) UnmarshalJSONStrict(raw []byte) error {
method Equals (line 68) | func (resource CounterValues) Equals(other CounterValues) bool {
method Validate (line 77) | func (resource CounterValues) Validate() error {
function NewCounterValues (line 25) | func NewCounterValues() *CounterValues {
type GaugeValues (line 93) | type GaugeValues struct
method UnmarshalJSONStrict (line 109) | func (resource *GaugeValues) UnmarshalJSONStrict(raw []byte) error {
method Equals (line 174) | func (resource GaugeValues) Equals(other GaugeValues) bool {
method Validate (line 189) | func (resource GaugeValues) Validate() error {
function NewGaugeValues (line 103) | func NewGaugeValues() *GaugeValues {
type Metric (line 193) | type Metric struct
method UnmarshalJSONStrict (line 210) | func (resource *Metric) UnmarshalJSONStrict(raw []byte) error {
method Equals (line 289) | func (resource Metric) Equals(other Metric) bool {
method Validate (line 308) | func (resource Metric) Validate() error {
function NewMetric (line 204) | func NewMetric() *Metric {
type RateValues (line 312) | type RateValues struct
method UnmarshalJSONStrict (line 328) | func (resource *RateValues) UnmarshalJSONStrict(raw []byte) error {
method Equals (line 393) | func (resource RateValues) Equals(other RateValues) bool {
method Validate (line 408) | func (resource RateValues) Validate() error {
function NewRateValues (line 322) | func NewRateValues() *RateValues {
type SemVer (line 442) | type SemVer
type TrendValues (line 444) | type TrendValues struct
method UnmarshalJSONStrict (line 472) | func (resource *TrendValues) UnmarshalJSONStrict(raw []byte) error {
method Equals (line 561) | func (resource TrendValues) Equals(other TrendValues) bool {
method Validate (line 621) | func (resource TrendValues) Validate() error {
function NewTrendValues (line 466) | func NewTrendValues() *TrendValues {
type Summary (line 625) | type Summary struct
method UnmarshalJSONStrict (line 647) | func (resource *Summary) UnmarshalJSONStrict(raw []byte) error {
method Equals (line 732) | func (resource Summary) Equals(other Summary) bool {
method Validate (line 750) | func (resource Summary) Validate() error {
function NewSummary (line 637) | func NewSummary() *Summary {
type SummarySummaryConfig (line 770) | type SummarySummaryConfig struct
method UnmarshalJSONStrict (line 787) | func (resource *SummarySummaryConfig) UnmarshalJSONStrict(raw []byte) ...
method Equals (line 849) | func (resource SummarySummaryConfig) Equals(other SummarySummaryConfig...
method Validate (line 870) | func (resource SummarySummaryConfig) Validate() error {
function NewSummarySummaryConfig (line 781) | func NewSummarySummaryConfig() *SummarySummaryConfig {
type SummarySummaryMetadata (line 887) | type SummarySummaryMetadata struct
method UnmarshalJSONStrict (line 901) | func (resource *SummarySummaryMetadata) UnmarshalJSONStrict(raw []byte...
method Equals (line 952) | func (resource SummarySummaryMetadata) Equals(other SummarySummaryMeta...
method Validate (line 964) | func (resource SummarySummaryMetadata) Validate() error {
function NewSummarySummaryMetadata (line 895) | func NewSummarySummaryMetadata() *SummarySummaryMetadata {
type SummarySummaryResultsChecksResults (line 969) | type SummarySummaryResultsChecksResults struct
method UnmarshalJSONStrict (line 985) | func (resource *SummarySummaryResultsChecksResults) UnmarshalJSONStric...
method Equals (line 1050) | func (resource SummarySummaryResultsChecksResults) Equals(other Summar...
method Validate (line 1065) | func (resource SummarySummaryResultsChecksResults) Validate() error {
function NewSummarySummaryResultsChecksResults (line 979) | func NewSummarySummaryResultsChecksResults() *SummarySummaryResultsCheck...
type SummarySummaryResultsChecks (line 1088) | type SummarySummaryResultsChecks struct
method UnmarshalJSONStrict (line 1104) | func (resource *SummarySummaryResultsChecks) UnmarshalJSONStrict(raw [...
method Equals (line 1173) | func (resource SummarySummaryResultsChecks) Equals(other SummarySummar...
method Validate (line 1199) | func (resource SummarySummaryResultsChecks) Validate() error {
function NewSummarySummaryResultsChecks (line 1098) | func NewSummarySummaryResultsChecks() *SummarySummaryResultsChecks {
type SummarySummaryResults (line 1222) | type SummarySummaryResults struct
method UnmarshalJSONStrict (line 1239) | func (resource *SummarySummaryResults) UnmarshalJSONStrict(raw []byte)...
method Equals (line 1301) | func (resource SummarySummaryResults) Equals(other SummarySummaryResul...
method Validate (line 1326) | func (resource SummarySummaryResults) Validate() error {
function NewSummarySummaryResults (line 1231) | func NewSummarySummaryResults() *SummarySummaryResults {
type MetricContains (line 1349) | type MetricContains
constant MetricContainsDefault (line 1352) | MetricContainsDefault MetricContains = "default"
constant MetricContainsTime (line 1353) | MetricContainsTime MetricContains = "time"
constant MetricContainsData (line 1354) | MetricContainsData MetricContains = "data"
type MetricType (line 1359) | type MetricType
constant MetricTypeCounter (line 1362) | MetricTypeCounter MetricType = "counter"
constant MetricTypeGauge (line 1363) | MetricTypeGauge MetricType = "gauge"
constant MetricTypeRate (line 1364) | MetricTypeRate MetricType = "rate"
constant MetricTypeTrend (line 1365) | MetricTypeTrend MetricType = "trend"
type SummarySummaryConfigExecution (line 1370) | type SummarySummaryConfigExecution
constant SummarySummaryConfigExecutionLocal (line 1373) | SummarySummaryConfigExecutionLocal SummarySummaryConfigExecution = "local"
constant SummarySummaryConfigExecutionCloud (line 1374) | SummarySummaryConfigExecutionCloud SummarySummaryConfigExecution = "cloud"
FILE: internal/lib/summary/summary.go
type Mode (line 13) | type Mode
method MarshalJSON (line 34) | func (m Mode) MarshalJSON() ([]byte, error) {
method MarshalText (line 43) | func (m Mode) MarshalText() ([]byte, error) {
method UnmarshalText (line 59) | func (m *Mode) UnmarshalText(data []byte) error {
method String (line 77) | func (m Mode) String() string {
constant ModeCompact (line 17) | ModeCompact = Mode(iota)
constant ModeFull (line 18) | ModeFull
constant ModeLegacy (line 19) | ModeLegacy
constant ModeDisabled (line 20) | ModeDisabled
constant compactString (line 27) | compactString = "compact"
constant fullString (line 28) | fullString = "full"
constant legacyString (line 29) | legacyString = "legacy"
constant disabledString (line 30) | disabledString = "disabled"
function ValidateMode (line 93) | func ValidateMode(val string) (m Mode, err error) {
type Summary (line 105) | type Summary struct
function New (line 117) | func New() *Summary {
type MetricInfo (line 130) | type MetricInfo struct
type Metric (line 138) | type Metric struct
function NewMetricFrom (line 144) | func NewMetricFrom(info MetricInfo, values map[string]float64) Metric {
type Metrics (line 152) | type Metrics struct
function NewMetrics (line 176) | func NewMetrics() Metrics {
type ChecksMetrics (line 190) | type ChecksMetrics struct
type Check (line 197) | type Check struct
type Checks (line 204) | type Checks struct
function NewChecks (line 210) | func NewChecks() *Checks {
type Threshold (line 232) | type Threshold struct
type MetricThresholds (line 238) | type MetricThresholds struct
type Thresholds (line 244) | type Thresholds
function NewThresholds (line 247) | func NewThresholds() Thresholds {
type Group (line 253) | type Group struct
function NewGroup (line 261) | func NewGroup() Group {
type Meta (line 271) | type Meta struct
FILE: internal/lib/testutils/fs.go
function MakeMemMapFs (line 20) | func MakeMemMapFs(t *testing.T, withFiles map[string][]byte) fsext.Fs {
FILE: internal/lib/testutils/grpcservice/route_guide.pb.go
constant _ (line 32) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 34) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type Point (line 41) | type Point struct
method Reset (line 50) | func (x *Point) Reset() {
method String (line 59) | func (x *Point) String() string {
method ProtoMessage (line 63) | func (*Point) ProtoMessage() {}
method ProtoReflect (line 65) | func (x *Point) ProtoReflect() protoreflect.Message {
method Descriptor (line 78) | func (*Point) Descriptor() ([]byte, []int) {
method GetLatitude (line 82) | func (x *Point) GetLatitude() int32 {
method GetLongitude (line 89) | func (x *Point) GetLongitude() int32 {
type Rectangle (line 98) | type Rectangle struct
method Reset (line 109) | func (x *Rectangle) Reset() {
method String (line 118) | func (x *Rectangle) String() string {
method ProtoMessage (line 122) | func (*Rectangle) ProtoMessage() {}
method ProtoReflect (line 124) | func (x *Rectangle) ProtoReflect() protoreflect.Message {
method Descriptor (line 137) | func (*Rectangle) Descriptor() ([]byte, []int) {
method GetLo (line 141) | func (x *Rectangle) GetLo() *Point {
method GetHi (line 148) | func (x *Rectangle) GetHi() *Point {
type Feature (line 158) | type Feature struct
method Reset (line 169) | func (x *Feature) Reset() {
method String (line 178) | func (x *Feature) String() string {
method ProtoMessage (line 182) | func (*Feature) ProtoMessage() {}
method ProtoReflect (line 184) | func (x *Feature) ProtoReflect() protoreflect.Message {
method Descriptor (line 197) | func (*Feature) Descriptor() ([]byte, []int) {
method GetName (line 201) | func (x *Feature) GetName() string {
method GetLocation (line 208) | func (x *Feature) GetLocation() *Point {
type RouteNote (line 216) | type RouteNote struct
method Reset (line 227) | func (x *RouteNote) Reset() {
method String (line 236) | func (x *RouteNote) String() string {
method ProtoMessage (line 240) | func (*RouteNote) ProtoMessage() {}
method ProtoReflect (line 242) | func (x *RouteNote) ProtoReflect() protoreflect.Message {
method Descriptor (line 255) | func (*RouteNote) Descriptor() ([]byte, []int) {
method GetLocation (line 259) | func (x *RouteNote) GetLocation() *Point {
method GetMessage (line 266) | func (x *RouteNote) GetMessage() string {
type RouteSummary (line 278) | type RouteSummary struct
method Reset (line 293) | func (x *RouteSummary) Reset() {
method String (line 302) | func (x *RouteSummary) String() string {
method ProtoMessage (line 306) | func (*RouteSummary) ProtoMessage() {}
method ProtoReflect (line 308) | func (x *RouteSummary) ProtoReflect() protoreflect.Message {
method Descriptor (line 321) | func (*RouteSummary) Descriptor() ([]byte, []int) {
method GetPointCount (line 325) | func (x *RouteSummary) GetPointCount() int32 {
method GetFeatureCount (line 332) | func (x *RouteSummary) GetFeatureCount() int32 {
method GetDistance (line 339) | func (x *RouteSummary) GetDistance() int32 {
method GetElapsedTime (line 346) | func (x *RouteSummary) GetElapsedTime() int32 {
function file_route_guide_proto_rawDescGZIP (line 409) | func file_route_guide_proto_rawDescGZIP() []byte {
function init (line 444) | func init() { file_route_guide_proto_init() }
function file_route_guide_proto_init (line 445) | func file_route_guide_proto_init() {
FILE: internal/lib/testutils/grpcservice/route_guide_grpc.pb.go
constant _ (line 33) | _ = grpc.SupportPackageIsVersion7
constant FeatureExplorer_GetFeature_FullMethodName (line 36) | FeatureExplorer_GetFeature_FullMethodName = "/main.FeatureExplorer/Get...
constant FeatureExplorer_ListFeatures_FullMethodName (line 37) | FeatureExplorer_ListFeatures_FullMethodName = "/main.FeatureExplorer/Lis...
type FeatureExplorerClient (line 43) | type FeatureExplorerClient interface
type featureExplorerClient (line 60) | type featureExplorerClient struct
method GetFeature (line 68) | func (c *featureExplorerClient) GetFeature(ctx context.Context, in *Po...
method ListFeatures (line 77) | func (c *featureExplorerClient) ListFeatures(ctx context.Context, in *...
function NewFeatureExplorerClient (line 64) | func NewFeatureExplorerClient(cc grpc.ClientConnInterface) FeatureExplor...
type FeatureExplorer_ListFeaturesClient (line 92) | type FeatureExplorer_ListFeaturesClient interface
type featureExplorerListFeaturesClient (line 97) | type featureExplorerListFeaturesClient struct
method Recv (line 101) | func (x *featureExplorerListFeaturesClient) Recv() (*Feature, error) {
type FeatureExplorerServer (line 112) | type FeatureExplorerServer interface
type UnimplementedFeatureExplorerServer (line 131) | type UnimplementedFeatureExplorerServer struct
method GetFeature (line 134) | func (UnimplementedFeatureExplorerServer) GetFeature(context.Context, ...
method ListFeatures (line 137) | func (UnimplementedFeatureExplorerServer) ListFeatures(*Rectangle, Fea...
method mustEmbedUnimplementedFeatureExplorerServer (line 140) | func (UnimplementedFeatureExplorerServer) mustEmbedUnimplementedFeatur...
type UnsafeFeatureExplorerServer (line 145) | type UnsafeFeatureExplorerServer interface
function RegisterFeatureExplorerServer (line 149) | func RegisterFeatureExplorerServer(s grpc.ServiceRegistrar, srv FeatureE...
function _FeatureExplorer_GetFeature_Handler (line 153) | func _FeatureExplorer_GetFeature_Handler(srv interface{}, ctx context.Co...
function _FeatureExplorer_ListFeatures_Handler (line 171) | func _FeatureExplorer_ListFeatures_Handler(srv interface{}, stream grpc....
type FeatureExplorer_ListFeaturesServer (line 179) | type FeatureExplorer_ListFeaturesServer interface
type featureExplorerListFeaturesServer (line 184) | type featureExplorerListFeaturesServer struct
method Send (line 188) | func (x *featureExplorerListFeaturesServer) Send(m *Feature) error {
constant RouteGuide_RecordRoute_FullMethodName (line 215) | RouteGuide_RecordRoute_FullMethodName = "/main.RouteGuide/RecordRoute"
constant RouteGuide_RouteChat_FullMethodName (line 216) | RouteGuide_RouteChat_FullMethodName = "/main.RouteGuide/RouteChat"
type RouteGuideClient (line 222) | type RouteGuideClient interface
type routeGuideClient (line 235) | type routeGuideClient struct
method RecordRoute (line 243) | func (c *routeGuideClient) RecordRoute(ctx context.Context, opts ...gr...
method RouteChat (line 277) | func (c *routeGuideClient) RouteChat(ctx context.Context, opts ...grpc...
function NewRouteGuideClient (line 239) | func NewRouteGuideClient(cc grpc.ClientConnInterface) RouteGuideClient {
type RouteGuide_RecordRouteClient (line 252) | type RouteGuide_RecordRouteClient interface
type routeGuideRecordRouteClient (line 258) | type routeGuideRecordRouteClient struct
method Send (line 262) | func (x *routeGuideRecordRouteClient) Send(m *Point) error {
method CloseAndRecv (line 266) | func (x *routeGuideRecordRouteClient) CloseAndRecv() (*RouteSummary, e...
type RouteGuide_RouteChatClient (line 286) | type RouteGuide_RouteChatClient interface
type routeGuideRouteChatClient (line 292) | type routeGuideRouteChatClient struct
method Send (line 296) | func (x *routeGuideRouteChatClient) Send(m *RouteNote) error {
method Recv (line 300) | func (x *routeGuideRouteChatClient) Recv() (*RouteNote, error) {
type RouteGuideServer (line 311) | type RouteGuideServer interface
type UnimplementedRouteGuideServer (line 326) | type UnimplementedRouteGuideServer struct
method RecordRoute (line 329) | func (UnimplementedRouteGuideServer) RecordRoute(RouteGuide_RecordRout...
method RouteChat (line 332) | func (UnimplementedRouteGuideServer) RouteChat(RouteGuide_RouteChatSer...
method mustEmbedUnimplementedRouteGuideServer (line 335) | func (UnimplementedRouteGuideServer) mustEmbedUnimplementedRouteGuideS...
type UnsafeRouteGuideServer (line 340) | type UnsafeRouteGuideServer interface
function RegisterRouteGuideServer (line 344) | func RegisterRouteGuideServer(s grpc.ServiceRegistrar, srv RouteGuideSer...
function _RouteGuide_RecordRoute_Handler (line 348) | func _RouteGuide_RecordRoute_Handler(srv interface{}, stream grpc.Server...
type RouteGuide_RecordRouteServer (line 352) | type RouteGuide_RecordRouteServer interface
type routeGuideRecordRouteServer (line 358) | type routeGuideRecordRouteServer struct
method SendAndClose (line 362) | func (x *routeGuideRecordRouteServer) SendAndClose(m *RouteSummary) er...
method Recv (line 366) | func (x *routeGuideRecordRouteServer) Recv() (*Point, error) {
function _RouteGuide_RouteChat_Handler (line 374) | func _RouteGuide_RouteChat_Handler(srv interface{}, stream grpc.ServerSt...
type RouteGuide_RouteChatServer (line 378) | type RouteGuide_RouteChatServer interface
type routeGuideRouteChatServer (line 384) | type routeGuideRouteChatServer struct
method Send (line 388) | func (x *routeGuideRouteChatServer) Send(m *RouteNote) error {
method Recv (line 392) | func (x *routeGuideRouteChatServer) Recv() (*RouteNote, error) {
FILE: internal/lib/testutils/grpcservice/service.go
type FeatureExplorerImplementation (line 29) | type FeatureExplorerImplementation struct
method GetFeature (line 41) | func (s *FeatureExplorerImplementation) GetFeature(_ context.Context, ...
method ListFeatures (line 57) | func (s *FeatureExplorerImplementation) ListFeatures(rect *Rectangle, ...
function NewFeatureExplorerServer (line 36) | func NewFeatureExplorerServer(features ...*Feature) *FeatureExplorerImpl...
type RouteGuideImplementation (line 72) | type RouteGuideImplementation struct
method RecordRoute (line 96) | func (s *RouteGuideImplementation) RecordRoute(stream RouteGuide_Recor...
method RouteChat (line 139) | func (s *RouteGuideImplementation) RouteChat(stream RouteGuide_RouteCh...
function NewRouteGuideServer (line 82) | func NewRouteGuideServer(features ...*Feature) *RouteGuideImplementation {
function LoadFeatures (line 170) | func LoadFeatures(filePath string) []*Feature {
function toRadians (line 188) | func toRadians(num float64) float64 {
function calcDistance (line 194) | func calcDistance(p1 *Point, p2 *Point) int32 {
function inRange (line 213) | func inRange(point *Point, rect *Rectangle) bool {
function serialize (line 228) | func serialize(point *Point) string {
constant exampleData (line 234) | exampleData = `[{
FILE: internal/lib/testutils/httpmultibin/grpc_any_testing/any_test.pb.go
constant _ (line 24) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 26) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type SumRequest (line 29) | type SumRequest struct
method Reset (line 37) | func (x *SumRequest) Reset() {
method String (line 46) | func (x *SumRequest) String() string {
method ProtoMessage (line 50) | func (*SumRequest) ProtoMessage() {}
method ProtoReflect (line 52) | func (x *SumRequest) ProtoReflect() protoreflect.Message {
method Descriptor (line 65) | func (*SumRequest) Descriptor() ([]byte, []int) {
method GetData (line 69) | func (x *SumRequest) GetData() *anypb.Any {
type SumRequestData (line 76) | type SumRequestData struct
method Reset (line 85) | func (x *SumRequestData) Reset() {
method String (line 94) | func (x *SumRequestData) String() string {
method ProtoMessage (line 98) | func (*SumRequestData) ProtoMessage() {}
method ProtoReflect (line 100) | func (x *SumRequestData) ProtoReflect() protoreflect.Message {
method Descriptor (line 113) | func (*SumRequestData) Descriptor() ([]byte, []int) {
method GetA (line 117) | func (x *SumRequestData) GetA() int64 {
method GetB (line 124) | func (x *SumRequestData) GetB() int64 {
type SumReply (line 131) | type SumReply struct
method Reset (line 139) | func (x *SumReply) Reset() {
method String (line 148) | func (x *SumReply) String() string {
method ProtoMessage (line 152) | func (*SumReply) ProtoMessage() {}
method ProtoReflect (line 154) | func (x *SumReply) ProtoReflect() protoreflect.Message {
method Descriptor (line 167) | func (*SumReply) Descriptor() ([]byte, []int) {
method GetData (line 171) | func (x *SumReply) GetData() *anypb.Any {
type SumReplyData (line 178) | type SumReplyData struct
method Reset (line 187) | func (x *SumReplyData) Reset() {
method String (line 196) | func (x *SumReplyData) String() string {
method ProtoMessage (line 200) | func (*SumReplyData) ProtoMessage() {}
method ProtoReflect (line 202) | func (x *SumReplyData) ProtoReflect() protoreflect.Message {
method Descriptor (line 215) | func (*SumReplyData) Descriptor() ([]byte, []int) {
method GetV (line 219) | func (x *SumReplyData) GetV() int64 {
method GetErr (line 226) | func (x *SumReplyData) GetErr() string {
function file_any_test_proto_rawDescGZIP (line 267) | func file_any_test_proto_rawDescGZIP() []byte {
function init (line 294) | func init() { file_any_test_proto_init() }
function file_any_test_proto_init (line 295) | func file_any_test_proto_init() {
constant _ (line 375) | _ = grpc.SupportPackageIsVersion6
type AnyTestServiceClient (line 380) | type AnyTestServiceClient interface
type anyTestServiceClient (line 384) | type anyTestServiceClient struct
method Sum (line 392) | func (c *anyTestServiceClient) Sum(ctx context.Context, in *SumRequest...
function NewAnyTestServiceClient (line 388) | func NewAnyTestServiceClient(cc grpc.ClientConnInterface) AnyTestService...
type AnyTestServiceServer (line 402) | type AnyTestServiceServer interface
type UnimplementedAnyTestServiceServer (line 407) | type UnimplementedAnyTestServiceServer struct
method Sum (line 410) | func (*UnimplementedAnyTestServiceServer) Sum(context.Context, *SumReq...
function RegisterAnyTestServiceServer (line 414) | func RegisterAnyTestServiceServer(s *grpc.Server, srv AnyTestServiceServ...
function _AnyTestService_Sum_Handler (line 418) | func _AnyTestService_Sum_Handler(srv interface{}, ctx context.Context, d...
FILE: internal/lib/testutils/httpmultibin/grpc_testing/test.pb.go
constant _ (line 35) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 37) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type PayloadType (line 41) | type PayloadType
method Enum (line 66) | func (x PayloadType) Enum() *PayloadType {
method String (line 72) | func (x PayloadType) String() string {
method Descriptor (line 76) | func (PayloadType) Descriptor() protoreflect.EnumDescriptor {
method Type (line 80) | func (PayloadType) Type() protoreflect.EnumType {
method Number (line 84) | func (x PayloadType) Number() protoreflect.EnumNumber {
method EnumDescriptor (line 89) | func (PayloadType) EnumDescriptor() ([]byte, []int) {
constant PayloadType_COMPRESSABLE (line 45) | PayloadType_COMPRESSABLE PayloadType = 0
constant PayloadType_UNCOMPRESSABLE (line 47) | PayloadType_UNCOMPRESSABLE PayloadType = 1
constant PayloadType_RANDOM (line 49) | PayloadType_RANDOM PayloadType = 2
type Empty (line 93) | type Empty struct
method Reset (line 99) | func (x *Empty) Reset() {
method String (line 108) | func (x *Empty) String() string {
method ProtoMessage (line 112) | func (*Empty) ProtoMessage() {}
method ProtoReflect (line 114) | func (x *Empty) ProtoReflect() protoreflect.Message {
method Descriptor (line 127) | func (*Empty) Descriptor() ([]byte, []int) {
type Payload (line 132) | type Payload struct
method Reset (line 143) | func (x *Payload) Reset() {
method String (line 152) | func (x *Payload) String() string {
method ProtoMessage (line 156) | func (*Payload) ProtoMessage() {}
method ProtoReflect (line 158) | func (x *Payload) ProtoReflect() protoreflect.Message {
method Descriptor (line 171) | func (*Payload) Descriptor() ([]byte, []int) {
method GetType (line 175) | func (x *Payload) GetType() PayloadType {
method GetBody (line 182) | func (x *Payload) GetBody() []byte {
type SimpleRequest (line 190) | type SimpleRequest struct
method Reset (line 209) | func (x *SimpleRequest) Reset() {
method String (line 218) | func (x *SimpleRequest) String() string {
method ProtoMessage (line 222) | func (*SimpleRequest) ProtoMessage() {}
method ProtoReflect (line 224) | func (x *SimpleRequest) ProtoReflect() protoreflect.Message {
method Descriptor (line 237) | func (*SimpleRequest) Descriptor() ([]byte, []int) {
method GetResponseType (line 241) | func (x *SimpleRequest) GetResponseType() PayloadType {
method GetResponseSize (line 248) | func (x *SimpleRequest) GetResponseSize() int32 {
method GetPayload (line 255) | func (x *SimpleRequest) GetPayload() *Payload {
method GetFillUsername (line 262) | func (x *SimpleRequest) GetFillUsername() bool {
method GetFillOauthScope (line 269) | func (x *SimpleRequest) GetFillOauthScope() bool {
type SimpleResponse (line 277) | type SimpleResponse struct
method Reset (line 291) | func (x *SimpleResponse) Reset() {
method String (line 300) | func (x *SimpleResponse) String() string {
method ProtoMessage (line 304) | func (*SimpleResponse) ProtoMessage() {}
method ProtoReflect (line 306) | func (x *SimpleResponse) ProtoReflect() protoreflect.Message {
method Descriptor (line 319) | func (*SimpleResponse) Descriptor() ([]byte, []int) {
method GetPayload (line 323) | func (x *SimpleResponse) GetPayload() *Payload {
method GetUsername (line 330) | func (x *SimpleResponse) GetUsername() string {
method GetOauthScope (line 337) | func (x *SimpleResponse) GetOauthScope() string {
type StreamingInputCallRequest (line 345) | type StreamingInputCallRequest struct
method Reset (line 354) | func (x *StreamingInputCallRequest) Reset() {
method String (line 363) | func (x *StreamingInputCallRequest) String() string {
method ProtoMessage (line 367) | func (*StreamingInputCallRequest) ProtoMessage() {}
method ProtoReflect (line 369) | func (x *StreamingInputCallRequest) ProtoReflect() protoreflect.Message {
method Descriptor (line 382) | func (*StreamingInputCallRequest) Descriptor() ([]byte, []int) {
method GetPayload (line 386) | func (x *StreamingInputCallRequest) GetPayload() *Payload {
type StreamingInputCallResponse (line 394) | type StreamingInputCallResponse struct
method Reset (line 403) | func (x *StreamingInputCallResponse) Reset() {
method String (line 412) | func (x *StreamingInputCallResponse) String() string {
method ProtoMessage (line 416) | func (*StreamingInputCallResponse) ProtoMessage() {}
method ProtoReflect (line 418) | func (x *StreamingInputCallResponse) ProtoReflect() protoreflect.Messa...
method Descriptor (line 431) | func (*StreamingInputCallResponse) Descriptor() ([]byte, []int) {
method GetAggregatedPayloadSize (line 435) | func (x *StreamingInputCallResponse) GetAggregatedPayloadSize() int32 {
type ResponseParameters (line 443) | type ResponseParameters struct
method Reset (line 456) | func (x *ResponseParameters) Reset() {
method String (line 465) | func (x *ResponseParameters) String() string {
method ProtoMessage (line 469) | func (*ResponseParameters) ProtoMessage() {}
method ProtoReflect (line 471) | func (x *ResponseParameters) ProtoReflect() protoreflect.Message {
method Descriptor (line 484) | func (*ResponseParameters) Descriptor() ([]byte, []int) {
method GetSize (line 488) | func (x *ResponseParameters) GetSize() int32 {
method GetIntervalUs (line 495) | func (x *ResponseParameters) GetIntervalUs() int32 {
type StreamingOutputCallRequest (line 503) | type StreamingOutputCallRequest struct
method Reset (line 519) | func (x *StreamingOutputCallRequest) Reset() {
method String (line 528) | func (x *StreamingOutputCallRequest) String() string {
method ProtoMessage (line 532) | func (*StreamingOutputCallRequest) ProtoMessage() {}
method ProtoReflect (line 534) | func (x *StreamingOutputCallRequest) ProtoReflect() protoreflect.Messa...
method Descriptor (line 547) | func (*StreamingOutputCallRequest) Descriptor() ([]byte, []int) {
method GetResponseType (line 551) | func (x *StreamingOutputCallRequest) GetResponseType() PayloadType {
method GetResponseParameters (line 558) | func (x *StreamingOutputCallRequest) GetResponseParameters() []*Respon...
method GetPayload (line 565) | func (x *StreamingOutputCallRequest) GetPayload() *Payload {
type StreamingOutputCallResponse (line 573) | type StreamingOutputCallResponse struct
method Reset (line 582) | func (x *StreamingOutputCallResponse) Reset() {
method String (line 591) | func (x *StreamingOutputCallResponse) String() string {
method ProtoMessage (line 595) | func (*StreamingOutputCallResponse) ProtoMessage() {}
method ProtoReflect (line 597) | func (x *StreamingOutputCallResponse) ProtoReflect() protoreflect.Mess...
method Descriptor (line 610) | func (*StreamingOutputCallResponse) Descriptor() ([]byte, []int) {
method GetPayload (line 614) | func (x *StreamingOutputCallResponse) GetPayload() *Payload {
function file_test_grpc_testing_test_proto_rawDescGZIP (line 740) | func file_test_grpc_testing_test_proto_rawDescGZIP() []byte {
function init (line 790) | func init() { file_test_grpc_testing_test_proto_init() }
function file_test_grpc_testing_test_proto_init (line 791) | func file_test_grpc_testing_test_proto_init() {
FILE: internal/lib/testutils/httpmultibin/grpc_testing/test_grpc.pb.go
constant _ (line 36) | _ = grpc.SupportPackageIsVersion7
type TestServiceClient (line 41) | type TestServiceClient interface
type testServiceClient (line 64) | type testServiceClient struct
method EmptyCall (line 72) | func (c *testServiceClient) EmptyCall(ctx context.Context, in *Empty, ...
method UnaryCall (line 81) | func (c *testServiceClient) UnaryCall(ctx context.Context, in *SimpleR...
method StreamingOutputCall (line 90) | func (c *testServiceClient) StreamingOutputCall(ctx context.Context, i...
method StreamingInputCall (line 122) | func (c *testServiceClient) StreamingInputCall(ctx context.Context, op...
method FullDuplexCall (line 156) | func (c *testServiceClient) FullDuplexCall(ctx context.Context, opts ....
method HalfDuplexCall (line 187) | func (c *testServiceClient) HalfDuplexCall(ctx context.Context, opts ....
function NewTestServiceClient (line 68) | func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient {
type TestService_StreamingOutputCallClient (line 105) | type TestService_StreamingOutputCallClient interface
type testServiceStreamingOutputCallClient (line 110) | type testServiceStreamingOutputCallClient struct
method Recv (line 114) | func (x *testServiceStreamingOutputCallClient) Recv() (*StreamingOutpu...
type TestService_StreamingInputCallClient (line 131) | type TestService_StreamingInputCallClient interface
type testServiceStreamingInputCallClient (line 137) | type testServiceStreamingInputCallClient struct
method Send (line 141) | func (x *testServiceStreamingInputCallClient) Send(m *StreamingInputCa...
method CloseAndRecv (line 145) | func (x *testServiceStreamingInputCallClient) CloseAndRecv() (*Streami...
type TestService_FullDuplexCallClient (line 165) | type TestService_FullDuplexCallClient interface
type testServiceFullDuplexCallClient (line 171) | type testServiceFullDuplexCallClient struct
method Send (line 175) | func (x *testServiceFullDuplexCallClient) Send(m *StreamingOutputCallR...
method Recv (line 179) | func (x *testServiceFullDuplexCallClient) Recv() (*StreamingOutputCall...
type TestService_HalfDuplexCallClient (line 196) | type TestService_HalfDuplexCallClient interface
type testServiceHalfDuplexCallClient (line 202) | type testServiceHalfDuplexCallClient struct
method Send (line 206) | func (x *testServiceHalfDuplexCallClient) Send(m *StreamingOutputCallR...
method Recv (line 210) | func (x *testServiceHalfDuplexCallClient) Recv() (*StreamingOutputCall...
type TestServiceServer (line 221) | type TestServiceServer interface
type UnimplementedTestServiceServer (line 246) | type UnimplementedTestServiceServer struct
method EmptyCall (line 249) | func (UnimplementedTestServiceServer) EmptyCall(context.Context, *Empt...
method UnaryCall (line 252) | func (UnimplementedTestServiceServer) UnaryCall(context.Context, *Simp...
method StreamingOutputCall (line 255) | func (UnimplementedTestServiceServer) StreamingOutputCall(*StreamingOu...
method StreamingInputCall (line 258) | func (UnimplementedTestServiceServer) StreamingInputCall(TestService_S...
method FullDuplexCall (line 261) | func (UnimplementedTestServiceServer) FullDuplexCall(TestService_FullD...
method HalfDuplexCall (line 264) | func (UnimplementedTestServiceServer) HalfDuplexCall(TestService_HalfD...
method mustEmbedUnimplementedTestServiceServer (line 267) | func (UnimplementedTestServiceServer) mustEmbedUnimplementedTestServic...
type UnsafeTestServiceServer (line 272) | type UnsafeTestServiceServer interface
function RegisterTestServiceServer (line 276) | func RegisterTestServiceServer(s grpc.ServiceRegistrar, srv TestServiceS...
function _TestService_EmptyCall_Handler (line 280) | func _TestService_EmptyCall_Handler(srv interface{}, ctx context.Context...
function _TestService_UnaryCall_Handler (line 298) | func _TestService_UnaryCall_Handler(srv interface{}, ctx context.Context...
function _TestService_StreamingOutputCall_Handler (line 316) | func _TestService_StreamingOutputCall_Handler(srv interface{}, stream gr...
type TestService_StreamingOutputCallServer (line 324) | type TestService_StreamingOutputCallServer interface
type testServiceStreamingOutputCallServer (line 329) | type testServiceStreamingOutputCallServer struct
method Send (line 333) | func (x *testServiceStreamingOutputCallServer) Send(m *StreamingOutput...
function _TestService_StreamingInputCall_Handler (line 337) | func _TestService_StreamingInputCall_Handler(srv interface{}, stream grp...
type TestService_StreamingInputCallServer (line 341) | type TestService_StreamingInputCallServer interface
type testServiceStreamingInputCallServer (line 347) | type testServiceStreamingInputCallServer struct
method SendAndClose (line 351) | func (x *testServiceStreamingInputCallServer) SendAndClose(m *Streamin...
method Recv (line 355) | func (x *testServiceStreamingInputCallServer) Recv() (*StreamingInputC...
function _TestService_FullDuplexCall_Handler (line 363) | func _TestService_FullDuplexCall_Handler(srv interface{}, stream grpc.Se...
type TestService_FullDuplexCallServer (line 367) | type TestService_FullDuplexCallServer interface
type testServiceFullDuplexCallServer (line 373) | type testServiceFullDuplexCallServer struct
method Send (line 377) | func (x *testServiceFullDuplexCallServer) Send(m *StreamingOutputCallR...
method Recv (line 381) | func (x *testServiceFullDuplexCallServer) Recv() (*StreamingOutputCall...
function _TestService_HalfDuplexCall_Handler (line 389) | func _TestService_HalfDuplexCall_Handler(srv interface{}, stream grpc.Se...
type TestService_HalfDuplexCallServer (line 393) | type TestService_HalfDuplexCallServer interface
type testServiceHalfDuplexCallServer (line 399) | type testServiceHalfDuplexCallServer struct
method Send (line 403) | func (x *testServiceHalfDuplexCallServer) Send(m *StreamingOutputCallR...
method Recv (line 407) | func (x *testServiceHalfDuplexCallServer) Recv() (*StreamingOutputCall...
FILE: internal/lib/testutils/httpmultibin/grpc_wrappers_testing/service.go
function Register (line 15) | func Register(r grpc.ServiceRegistrar) *Service {
type Service (line 24) | type Service struct
method TestString (line 36) | func (s *Service) TestString(ctx context.Context, in *wrappers.StringV...
method TestInteger (line 45) | func (s *Service) TestInteger(ctx context.Context, in *wrappers.Int64V...
method TestBoolean (line 54) | func (s *Service) TestBoolean(ctx context.Context, in *wrappers.BoolVa...
method TestDouble (line 63) | func (s *Service) TestDouble(ctx context.Context, in *wrappers.DoubleV...
method TestValue (line 72) | func (s *Service) TestValue(ctx context.Context, in *_struct.Value) (*...
method TestStream (line 81) | func (s *Service) TestStream(stream Service_TestStreamServer) error {
FILE: internal/lib/testutils/httpmultibin/grpc_wrappers_testing/test.pb.go
constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
function init (line 92) | func init() { file_test_proto_init() }
function file_test_proto_init (line 93) | func file_test_proto_init() {
FILE: internal/lib/testutils/httpmultibin/grpc_wrappers_testing/test_grpc.pb.go
constant _ (line 21) | _ = grpc.SupportPackageIsVersion7
constant Service_TestString_FullMethodName (line 24) | Service_TestString_FullMethodName = "/grpc.wrappers.testing.Service/Tes...
constant Service_TestInteger_FullMethodName (line 25) | Service_TestInteger_FullMethodName = "/grpc.wrappers.testing.Service/Tes...
constant Service_TestBoolean_FullMethodName (line 26) | Service_TestBoolean_FullMethodName = "/grpc.wrappers.testing.Service/Tes...
constant Service_TestDouble_FullMethodName (line 27) | Service_TestDouble_FullMethodName = "/grpc.wrappers.testing.Service/Tes...
constant Service_TestValue_FullMethodName (line 28) | Service_TestValue_FullMethodName = "/grpc.wrappers.testing.Service/Tes...
constant Service_TestStream_FullMethodName (line 29) | Service_TestStream_FullMethodName = "/grpc.wrappers.testing.Service/Tes...
type ServiceClient (line 35) | type ServiceClient interface
type serviceClient (line 44) | type serviceClient struct
method TestString (line 52) | func (c *serviceClient) TestString(ctx context.Context, in *wrapperspb...
method TestInteger (line 61) | func (c *serviceClient) TestInteger(ctx context.Context, in *wrappersp...
method TestBoolean (line 70) | func (c *serviceClient) TestBoolean(ctx context.Context, in *wrappersp...
method TestDouble (line 79) | func (c *serviceClient) TestDouble(ctx context.Context, in *wrapperspb...
method TestValue (line 88) | func (c *serviceClient) TestValue(ctx context.Context, in *structpb.Va...
method TestStream (line 97) | func (c *serviceClient) TestStream(ctx context.Context, opts ...grpc.C...
function NewServiceClient (line 48) | func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient {
type Service_TestStreamClient (line 106) | type Service_TestStreamClient interface
type serviceTestStreamClient (line 112) | type serviceTestStreamClient struct
method Send (line 116) | func (x *serviceTestStreamClient) Send(m *wrapperspb.StringValue) error {
method CloseAndRecv (line 120) | func (x *serviceTestStreamClient) CloseAndRecv() (*wrapperspb.StringVa...
type ServiceServer (line 134) | type ServiceServer interface
type UnimplementedServiceServer (line 145) | type UnimplementedServiceServer struct
method TestString (line 148) | func (UnimplementedServiceServer) TestString(context.Context, *wrapper...
method TestInteger (line 151) | func (UnimplementedServiceServer) TestInteger(context.Context, *wrappe...
method TestBoolean (line 154) | func (UnimplementedServiceServer) TestBoolean(context.Context, *wrappe...
method TestDouble (line 157) | func (UnimplementedServiceServer) TestDouble(context.Context, *wrapper...
method TestValue (line 160) | func (UnimplementedServiceServer) TestValue(context.Context, *structpb...
method TestStream (line 163) | func (UnimplementedServiceServer) TestStream(Service_TestStreamServer)...
method mustEmbedUnimplementedServiceServer (line 166) | func (UnimplementedServiceServer) mustEmbedUnimplementedServiceServer(...
type UnsafeServiceServer (line 171) | type UnsafeServiceServer interface
function RegisterServiceServer (line 175) | func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer) {
function _Service_TestString_Handler (line 179) | func _Service_TestString_Handler(srv interface{}, ctx context.Context, d...
function _Service_TestInteger_Handler (line 197) | func _Service_TestInteger_Handler(srv interface{}, ctx context.Context, ...
function _Service_TestBoolean_Handler (line 215) | func _Service_TestBoolean_Handler(srv interface{}, ctx context.Context, ...
function _Service_TestDouble_Handler (line 233) | func _Service_TestDouble_Handler(srv interface{}, ctx context.Context, d...
function _Service_TestValue_Handler (line 251) | func _Service_TestValue_Handler(srv interface{}, ctx context.Context, de...
function _Service_TestStream_Handler (line 269) | func _Service_TestStream_Handler(srv interface{}, stream grpc.ServerStre...
type Service_TestStreamServer (line 273) | type Service_TestStreamServer interface
type serviceTestStreamServer (line 279) | type serviceTestStreamServer struct
method SendAndClose (line 283) | func (x *serviceTestStreamServer) SendAndClose(m *wrapperspb.StringVal...
method Recv (line 287) | func (x *serviceTestStreamServer) Recv() (*wrapperspb.StringValue, err...
FILE: internal/lib/testutils/httpmultibin/httpmultibin.go
function GetTLSClientConfig (line 39) | func GetTLSClientConfig(t testing.TB, srv *httptest.Server) *tls.Config {
constant httpDomain (line 64) | httpDomain = "httpbin.local"
constant httpsDomain (line 69) | httpsDomain = "example.com"
type HTTPMultiBin (line 73) | type HTTPMultiBin struct
type jsonBody (line 88) | type jsonBody struct
function autocloseHandler (line 96) | func autocloseHandler(t testing.TB) http.Handler {
function echoHandler (line 116) | func echoHandler(t testing.TB, closePrematurely bool) http.Handler {
function writeJSON (line 165) | func writeJSON(w io.Writer, v any) error {
function getEncodedHandler (line 174) | func getEncodedHandler(t testing.TB, compressionType string) http.Handler {
function getZstdBrHandler (line 205) | func getZstdBrHandler(t testing.TB) http.Handler {
type GRPCStub (line 227) | type GRPCStub struct
method EmptyCall (line 234) | func (s *GRPCStub) EmptyCall(ctx context.Context, req *grpctest.Empty)...
method UnaryCall (line 243) | func (s *GRPCStub) UnaryCall(ctx context.Context, req *grpctest.Simple...
method StreamingOutputCall (line 252) | func (*GRPCStub) StreamingOutputCall(*grpctest.StreamingOutputCallRequ...
method StreamingInputCall (line 259) | func (*GRPCStub) StreamingInputCall(grpctest.TestService_StreamingInpu...
method FullDuplexCall (line 264) | func (*GRPCStub) FullDuplexCall(grpctest.TestService_FullDuplexCallSer...
method HalfDuplexCall (line 269) | func (*GRPCStub) HalfDuplexCall(grpctest.TestService_HalfDuplexCallSer...
type GRPCAnyStub (line 274) | type GRPCAnyStub struct
method Sum (line 280) | func (s *GRPCAnyStub) Sum(ctx context.Context, req *grpcanytesting.Sum...
function NewHTTPMultiBin (line 291) | func NewHTTPMultiBin(t testing.TB) *HTTPMultiBin {
FILE: internal/lib/testutils/logrus_hook.go
type SimpleLogrusHook (line 12) | type SimpleLogrusHook struct
method Levels (line 19) | func (smh *SimpleLogrusHook) Levels() []logrus.Level {
method Fire (line 24) | func (smh *SimpleLogrusHook) Fire(e *logrus.Entry) error {
method Drain (line 32) | func (smh *SimpleLogrusHook) Drain() []logrus.Entry {
method Lines (line 41) | func (smh *SimpleLogrusHook) Lines() []string {
method Reset (line 51) | func (smh *SimpleLogrusHook) Reset() {
method LastEntry (line 59) | func (smh *SimpleLogrusHook) LastEntry() *logrus.Entry {
function NewLogHook (line 73) | func NewLogHook(levels ...logrus.Level) *SimpleLogrusHook {
function LogContains (line 82) | func LogContains(logEntries []logrus.Entry, expLevel logrus.Level, expCo...
function FilterEntries (line 93) | func FilterEntries(logEntries []logrus.Entry, expLevel logrus.Level, exp...
FILE: internal/lib/testutils/minirunner/minirunner.go
type MiniRunner (line 24) | type MiniRunner struct
method MakeArchive (line 40) | func (r MiniRunner) MakeArchive() *lib.Archive {
method NewVU (line 45) | func (r *MiniRunner) NewVU(
method Setup (line 63) | func (r *MiniRunner) Setup(ctx context.Context, out chan<- metrics.Sam...
method GetSetupData (line 72) | func (r MiniRunner) GetSetupData() []byte {
method SetSetupData (line 77) | func (r *MiniRunner) SetSetupData(data []byte) {
method Teardown (line 82) | func (r MiniRunner) Teardown(ctx context.Context, out chan<- metrics.S...
method IsExecutable (line 91) | func (r MiniRunner) IsExecutable(_ string) bool {
method GetOptions (line 96) | func (r MiniRunner) GetOptions() lib.Options {
method SetOptions (line 101) | func (r *MiniRunner) SetOptions(opts lib.Options) error {
method HandleSummary (line 112) | func (r *MiniRunner) HandleSummary(
type VU (line 125) | type VU struct
method GetID (line 147) | func (vu *VU) GetID() uint64 {
method State (line 152) | func (vu *VU) State() *lib.State {
method Activate (line 157) | func (vu *VU) Activate(params *lib.VUActivationParams) lib.ActiveVU {
type ActiveVU (line 136) | type ActiveVU struct
method incrIteration (line 194) | func (vu *ActiveVU) incrIteration() {
method RunOnce (line 207) | func (vu *ActiveVU) RunOnce() error {
FILE: internal/lib/testutils/mockoutput/mockoutput.go
function New (line 10) | func New() *MockOutput {
type MockOutput (line 15) | type MockOutput struct
method AddMetricSamples (line 25) | func (mo *MockOutput) AddMetricSamples(scs []metrics.SampleContainer) {
method Description (line 33) | func (mo *MockOutput) Description() string {
method Start (line 41) | func (mo *MockOutput) Start() error {
method Stop (line 49) | func (mo *MockOutput) Stop() error {
FILE: internal/lib/testutils/mockresolver/resolver.go
type MockResolver (line 12) | type MockResolver struct
method LookupIP (line 27) | func (r *MockResolver) LookupIP(host string) (net.IP, error) {
method LookupIPAll (line 38) | func (r *MockResolver) LookupIPAll(host string) (ips []net.IP, err err...
method Set (line 53) | func (r *MockResolver) Set(host, ip string) {
method Unset (line 60) | func (r *MockResolver) Unset(host string) {
function New (line 19) | func New(hosts map[string][]net.IP) *MockResolver {
FILE: internal/lib/testutils/test_output.go
type testOutput (line 12) | type testOutput struct
method Write (line 14) | func (to testOutput) Write(p []byte) (n int, err error) {
function NewTestOutput (line 22) | func NewTestOutput(t testing.TB) io.Writer {
function newLogger (line 26) | func newLogger(t testing.TB, level logrus.Level) *logrus.Logger { //noli...
function NewLogger (line 42) | func NewLogger(t testing.TB) logrus.FieldLogger {
function NewLoggerWithHook (line 49) | func NewLoggerWithHook(t testing.TB, levels ...logrus.Level) (logrus.Fie...
FILE: internal/lib/testutils/untar.go
function Untar (line 18) | func Untar(t *testing.T, fileSystem fsext.Fs, fileName string, destinati...
FILE: internal/lib/trace/otel.go
constant serviceName (line 23) | serviceName = "k6"
type tracerProvShutdownFunc (line 37) | type tracerProvShutdownFunc
type TracerProvider (line 42) | type TracerProvider struct
method Shutdown (line 147) | func (tp *TracerProvider) Shutdown(ctx context.Context) error {
type tracerProviderParams (line 47) | type tracerProviderParams struct
method parseURL (line 220) | func (p *tracerProviderParams) parseURL(s string) error {
method parseProto (line 238) | func (p *tracerProviderParams) parseProto(proto string) error {
method parseHeader (line 248) | func (p *tracerProviderParams) parseHeader(header, value string) {
function defaultTracerProviderParams (line 55) | func defaultTracerProviderParams() tracerProviderParams {
function NewTracerProvider (line 65) | func NewTracerProvider(ctx context.Context, params tracerProviderParams)...
function newResource (line 91) | func newResource() *resource.Resource {
function newClient (line 98) | func newClient(params tracerProviderParams) (otlptrace.Client, error) {
function newHTTPClient (line 109) | func newHTTPClient(endpoint, urlPath string, insecure bool, headers map[...
function newGRPCClient (line 121) | func newGRPCClient(endpoint string, insecure bool, headers map[string]st...
function NewNoopTracerProvider (line 133) | func NewNoopTracerProvider() *TracerProvider {
function TracerProviderFromConfigLine (line 161) | func TracerProviderFromConfigLine(ctx context.Context, line string) (*Tr...
function tracerProviderParamsFromConfigLine (line 170) | func tracerProviderParamsFromConfigLine(line string) (tracerProviderPara...
FILE: internal/lib/trace/otel_test.go
function TestTracerProviderParamsFromConfigLine (line 9) | func TestTracerProviderParamsFromConfigLine(t *testing.T) {
FILE: internal/loader/filesystems.go
function CreateFilesystems (line 10) | func CreateFilesystems(osfs fsext.Fs) map[string]fsext.Fs {
FILE: internal/loader/loader.go
type SourceData (line 22) | type SourceData struct
constant httpsSchemeCouldntBeLoadedMsg (line 29) | httpsSchemeCouldntBeLoadedMsg = `The moduleSpecifier "%s" couldn't be re...
constant fileSchemeCouldntBeLoadedMsg (line 31) | fileSchemeCouldntBeLoadedMsg = `The moduleSpecifier "%s" couldn't be fou...
type unresolvableURLError (line 40) | type unresolvableURLError
method Error (line 42) | func (u unresolvableURLError) Error() string {
function Resolve (line 48) | func Resolve(pwd *url.URL, moduleSpecifier string) (*url.URL, error) {
function resolveFilePath (line 84) | func resolveFilePath(pwd *url.URL, moduleSpecifier string) (*url.URL, er...
function Dir (line 115) | func Dir(old *url.URL) *url.URL {
function Load (line 122) | func Load(
function loadRemoteURL (line 179) | func loadRemoteURL(logger logrus.FieldLogger, u *url.URL) (*SourceData, ...
function fetch (line 204) | func fetch(logger logrus.FieldLogger, u string) ([]byte, error) {
FILE: internal/loader/loader_test.go
function TestDir (line 20) | func TestDir(t *testing.T) {
function TestResolve (line 36) | func TestResolve(t *testing.T) {
function TestLoad (line 94) | func TestLoad(t *testing.T) {
FILE: internal/loader/readsource.go
function ReadSource (line 16) | func ReadSource(
FILE: internal/loader/readsource_test.go
type errorReader (line 17) | type errorReader
method Read (line 19) | func (e errorReader) Read(_ []byte) (int, error) {
function TestReadSourceSTDINError (line 25) | func TestReadSourceSTDINError(t *testing.T) {
function TestReadSourceSTDINCache (line 34) | func TestReadSourceSTDINCache(t *testing.T) {
function TestReadSourceRelative (line 54) | func TestReadSourceRelative(t *testing.T) {
function TestReadSourceAbsolute (line 69) | func TestReadSourceAbsolute(t *testing.T) {
function TestReadSourceHttps (line 86) | func TestReadSourceHttps(t *testing.T) {
function TestReadSourceHttpError (line 102) | func TestReadSourceHttpError(t *testing.T) {
function TestReadSourceMissingFileError (line 115) | func TestReadSourceMissingFileError(t *testing.T) {
FILE: internal/log/file.go
constant fileHookBufferSize (line 20) | fileHookBufferSize = 100
type fileHook (line 23) | type fileHook struct
method parseArgs (line 58) | func (h *fileHook) parseArgs(line string) error {
method openFile (line 85) | func (h *fileHook) openFile(getCwd func() (string, error)) error {
method Listen (line 111) | func (h *fileHook) Listen(ctx context.Context) {
method Fire (line 148) | func (h *fileHook) Fire(entry *logrus.Entry) error {
method Levels (line 159) | func (h *fileHook) Levels() []logrus.Level {
function FileHookFromConfigLine (line 34) | func FileHookFromConfigLine(
FILE: internal/log/file_test.go
type nopCloser (line 17) | type nopCloser struct
method Close (line 22) | func (nc *nopCloser) Close() error {
function TestFileHookFromConfigLine (line 27) | func TestFileHookFromConfigLine(t *testing.T) {
function TestFileHookFire (line 115) | func TestFileHookFire(t *testing.T) {
FILE: internal/log/levels.go
function parseLevels (line 10) | func parseLevels(level string) ([]logrus.Level, error) {
FILE: internal/log/levels_test.go
function Test_getLevels (line 10) | func Test_getLevels(t *testing.T) {
FILE: internal/log/log.go
type AsyncHook (line 12) | type AsyncHook interface
FILE: internal/log/loki.go
type lokiHook (line 20) | type lokiHook struct
method parseArgs (line 80) | func (h *lokiHook) parseArgs(line string) error {
method Listen (line 150) | func (h *lokiHook) Listen(ctx context.Context) {
method filterLabels (line 267) | func (h *lokiHook) filterLabels(labels map[string]string, msg string) ...
method createPushMessage (line 315) | func (h *lokiHook) createPushMessage(msgs []tmpMsg, cutOffIndex, dropp...
method push (line 333) | func (h *lokiHook) push(b bytes.Buffer) error {
method Fire (line 405) | func (h *lokiHook) Fire(entry *logrus.Entry) error {
method Levels (line 412) | func (h *lokiHook) Levels() []logrus.Level {
function getDefaultLoki (line 37) | func getDefaultLoki() *lokiHook {
function LokiFromConfigLine (line 53) | func LokiFromConfigLine(fallbackLogger logrus.FieldLogger, line string) ...
function sortAndSplitMsgs (line 297) | func sortAndSplitMsgs(msgs []tmpMsg, cutOff int64) int {
function mapEqual (line 365) | func mapEqual(a, b map[string]string) bool {
type tmpMsg (line 398) | type tmpMsg struct
type lokiPushMessage (line 432) | type lokiPushMessage struct
method add (line 378) | func (pushMsg *lokiPushMessage) add(entry tmpMsg) {
method WriteTo (line 437) | func (pushMsg *lokiPushMessage) WriteTo(w io.Writer) (n int64, err err...
type stream (line 504) | type stream struct
type logEntry (line 509) | type logEntry struct
method MarshalJSON (line 515) | func (l logEntry) MarshalJSON() ([]byte, error) {
FILE: internal/log/loki_test.go
function TestSyslogFromConfigLine (line 19) | func TestSyslogFromConfigLine(t *testing.T) {
function TestLogEntryMarshal (line 96) | func TestLogEntryMarshal(t *testing.T) {
function TestFilterLabels (line 109) | func TestFilterLabels(t *testing.T) {
function TestLokiFlushingOnStop (line 153) | func TestLokiFlushingOnStop(t *testing.T) {
function TestLokiHeaders (line 191) | func TestLokiHeaders(t *testing.T) {
FILE: internal/metrics/engine/engine.go
constant thresholdsRate (line 21) | thresholdsRate = 2 * time.Second
type MetricsEngine (line 26) | type MetricsEngine struct
method CreateIngester (line 56) | func (me *MetricsEngine) CreateIngester() *OutputIngester {
method getThresholdMetricOrSubmetric (line 64) | func (me *MetricsEngine) getThresholdMetricOrSubmetric(name string) (*...
method markObserved (line 108) | func (me *MetricsEngine) markObserved(metric *metrics.Metric) {
method InitSubMetricsAndThresholds (line 118) | func (me *MetricsEngine) InitSubMetricsAndThresholds(options lib.Optio...
method StartThresholdCalculations (line 159) | func (me *MetricsEngine) StartThresholdCalculations(
method evaluateThresholds (line 216) | func (me *MetricsEngine) evaluateThresholds(
method GetMetricsWithBreachedThresholdsCount (line 259) | func (me *MetricsEngine) GetMetricsWithBreachedThresholdsCount() uint32 {
function NewMetricsEngine (line 44) | func NewMetricsEngine(registry *metrics.Registry, logger logrus.FieldLog...
FILE: internal/metrics/engine/engine_test.go
function TestNewMetricsEngineWithThresholds (line 14) | func TestNewMetricsEngineWithThresholds(t *testing.T) {
function TestMetricsEngineGetThresholdMetricOrSubmetricError (line 44) | func TestMetricsEngineGetThresholdMetricOrSubmetricError(t *testing.T) {
function TestNewMetricsEngineNoThresholds (line 70) | func TestNewMetricsEngineNoThresholds(t *testing.T) {
function TestMetricsEngineCreateIngester (line 78) | func TestMetricsEngineCreateIngester(t *testing.T) {
function TestMetricsEngineEvaluateThresholdNoAbort (line 90) | func TestMetricsEngineEvaluateThresholdNoAbort(t *testing.T) {
function TestMetricsEngineEvaluateIgnoreEmptySink (line 128) | func TestMetricsEngineEvaluateIgnoreEmptySink(t *testing.T) {
function newTestMetricsEngine (line 154) | func newTestMetricsEngine(t *testing.T) *MetricsEngine {
function zeroTestRunDuration (line 160) | func zeroTestRunDuration() time.Duration {
FILE: internal/metrics/engine/ingester.go
constant collectRate (line 12) | collectRate = 50 * time.Millisecond
constant timeSeriesFirstLimit (line 13) | timeSeriesFirstLimit = 100_000
constant IngesterDescription (line 21) | IngesterDescription = "Internal Metrics Ingester"
type OutputIngester (line 25) | type OutputIngester struct
method Description (line 35) | func (oi *OutputIngester) Description() string {
method Start (line 40) | func (oi *OutputIngester) Start() error {
method Stop (line 54) | func (oi *OutputIngester) Stop() error {
method flushMetrics (line 62) | func (oi *OutputIngester) flushMetrics() {
type cardinalityControl (line 123) | type cardinalityControl struct
method Add (line 136) | func (cc *cardinalityControl) Add(ts metrics.TimeSeries) {
method LimitHit (line 144) | func (cc *cardinalityControl) LimitHit() bool {
method Count (line 157) | func (cc *cardinalityControl) Count() int {
function newCardinalityControl (line 128) | func newCardinalityControl() *cardinalityControl {
FILE: internal/metrics/engine/ingester_test.go
function TestIngesterOutputFlushMetrics (line 15) | func TestIngesterOutputFlushMetrics(t *testing.T) {
function TestIngesterOutputFlushSubmetrics (line 50) | func TestIngesterOutputFlushSubmetrics(t *testing.T) {
function TestOutputFlushMetricsTimeSeriesWarning (line 101) | func TestOutputFlushMetricsTimeSeriesWarning(t *testing.T) {
function TestCardinalityControlAdd (line 138) | func TestCardinalityControlAdd(t *testing.T) {
function TestCardinalityControlLimitHit (line 167) | func TestCardinalityControlLimitHit(t *testing.T) {
function newTestPreInitState (line 198) | func newTestPreInitState(tb testing.TB) *lib.TestPreInitState {
FILE: internal/output/cloud/expv2/integration/integration_test.go
function TestOutputFlush (line 32) | func TestOutputFlush(t *testing.T) {
function metricsHandler (line 89) | func metricsHandler(results chan<- *pbcloud.MetricSet) http.HandlerFunc {
function metricSetFromRequest (line 110) | func metricSetFromRequest(b []byte) (*pbcloud.MetricSet, error) {
function testSamples (line 123) | func testSamples() metrics.Samples {
FILE: internal/output/cloud/expv2/pbcloud/metric.pb.go
constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type MetricType (line 25) | type MetricType
method Enum (line 55) | func (x MetricType) Enum() *MetricType {
method String (line 61) | func (x MetricType) String() string {
method Descriptor (line 65) | func (MetricType) Descriptor() protoreflect.EnumDescriptor {
method Type (line 69) | func (MetricType) Type() protoreflect.EnumType {
method Number (line 73) | func (x MetricType) Number() protoreflect.EnumNumber {
method EnumDescriptor (line 78) | func (MetricType) EnumDescriptor() ([]byte, []int) {
constant MetricType_METRIC_TYPE_UNSPECIFIED (line 30) | MetricType_METRIC_TYPE_UNSPECIFIED MetricType = 0
constant MetricType_METRIC_TYPE_COUNTER (line 31) | MetricType_METRIC_TYPE_COUNTER MetricType = 1
constant MetricType_METRIC_TYPE_GAUGE (line 32) | MetricType_METRIC_TYPE_GAUGE MetricType = 2
constant MetricType_METRIC_TYPE_RATE (line 33) | MetricType_METRIC_TYPE_RATE MetricType = 3
constant MetricType_METRIC_TYPE_TREND (line 34) | MetricType_METRIC_TYPE_TREND MetricType = 4
type MetricSet (line 84) | type MetricSet struct
method Reset (line 98) | func (x *MetricSet) Reset() {
method String (line 107) | func (x *MetricSet) String() string {
method ProtoMessage (line 111) | func (*MetricSet) ProtoMessage() {}
method ProtoReflect (line 113) | func (x *MetricSet) ProtoReflect() protoreflect.Message {
method Descriptor (line 126) | func (*MetricSet) Descriptor() ([]byte, []int) {
method GetTestRunId (line 130) | func (x *MetricSet) GetTestRunId() string {
method GetAggregationPeriod (line 137) | func (x *MetricSet) GetAggregationPeriod() uint32 {
method GetMetrics (line 144) | func (x *MetricSet) GetMetrics() []*Metric {
type Metric (line 151) | type Metric struct
method Reset (line 165) | func (x *Metric) Reset() {
method String (line 174) | func (x *Metric) String() string {
method ProtoMessage (line 178) | func (*Metric) ProtoMessage() {}
method ProtoReflect (line 180) | func (x *Metric) ProtoReflect() protoreflect.Message {
method Descriptor (line 193) | func (*Metric) Descriptor() ([]byte, []int) {
method GetName (line 197) | func (x *Metric) GetName() string {
method GetType (line 204) | func (x *Metric) GetType() MetricType {
method GetTimeSeries (line 211) | func (x *Metric) GetTimeSeries() []*TimeSeries {
type Label (line 219) | type Label struct
method Reset (line 230) | func (x *Label) Reset() {
method String (line 239) | func (x *Label) String() string {
method ProtoMessage (line 243) | func (*Label) ProtoMessage() {}
method ProtoReflect (line 245) | func (x *Label) ProtoReflect() protoreflect.Message {
method Descriptor (line 258) | func (*Label) Descriptor() ([]byte, []int) {
method GetName (line 262) | func (x *Label) GetName() string {
method GetValue (line 269) | func (x *Label) GetValue() string {
type TimeSeries (line 277) | type TimeSeries struct
method Reset (line 295) | func (x *TimeSeries) Reset() {
method String (line 304) | func (x *TimeSeries) String() string {
method ProtoMessage (line 308) | func (*TimeSeries) ProtoMessage() {}
method ProtoReflect (line 310) | func (x *TimeSeries) ProtoReflect() protoreflect.Message {
method Descriptor (line 323) | func (*TimeSeries) Descriptor() ([]byte, []int) {
method GetLabels (line 327) | func (x *TimeSeries) GetLabels() []*Label {
method GetSamples (line 334) | func (m *TimeSeries) GetSamples() isTimeSeries_Samples {
method GetCounterSamples (line 341) | func (x *TimeSeries) GetCounterSamples() *CounterSamples {
method GetGaugeSamples (line 348) | func (x *TimeSeries) GetGaugeSamples() *GaugeSamples {
method GetRateSamples (line 355) | func (x *TimeSeries) GetRateSamples() *RateSamples {
method GetTrendHdrSamples (line 362) | func (x *TimeSeries) GetTrendHdrSamples() *TrendHdrSamples {
type isTimeSeries_Samples (line 369) | type isTimeSeries_Samples interface
type TimeSeries_CounterSamples (line 373) | type TimeSeries_CounterSamples struct
method isTimeSeries_Samples (line 389) | func (*TimeSeries_CounterSamples) isTimeSeries_Samples() {}
type TimeSeries_GaugeSamples (line 377) | type TimeSeries_GaugeSamples struct
method isTimeSeries_Samples (line 391) | func (*TimeSeries_GaugeSamples) isTimeSeries_Samples() {}
type TimeSeries_RateSamples (line 381) | type TimeSeries_RateSamples struct
method isTimeSeries_Samples (line 393) | func (*TimeSeries_RateSamples) isTimeSeries_Samples() {}
type TimeSeries_TrendHdrSamples (line 385) | type TimeSeries_TrendHdrSamples struct
method isTimeSeries_Samples (line 395) | func (*TimeSeries_TrendHdrSamples) isTimeSeries_Samples() {}
type CounterSamples (line 397) | type CounterSamples struct
method Reset (line 406) | func (x *CounterSamples) Reset() {
method String (line 415) | func (x *CounterSamples) String() string {
method ProtoMessage (line 419) | func (*CounterSamples) ProtoMessage() {}
method ProtoReflect (line 421) | func (x *CounterSamples) ProtoReflect() protoreflect.Message {
method Descriptor (line 434) | func (*CounterSamples) Descriptor() ([]byte, []int) {
method GetValues (line 438) | func (x *CounterSamples) GetValues() []*CounterValue {
type GaugeSamples (line 445) | type GaugeSamples struct
method Reset (line 454) | func (x *GaugeSamples) Reset() {
method String (line 463) | func (x *GaugeSamples) String() string {
method ProtoMessage (line 467) | func (*GaugeSamples) ProtoMessage() {}
method ProtoReflect (line 469) | func (x *GaugeSamples) ProtoReflect() protoreflect.Message {
method Descriptor (line 482) | func (*GaugeSamples) Descriptor() ([]byte, []int) {
method GetValues (line 486) | func (x *GaugeSamples) GetValues() []*GaugeValue {
type RateSamples (line 493) | type RateSamples struct
method Reset (line 502) | func (x *RateSamples) Reset() {
method String (line 511) | func (x *RateSamples) String() string {
method ProtoMessage (line 515) | func (*RateSamples) ProtoMessage() {}
method ProtoReflect (line 517) | func (x *RateSamples) ProtoReflect() protoreflect.Message {
method Descriptor (line 530) | func (*RateSamples) Descriptor() ([]byte, []int) {
method GetValues (line 534) | func (x *RateSamples) GetValues() []*RateValue {
type TrendHdrSamples (line 541) | type TrendHdrSamples struct
method Reset (line 550) | func (x *TrendHdrSamples) Reset() {
method String (line 559) | func (x *TrendHdrSamples) String() string {
method ProtoMessage (line 563) | func (*TrendHdrSamples) ProtoMessage() {}
method ProtoReflect (line 565) | func (x *TrendHdrSamples) ProtoReflect() protoreflect.Message {
method Descriptor (line 578) | func (*TrendHdrSamples) Descriptor() ([]byte, []int) {
method GetValues (line 582) | func (x *TrendHdrSamples) GetValues() []*TrendHdrValue {
type CounterValue (line 589) | type CounterValue struct
method Reset (line 599) | func (x *CounterValue) Reset() {
method String (line 608) | func (x *CounterValue) String() string {
method ProtoMessage (line 612) | func (*CounterValue) ProtoMessage() {}
method ProtoReflect (line 614) | func (x *CounterValue) ProtoReflect() protoreflect.Message {
method Descriptor (line 627) | func (*CounterValue) Descriptor() ([]byte, []int) {
method GetTime (line 631) | func (x *CounterValue) GetTime() *timestamppb.Timestamp {
method GetValue (line 638) | func (x *CounterValue) GetValue() float64 {
type GaugeValue (line 645) | type GaugeValue struct
method Reset (line 662) | func (x *GaugeValue) Reset() {
method String (line 671) | func (x *GaugeValue) String() string {
method ProtoMessage (line 675) | func (*GaugeValue) ProtoMessage() {}
method ProtoReflect (line 677) | func (x *GaugeValue) ProtoReflect() protoreflect.Message {
method Descriptor (line 690) | func (*GaugeValue) Descriptor() ([]byte, []int) {
method GetTime (line 694) | func (x *GaugeValue) GetTime() *timestamppb.Timestamp {
method GetLast (line 701) | func (x *GaugeValue) GetLast() float64 {
method GetCount (line 708) | func (x *GaugeValue) GetCount() uint32 {
method GetMin (line 715) | func (x *GaugeValue) GetMin() float64 {
method GetMax (line 722) | func (x *GaugeValue) GetMax() float64 {
method GetAvg (line 729) | func (x *GaugeValue) GetAvg() float64 {
type RateValue (line 736) | type RateValue struct
method Reset (line 747) | func (x *RateValue) Reset() {
method String (line 756) | func (x *RateValue) String() string {
method ProtoMessage (line 760) | func (*RateValue) ProtoMessage() {}
method ProtoReflect (line 762) | func (x *RateValue) ProtoReflect() protoreflect.Message {
method Descriptor (line 775) | func (*RateValue) Descriptor() ([]byte, []int) {
method GetTime (line 779) | func (x *RateValue) GetTime() *timestamppb.Timestamp {
method GetNonzeroCount (line 786) | func (x *RateValue) GetNonzeroCount() uint32 {
method GetTotalCount (line 793) | func (x *RateValue) GetTotalCount() uint32 {
type BucketSpan (line 804) | type BucketSpan struct
method Reset (line 813) | func (x *BucketSpan) Reset() {
method String (line 822) | func (x *BucketSpan) String() string {
method ProtoMessage (line 826) | func (*BucketSpan) ProtoMessage() {}
method ProtoReflect (line 828) | func (x *BucketSpan) ProtoReflect() protoreflect.Message {
method Descriptor (line 841) | func (*BucketSpan) Descriptor() ([]byte, []int) {
method GetOffset (line 845) | func (x *BucketSpan) GetOffset() uint32 {
method GetLength (line 852) | func (x *BucketSpan) GetLength() uint32 {
type TrendHdrValue (line 859) | type TrendHdrValue struct
method Reset (line 888) | func (x *TrendHdrValue) Reset() {
method String (line 897) | func (x *TrendHdrValue) String() string {
method ProtoMessage (line 901) | func (*TrendHdrValue) ProtoMessage() {}
method ProtoReflect (line 903) | func (x *TrendHdrValue) ProtoReflect() protoreflect.Message {
method Descriptor (line 916) | func (*TrendHdrValue) Descriptor() ([]byte, []int) {
method GetTime (line 920) | func (x *TrendHdrValue) GetTime() *timestamppb.Timestamp {
method GetCounters (line 927) | func (x *TrendHdrValue) GetCounters() []uint32 {
method GetSpans (line 934) | func (x *TrendHdrValue) GetSpans() []*BucketSpan {
method GetSum (line 941) | func (x *TrendHdrValue) GetSum() float64 {
method GetCount (line 948) | func (x *TrendHdrValue) GetCount() uint32 {
method GetMinValue (line 955) | func (x *TrendHdrValue) GetMinValue() float64 {
method GetMaxValue (line 962) | func (x *TrendHdrValue) GetMaxValue() float64 {
method GetExtraLowValuesCounter (line 969) | func (x *TrendHdrValue) GetExtraLowValuesCounter() uint32 {
method GetExtraHighValuesCounter (line 976) | func (x *TrendHdrValue) GetExtraHighValuesCounter() uint32 {
method GetMinResolution (line 983) | func (x *TrendHdrValue) GetMinResolution() float64 {
method GetSignificantDigits (line 990) | func (x *TrendHdrValue) GetSignificantDigits() uint32 {
function file_metric_proto_rawDescGZIP (line 1139) | func file_metric_proto_rawDescGZIP() []byte {
function init (line 1190) | func init() { file_metric_proto_init() }
function file_metric_proto_init (line 1191) | func file_metric_proto_init() {
FILE: internal/output/cloud/insights/collect.go
constant metadataTraceIDKey (line 13) | metadataTraceIDKey = "trace_id"
constant scenarioTag (line 14) | scenarioTag = "scenario"
constant groupTag (line 15) | groupTag = "group"
constant nameTag (line 16) | nameTag = "name"
constant methodTag (line 17) | methodTag = "method"
constant statusTag (line 18) | statusTag = "status"
type RequestMetadatasCollector (line 23) | type RequestMetadatasCollector interface
type Collector (line 31) | type Collector struct
method CollectRequestMetadatas (line 48) | func (c *Collector) CollectRequestMetadatas(sampleContainers []metrics...
method PopAll (line 96) | func (c *Collector) PopAll() insights.RequestMetadatas {
method getStringTagFromTrail (line 105) | func (c *Collector) getStringTagFromTrail(trail *httpext.Trail, key st...
method getIntTagFromTrail (line 113) | func (c *Collector) getIntTagFromTrail(trail *httpext.Trail, key strin...
function NewCollector (line 38) | func NewCollector(testRunID int64) *Collector {
FILE: internal/output/cloud/insights/collect_test.go
function Test_Collector_CollectRequestMetadatas_DoesNothingWithEmptyData (line 15) | func Test_Collector_CollectRequestMetadatas_DoesNothingWithEmptyData(t *...
function Test_Collector_CollectRequestMetadatas_FiltersAndStoresHTTPTrailsAsRequestMetadatas (line 30) | func Test_Collector_CollectRequestMetadatas_FiltersAndStoresHTTPTrailsAs...
function Test_Collector_PopAll_DoesNothingWithEmptyData (line 112) | func Test_Collector_PopAll_DoesNothingWithEmptyData(t *testing.T) {
FILE: internal/output/cloud/insights/enable.go
function Enabled (line 8) | func Enabled(config cloudapi.Config) bool {
FILE: internal/output/cloud/insights/flush.go
type Client (line 10) | type Client interface
type RequestMetadatasFlusher (line 16) | type RequestMetadatasFlusher interface
type Flusher (line 23) | type Flusher struct
method Flush (line 37) | func (f *Flusher) Flush() error {
function NewFlusher (line 29) | func NewFlusher(client Client, collector RequestMetadatasCollector) *Flu...
FILE: internal/output/cloud/insights/flush_test.go
type mockWorkingInsightsClient (line 15) | type mockWorkingInsightsClient struct
method IngestRequestMetadatasBatch (line 21) | func (c *mockWorkingInsightsClient) IngestRequestMetadatasBatch(ctx co...
method Close (line 36) | func (c *mockWorkingInsightsClient) Close() error {
type mockFailingInsightsClient (line 40) | type mockFailingInsightsClient struct
method IngestRequestMetadatasBatch (line 44) | func (c *mockFailingInsightsClient) IngestRequestMetadatasBatch(_ cont...
method Close (line 48) | func (c *mockFailingInsightsClient) Close() error {
type mockRequestMetadatasCollector (line 52) | type mockRequestMetadatasCollector struct
method CollectRequestMetadatas (line 56) | func (m *mockRequestMetadatasCollector) CollectRequestMetadatas(_ []me...
method PopAll (line 60) | func (m *mockRequestMetadatasCollector) PopAll() insights.RequestMetad...
function newMockRequestMetadatas (line 64) | func newMockRequestMetadatas() insights.RequestMetadatas {
function Test_tracesFlusher_Flush_ReturnsNoErrorWithWorkingInsightsClientAndNonCancelledContextAndNoData (line 83) | func Test_tracesFlusher_Flush_ReturnsNoErrorWithWorkingInsightsClientAnd...
function Test_tracesFlusher_Flush_ReturnsNoErrorWithWorkingInsightsClientAndNonCancelledContextAndData (line 102) | func Test_tracesFlusher_Flush_ReturnsNoErrorWithWorkingInsightsClientAnd...
function Test_tracesFlusher_Flush_ReturnsErrorWithFailingInsightsClientAndNonCancelledContext (line 121) | func Test_tracesFlusher_Flush_ReturnsErrorWithFailingInsightsClientAndNo...
FILE: internal/output/cloud/output.go
constant defaultTestName (line 25) | defaultTestName = "k6 test"
constant testRunIDKey (line 26) | testRunIDKey = "K6_CLOUDRUN_TEST_RUN_ID"
type versionedOutput (line 36) | type versionedOutput interface
type apiVersion (line 46) | type apiVersion
constant apiVersionUndefined (line 49) | apiVersionUndefined apiVersion = iota
constant apiVersion1 (line 50) | apiVersion1
constant apiVersion2 (line 51) | apiVersion2
type Output (line 55) | type Output struct
method Start (line 182) | func (out *Output) Start() error {
method Description (line 236) | func (out *Output) Description() string {
method SetThresholds (line 241) | func (out *Output) SetThresholds(scriptThresholds map[string]metrics.T...
method SetTestRunStopCallback (line 250) | func (out *Output) SetTestRunStopCallback(stopFunc func(error)) {
method SetArchive (line 256) | func (out *Output) SetArchive(archive *lib.Archive) {
method Stop (line 266) | func (out *Output) Stop() error {
method StopWithTestError (line 273) | func (out *Output) StopWithTestError(testErr error) error {
method testFinished (line 290) | func (out *Output) testFinished(testErr error) error {
method getRunStatus (line 318) | func (out *Output) getRunStatus(testErr error) cloudapi.RunStatus {
method startVersionedOutput (line 366) | func (out *Output) startVersionedOutput() error {
function New (line 88) | func New(params output.Params) (output.Output, error) {
function newOutput (line 93) | func newOutput(params output.Params) (*Output, error) {
function validateRequiredSystemTags (line 158) | func validateRequiredSystemTags(scriptTags *metrics.SystemTagSet) error {
FILE: internal/output/cloud/output_test.go
function TestNewOutputNameResolution (line 27) | func TestNewOutputNameResolution(t *testing.T) {
function TestCloudOutputRequireScriptName (line 76) | func TestCloudOutputRequireScriptName(t *testing.T) {
function TestOutputCreateTestWithConfigOverwrite (line 90) | func TestOutputCreateTestWithConfigOverwrite(t *testing.T) {
function TestOutputStartVersionError (line 138) | func TestOutputStartVersionError(t *testing.T) {
function TestOutputStartVersionedOutputV2 (line 159) | func TestOutputStartVersionedOutputV2(t *testing.T) {
function TestOutputStartVersionedOutputV1Error (line 187) | func TestOutputStartVersionedOutputV1Error(t *testing.T) {
function TestOutputStartWithTestRunID (line 202) | func TestOutputStartWithTestRunID(t *testing.T) {
function TestCloudOutputDescription (line 230) | func TestCloudOutputDescription(t *testing.T) {
function TestOutputStopWithTestError (line 247) | func TestOutputStopWithTestError(t *testing.T) {
function TestOutputGetStatusRun (line 304) | func TestOutputGetStatusRun(t *testing.T) {
function TestOutputProxyAddMetricSamples (line 328) | func TestOutputProxyAddMetricSamples(t *testing.T) {
type versionedOutputMock (line 346) | type versionedOutputMock struct
method Start (line 350) | func (o versionedOutputMock) Start() error {
method StopWithTestError (line 355) | func (o versionedOutputMock) StopWithTestError(_ error) error {
method SetTestRunStopCallback (line 360) | func (o versionedOutputMock) SetTestRunStopCallback(_ func(error)) {
method SetTestRunID (line 364) | func (o versionedOutputMock) SetTestRunID(_ string) {
method AddMetricSamples (line 368) | func (o versionedOutputMock) AddMetricSamples(_ []metrics.SampleContai...
FILE: internal/output/csv/config.go
type Config (line 17) | type Config struct
method Apply (line 49) | func (c Config) Apply(cfg Config) Config {
type TimeFormat (line 27) | type TimeFormat
constant TimeFormatUnix (line 31) | TimeFormatUnix TimeFormat = iota
constant TimeFormatUnixMilli (line 32) | TimeFormatUnixMilli
constant TimeFormatUnixMicro (line 33) | TimeFormatUnixMicro
constant TimeFormatUnixNano (line 34) | TimeFormatUnixNano
constant TimeFormatRFC3339 (line 35) | TimeFormatRFC3339
constant TimeFormatRFC3339Nano (line 36) | TimeFormatRFC3339Nano
function NewConfig (line 40) | func NewConfig() Config {
function ParseArg (line 63) | func ParseArg(arg string) (Config, error) {
function GetConsolidatedConfig (line 97) | func GetConsolidatedConfig(
FILE: internal/output/csv/config_test.go
function TestNewConfig (line 15) | func TestNewConfig(t *testing.T) {
function TestApply (line 24) | func TestApply(t *testing.T) {
function TestParseArg (line 73) | func TestParseArg(t *testing.T) {
FILE: internal/output/csv/output.go
type Output (line 21) | type Output struct
method Description (line 151) | func (o *Output) Description() string {
method Start (line 159) | func (o *Output) Start() error {
method Stop (line 180) | func (o *Output) Stop() error {
method flushMetrics (line 188) | func (o *Output) flushMetrics() {
function New (line 41) | func New(params output.Params) (output.Output, error) {
function newOutput (line 45) | func newOutput(params output.Params) (*Output, error) {
function buildTagSets (line 118) | func buildTagSets(params output.Params) ([]string, []string, error) {
function MakeHeader (line 208) | func MakeHeader(tags []string) []string {
function SampleToRow (line 215) | func SampleToRow(sample *metrics.Sample, resTags []string, ignoredTags [...
function IsStringInSlice (line 289) | func IsStringInSlice(slice []string, str string) bool {
FILE: internal/output/csv/output_test.go
function TestMakeHeader (line 24) | func TestMakeHeader(t *testing.T) {
function TestSampleToRow (line 51) | func TestSampleToRow(t *testing.T) {
function readUnCompressedFile (line 327) | func readUnCompressedFile(fileName string, fs fsext.Fs) string {
function readCompressedFile (line 336) | func readCompressedFile(fileName string, fs fsext.Fs) string {
function TestRun (line 355) | func TestRun(t *testing.T) {
function sortExtraTagsForTest (line 512) | func sortExtraTagsForTest(t *testing.T, input string) string {
FILE: internal/output/csv/time_format_gen.go
constant _TimeFormatName (line 10) | _TimeFormatName = "unixunix_milliunix_microunix_nanorfc3339rfc3339_nano"
constant _TimeFormatLowerName (line 14) | _TimeFormatLowerName = "unixunix_milliunix_microunix_nanorfc3339rfc3339_...
method String (line 16) | func (i TimeFormat) String() string {
function _TimeFormatNoOp (line 25) | func _TimeFormatNoOp() {
function TimeFormatString (line 63) | func TimeFormatString(s string) (TimeFormat, error) {
function TimeFormatValues (line 75) | func TimeFormatValues() []TimeFormat {
function TimeFormatStrings (line 80) | func TimeFormatStrings() []string {
method IsATimeFormat (line 87) | func (i TimeFormat) IsATimeFormat() bool {
FILE: internal/output/influxdb/bench_test.go
function benchmarkInfluxdb (line 13) | func benchmarkInfluxdb(b *testing.B, t time.Duration) {
function BenchmarkInfluxdb1Second (line 56) | func BenchmarkInfluxdb1Second(b *testing.B) {
function BenchmarkInfluxdb2Second (line 60) | func BenchmarkInfluxdb2Second(b *testing.B) {
function BenchmarkInfluxdb100Milliseconds (line 64) | func BenchmarkInfluxdb100Milliseconds(b *testing.B) {
FILE: internal/output/influxdb/config.go
type Config (line 18) | type Config struct
method Apply (line 59) | func (c Config) Apply(cfg Config) Config {
function NewConfig (line 38) | func NewConfig() Config {
function ParseJSON (line 104) | func ParseJSON(data json.RawMessage) (Config, error) {
function ParseURL (line 111) | func ParseURL(text string) (Config, error) {
function GetConsolidatedConfig (line 177) | func GetConsolidatedConfig(jsonRawConf json.RawMessage, env map[string]s...
FILE: internal/output/influxdb/config_test.go
function TestParseURL (line 10) | func TestParseURL(t *testing.T) {
function TestGetConsolidatedConfigHTTPProxy (line 54) | func TestGetConsolidatedConfigHTTPProxy(t *testing.T) {
FILE: internal/output/influxdb/output.go
type FieldKind (line 24) | type FieldKind
constant String (line 28) | String FieldKind = iota
constant Int (line 30) | Int
constant Float (line 32) | Float
constant Bool (line 34) | Bool
type Output (line 38) | type Output struct
method extractTagsToValues (line 86) | func (o *Output) extractTagsToValues(tags map[string]string, values ma...
method batchFromSamples (line 112) | func (o *Output) batchFromSamples(containers []metrics.SampleContainer...
method Description (line 155) | func (o *Output) Description() string {
method Start (line 161) | func (o *Output) Start() error {
method Stop (line 181) | func (o *Output) Stop() error {
method flushMetrics (line 189) | func (o *Output) flushMetrics() {
function New (line 54) | func New(params output.Params) (output.Output, error) {
function newOutput (line 58) | func newOutput(params output.Params) (*Output, error) {
FILE: internal/output/influxdb/output_test.go
function TestBadConcurrentWrites (line 23) | func TestBadConcurrentWrites(t *testing.T) {
function testOutputCycle (line 56) | func testOutputCycle(t testing.TB, handler http.HandlerFunc, body func(t...
function TestOutput (line 89) | func TestOutput(t *testing.T) {
function TestOutputFlushMetricsConcurrency (line 136) | func TestOutputFlushMetricsConcurrency(t *testing.T) {
function TestExtractTagsToValues (line 197) | func TestExtractTagsToValues(t *testing.T) {
FILE: internal/output/influxdb/util.go
function MakeClient (line 14) | func MakeClient(conf Config) (client.Client, error) {
function MakeBatchConfig (line 42) | func MakeBatchConfig(conf Config) client.BatchPointsConfig {
function checkDuplicatedTypeDefinitions (line 54) | func checkDuplicatedTypeDefinitions(fieldKinds map[string]FieldKind, tag...
function MakeFieldKinds (line 63) | func MakeFieldKinds(conf Config) (map[string]FieldKind, error) {
FILE: internal/output/influxdb/util_test.go
function TestMakeBatchConfig (line 12) | func TestMakeBatchConfig(t *testing.T) {
function TestFieldKinds (line 31) | func TestFieldKinds(t *testing.T) {
FILE: internal/output/json/benchmark_test.go
function BenchmarkFlushMetrics (line 14) | func BenchmarkFlushMetrics(b *testing.B) {
FILE: internal/output/json/json.go
constant flushPeriod (line 22) | flushPeriod = 200 * time.Millisecond
type Output (line 25) | type Output struct
method Description (line 53) | func (o *Output) Description() string {
method Start (line 62) | func (o *Output) Start() error {
method Stop (line 107) | func (o *Output) Stop() error {
method SetThresholds (line 115) | func (o *Output) SetThresholds(thresholds map[string]metrics.Threshold...
method flushMetrics (line 123) | func (o *Output) flushMetrics() {
method handleMetric (line 147) | func (o *Output) handleMetric(m *metrics.Metric, jw *jwriter.Writer) {
function New (line 40) | func New(params output.Params) (output.Output, error) {
FILE: internal/output/json/json_easyjson.go
function easyjson42239ddeDecodeGoK6IoK6InternalOutputJson (line 22) | func easyjson42239ddeDecodeGoK6IoK6InternalOutputJson(in *jlexer.Lexer, ...
function easyjson42239ddeEncodeGoK6IoK6InternalOutputJson (line 57) | func easyjson42239ddeEncodeGoK6IoK6InternalOutputJson(out *jwriter.Write...
method MarshalEasyJSON (line 80) | func (v sampleEnvelope) MarshalEasyJSON(w *jwriter.Writer) {
method UnmarshalEasyJSON (line 85) | func (v *sampleEnvelope) UnmarshalEasyJSON(l *jlexer.Lexer) {
function easyjson42239ddeDecode (line 88) | func easyjson42239ddeDecode(in *jlexer.Lexer, out *struct {
function easyjson42239ddeEncode (line 158) | func easyjson42239ddeEncode(out *jwriter.Writer, in struct {
function easyjson42239ddeDecodeGoK6IoK6InternalOutputJson1 (line 207) | func easyjson42239ddeDecodeGoK6IoK6InternalOutputJson1(in *jlexer.Lexer,...
function easyjson42239ddeEncodeGoK6IoK6InternalOutputJson1 (line 242) | func easyjson42239ddeEncodeGoK6IoK6InternalOutputJson1(out *jwriter.Writ...
method MarshalEasyJSON (line 265) | func (v metricEnvelope) MarshalEasyJSON(w *jwriter.Writer) {
method UnmarshalEasyJSON (line 270) | func (v *metricEnvelope) UnmarshalEasyJSON(l *jlexer.Lexer) {
function easyjson42239ddeDecode1 (line 273) | func easyjson42239ddeDecode1(in *jlexer.Lexer, out *struct {
function easyjson42239ddeEncode1 (line 353) | func easyjson42239ddeEncode1(out *jwriter.Writer, in struct {
function easyjson42239ddeDecodeGoK6IoK6Metrics (line 405) | func easyjson42239ddeDecodeGoK6IoK6Metrics(in *jlexer.Lexer, out *metric...
function easyjson42239ddeEncodeGoK6IoK6Metrics (line 448) | func easyjson42239ddeEncodeGoK6IoK6Metrics(out *jwriter.Writer, in metri...
FILE: internal/output/json/json_test.go
function getValidator (line 20) | func getValidator(t testing.TB, expected []string) func(io.Reader) {
function generateTestMetricSamples (line 37) | func generateTestMetricSamples(t testing.TB) ([]metrics.SampleContainer,...
function TestJsonOutputStdout (line 116) | func TestJsonOutputStdout(t *testing.T) {
function TestJsonOutputFileError (line 136) | func TestJsonOutputFileError(t *testing.T) {
function TestJsonOutputFile (line 151) | func TestJsonOutputFile(t *testing.T) {
function TestJsonOutputFileGzipped (line 179) | func TestJsonOutputFileGzipped(t *testing.T) {
function TestWrapSampleWithSamplePointer (line 209) | func TestWrapSampleWithSamplePointer(t *testing.T) {
function setThresholds (line 219) | func setThresholds(t *testing.T, out output.Output) {
FILE: internal/output/json/wrapper.go
type sampleEnvelope (line 12) | type sampleEnvelope struct
function wrapSample (line 25) | func wrapSample(sample metrics.Sample) sampleEnvelope {
type metricEnvelope (line 38) | type metricEnvelope struct
FILE: internal/output/opentelemetry/attribute.go
function newAttributeSet (line 11) | func newAttributeSet(t *metrics.TagSet) attribute.Set {
FILE: internal/output/opentelemetry/config.go
constant grpcExporterType (line 22) | grpcExporterType = "grpc"
constant httpExporterType (line 26) | httpExporterType = "http"
constant grpcExporterProtocol (line 29) | grpcExporterProtocol = "grpc"
constant httpExporterProtocol (line 31) | httpExporterProtocol = "http/protobuf"
type Config (line 35) | type Config struct
method Apply (line 145) | func (cfg Config) Apply(v Config) Config {
method Validate (line 222) | func (cfg Config) Validate() error {
method validateExporterType (line 240) | func (cfg Config) validateExporterType() error {
method validateExporterProtocol (line 270) | func (cfg Config) validateExporterProtocol() error {
method String (line 301) | func (cfg Config) String() string {
function GetConsolidatedConfig (line 94) | func GetConsolidatedConfig(jsonRawConf json.RawMessage, env map[string]s...
function newDefaultConfig (line 124) | func newDefaultConfig() Config {
function parseJSON (line 325) | func parseJSON(data json.RawMessage) (Config, error) {
function parseEnvs (line 332) | func parseEnvs(env map[string]string) (Config, error) {
FILE: internal/output/opentelemetry/config_test.go
function TestConfig (line 14) | func TestConfig(t *testing.T) {
function TestConfigString (line 228) | func TestConfigString(t *testing.T) {
FILE: internal/output/opentelemetry/exporter.go
function getExporter (line 17) | func getExporter(cfg Config) (metric.Exporter, error) {
function mergeExporterTypeAndProtocol (line 54) | func mergeExporterTypeAndProtocol(cfg Config) string {
function buildHTTPExporter (line 72) | func buildHTTPExporter(
function buildGRPCExporter (line 98) | func buildGRPCExporter(
function parseHeaders (line 123) | func parseHeaders(raw string) (map[string]string, error) {
FILE: internal/output/opentelemetry/output.go
type Output (line 21) | type Output struct
method Description (line 52) | func (o *Output) Description() string {
method StopWithTestError (line 57) | func (o *Output) StopWithTestError(_ error) error {
method Stop (line 71) | func (o *Output) Stop() error {
method Start (line 76) | func (o *Output) Start() error {
method flushMetrics (line 121) | func (o *Output) flushMetrics() {
method dispatch (line 154) | func (o *Output) dispatch(entry metrics.Sample) error {
method pairOfCountersForRate (line 202) | func (o *Output) pairOfCountersForRate(
method singleCounterForRate (line 219) | func (o *Output) singleCounterForRate(
function New (line 35) | func New(p output.Params) (*Output, error) {
function normalizeMetricName (line 240) | func normalizeMetricName(cfg Config, name string) string {
function normalizeUnit (line 244) | func normalizeUnit(vt metrics.ValueType) string {
FILE: internal/output/opentelemetry/output_test.go
type MetricsServer (line 27) | type MetricsServer interface
type baseServer (line 34) | type baseServer struct
method setLastMetrics (line 39) | func (s *baseServer) setLastMetrics(metrics []byte) {
method LastMetrics (line 45) | func (s *baseServer) LastMetrics() []byte {
type httpMetricsServer (line 51) | type httpMetricsServer struct
method Start (line 75) | func (s *httpMetricsServer) Start() error { return nil }
method Stop (line 76) | func (s *httpMetricsServer) Stop() { s.server.Close() }
method Endpoint (line 77) | func (s *httpMetricsServer) Endpoint() string { return s.server.Listen...
function newHTTPServer (line 56) | func newHTTPServer() *httpMetricsServer {
type grpcMetricsServer (line 79) | type grpcMetricsServer struct
method Start (line 103) | func (s *grpcMetricsServer) Start() error {
method Stop (line 120) | func (s *grpcMetricsServer) Stop() {
method Endpoint (line 127) | func (s *grpcMetricsServer) Endpoint() string { return s.listener.Addr...
function newGRPCServer (line 85) | func newGRPCServer() (*grpcMetricsServer, error) {
type grpcMetricsHandler (line 129) | type grpcMetricsHandler struct
method Export (line 134) | func (h *grpcMetricsHandler) Export(_ context.Context, req *collectorm...
function createServer (line 143) | func createServer(t *testing.T, protocol string) MetricsServer {
function TestOutput (line 158) | func TestOutput(t *testing.T) {
function createTestConfig (line 231) | func createTestConfig(protocol, endpoint string) map[string]string {
function setupOutput (line 252) | func setupOutput(t *testing.T, config map[string]string) *Output {
function createTestSample (line 262) | func createTestSample(t *testing.T, registry *metrics.Registry, metricTy...
function validateMetrics (line 278) | func validateMetrics(t *testing.T, data []byte, validate func(*testing.T...
function validateGaugeMetric (line 288) | func validateGaugeMetric(t *testing.T, mr *collectormetrics.ExportMetric...
function validateCounterMetric (line 298) | func validateCounterMetric(t *testing.T, mr *collectormetrics.ExportMetr...
function validateRateMetric (line 308) | func validateRateMetric(t *testing.T, mr *collectormetrics.ExportMetrics...
function validateTrendMetric (line 318) | func validateTrendMetric(t *testing.T, mr *collectormetrics.ExportMetric...
function findMetric (line 329) | func findMetric(mr *collectormetrics.ExportMetricsServiceRequest, name s...
function assertHasAttribute (line 342) | func assertHasAttribute(t *testing.T, attrs []*commonpb.KeyValue, key, v...
FILE: internal/output/opentelemetry/registry.go
type registry (line 12) | type registry struct
method getOrCreateCounter (line 30) | func (r *registry) getOrCreateCounter(name, unit string) (otelMetric.F...
method getOrCreateHistogram (line 55) | func (r *registry) getOrCreateHistogram(name, unit string) (otelMetric...
method getOrCreateCounterForRate (line 80) | func (r *registry) getOrCreateCounterForRate(name string) (otelMetric....
method getOrCreateCountersForRate (line 112) | func (r *registry) getOrCreateCountersForRate(name string) (otelMetric...
method getOrCreateGauge (line 160) | func (r *registry) getOrCreateGauge(name, unit string) (otelMetric.Flo...
function newRegistry (line 23) | func newRegistry(meter otelMetric.Meter, logger logrus.FieldLogger) *reg...
FILE: internal/output/opentelemetry/tls.go
function buildTLSConfig (line 13) | func buildTLSConfig(
FILE: internal/output/prometheusrw/remote/client.go
type HTTPConfig (line 23) | type HTTPConfig struct
type BasicAuth (line 32) | type BasicAuth struct
type WriteClient (line 39) | type WriteClient struct
method Store (line 78) | func (c *WriteClient) Store(ctx context.Context, series []*prompb.Time...
function NewWriteClient (line 46) | func NewWriteClient(endpoint string, cfg *HTTPConfig) (*WriteClient, err...
function newWriteRequestBody (line 122) | func newWriteRequestBody(series []*prompb.TimeSeries) ([]byte, error) {
function validateResponseStatus (line 136) | func validateResponseStatus(code int) error {
FILE: internal/output/prometheusrw/remote/client_test.go
function TestNewWriteClient (line 21) | func TestNewWriteClient(t *testing.T) {
function TestClientStore (line 48) | func TestClientStore(t *testing.T) {
function TestClientStoreHTTPError (line 92) | func TestClientStoreHTTPError(t *testing.T) {
function TestClientStoreHTTPBasic (line 111) | func TestClientStoreHTTPBasic(t *testing.T) {
function TestClientStoreHeaders (line 138) | func TestClientStoreHeaders(t *testing.T) {
function TestNewWriteRequestBody (line 165) | func TestNewWriteRequestBody(t *testing.T) {
function TestNewWriteRequestBodyWithStaleMarker (line 179) | func TestNewWriteRequestBodyWithStaleMarker(t *testing.T) {
function TestValidateStatusCode (line 210) | func TestValidateStatusCode(t *testing.T) {
FILE: internal/output/prometheusrw/remotewrite/config.go
constant defaultServerURL (line 22) | defaultServerURL = "http://localhost:9090/api/v1/write"
constant defaultTimeout (line 23) | defaultTimeout = 5 * time.Second
constant defaultPushInterval (line 24) | defaultPushInterval = 5 * time.Second
constant defaultMetricPrefix (line 25) | defaultMetricPrefix = "k6_"
type Config (line 32) | type Config struct
method RemoteConfig (line 107) | func (conf Config) RemoteConfig() (*remote.HTTPConfig, error) {
method Apply (line 172) | func (conf Config) Apply(applied Config) Config {
function NewConfig (line 90) | func NewConfig() Config {
function GetConsolidatedConfig (line 244) | func GetConsolidatedConfig(jsonRawConf json.RawMessage, env map[string]s...
function envMap (line 278) | func envMap(env map[string]string, prefix string) map[string]string {
function parseEnvs (line 289) | func parseEnvs(env map[string]string) (Config, error) {
function parseJSON (line 321) | func parseJSON(data json.RawMessage) (Config, error) {
function parseArg (line 328) | func parseArg(text string) (Config, error) {
function isSigV4PartiallyConfigured (line 389) | func isSigV4PartiallyConfigured(region, accessKey, secretKey null.String...
FILE: internal/output/prometheusrw/remotewrite/config_test.go
function TestConfigApply (line 20) | func TestConfigApply(t *testing.T) {
function TestConfigRemoteConfig (line 53) | func TestConfigRemoteConfig(t *testing.T) {
function TestConfigRemoteConfigClientCertificateError (line 91) | func TestConfigRemoteConfigClientCertificateError(t *testing.T) {
function TestGetConsolidatedConfig (line 104) | func TestGetConsolidatedConfig(t *testing.T) {
function TestParseServerURL (line 210) | func TestParseServerURL(t *testing.T) {
function TestOptionServerURL (line 232) | func TestOptionServerURL(t *testing.T) {
function TestOptionHeaders (line 267) | func TestOptionHeaders(t *testing.T) {
function TestOptionInsecureSkipTLSVerify (line 313) | func TestOptionInsecureSkipTLSVerify(t *testing.T) {
function TestTLSMinVersion (line 346) | func TestTLSMinVersion(t *testing.T) {
function TestOptionBasicAuth (line 444) | func TestOptionBasicAuth(t *testing.T) {
function TestOptionBearerToken (line 480) | func TestOptionBearerToken(t *testing.T) {
function TestOptionClientCertificate (line 513) | func TestOptionClientCertificate(t *testing.T) {
function TestOptionTrendAsNativeHistogram (line 547) | func TestOptionTrendAsNativeHistogram(t *testing.T) {
function TestOptionPushInterval (line 584) | func TestOptionPushInterval(t *testing.T) {
function TestConfigTrendStats (line 618) | func TestConfigTrendStats(t *testing.T) {
function TestOptionStaleMarker (line 653) | func TestOptionStaleMarker(t *testing.T) {
function TestOptionSigV4 (line 685) | func TestOptionSigV4(t *testing.T) {
FILE: internal/output/prometheusrw/remotewrite/prometheus.go
constant namelbl (line 12) | namelbl = "__name__"
function MapTagSet (line 17) | func MapTagSet(t *metrics.TagSet) []*prompb.Label {
function MapSeries (line 40) | func MapSeries(series metrics.TimeSeries, suffix string) []*prompb.Label {
FILE: internal/output/prometheusrw/remotewrite/prometheus_test.go
function TestMapSeries (line 17) | func TestMapSeries(t *testing.T) {
function buildTimeSeries (line 48) | func buildTimeSeries(name string, value float64, timestamp time.Time) *p...
function assertTimeSeriesEqual (line 66) | func assertTimeSeriesEqual(t *testing.T, expected []*prompb.TimeSeries, ...
function sortByNameLabel (line 76) | func sortByNameLabel(s []*prompb.TimeSeries) {
function findNameLabel (line 83) | func findNameLabel(labels []*prompb.Label) string {
FILE: internal/output/prometheusrw/remotewrite/remotewrite.go
type Output (line 23) | type Output struct
method Description (line 76) | func (o *Output) Description() string {
method Start (line 81) | func (o *Output) Start() error {
method Stop (line 93) | func (o *Output) Stop() error {
method staleMarkers (line 116) | func (o *Output) staleMarkers() []*prompb.TimeSeries {
method setTrendStatsResolver (line 153) | func (o *Output) setTrendStatsResolver(trendStats []string) error {
method flush (line 194) | func (o *Output) flush() {
method convertToPbSeries (line 236) | func (o *Output) convertToPbSeries(samplesContainers []metrics.SampleC...
function New (line 38) | func New(params output.Params) (*Output, error) {
type seriesWithMeasure (line 301) | type seriesWithMeasure struct
method MapPrompb (line 316) | func (swm seriesWithMeasure) MapPrompb() []*prompb.TimeSeries {
type prompbMapper (line 370) | type prompbMapper interface
function newSeriesWithMeasure (line 374) | func newSeriesWithMeasure(
FILE: internal/output/prometheusrw/remotewrite/remotewrite_test.go
function TestOutputDescription (line 19) | func TestOutputDescription(t *testing.T) {
function TestOutputConvertToPbSeries (line 30) | func TestOutputConvertToPbSeries(t *testing.T) {
function TestOutputConvertToPbSeries_WithPreviousState (line 172) | func TestOutputConvertToPbSeries_WithPreviousState(t *testing.T) {
function TestNewSeriesWithK6SinkMeasure (line 246) | func TestNewSeriesWithK6SinkMeasure(t *testing.T) {
function TestNewSeriesWithNativeHistogramMeasure (line 286) | func TestNewSeriesWithNativeHistogramMeasure(t *testing.T) {
function TestOutputSetTrendStatsResolver (line 304) | func TestOutputSetTrendStatsResolver(t *testing.T) {
function TestOutputStaleMarkers (line 356) | func TestOutputStaleMarkers(t *testing.T) {
function TestOutputStopWithStaleMarkers (line 405) | func TestOutputStopWithStaleMarkers(t *testing.T) {
FILE: internal/output/prometheusrw/remotewrite/trend.go
type TrendStatsResolver (line 16) | type TrendStatsResolver
type extendedTrendSink (line 18) | type extendedTrendSink struct
method MapPrompb (line 37) | func (sink *extendedTrendSink) MapPrompb(series metrics.TimeSeries, t ...
function newExtendedTrendSink (line 24) | func newExtendedTrendSink(tsr TrendStatsResolver) (*extendedTrendSink, e...
type trendAsGauges (line 60) | type trendAsGauges struct
method Append (line 79) | func (tg *trendAsGauges) Append(suffix string, v float64) {
method CacheNameIndex (line 103) | func (tg *trendAsGauges) CacheNameIndex() {
type nativeHistogramSink (line 120) | type nativeHistogramSink struct
method Add (line 138) | func (sink *nativeHistogramSink) Add(s metrics.Sample) {
method P (line 157) | func (*nativeHistogramSink) P(_ float64) float64 {
method Format (line 162) | func (*nativeHistogramSink) Format(_ time.Duration) map[string]float64 {
method IsEmpty (line 167) | func (*nativeHistogramSink) IsEmpty() bool {
method Drain (line 172) | func (*nativeHistogramSink) Drain() ([]byte, error) {
method Merge (line 177) | func (*nativeHistogramSink) Merge(_ []byte) error {
method MapPrompb (line 182) | func (sink *nativeHistogramSink) MapPrompb(series metrics.TimeSeries, ...
function newNativeHistogramSink (line 124) | func newNativeHistogramSink(m *metrics.Metric) *nativeHistogramSink {
function histogramToHistogramProto (line 197) | func histogramToHistogramProto(timestamp int64, h prometheus.Histogram) ...
function toBucketSpanProto (line 219) | func toBucketSpanProto(s []*dto.BucketSpan) []*prompb.BucketSpan {
function baseUnit (line 227) | func baseUnit(vt metrics.ValueType) string {
function adaptUnit (line 244) | func adaptUnit(vt metrics.ValueType, v float64) float64 {
FILE: internal/output/prometheusrw/remotewrite/trend_test.go
function TestExtendedTrendSinkMapPrompb (line 17) | func TestExtendedTrendSinkMapPrompb(t *testing.T) {
function TestTrendAsGaugesFindIxName (line 67) | func TestTrendAsGaugesFindIxName(t *testing.T) {
function TestNativeHistogramSinkAdd (line 103) | func TestNativeHistogramSinkAdd(t *testing.T) {
function TestNativeHistogramSinkMapPrompb (line 129) | func TestNativeHistogramSinkMapPrompb(t *testing.T) {
function BenchmarkK6TrendSinkAdd (line 164) | func BenchmarkK6TrendSinkAdd(b *testing.B) {
function TestNativeHistogramSinkMapPrompbWithValueType (line 182) | func TestNativeHistogramSinkMapPrompbWithValueType(t *testing.T) {
function TestBaseUnit (line 206) | func TestBaseUnit(t *testing.T) {
function BenchmarkHistogramSinkAdd (line 222) | func BenchmarkHistogramSinkAdd(b *testing.B) {
FILE: internal/output/prometheusrw/sigv4/const.go
constant awsServiceName (line 5) | awsServiceName = "aps"
constant signingAlgorithm (line 7) | signingAlgorithm = "AWS4-HMAC-SHA256"
constant authorizationHeaderKey (line 9) | authorizationHeaderKey = "Authorization"
constant amzDateKey (line 10) | amzDateKey = "X-Amz-Date"
constant emptyStringSHA256 (line 13) | emptyStringSHA256 = `e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca49...
constant timeFormat (line 16) | timeFormat = "20060102T150405Z"
constant shortTimeFormat (line 19) | shortTimeFormat = "20060102"
constant contentSHAKey (line 22) | contentSHAKey = "X-Amz-Content-Sha256"
FILE: internal/output/prometheusrw/sigv4/sigv4.go
type signer (line 19) | type signer interface
type defaultSigner (line 23) | type defaultSigner struct
method sign (line 47) | func (d *defaultSigner) sign(req *http.Request) error {
method getPayloadHash (line 93) | func (d *defaultSigner) getPayloadHash(req *http.Request) (string, err...
function newDefaultSigner (line 32) | func newDefaultSigner(config *Config) signer {
function buildCredentialScope (line 117) | func buildCredentialScope(signingTime time.Time, region string) string {
function buildCanonicalString (line 126) | func buildCanonicalString(method, uri, query, canonicalHeaders, signedHe...
function buildCanonicalHeaders (line 138) | func buildCanonicalHeaders(
function getCanonicalURI (line 201) | func getCanonicalURI(u *url.URL, noEscape [256]bool) string {
function getCanonicalQueryString (line 205) | func getCanonicalQueryString(u *url.URL) string {
function buildStringToSign (line 218) | func buildStringToSign(amzDate, credentialScope, canonicalRequestString ...
function deriveKey (line 229) | func deriveKey(secretKey, region string) string {
function hmacSHA256 (line 238) | func hmacSHA256(key []byte, data string) []byte {
function sign (line 244) | func sign(signingKey string, strToSign string) string {
FILE: internal/output/prometheusrw/sigv4/sigv4_test.go
function TestBuildCanonicalHeaders (line 13) | func TestBuildCanonicalHeaders(t *testing.T) {
FILE: internal/output/prometheusrw/sigv4/tripper.go
type Tripper (line 10) | type Tripper struct
method RoundTrip (line 55) | func (c *Tripper) RoundTrip(req *http.Request) (*http.Response, error) {
type Config (line 17) | type Config struct
method validate (line 23) | func (c *Config) validate() error {
function NewRoundTripper (line 37) | func NewRoundTripper(config *Config, next http.RoundTripper) (*Tripper, ...
FILE: internal/output/prometheusrw/sigv4/tripper_test.go
function TestTripper_request_includes_required_headers (line 12) | func TestTripper_request_includes_required_headers(t *testing.T) {
function TestConfig_Validation (line 50) | func TestConfig_Validation(t *testing.T) {
FILE: internal/output/prometheusrw/sigv4/util_test.go
function TestStripExcessSpaces (line 10) | func TestStripExcessSpaces(t *testing.T) {
function TestGetUriPath (line 48) | func TestGetUriPath(t *testing.T) {
function TestGetUriPath_invalid_url_noescape (line 105) | func TestGetUriPath_invalid_url_noescape(t *testing.T) {
function TestEscapePath (line 117) | func TestEscapePath(t *testing.T) {
FILE: internal/output/prometheusrw/sigv4/utils.go
function buildAwsNoEscape (line 10) | func buildAwsNoEscape() [256]bool {
function escapePath (line 30) | func escapePath(path string, noEscape [256]bool) string {
function stripExcessSpaces (line 45) | func stripExcessSpaces(str string) string {
function getURIPath (line 71) | func getURIPath(u *url.URL) string {
FILE: internal/output/summary/data.go
type dataModel (line 14) | type dataModel struct
method groupDataFor (line 28) | func (d *dataModel) groupDataFor(scenario string) *aggregatedGroupData {
method storeThresholdsFor (line 36) | func (d *dataModel) storeThresholdsFor(m *metrics.Metric) {
function newDataModel (line 20) | func newDataModel() dataModel {
type metricThresholds (line 49) | type metricThresholds struct
type thresholds (line 54) | type thresholds
type aggregatedGroupData (line 56) | type aggregatedGroupData struct
method groupDataFor (line 72) | func (a *aggregatedGroupData) groupDataFor(group string) *aggregatedGr...
method addSample (line 85) | func (a *aggregatedGroupData) addSample(sample metrics.Sample) {
function newAggregatedGroupData (line 63) | func newAggregatedGroupData() *aggregatedGroupData {
type aggregatedMetricData (line 102) | type aggregatedMetricData
method addSample (line 124) | func (a aggregatedMetricData) addSample(sample metrics.Sample) {
function relayAggregatedMetricFrom (line 106) | func relayAggregatedMetricFrom(m *metrics.Metric) aggregatedMetric {
function summaryMetricInfoFrom (line 114) | func summaryMetricInfoFrom(m *metrics.Metric) summary.MetricInfo {
type aggregatedMetric (line 132) | type aggregatedMetric struct
function newAggregatedMetric (line 137) | func newAggregatedMetric(m *metrics.Metric) aggregatedMetric {
type aggregatedChecksData (line 144) | type aggregatedChecksData struct
method checkFor (line 156) | func (a *aggregatedChecksData) checkFor(name string) *summary.Check {
function newAggregatedChecksData (line 149) | func newAggregatedChecksData() *aggregatedChecksData {
function populateSummaryGroup (line 171) | func populateSummaryGroup(
function summaryThresholds (line 235) | func summaryThresholds(
function populateSummaryChecks (line 277) | func populateSummaryChecks(
function isHTTPMetric (line 318) | func isHTTPMetric(metricName string) bool {
function isExecutionMetric (line 332) | func isExecutionMetric(metricName string) bool {
function isNetworkMetric (line 341) | func isNetworkMetric(metricName string) bool {
function isBrowserMetric (line 345) | func isBrowserMetric(metricName string) bool {
function isWebVitalsMetric (line 349) | func isWebVitalsMetric(metricName string) bool {
function isGrpcMetric (line 353) | func isGrpcMetric(metricName string) bool {
function isWebSocketsMetric (line 357) | func isWebSocketsMetric(metricName string) bool {
function isSkippedMetric (line 361) | func isSkippedMetric(summaryMode summary.Mode, metricName string) bool {
function oneOfMetrics (line 376) | func oneOfMetrics(metricName string, values ...string) bool {
function calculateRate (line 385) | func calculateRate(count float64, duration time.Duration) float64 {
function metricValueGetter (line 392) | func metricValueGetter(summaryTrendStats []string) func(metrics.Sink, ti...
function extractPercentileThresholdSource (line 427) | func extractPercentileThresholdSource(source string) (agg string, percen...
FILE: internal/output/summary/data_test.go
function Test_extractPercentileThresholdSource (line 9) | func Test_extractPercentileThresholdSource(t *testing.T) {
FILE: internal/output/summary/summary.go
constant flushPeriod (line 17) | flushPeriod = 200 * time.Millisecond
type Output (line 22) | type Output struct
method Description (line 52) | func (o *Output) Description() string {
method Start (line 58) | func (o *Output) Start() error {
method Stop (line 69) | func (o *Output) Stop() error {
method flushMetrics (line 74) | func (o *Output) flushMetrics() {
method flushSample (line 84) | func (o *Output) flushSample(sample metrics.Sample) {
method Summary (line 120) | func (o *Output) Summary(
method storeSample (line 165) | func (o *Output) storeSample(sample metrics.Sample) {
method processObservedMetrics (line 190) | func (o *Output) processObservedMetrics(observedMetrics map[string]*me...
function New (line 33) | func New(params output.Params) (*Output, error) {
constant OutputName (line 49) | OutputName = "summary"
FILE: internal/output/summary/summary_test.go
function TestOutput_Summary (line 19) | func TestOutput_Summary(t *testing.T) {
function TestOutput_AddMetricSamples (line 199) | func TestOutput_AddMetricSamples(t *testing.T) {
FILE: internal/secretsource/file/file.go
function init (line 13) | func init() {
type fileSecretSource (line 61) | type fileSecretSource struct
method parseArg (line 41) | func (fss *fileSecretSource) parseArg(config string) error {
method Description (line 66) | func (fss *fileSecretSource) Description() string {
method Get (line 70) | func (fss *fileSecretSource) Get(key string) (string, error) {
FILE: internal/secretsource/file/file_test.go
function TestParseArg (line 9) | func TestParseArg(t *testing.T) {
FILE: internal/secretsource/mock/mock.go
function init (line 12) | func init() {
function newMockSecretSourceFromParams (line 16) | func newMockSecretSourceFromParams(params secretsource.Params) (secretso...
function NewMockSecretSource (line 31) | func NewMockSecretSource(secrets map[string]string) secretsource.Source {
type mockSecretSource (line 37) | type mockSecretSource struct
method Description (line 41) | func (mss *mockSecretSource) Description() string {
method Get (line 45) | func (mss *mockSecretSource) Get(key string) (string, error) {
FILE: internal/secretsource/url/url.go
type extConfig (line 34) | type extConfig struct
method Apply (line 84) | func (c extConfig) Apply(cfg extConfig) extConfig {
function newConfig (line 72) | func newConfig() extConfig {
function init (line 127) | func init() {
type urlSecrets (line 145) | type urlSecrets struct
method Description (line 152) | func (us *urlSecrets) Description() string {
method Get (line 156) | func (us *urlSecrets) Get(key string) (string, error) {
type limiter (line 215) | type limiter interface
function newLimiter (line 219) | func newLimiter(requestsPerMinuteLimit, requestsBurst int) *rate.Limiter {
function extractSecretFromResponse (line 230) | func extractSecretFromResponse(body io.Reader, responsePath string) (str...
function retry (line 266) | func retry(
function parseInlineConfig (line 322) | func parseInlineConfig(configArg string, fs fsext.Fs) (extConfig, error) {
function parseInlineConfigOption (line 356) | func parseInlineConfigOption(key, value string, cfg *extConfig) error {
function parseIntOption (line 380) | func parseIntOption(value string, target *null.Int, optionName string) e...
function parseDurationOption (line 390) | func parseDurationOption(value string, target *types.NullDuration, optio...
function parseHeaderOption (line 399) | func parseHeaderOption(key, value string, cfg *extConfig) error {
function parseEnvConfig (line 426) | func parseEnvConfig(env map[string]string) (extConfig, error) {
function loadConfigFromFile (line 494) | func loadConfigFromFile(configPath string, fs fsext.Fs) (extConfig, erro...
function validateURLTemplate (line 514) | func validateURLTemplate(urlTemplate string) error {
function getConfig (line 539) | func getConfig(arg string, fs fsext.Fs, env map[string]string) (extConfi...
function validateConfig (line 572) | func validateConfig(config extConfig) error {
FILE: internal/secretsource/url/url_test.go
constant testConfigFile (line 23) | testConfigFile = "/config.json"
function TestInlineConfig (line 25) | func TestInlineConfig(t *testing.T) {
function TestExtractSecretFromResponse (line 130) | func TestExtractSecretFromResponse(t *testing.T) {
function TestGetConfig (line 217) | func TestGetConfig(t *testing.T) {
function TestURLSecrets_Get (line 392) | func TestURLSecrets_Get(t *testing.T) {
function TestURLSecrets_Get_Retry (line 548) | func TestURLSecrets_Get_Retry(t *testing.T) {
function TestGetConfig_Retry (line 894) | func TestGetConfig_Retry(t *testing.T) {
function TestURLSecrets_Description (line 998) | func TestURLSecrets_Description(t *testing.T) {
function TestURLSecrets_JSONResponseIntegration (line 1012) | func TestURLSecrets_JSONResponseIntegration(t *testing.T) {
function TestNewLimiter (line 1233) | func TestNewLimiter(t *testing.T) {
type mockLimiter (line 1251) | type mockLimiter struct
method Wait (line 1255) | func (m *mockLimiter) Wait(_ context.Context) error {
function TestEnvConfig (line 1262) | func TestEnvConfig(t *testing.T) {
function TestURLSecrets_Get_WithEnvConfig (line 1400) | func TestURLSecrets_Get_WithEnvConfig(t *testing.T) {
FILE: internal/ui/banner.go
function Banner (line 6) | func Banner() string {
FILE: internal/ui/console/writer.go
type Writer (line 11) | type Writer struct
method Write (line 21) | func (w *Writer) Write(p []byte) (n int, err error) {
FILE: internal/ui/form.go
type Field (line 11) | type Field interface
type Form (line 22) | type Form struct
method Run (line 28) | func (f Form) Run(r io.Reader, w io.Writer) (map[string]string, error) {
FILE: internal/ui/form_fields.go
type StringField (line 21) | type StringField struct
method GetKey (line 31) | func (f StringField) GetKey() string {
method GetLabel (line 36) | func (f StringField) GetLabel() string {
method GetLabelExtra (line 41) | func (f StringField) GetLabelExtra() string {
method GetContents (line 48) | func (f StringField) GetContents(r io.Reader) (string, error) {
method Clean (line 68) | func (f StringField) Clean(s string) (string, error) {
type PasswordField (line 83) | type PasswordField struct
method GetKey (line 90) | func (f PasswordField) GetKey() string {
method GetLabel (line 95) | func (f PasswordField) GetLabel() string {
method GetLabelExtra (line 100) | func (f PasswordField) GetLabelExtra() string {
method GetContents (line 105) | func (f PasswordField) GetContents(r io.Reader) (string, error) {
method Clean (line 125) | func (f PasswordField) Clean(s string) (string, error) {
FILE: internal/ui/form_fields_test.go
function TestStringField (line 9) | func TestStringField(t *testing.T) {
FILE: internal/ui/form_test.go
function TestForm (line 11) | func TestForm(t *testing.T) {
FILE: internal/ui/pb/helpers.go
function GetFixedLengthIntFormat (line 14) | func GetFixedLengthIntFormat(maxValue int64) (formatStr string) {
function GetFixedLengthFloatFormat (line 32) | func GetFixedLengthFloatFormat(maxValue float64, precision uint) (format...
function GetFixedLengthDuration (line 54) | func GetFixedLengthDuration(d, maxDuration time.Duration) (result string) {
function Clampf (line 114) | func Clampf(val, floor, ceiling float64) float64 {
FILE: internal/ui/pb/helpers_test.go
function TestGetFixedLengthInt (line 16) | func TestGetFixedLengthInt(t *testing.T) {
function TestGetFixedLengthFloat (line 58) | func TestGetFixedLengthFloat(t *testing.T) {
function TestGetFixedLengthDuration (line 107) | func TestGetFixedLengthDuration(t *testing.T) {
FILE: internal/ui/pb/progressbar.go
constant DefaultWidth (line 24) | DefaultWidth = 40
constant minWidth (line 27) | minWidth = 8
type Status (line 31) | type Status
constant Running (line 35) | Running Status = ' '
constant Waiting (line 36) | Waiting Status = '•'
constant Stopping (line 37) | Stopping Status = '↓'
constant Interrupted (line 38) | Interrupted Status = '✗'
constant Done (line 39) | Done Status = '✓'
type ProgressBar (line 44) | type ProgressBar struct
method Left (line 110) | func (pb *ProgressBar) Left() string {
method renderLeft (line 119) | func (pb *ProgressBar) renderLeft(maxLen int) string {
method Modify (line 132) | func (pb *ProgressBar) Modify(options ...ProgressBarOption) {
method Render (line 203) | func (pb *ProgressBar) Render(maxLeft, widthDelta int) ProgressBarRend...
type ProgressBarOption (line 57) | type ProgressBarOption
function WithLeft (line 60) | func WithLeft(left func() string) ProgressBarOption {
function WithConstLeft (line 65) | func WithConstLeft(left string) ProgressBarOption {
function WithLogger (line 72) | func WithLogger(logger *logrus.Entry) ProgressBarOption {
function WithProgress (line 77) | func WithProgress(progress func() (float64, []string)) ProgressBarOption {
function WithStatus (line 82) | func WithStatus(status Status) ProgressBarOption {
function WithConstProgress (line 87) | func WithConstProgress(progress float64, right ...string) ProgressBarOpt...
function WithHijack (line 94) | func WithHijack(hijack func() string) ProgressBarOption {
function New (line 100) | func New(options ...ProgressBarOption) *ProgressBar {
type ProgressBarRender (line 144) | type ProgressBarRender struct
method Status (line 153) | func (pbr *ProgressBarRender) Status() string {
method Progress (line 167) | func (pbr *ProgressBarRender) Progress() string {
method String (line 181) | func (pbr ProgressBarRender) String() string {
FILE: internal/ui/pb/progressbar_test.go
function TestProgressBarRender (line 19) | func TestProgressBarRender(t *testing.T) {
function TestProgressBarRenderPaddingMaxLeft (line 82) | func TestProgressBarRenderPaddingMaxLeft(t *testing.T) {
function TestProgressBarLeft (line 105) | func TestProgressBarLeft(t *testing.T) {
FILE: internal/usage/usage.go
type Usage (line 11) | type Usage struct
method Strings (line 27) | func (u *Usage) Strings(originalKey, value string) error {
method Uint64 (line 49) | func (u *Usage) Uint64(originalKey string, value uint64) error {
method createLevel (line 71) | func (u *Usage) createLevel(key string) (map[string]any, string, error) {
method Map (line 93) | func (u *Usage) Map() map[string]any {
function New (line 17) | func New() *Usage {
function deepClone (line 100) | func deepClone(m map[string]any) map[string]any {
FILE: internal/usage/usage_test.go
function TestErrors (line 9) | func TestErrors(t *testing.T) {
FILE: js/common/bridge.go
function FieldName (line 20) | func FieldName(_ reflect.Type, f reflect.StructField) string {
function MethodName (line 56) | func MethodName(_ reflect.Type, m reflect.Method) string {
type FieldNameMapper (line 71) | type FieldNameMapper struct
method FieldName (line 75) | func (FieldNameMapper) FieldName(t reflect.Type, f reflect.StructField...
method MethodName (line 81) | func (FieldNameMapper) MethodName(t reflect.Type, m reflect.Method) st...
FILE: js/common/bridge_test.go
type bridgeTestFieldsType (line 11) | type bridgeTestFieldsType struct
type bridgeTestMethodsType (line 19) | type bridgeTestMethodsType struct
method ExportedFn (line 21) | func (bridgeTestMethodsType) ExportedFn() {}
method unexportedFn (line 24) | func (bridgeTestMethodsType) unexportedFn() {}
method ExportedPtrFn (line 26) | func (*bridgeTestMethodsType) ExportedPtrFn() {}
method unexportedPtrFn (line 29) | func (*bridgeTestMethodsType) unexportedPtrFn() {}
type bridgeTestOddFieldsType (line 31) | type bridgeTestOddFieldsType struct
type bridgeTestConstructorType (line 36) | type bridgeTestConstructorType struct
method XConstructor (line 40) | func (bridgeTestConstructorType) XConstructor() bridgeTestConstructorS...
type bridgeTestConstructorSpawnedType (line 38) | type bridgeTestConstructorSpawnedType struct
function TestFieldNameMapper (line 44) | func TestFieldNameMapper(t *testing.T) {
FILE: js/common/event.go
type Events (line 7) | type Events struct
FILE: js/common/frozen_object.go
function FreezeObject (line 10) | func FreezeObject(rt *sobek.Runtime, obj sobek.Value) error {
type freezing (line 29) | type freezing struct
method deepFreeze (line 36) | func (f *freezing) deepFreeze(val sobek.Value) error {
FILE: js/common/frozen_object_test.go
function TestFrozenObject (line 11) | func TestFrozenObject(t *testing.T) {
FILE: js/common/init_error.go
type InitContextError (line 4) | type InitContextError
method Error (line 11) | func (i InitContextError) Error() string {
method String (line 15) | func (i InitContextError) String() string {
function NewInitContextError (line 7) | func NewInitContextError(msg string) InitContextError {
FILE: js/common/initenv.go
type InitEnvironment (line 13) | type InitEnvironment struct
method GetAbsFilePath (line 28) | func (ie *InitEnvironment) GetAbsFilePath(filename string) string {
FILE: js/common/interrupt_error.go
function UnwrapSobekInterruptedError (line 10) | func UnwrapSobekInterruptedError(err error) error {
FILE: js/common/randsource.go
function NewRandSource (line 16) | func NewRandSource() sobek.RandSource {
FILE: js/common/tags.go
function ApplyCustomUserTags (line 15) | func ApplyCustomUserTags(rt *sobek.Runtime, tagsAndMeta *metrics.TagsAnd...
function ApplyCustomUserTag (line 33) | func ApplyCustomUserTag(tagsAndMeta *metrics.TagsAndMeta, key string, va...
function ApplyCustomUserMetadata (line 60) | func ApplyCustomUserMetadata(tagsAndMeta *metrics.TagsAndMeta, key strin...
FILE: js/common/util.go
function Throw (line 13) | func Throw(rt *sobek.Runtime, err error) {
function GetReader (line 21) | func GetReader(data any) (io.Reader, error) {
function ToBytes (line 37) | func ToBytes(data any) ([]byte, error) {
function ToString (line 51) | func ToString(data any) (string, error) {
function IsNullish (line 65) | func IsNullish(v sobek.Value) bool {
function IsAsyncFunction (line 70) | func IsAsyncFunction(rt *sobek.Runtime, val sobek.Value) bool {
FILE: js/common/util_test.go
function TestThrow (line 13) | func TestThrow(t *testing.T) {
function TestToBytes (line 27) | func TestToBytes(t *testing.T) {
function TestToString (line 55) | func TestToString(t *testing.T) {
FILE: js/modules/cjsmodule.go
type cjsModule (line 11) | type cjsModule struct
method Link (line 21) | func (cm *cjsModule) Link() error { return nil }
method InitializeEnvironment (line 23) | func (cm *cjsModule) InitializeEnvironment() error { return nil }
method Instantiate (line 25) | func (cm *cjsModule) Instantiate(_ *sobek.Runtime) (sobek.CyclicModule...
method RequestedModules (line 29) | func (cm *cjsModule) RequestedModules() []string { return nil }
method Evaluate (line 31) | func (cm *cjsModule) Evaluate(_ *sobek.Runtime) *sobek.Promise {
method GetExportedNames (line 35) | func (cm *cjsModule) GetExportedNames(callback func([]string), _ ...so...
method ResolveExport (line 44) | func (cm *cjsModule) ResolveExport(exportName string, _ ...sobek.Resol...
function newCjsModule (line 17) | func newCjsModule(prg *sobek.Program) sobek.ModuleRecord {
type cjsModuleInstance (line 51) | type cjsModuleInstance struct
method HasTLA (line 57) | func (cmi *cjsModuleInstance) HasTLA() bool { return false }
method RequestedModules (line 59) | func (cmi *cjsModuleInstance) RequestedModules() []string { return cmi...
method ExecuteModule (line 61) | func (cmi *cjsModuleInstance) ExecuteModule(
method GetBindingValue (line 102) | func (cmi *cjsModuleInstance) GetBindingValue(name string) sobek.Value {
function cjsModuleFromString (line 115) | func cjsModuleFromString(prg *ast.Program) (sobek.ModuleRecord, error) {
FILE: js/modules/gomodule.go
type goModule (line 8) | type goModule struct
method Link (line 14) | func (gm *goModule) Link() error { return nil }
method RequestedModules (line 16) | func (gm *goModule) RequestedModules() []string { return nil }
method InitializeEnvironment (line 18) | func (gm *goModule) InitializeEnvironment() error { return nil }
method Instantiate (line 20) | func (gm *goModule) Instantiate(rt *sobek.Runtime) (sobek.CyclicModule...
method Evaluate (line 49) | func (gm *goModule) Evaluate(_ *sobek.Runtime) *sobek.Promise { panic(...
method GetExportedNames (line 51) | func (gm *goModule) GetExportedNames(callback func([]string), _ ...sob...
method ResolveExport (line 60) | func (gm *goModule) ResolveExport(exportName string, _ ...sobek.Resolv...
type goModuleInstance (line 67) | type goModuleInstance struct
method ExecuteModule (line 73) | func (gmi *goModuleInstance) ExecuteModule(_ *sobek.Runtime, _, _ func...
method HasTLA (line 76) | func (gmi *goModuleInstance) HasTLA() bool { return false }
method GetBindingValue (line 78) | func (gmi *goModuleInstance) GetBindingValue(name string) (v sobek.Val...
method getDefaultExport (line 90) | func (gmi *goModuleInstance) getDefaultExport() sobek.Value {
FILE: js/modules/gomodule_basic.go
type basicGoModule (line 8) | type basicGoModule struct
method Link (line 14) | func (bgm *basicGoModule) Link() error { return nil }
method Evaluate (line 16) | func (bgm *basicGoModule) Evaluate(_ *sobek.Runtime) *sobek.Promise {
method InitializeEnvironment (line 20) | func (bgm *basicGoModule) InitializeEnvironment() error { return nil }
method Instantiate (line 22) | func (bgm *basicGoModule) Instantiate(rt *sobek.Runtime) (sobek.Cyclic...
method RequestedModules (line 38) | func (bgm *basicGoModule) RequestedModules() []string { return nil }
method ResolveExport (line 40) | func (bgm *basicGoModule) ResolveExport(name string, _ ...sobek.Resolv...
method GetExportedNames (line 47) | func (bgm *basicGoModule) GetExportedNames(callback func([]string), _ ...
type basicGoModuleInstance (line 56) | type basicGoModuleInstance struct
method GetBindingValue (line 61) | func (bgmi *basicGoModuleInstance) GetBindingValue(n string) sobek.Val...
method HasTLA (line 68) | func (bgmi *basicGoModuleInstance) HasTLA() bool { return false }
method ExecuteModule (line 70) | func (bgmi *basicGoModuleInstance) ExecuteModule(
FILE: js/modules/k6/html/element.go
constant ElementNode (line 15) | ElementNode = 1
constant TextNode (line 16) | TextNode = 3
constant CommentNode (line 17) | CommentNode = 8
constant DocumentNode (line 18) | DocumentNode = 9
constant DoctypeNode (line 19) | DoctypeNode = 10
type Element (line 22) | type Element struct
method attrAsString (line 34) | func (e Element) attrAsString(name string) string {
method resolveURL (line 42) | func (e Element) resolveURL(val string) (*url.URL, bool) {
method attrAsURL (line 56) | func (e Element) attrAsURL(name string) (*url.URL, bool) {
method attrAsURLString (line 65) | func (e Element) attrAsURLString(name string, defaultWhenNoAttr string...
method attrAsInt (line 78) | func (e Element) attrAsInt(name string, defaultVal int) int {
method attrIsPresent (line 92) | func (e Element) attrIsPresent(name string) bool {
method ownerFormSel (line 97) | func (e Element) ownerFormSel() (*goquery.Selection, bool) {
method ownerFormVal (line 116) | func (e Element) ownerFormVal() sobek.Value {
method elemLabels (line 124) | func (e Element) elemLabels() []sobek.Value {
method splitAttr (line 142) | func (e Element) splitAttr(attrName string) []string {
method idOrNameAttr (line 152) | func (e Element) idOrNameAttr() (string, bool) {
method GetAttribute (line 176) | func (e Element) GetAttribute(name string) sobek.Value {
method GetAttributeNode (line 180) | func (e Element) GetAttributeNode(name string) sobek.Value {
method HasAttribute (line 188) | func (e Element) HasAttribute(name string) bool {
method HasAttributes (line 193) | func (e Element) HasAttributes() bool {
method Attributes (line 197) | func (e Element) Attributes() map[string]Attribute {
method ToString (line 206) | func (e Element) ToString() sobek.Value {
method HasChildNodes (line 218) | func (e Element) HasChildNodes() bool {
method TextContent (line 222) | func (e Element) TextContent() string {
method Id (line 227) | func (e Element) Id() string {
method IsEqualNode (line 231) | func (e Element) IsEqualNode(v sobek.Value) bool {
method IsSameNode (line 242) | func (e Element) IsSameNode(v sobek.Value) bool {
method Selection (line 258) | func (e Element) Selection() Selection {
method GetElementsByClassName (line 262) | func (e Element) GetElementsByClassName(name string) []sobek.Value {
method GetElementsByTagName (line 266) | func (e Element) GetElementsByTagName(name string) []sobek.Value {
method QuerySelector (line 270) | func (e Element) QuerySelector(selector string) sobek.Value {
method QuerySelectorAll (line 274) | func (e Element) QuerySelectorAll(selector string) []sobek.Value {
method NodeName (line 278) | func (e Element) NodeName() string {
method FirstChild (line 282) | func (e Element) FirstChild() sobek.Value {
method LastChild (line 286) | func (e Element) LastChild() sobek.Value {
method FirstElementChild (line 290) | func (e Element) FirstElementChild() sobek.Value {
method LastElementChild (line 298) | func (e Element) LastElementChild() sobek.Value {
method PreviousSibling (line 306) | func (e Element) PreviousSibling() sobek.Value {
method NextSibling (line 310) | func (e Element) NextSibling() sobek.Value {
method PreviousElementSibling (line 314) | func (e Element) PreviousElementSibling() sobek.Value {
method NextElementSibling (line 322) | func (e Element) NextElementSibling() sobek.Value {
method ParentNode (line 330) | func (e Element) ParentNode() sobek.Value {
method ParentElement (line 338) | func (e Element) ParentElement() sobek.Value {
method ChildNodes (line 346) | func (e Element) ChildNodes() []sobek.Value {
method Children (line 350) | func (e Element) Children() []sobek.Value {
method ChildElementCount (line 354) | func (e Element) ChildElementCount() int {
method ClassList (line 358) | func (e Element) ClassList() []string {
method ClassName (line 366) | func (e Element) ClassName() sobek.Value {
method Lang (line 370) | func (e Element) Lang() sobek.Value {
method OwnerDocument (line 378) | func (e Element) OwnerDocument() sobek.Value {
method NamespaceURI (line 386) | func (e Element) NamespaceURI() string {
method IsDefaultNamespace (line 390) | func (e Element) IsDefaultNamespace() bool {
method InnerHTML (line 404) | func (e Element) InnerHTML() sobek.Value {
method NodeType (line 408) | func (e Element) NodeType() sobek.Value {
method NodeValue (line 430) | func (e Element) NodeValue() sobek.Value {
method Contains (line 443) | func (e Element) Contains(v sobek.Value) bool {
method Matches (line 453) | func (e Element) Matches(selector string) bool {
type Attribute (line 27) | type Attribute struct
method Prefix (line 164) | func (a Attribute) Prefix() string {
method NamespaceURI (line 168) | func (a Attribute) NamespaceURI() string {
method LocalName (line 172) | func (a Attribute) LocalName() string {
function getOwnerDocNode (line 394) | func getOwnerDocNode(node *gohtml.Node) *gohtml.Node {
FILE: js/modules/k6/html/element_test.go
constant testHTMLElem (line 10) | testHTMLElem = `
function TestElement (line 34) | func TestElement(t *testing.T) {
FILE: js/modules/k6/html/elements.go
constant AnchorTagName (line 24) | AnchorTagName = "a"
constant AreaTagName (line 25) | AreaTagName = "area"
constant AudioTagName (line 26) | AudioTagName = "audio"
constant BaseTagName (line 27) | BaseTagName = "base"
constant ButtonTagName (line 28) | ButtonTagName = "button"
constant CanvasTagName (line 29) | CanvasTagName = "canvas"
constant DataTagName (line 30) | DataTagName = "data"
constant DataListTagName (line 31) | DataListTagName = "datalist"
constant DelTagName (line 32) | DelTagName = "del"
constant EmbedTagName (line 33) | EmbedTagName = "embed"
constant FieldSetTagName (line 34) | FieldSetTagName = "fieldset"
constant FormTagName (line 35) | FormTagName = "form"
constant IFrameTagName (line 36) | IFrameTagName = "iframe"
constant ImageTagName (line 37) | ImageTagName = "img"
constant InputTagName (line 38) | InputTagName = "input"
constant InsTagName (line 39) | InsTagName = "ins"
constant KeygenTagName (line 40) | KeygenTagName = "keygen"
constant LabelTagName (line 41) | LabelTagName = "label"
constant LegendTagName (line 42) | LegendTagName = "legend"
constant LiTagName (line 43) | LiTagName = "li"
constant LinkTagName (line 44) | LinkTagName = "link"
constant MapTagName (line 45) | MapTagName = "map"
constant MetaTagName (line 46) | MetaTagName = "meta"
constant MeterTagName (line 47) | MeterTagName = "meter"
constant ObjectTagName (line 48) | ObjectTagName = "object"
constant OListTagName (line 49) | OListTagName = "ol"
constant OptGroupTagName (line 50) | OptGroupTagName = "optgroup"
constant OptionTagName (line 51) | OptionTagName = "option"
constant OutputTagName (line 52) | OutputTagName = "output"
constant ParamTagName (line 53) | ParamTagName = "param"
constant PreTagName (line 54) | PreTagName = "pre"
constant ProgressTagName (line 55) | ProgressTagName = "progress"
constant QuoteTagName (line 56) | QuoteTagName = "quote"
constant ScriptTagName (line 57) | ScriptTagName = "script"
constant SelectTagName (line 58) | SelectTagName = "select"
constant SourceTagName (line 59) | SourceTagName = "source"
constant StyleTagName (line 60) | StyleTagName = "style"
constant TableTagName (line 61) | TableTagName = "table"
constant TableHeadTagName (line 62) | TableHeadTagName = "thead"
constant TableFootTagName (line 63) | TableFootTagName = "tfoot"
constant TableBodyTagName (line 64) | TableBodyTagName = "tbody"
constant TableRowTagName (line 65) | TableRowTagName = "tr"
constant TableColTagName (line 66) | TableColTagName = "col"
constant TableDataCellTagName (line 67) | TableDataCellTagName = "td"
constant TableHeaderCellTagName (line 68) | TableHeaderCellTagName = "th"
constant TextAreaTagName (line 69) | TextAreaTagName = "textarea"
constant TimeTagName (line 70) | TimeTagName = "time"
constant TitleTagName (line 71) | TitleTagName = "title"
constant TrackTagName (line 72) | TrackTagName = "track"
constant UListTagName (line 73) | UListTagName = "ul"
constant VideoTagName (line 74) | VideoTagName = "video"
constant methodPost (line 76) | methodPost = "post"
constant methodGet (line 77) | methodGet = "get"
type HrefElement (line 83) | type HrefElement struct
method hrefURL (line 142) | func (h HrefElement) hrefURL() *url.URL {
method Hash (line 150) | func (h HrefElement) Hash() string {
method Host (line 158) | func (h HrefElement) Host() string {
method Hostname (line 177) | func (h HrefElement) Hostname() string {
method Port (line 191) | func (h HrefElement) Port() string {
method Username (line 205) | func (h HrefElement) Username() string {
method Password (line 213) | func (h HrefElement) Password() string {
method Origin (line 227) | func (h HrefElement) Origin() string {
method Pathname (line 241) | func (h HrefElement) Pathname() string {
method Protocol (line 245) | func (h HrefElement) Protocol() string {
method RelList (line 253) | func (h HrefElement) RelList() []string {
method Search (line 257) | func (h HrefElement) Search() string {
method Text (line 265) | func (h HrefElement) Text() string {
type MediaElement (line 84) | type MediaElement struct
method TextTracks (line 745) | func (m MediaElement) TextTracks() []sobek.Value {
type FormFieldElement (line 85) | type FormFieldElement struct
method Form (line 269) | func (f FormFieldElement) Form() sobek.Value {
method formOrElemAttr (line 273) | func (f FormFieldElement) formOrElemAttr(attrName string) (string, boo...
method FormAction (line 291) | func (f FormFieldElement) FormAction() string {
method FormEnctype (line 309) | func (f FormFieldElement) FormEnctype() string {
method FormMethod (line 322) | func (f FormFieldElement) FormMethod() string {
method FormNoValidate (line 333) | func (f FormFieldElement) FormNoValidate() bool {
method FormTarget (line 338) | func (f FormFieldElement) FormTarget() string {
method Labels (line 343) | func (f FormFieldElement) Labels() []sobek.Value {
method Name (line 347) | func (f FormFieldElement) Name() string {
type ModElement (line 86) | type ModElement struct
type TableSectionElement (line 87) | type TableSectionElement struct
method Rows (line 693) | func (t TableSectionElement) Rows() []sobek.Value {
type TableCellElement (line 88) | type TableCellElement struct
method CellIndex (line 697) | func (t TableCellElement) CellIndex() int {
type AnchorElement (line 89) | type AnchorElement struct
type AreaElement (line 90) | type AreaElement struct
type AudioElement (line 91) | type AudioElement struct
type BaseElement (line 92) | type BaseElement struct
type ButtonElement (line 93) | type ButtonElement struct
method Value (line 351) | func (b ButtonElement) Value() string {
type CanvasElement (line 94) | type CanvasElement struct
method Width (line 355) | func (c CanvasElement) Width() int {
method Height (line 359) | func (c CanvasElement) Height() int {
type DataElement (line 95) | type DataElement struct
type DataListElement (line 96) | type DataListElement struct
method Options (line 363) | func (d DataListElement) Options() []sobek.Value {
type DelElement (line 97) | type DelElement struct
type InsElement (line 98) | type InsElement struct
type EmbedElement (line 99) | type EmbedElement struct
type FieldSetElement (line 100) | type FieldSetElement struct
method Form (line 367) | func (f FieldSetElement) Form() sobek.Value {
method Type (line 375) | func (f FieldSetElement) Type() string {
method Elements (line 379) | func (f FieldSetElement) Elements() []sobek.Value {
method Validity (line 383) | func (f FieldSetElement) Validity() sobek.Value {
type FormElement (line 101) | type FormElement struct
method Elements (line 387) | func (f FormElement) Elements() []sobek.Value {
method Length (line 391) | func (f FormElement) Length() int {
method Method (line 395) | func (f FormElement) Method() string {
type IFrameElement (line 102) | type IFrameElement struct
type ImageElement (line 103) | type ImageElement struct
type InputElement (line 104) | type InputElement struct
method List (line 403) | func (i InputElement) List() sobek.Value {
type KeygenElement (line 105) | type KeygenElement struct
method Form (line 431) | func (k KeygenElement) Form() sobek.Value {
method Labels (line 435) | func (k KeygenElement) Labels() []sobek.Value {
type LabelElement (line 106) | type LabelElement struct
method Control (line 439) | func (l LabelElement) Control() sobek.Value {
method Form (line 453) | func (l LabelElement) Form() sobek.Value {
type LegendElement (line 107) | type LegendElement struct
method Form (line 457) | func (l LegendElement) Form() sobek.Value {
type LiElement (line 108) | type LiElement struct
type LinkElement (line 109) | type LinkElement struct
method RelList (line 461) | func (l LinkElement) RelList() []string {
type MapElement (line 110) | type MapElement struct
method Areas (line 465) | func (m MapElement) Areas() []sobek.Value {
method Images (line 469) | func (m MapElement) Images() []sobek.Value {
type MetaElement (line 111) | type MetaElement struct
type MeterElement (line 112) | type MeterElement struct
method Labels (line 480) | func (m MeterElement) Labels() []sobek.Value {
type ObjectElement (line 113) | type ObjectElement struct
method Form (line 484) | func (o ObjectElement) Form() sobek.Value {
type OListElement (line 114) | type OListElement struct
type OptGroupElement (line 115) | type OptGroupElement struct
type OptionElement (line 116) | type OptionElement struct
method Disabled (line 488) | func (o OptionElement) Disabled() bool {
method Form (line 502) | func (o OptionElement) Form() sobek.Value {
method Index (line 522) | func (o OptionElement) Index() int {
method Label (line 531) | func (o OptionElement) Label() string {
method Text (line 539) | func (o OptionElement) Text() string {
method Value (line 543) | func (o OptionElement) Value() string {
type OutputElement (line 117) | type OutputElement struct
method Form (line 547) | func (o OutputElement) Form() sobek.Value {
method Labels (line 551) | func (o OutputElement) Labels() []sobek.Value {
method Value (line 555) | func (o OutputElement) Value() string {
method DefaultValue (line 559) | func (o OutputElement) DefaultValue() string {
type ParamElement (line 118) | type ParamElement struct
type PreElement (line 119) | type PreElement struct
type ProgressElement (line 120) | type ProgressElement struct
method Max (line 563) | func (p ProgressElement) Max() float64 {
method calcProgress (line 577) | func (p ProgressElement) calcProgress(defaultVal float64) float64 {
method Value (line 591) | func (p ProgressElement) Value() float64 {
method Position (line 595) | func (p ProgressElement) Position() float64 {
method Labels (line 599) | func (p ProgressElement) Labels() []sobek.Value {
type QuoteElement (line 121) | type QuoteElement struct
type ScriptElement (line 122) | type ScriptElement struct
method Text (line 603) | func (s ScriptElement) Text() string {
type SelectElement (line 123) | type SelectElement struct
method Form (line 607) | func (s SelectElement) Form() sobek.Value {
method Labels (line 611) | func (s SelectElement) Labels() []sobek.Value {
method Length (line 615) | func (s SelectElement) Length() int {
method Options (line 619) | func (s SelectElement) Options() []sobek.Value {
method SelectedIndex (line 623) | func (s SelectElement) SelectedIndex() int {
method SelectedOptions (line 631) | func (s SelectElement) SelectedOptions() []sobek.Value {
method Size (line 635) | func (s SelectElement) Size() int {
method Type (line 642) | func (s SelectElement) Type() string {
method Value (line 649) | func (s SelectElement) Value() string {
type SourceElement (line 124) | type SourceElement struct
type StyleElement (line 125) | type StyleElement struct
method Type (line 657) | func (s StyleElement) Type() string {
type TableElement (line 126) | type TableElement struct
method firstChild (line 665) | func (t TableElement) firstChild(elemName string) sobek.Value {
method Caption (line 673) | func (t TableElement) Caption() sobek.Value {
method THead (line 677) | func (t TableElement) THead() sobek.Value {
method TFoot (line 681) | func (t TableElement) TFoot() sobek.Value {
method Rows (line 685) | func (t TableElement) Rows() []sobek.Value {
method TBodies (line 689) | func (t TableElement) TBodies() []sobek.Value {
type TableHeadElement (line 127) | type TableHeadElement struct
type TableFootElement (line 128) | type TableFootElement struct
type TableBodyElement (line 129) | type TableBodyElement struct
type TableRowElement (line 130) | type TableRowElement struct
method Cells (line 705) | func (t TableRowElement) Cells() []sobek.Value {
method RowIndex (line 709) | func (t TableRowElement) RowIndex() int {
method SectionRowIndex (line 717) | func (t TableRowElement) SectionRowIndex() int {
type TableColElement (line 131) | type TableColElement struct
method Span (line 737) | func (t TableColElement) Span() int {
type TableDataCellElement (line 132) | type TableDataCellElement struct
type TableHeaderCellElement (line 133) | type TableHeaderCellElement struct
type TextAreaElement (line 134) | type TextAreaElement struct
method Form (line 725) | func (t TextAreaElement) Form() sobek.Value {
method Length (line 729) | func (t TextAreaElement) Length() int {
method Labels (line 733) | func (t TextAreaElement) Labels() []sobek.Value {
type TimeElement (line 135) | type TimeElement struct
type TitleElement (line 136) | type TitleElement struct
method Text (line 749) | func (t TitleElement) Text() string {
type TrackElement (line 137) | type TrackElement struct
type UListElement (line 138) | type UListElement struct
type VideoElement (line 139) | type VideoElement struct
FILE: js/modules/k6/html/elements_gen.go
function selToElement (line 6) | func selToElement(sel Selection) sobek.Value {
method Download (line 121) | func (h HrefElement) Download() string {
method ReferrerPolicy (line 125) | func (h HrefElement) ReferrerPolicy() string {
method Rel (line 143) | func (h HrefElement) Rel() string {
method Href (line 147) | func (h HrefElement) Href() string {
method Target (line 151) | func (h HrefElement) Target() string {
method Type (line 155) | func (h HrefElement) Type() string {
method AccessKey (line 159) | func (h HrefElement) AccessKey() string {
method HrefLang (line 163) | func (h HrefElement) HrefLang() string {
method ToString (line 167) | func (h HrefElement) ToString() string {
method Autoplay (line 171) | func (m MediaElement) Autoplay() bool {
method Controls (line 175) | func (m MediaElement) Controls() bool {
method Loop (line 179) | func (m MediaElement) Loop() bool {
method Muted (line 183) | func (m MediaElement) Muted() bool {
method Preload (line 187) | func (m MediaElement) Preload() string {
method Src (line 199) | func (m MediaElement) Src() string {
method CrossOrigin (line 203) | func (m MediaElement) CrossOrigin() sobek.Value {
method CurrentSrc (line 218) | func (m MediaElement) CurrentSrc() string {
method DefaultMuted (line 222) | func (m MediaElement) DefaultMuted() bool {
method MediaGroup (line 226) | func (m MediaElement) MediaGroup() string {
method Href (line 230) | func (b BaseElement) Href() string {
method Target (line 234) | func (b BaseElement) Target() string {
method AccessKey (line 238) | func (b ButtonElement) AccessKey() string {
method Autofocus (line 242) | func (b ButtonElement) Autofocus() bool {
method Disabled (line 246) | func (b ButtonElement) Disabled() bool {
method TabIndex (line 250) | func (b ButtonElement) TabIndex() int {
method Type (line 254) | func (b ButtonElement) Type() string {
method Value (line 268) | func (d DataElement) Value() string {
method Height (line 272) | func (e EmbedElement) Height() string {
method Width (line 276) | func (e EmbedElement) Width() string {
method Src (line 280) | func (e EmbedElement) Src() string {
method Type (line 284) | func (e EmbedElement) Type() string {
method Disabled (line 288) | func (f FieldSetElement) Disabled() bool {
method Name (line 292) | func (f FieldSetElement) Name() string {
method Action (line 296) | func (f FormElement) Action() string {
method Name (line 300) | func (f FormElement) Name() string {
method Target (line 304) | func (f FormElement) Target() string {
method Enctype (line 308) | func (f FormElement) Enctype() string {
method Encoding (line 320) | func (f FormElement) Encoding() string {
method AcceptCharset (line 332) | func (f FormElement) AcceptCharset() string {
method Autocomplete (line 336) | func (f FormElement) Autocomplete() string {
method NoValidate (line 346) | func (f FormElement) NoValidate() bool {
method Allowfullscreen (line 350) | func (i IFrameElement) Allowfullscreen() bool {
method ReferrerPolicy (line 354) | func (i IFrameElement) ReferrerPolicy() string {
method Height (line 372) | func (i IFrameElement) Height() string {
method Width (line 376) | func (i IFrameElement) Width() string {
method Name (line 380) | func (i IFrameElement) Name() string {
method Src (line 384) | func (i IFrameElement) Src() string {
method CurrentSrc (line 388) | func (i ImageElement) CurrentSrc() string {
method Sizes (line 392) | func (i ImageElement) Sizes() string {
method Srcset (line 396) | func (i ImageElement) Srcset() string {
method Alt (line 400) | func (i ImageElement) Alt() string {
method CrossOrigin (line 404) | func (i ImageElement) CrossOrigin() sobek.Value {
method Height (line 419) | func (i ImageElement) Height() int {
method Width (line 423) | func (i ImageElement) Width() int {
method IsMap (line 427) | func (i ImageElement) IsMap() bool {
method Name (line 431) | func (i ImageElement) Name() string {
method Src (line 435) | func (i ImageElement) Src() string {
method UseMap (line 439) | func (i ImageElement) UseMap() string {
method ReferrerPolicy (line 443) | func (i ImageElement) ReferrerPolicy() string {
method Name (line 461) | func (i InputElement) Name() string {
method TabIndex (line 465) | func (i InputElement) TabIndex() int {
method Type (line 469) | func (i InputElement) Type() string {
method Disabled (line 519) | func (i InputElement) Disabled() bool {
method Autofocus (line 523) | func (i InputElement) Autofocus() bool {
method Required (line 527) | func (i InputElement) Required() bool {
method Value (line 531) | func (i InputElement) Value() string {
method Checked (line 535) | func (i InputElement) Checked() bool {
method DefaultChecked (line 539) | func (i InputElement) DefaultChecked() bool {
method Alt (line 543) | func (i InputElement) Alt() string {
method Src (line 547) | func (i InputElement) Src() string {
method Height (line 551) | func (i InputElement) Height() string {
method Width (line 555) | func (i InputElement) Width() string {
method Accept (line 559) | func (i InputElement) Accept() string {
method Autocomplete (line 563) | func (i InputElement) Autocomplete() string {
method MaxLength (line 573) | func (i InputElement) MaxLength() int {
method Size (line 577) | func (i InputElement) Size() int {
method Pattern (line 581) | func (i InputElement) Pattern() string {
method Placeholder (line 585) | func (i InputElement) Placeholder() string {
method Readonly (line 589) | func (i InputElement) Readonly() bool {
method Min (line 593) | func (i InputElement) Min() string {
method Max (line 597) | func (i InputElement) Max() string {
method DefaultValue (line 601) | func (i InputElement) DefaultValue() string {
method DirName (line 605) | func (i InputElement) DirName() string {
method AccessKey (line 609) | func (i InputElement) AccessKey() string {
method Multiple (line 613) | func (i InputElement) Multiple() bool {
method Step (line 617) | func (i InputElement) Step() string {
method Autofocus (line 621) | func (k KeygenElement) Autofocus() bool {
method Challenge (line 625) | func (k KeygenElement) Challenge() string {
method Disabled (line 629) | func (k KeygenElement) Disabled() bool {
method Keytype (line 633) | func (k KeygenElement) Keytype() string {
method Name (line 645) | func (k KeygenElement) Name() string {
method Type (line 649) | func (k KeygenElement) Type() string {
method HtmlFor (line 653) | func (l LabelElement) HtmlFor() string {
method AccessKey (line 657) | func (l LegendElement) AccessKey() string {
method Value (line 661) | func (l LiElement) Value() int {
method Type (line 665) | func (l LiElement) Type() string {
method CrossOrigin (line 689) | func (l LinkElement) CrossOrigin() sobek.Value {
method ReferrerPolicy (line 704) | func (l LinkElement) ReferrerPolicy() string {
method Href (line 722) | func (l LinkElement) Href() string {
method Hreflang (line 726) | func (l LinkElement) Hreflang() string {
method Media (line 730) | func (l LinkElement) Media() string {
method Rel (line 734) | func (l LinkElement) Rel() string {
method Target (line 738) | func (l LinkElement) Target() string {
method Type (line 742) | func (l LinkElement) Type() string {
method Name (line 746) | func (m MapElement) Name() string {
method Content (line 750) | func (m MetaElement) Content() string {
method Name (line 754) | func (m MetaElement) Name() string {
method HttpEquiv (line 758) | func (m MetaElement) HttpEquiv() string {
method Min (line 770) | func (m MeterElement) Min() int {
method Max (line 774) | func (m MeterElement) Max() int {
method High (line 778) | func (m MeterElement) High() int {
method Low (line 782) | func (m MeterElement) Low() int {
method Optimum (line 786) | func (m MeterElement) Optimum() int {
method Cite (line 790) | func (m ModElement) Cite() string {
method Datetime (line 794) | func (m ModElement) Datetime() string {
method Data (line 798) | func (o ObjectElement) Data() string {
method Height (line 802) | func (o ObjectElement) Height() string {
method Name (line 806) | func (o ObjectElement) Name() string {
method Type (line 810) | func (o ObjectElement) Type() string {
method TabIndex (line 814) | func (o ObjectElement) TabIndex() int {
method TypeMustMatch (line 818) | func (o ObjectElement) TypeMustMatch() bool {
method UseMap (line 822) | func (o ObjectElement) UseMap() string {
method Width (line 826) | func (o ObjectElement) Width() string {
method Reversed (line 830) | func (o OListElement) Reversed() bool {
method Start (line 834) | func (o OListElement) Start() int {
method Type (line 838) | func (o OListElement) Type() string {
method Disabled (line 854) | func (o OptGroupElement) Disabled() bool {
method Label (line 858) | func (o OptGroupElement) Label() string {
method DefaultSelected (line 862) | func (o OptionElement) DefaultSelected() bool {
method Selected (line 866) | func (o OptionElement) Selected() bool {
method HtmlFor (line 870) | func (o OutputElement) HtmlFor() string {
method Name (line 874) | func (o OutputElement) Name() string {
method Type (line 878) | func (o OutputElement) Type() string {
method Name (line 882) | func (p ParamElement) Name() string {
method Value (line 886) | func (p ParamElement) Value() string {
method Name (line 890) | func (p PreElement) Name() string {
method Value (line 894) | func (p PreElement) Value() string {
method Cite (line 898) | func (q QuoteElement) Cite() string {
method CrossOrigin (line 902) | func (s ScriptElement) CrossOrigin() string {
method Type (line 906) | func (s ScriptElement) Type() string {
method Src (line 910) | func (s ScriptElement) Src() string {
method Charset (line 914) | func (s ScriptElement) Charset() string {
method Async (line 918) | func (s ScriptElement) Async() bool {
method Defer (line 922) | func (s ScriptElement) Defer() bool {
method NoModule (line 926) | func (s ScriptElement) NoModule() bool {
method Autofocus (line 930) | func (s SelectElement) Autofocus() bool {
method Disabled (line 934) | func (s SelectElement) Disabled() bool {
method Multiple (line 938) | func (s SelectElement) Multiple() bool {
method Name (line 942) | func (s SelectElement) Name() string {
method Required (line 946) | func (s SelectElement) Required() bool {
method TabIndex (line 950) | func (s SelectElement) TabIndex() int {
method KeySystem (line 954) | func (s SourceElement) KeySystem() string {
method Media (line 958) | func (s SourceElement) Media() string {
method Sizes (line 962) | func (s SourceElement) Sizes() string {
method Src (line 966) | func (s SourceElement) Src() string {
method Srcset (line 970) | func (s SourceElement) Srcset() string {
method Type (line 974) | func (s SourceElement) Type() string {
method Media (line 978) | func (s StyleElement) Media() string {
method Sortable (line 982) | func (t TableElement) Sortable() bool {
method ColSpan (line 986) | func (t TableCellElement) ColSpan() int {
method RowSpan (line 990) | func (t TableCellElement) RowSpan() int {
method Headers (line 994) | func (t TableCellElement) Headers() string {
method Abbr (line 998) | func (t TableHeaderCellElement) Abbr() string {
method Scope (line 1002) | func (t TableHeaderCellElement) Scope() string {
method Sorted (line 1018) | func (t TableHeaderCellElement) Sorted() bool {
method Type (line 1022) | func (t TextAreaElement) Type() string {
method Value (line 1026) | func (t TextAreaElement) Value() string {
method DefaultValue (line 1030) | func (t TextAreaElement) DefaultValue() string {
method Placeholder (line 1034) | func (t TextAreaElement) Placeholder() string {
method Rows (line 1038) | func (t TextAreaElement) Rows() int {
method Cols (line 1042) | func (t TextAreaElement) Cols() int {
method MaxLength (line 1046) | func (t TextAreaElement) MaxLength() int {
method TabIndex (line 1050) | func (t TextAreaElement) TabIndex() int {
method AccessKey (line 1054) | func (t TextAreaElement) AccessKey() string {
method ReadOnly (line 1058) | func (t TextAreaElement) ReadOnly() bool {
method Required (line 1062) | func (t TextAreaElement) Required() bool {
method Autocomplete (line 1066) | func (t TextAreaElement) Autocomplete() string {
method Autocapitalize (line 1076) | func (t TextAreaElement) Autocapitalize() string {
method Wrap (line 1092) | func (t TextAreaElement) Wrap() string {
method Datetime (line 1104) | func (t TimeElement) Datetime() string {
method Kind (line 1108) | func (t TrackElement) Kind() string {
method Src (line 1124) | func (t TrackElement) Src() string {
method Srclang (line 1128) | func (t TrackElement) Srclang() string {
method Label (line 1132) | func (t TrackElement) Label() string {
method Default (line 1136) | func (t TrackElement) Default() bool {
method Type (line 1140) | func (u UListElement) Type() string {
FILE: js/modules/k6/html/elements_gen_test.go
constant testGenElems (line 9) | testGenElems = `
function TestGenElementsTestTextProperties (line 94) | func TestGenElementsTestTextProperties(t *testing.T) {
function TestGenElementsBoolProperties (line 262) | func TestGenElementsBoolProperties(t *testing.T) {
function TestGenElementsIntProperties (line 328) | func TestGenElementsIntProperties(t *testing.T) {
function TestGenElementsNullProperties (line 369) | func TestGenElementsNullProperties(t *testing.T) {
function TestGenElementsURLProperties (line 391) | func TestGenElementsURLProperties(t *testing.T) {
FILE: js/modules/k6/html/elements_test.go
constant testHTMLElems (line 10) | testHTMLElems = `
function TestElements (line 65) | func TestElements(t *testing.T) {
FILE: js/modules/k6/html/gen/gen_elements.go
type nodeHandlerFunc (line 27) | type nodeHandlerFunc
type astInspectState (line 29) | type astInspectState struct
method defaultHandler (line 466) | func (ce *astInspectState) defaultHandler(node ast.Node) nodeHandlerFu...
method elementTagNameHandler (line 482) | func (ce *astInspectState) elementTagNameHandler(node ast.Node) nodeHa...
method elementStructHandler (line 502) | func (ce *astInspectState) elementStructHandler(node ast.Node) nodeHan...
type elemInfo (line 35) | type elemInfo struct
type templateType (line 43) | type templateType
type templateArg (line 44) | type templateArg
constant stringTemplate (line 48) | stringTemplate templateType = "typeString"
constant urlTemplate (line 49) | urlTemplate templateType = "typeURL"
constant boolTemplate (line 50) | boolTemplate templateType = "typeBool"
constant intTemplate (line 51) | intTemplate templateType = "typeInt"
constant constTemplate (line 52) | constTemplate templateType = "typeConst"
constant enumTemplate (line 53) | enumTemplate templateType = "typeEnum"
constant nullableEnumTemplate (line 54) | nullableEnumTemplate templateType = "typeEnumNullable"
function main (line 304) | func main() {
function buildStruct (line 439) | func buildStruct(ei elemInfo) string {
function returnType (line 447) | func returnType(tt templateType) string {
function receiverName (line 461) | func receiverName(t string) string {
FILE: js/modules/k6/html/html.go
type RootModule (line 18) | type RootModule struct
method NewModuleInstance (line 45) | func (r *RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type ModuleInstance (line 21) | type ModuleInstance struct
method Exports (line 38) | func (mi *ModuleInstance) Exports() modules.Exports {
method parseHTML (line 58) | func (mi *ModuleInstance) parseHTML(src string) (Selection, error) {
function New (line 33) | func New() *RootModule {
function ParseHTML (line 63) | func ParseHTML(rt *sobek.Runtime, src string) (Selection, error) {
type Selection (line 71) | type Selection struct
method emptySelection (line 77) | func (s Selection) emptySelection() Selection {
method buildMatcher (line 82) | func (s Selection) buildMatcher(v sobek.Value, sobekFn sobek.Callable)...
method varargFnCall (line 93) | func (s Selection) varargFnCall(arg any,
method adjacent (line 117) | func (s Selection) adjacent(unfiltered func() *goquery.Selection,
method adjacentUntil (line 128) | func (s Selection) adjacentUntil(until func(string) *goquery.Selection,
method Add (line 167) | func (s Selection) Add(arg any) Selection {
method Find (line 171) | func (s Selection) Find(arg any) Selection {
method Closest (line 175) | func (s Selection) Closest(arg any) Selection {
method Has (line 179) | func (s Selection) Has(arg any) Selection {
method Not (line 183) | func (s Selection) Not(v sobek.Value) Selection {
method Next (line 192) | func (s Selection) Next(def ...string) Selection {
method NextAll (line 196) | func (s Selection) NextAll(def ...string) Selection {
method Prev (line 200) | func (s Selection) Prev(def ...string) Selection {
method PrevAll (line 204) | func (s Selection) PrevAll(def ...string) Selection {
method Parent (line 208) | func (s Selection) Parent(def ...string) Selection {
method Parents (line 212) | func (s Selection) Parents(def ...string) Selection {
method Siblings (line 216) | func (s Selection) Siblings(def ...string) Selection {
method PrevUntil (line 224) | func (s Selection) PrevUntil(def ...sobek.Value) Selection {
method NextUntil (line 238) | func (s Selection) NextUntil(def ...sobek.Value) Selection {
method ParentsUntil (line 253) | func (s Selection) ParentsUntil(def ...sobek.Value) Selection {
method Size (line 263) | func (s Selection) Size() int {
method End (line 267) | func (s Selection) End() Selection {
method Eq (line 271) | func (s Selection) Eq(idx int) Selection {
method First (line 275) | func (s Selection) First() Selection {
method Last (line 279) | func (s Selection) Last() Selection {
method Contents (line 283) | func (s Selection) Contents() Selection {
method Text (line 287) | func (s Selection) Text() string {
method Attr (line 291) | func (s Selection) Attr(name string, def ...sobek.Value) sobek.Value {
method Html (line 303) | func (s Selection) Html() sobek.Value {
method Val (line 311) | func (s Selection) Val() sobek.Value {
method Children (line 351) | func (s Selection) Children(def ...string) Selection {
method Each (line 359) | func (s Selection) Each(v sobek.Value) Selection {
method Filter (line 374) | func (s Selection) Filter(v sobek.Value) Selection {
method Is (line 391) | func (s Selection) Is(v sobek.Value) bool {
method Map (line 410) | func (s Selection) Map(v sobek.Value) []sobek.Value {
method Slice (line 428) | func (s Selection) Slice(start int, def ...int) Selection {
method Get (line 439) | func (s Selection) Get(def ...int) sobek.Value {
method ToArray (line 456) | func (s Selection) ToArray() []Selection {
method Index (line 464) | func (s Selection) Index(def ...sobek.Value) int {
method Data (line 489) | func (s Selection) Data(def ...string) sobek.Value {
FILE: js/modules/k6/html/html_test.go
constant testHTML (line 17) | testHTML = `
constant testXML (line 50) | testXML = `
function getTestModuleInstance (line 69) | func getTestModuleInstance(t testing.TB) (*sobek.Runtime, *ModuleInstanc...
function getTestRuntimeAndModuleInstanceWithDoc (line 95) | func getTestRuntimeAndModuleInstanceWithDoc(t testing.TB, html string) (...
function getTestRuntimeWithDoc (line 109) | func getTestRuntimeWithDoc(t testing.TB, html string) *sobek.Runtime {
function TestParseHTML (line 117) | func TestParseHTML(t *testing.T) {
FILE: js/modules/k6/html/serialize.go
type FormValue (line 10) | type FormValue struct
method SerializeArray (line 15) | func (s Selection) SerializeArray() []FormValue {
method SerializeObject (line 50) | func (s Selection) SerializeObject() map[string]sobek.Value {
method Serialize (line 61) | func (s Selection) Serialize() string {
FILE: js/modules/k6/html/serialize_test.go
constant testSerializeHTML (line 10) | testSerializeHTML = `
function TestSerialize (line 48) | func TestSerialize(t *testing.T) {
FILE: js/modules/k6/html/util.go
function attrToProperty (line 14) | func attrToProperty(s string) string {
function propertyToAttr (line 21) | func propertyToAttr(attrName string) string {
function namespaceURI (line 25) | func namespaceURI(prefix string) string {
function valueOrHTML (line 36) | func valueOrHTML(s *goquery.Selection) string {
function getHTMLAttr (line 48) | func getHTMLAttr(node *gohtml.Node, name string) *gohtml.Attribute {
function elemList (line 58) | func elemList(s Selection) (items []sobek.Value) {
function nodeToElement (line 66) | func nodeToElement(e Element, node *gohtml.Node) sobek.Value {
function toNumeric (line 78) | func toNumeric(val string) (float64, bool) {
function convertDataAttrVal (line 87) | func convertDataAttrVal(val string) any {
FILE: js/modules/k6/http/async_request_test.go
function wrapInAsyncLambda (line 12) | func wrapInAsyncLambda(input string) string {
function TestAsyncRequest (line 17) | func TestAsyncRequest(t *testing.T) {
function TestAsyncRequestResponseCallbackRace (line 75) | func TestAsyncRequestResponseCallbackRace(t *testing.T) {
function TestAsyncRequestErrors (line 108) | func TestAsyncRequestErrors(t *testing.T) {
FILE: js/modules/k6/http/batch_test.go
constant invalidURLerr (line 14) | invalidURLerr = `invalid URL: parse "https:// invalidurl.com": invalid c...
function TestBatchError (line 16) | func TestBatchError(t *testing.T) {
function TestBatchErrorNoPanic (line 115) | func TestBatchErrorNoPanic(t *testing.T) {
function TestBatchGet (line 166) | func TestBatchGet(t *testing.T) {
function TestBatchPost (line 373) | func TestBatchPost(t *testing.T) {
function TestBatchPut (line 390) | func TestBatchPut(t *testing.T) {
FILE: js/modules/k6/http/cookiejar.go
type CookieJar (line 22) | type CookieJar struct
method CookiesForURL (line 30) | func (j CookieJar) CookiesForURL(url string) map[string][]string {
method Set (line 45) | func (j CookieJar) Set(url, name, value string, opts sobek.Value) (boo...
method Clear (line 87) | func (j CookieJar) Clear(url string) error {
method Delete (line 103) | func (j CookieJar) Delete(url, name string) error {
FILE: js/modules/k6/http/file.go
type FileData (line 12) | type FileData struct
function escapeQuotes (line 20) | func escapeQuotes(s string) string {
method file (line 25) | func (mi *ModuleInstance) file(data any, args ...string) (*FileData, err...
FILE: js/modules/k6/http/file_test.go
function TestHTTPFile (line 11) | func TestHTTPFile(t *testing.T) {
function TestHTTPFileDataInRequest (line 66) | func TestHTTPFileDataInRequest(t *testing.T) {
FILE: js/modules/k6/http/http.go
type RootModule (line 19) | type RootModule struct
method NewModuleInstance (line 40) | func (r *RootModule) NewModuleInstance(vu modules.VU) modules.Instance {
type ModuleInstance (line 22) | type ModuleInstance struct
method Exports (line 106) | func (mi *ModuleInstance) Exports() modules.Exports {
method defineConstants (line 114) | func (mi *ModuleInstance) defineConstants() {
method newCookieJar (line 144) | func (mi *ModuleInstance) newCookieJar(_ sobek.ConstructorCall) *sobek...
method getVUCookieJar (line 154) | func (mi *ModuleInstance) getVUCookieJar(_ sobek.FunctionCall) sobek.V...
method URL (line 164) | func (mi *ModuleInstance) URL(parts []string, pieces ...string) (httpe...
function New (line 35) | func New() *RootModule {
type Client (line 180) | type Client struct
FILE: js/modules/k6/http/http_test.go
function getTestModuleInstance (line 13) | func getTestModuleInstance(t testing.TB) (*modulestest.Runtime, *ModuleI...
function TestTagURL (line 23) | func TestTagURL(t *testing.T) {
FILE: js/modules/k6/http/request.go
method getMethodClosure (line 31) | func (c *Client) getMethodClosure(method string) func(url sobek.Value, a...
method Request (line 39) | func (c *Client) Request(method string, url sobek.Value, args ...sobek.V...
function splitRequestArgs (line 59) | func splitRequestArgs(args []sobek.Value) (body any, params sobek.Value) {
method handleParseRequestError (line 69) | func (c *Client) handleParseRequestError(err error) (*Response, error) {
method asyncRequest (line 87) | func (c *Client) asyncRequest(method string, url sobek.Value, args ...so...
method processResponse (line 126) | func (c *Client) processResponse(resp *httpext.Response, respType httpex...
method responseFromHTTPext (line 136) | func (c *Client) responseFromHTTPext(resp *httpext.Response) *Response {
method parseRequest (line 143) | func (c *Client) parseRequest(
method prepareBatchArray (line 406) | func (c *Client) prepareBatchArray(requests []any) (
method prepareBatchObject (line 435) | func (c *Client) prepareBatchObject(requests map[string]any) (
method Batch (line 468) | func (c *Client) Batch(reqsV ...sobek.Value) (any, error) {
method parseBatchRequest (line 521) | func (c *Client) parseBatchRequest(key any, val any) (*httpext.ParsedHTT...
function requestContainsFile (line 578) | func requestContainsFile(data map[string]any) bool {
FILE: js/modules/k6/http/request_test.go
function assertRequestMetricsEmitted (line 48) | func assertRequestMetricsEmitted(t *testing.T, sampleContainers []metric...
function assertRequestMetricsEmittedSingle (line 95) | func assertRequestMetricsEmittedSingle(t *testing.T, sampleContainer met...
type httpTestCase (line 118) | type httpTestCase struct
function newTestCase (line 128) | func newTestCase(t testing.TB) *httpTestCase {
function TestRequest (line 176) | func TestRequest(t *testing.T) {
function TestRequestCancellation (line 1285) | func TestRequestCancellation(t *testing.T) {
function TestRequestArrayBufferBody (line 1307) | func TestRequestArrayBufferBody(t *testing.T) {
function TestRequestCompression (line 1357) | func TestRequestCompression(t *testing.T) {
function TestResponseTypes (line 1542) | func TestResponseTypes(t *testing.T) {
function checkErrorCode (line 1676) | func checkErrorCode(t testing.TB, sample metrics.Sample, code int, msg s...
function TestErrorCodes (line 1693) | func TestErrorCodes(t *testing.T) {
function TestResponseWaitingAndReceivingTimings (line 1801) | func TestResponseWaitingAndReceivingTimings(t *testing.T) {
function TestResponseTimingsWhenTimeout (line 1846) | func TestResponseTimingsWhenTimeout(t *testing.T) {
function TestNoResponseBodyMangling (line 1870) | func TestNoResponseBodyMangling(t *testing.T) {
function TestRedirectMetricTags (line 1901) | func TestRedirectMetricTags(t *testing.T) {
function BenchmarkHandlingOfResponseBodies (line 1950) | func BenchmarkHandlingOfResponseBodies(b *testing.B) {
function TestErrorsWithDecompression (line 2022) | func TestErrorsWithDecompression(t *testing.T) {
function TestRequestAndBatchTLS (line 2050) | func TestRequestAndBatchTLS(t *testing.T) {
function TestDigestAuthWithBody (line 2209) | func TestDigestAuthWithBody(t *testing.T) {
function TestBinaryResponseWithStatus0 (line 2247) | func TestBinaryResponseWithStatus0(t *testing.T) {
function GenerateTLSCertificate (line 2261) | func GenerateTLSCertificate(t *testing.T, host string, notBefore time.Ti...
function GetTestServerWithCertificate (line 2319) | func GetTestServerWithCertificate(t *testing.T, certPem, key []byte, sui...
function TestGzipped204Response (line 2382) | func TestGzipped204Response(t *testing.T) {
FILE: js/modules/k6/http/response.go
type Response (line 21) | type Response struct
method HTML (line 41) | func (res *Response) HTML(selector ...string) html.Selection {
method JSON (line 66) | func (res *Response) JSON(selector ...string) sobek.Value {
method SubmitForm (line 148) | func (res *Response) SubmitForm(args ...sobek.Value) (*Response, error) {
method ClickLink (line 235) | func (res *Response) ClickLink(args ...sobek.Value) (*Response, error) {
type jsonError (line 29) | type jsonError struct
method Error (line 35) | func (j jsonError) Error() string {
function checkErrorInJSON (line 114) | func checkErrorInJSON(input []byte, offset int, err error) error {
FILE: js/modules/k6/http/response_callback.go
type expectedStatuses (line 20) | type expectedStatuses struct
method match (line 25) | func (e expectedStatuses) match(status int) bool {
method expectedStatuses (line 41) | func (mi *ModuleInstance) expectedStatuses(args ...sobek.Value) *expecte...
method SetResponseCallback (line 83) | func (c *Client) SetResponseCallback(val sobek.Value) {
FILE: js/modules/k6/http/response_callback_test.go
function TestExpectedStatuses (line 17) | func TestExpectedStatuses(t *testing.T) {
type expectedSample (line 80) | type expectedSample struct
function TestResponseCallbackInAction (line 85) | func TestResponseCallbackInAction(t *testing.T) {
function TestResponseCallbackBatch (line 292) | func TestResponseCallbackBatch(t *testing.T) {
function TestResponseCallbackInActionWithoutPassedTag (line 409) | func TestResponseCallbackInActionWithoutPassedTag(t *testing.T) {
function TestDigestWithResponseCallback (line 468) | func TestDigestWithResponseCallback(t *testing.T) {
function deleteSystemTag (line 536) | func deleteSystemTag(state *lib.State, tag string) {
FILE: js/modules/k6/http/response_test.go
constant testGetFormHTML (line 16) | testGetFormHTML = `
constant jsonData (line 39) | jsonData = `{"glossary": {
constant invalidJSONData (line 64) | invalidJSONData = `{
function myFormHandler (line 69) | func myFormHandler(w http.ResponseWriter, r *http.Request) {
function jsonHandler (line 91) | func jsonHandler(w http.ResponseWriter, _ *http.Request) {
function invalidJSONHandler (line 99) | func invalidJSONHandler(w http.ResponseWriter, _ *http.Request) {
function TestCheckErrorInJSON_Offsets (line 107) | func TestCheckErrorInJSON_Offsets(t *testing.T) {
function TestResponse (line 156) | func TestResponse(t *testing.T) {
FILE: js/modules/k6/http/tls_test.go
function TestTLS13Support (line 15) | func TestTLS13Support(t *testing.T) {
FILE: js/modules/modules.go
constant extPrefix (line 16) | extPrefix string = "k6/x/"
function Register (line 21) | func Register(name string, mod any) {
type Module (line 30) | type Module interface
type Instance (line 37) | type Instance interface
type VU (line 42) | type VU interface
type Exports (line 74) | type Exports struct
FILE: js/modules/require_impl.go
method Require (line 16) | func (ms *ModuleSystem) Require(specifier string) (*sobek.Object, error) {
method getModuleInstanceFromGoModule (line 70) | func (ms *ModuleSystem) getModuleInstanceFromGoModule(wm *goModule) (wmi...
method Resolve (line 101) | func (ms *ModuleSystem) Resolve(mr sobek.ModuleRecord, specifier string)...
method CurrentlyRequiredModule (line 112) | func (ms *ModuleSystem) CurrentlyRequiredModule() (*url.URL, error) {
method ShouldWarnOnParentDirNotMatchingCurrentModuleParentDir (line 147) | func (ms *ModuleSystem) ShouldWarnOnParentDirNotMatchingCurrentModulePar...
function toESModuleExports (line 168) | func toESModuleExports(exp Exports) any {
function getCurrentModuleScript (line 186) | func getCurrentModuleScript(vu VU) string {
function getPreviousRequiringFile (line 199) | func getPreviousRequiringFile(vu VU) (string, error) {
function promisesThenIgnore (line 230) | func promisesThenIgnore(rt *sobek.Runtime, promise *sobek.Promise) {
FILE: js/modules/resolution.go
constant notPreviouslyResolvedModule (line 19) | notPreviouslyResolvedModule = "the module %q was not previously resolved...
constant jsDefaultExportIdentifier (line 21) | jsDefaultExportIdentifier = "default"
type FileLoader (line 24) | type FileLoader
type moduleCacheElement (line 26) | type moduleCacheElement struct
type ModuleResolver (line 32) | type ModuleResolver struct
method resolveSpecifier (line 64) | func (mr *ModuleResolver) resolveSpecifier(basePWD *url.URL, arg strin...
method initializeGoModule (line 72) | func (mr *ModuleResolver) initializeGoModule(name string) (sobek.Modul...
method resolveLoaded (line 102) | func (mr *ModuleResolver) resolveLoaded(basePWD *url.URL, arg string, ...
method Lock (line 141) | func (mr *ModuleResolver) Lock() {
method resolve (line 149) | func (mr *ModuleResolver) resolve(basePWD *url.URL, arg string) (sobek...
method Imported (line 185) | func (mr *ModuleResolver) Imported() []string {
method sobekModuleResolver (line 196) | func (mr *ModuleResolver) sobekModuleResolver(
method reversePath (line 202) | func (mr *ModuleResolver) reversePath(referencingScriptOrModule any) *...
method LoadMainModule (line 219) | func (mr *ModuleResolver) LoadMainModule(pwd *url.URL, specifier strin...
function NewModuleResolver (line 48) | func NewModuleResolver(
function isESM (line 95) | func isESM(prg *ast.Program) bool {
type vubox (line 145) | type vubox struct
type ModuleSystem (line 243) | type ModuleSystem struct
method RunSourceData (line 265) | func (ms *ModuleSystem) RunSourceData(source *loader.SourceData) (*Run...
function NewModuleSystem (line 250) | func NewModuleSystem(resolver *ModuleResolver, vu VU) *ModuleSystem {
type RunSourceDataResult (line 297) | type RunSourceDataResult struct
method Result (line 304) | func (r *RunSourceDataResult) Result() (sobek.ModuleRecord, bool, erro...
function ExportGloballyModule (line 317) | func ExportGloballyModule(rt *sobek.Runtime, modSys *ModuleSystem, modul...
type UnknownModulesError (line 342) | type UnknownModulesError struct
method Error (line 351) | func (u UnknownModulesError) Error() string {
method List (line 358) | func (u UnknownModulesError) List() []string {
method formatList (line 362) | func (u UnknownModulesError) formatList() string {
function newUnknownModulesError (line 346) | func newUnknownModulesError(list []string) UnknownModulesError {
FILE: js/modules/unknown.go
type unknownModule (line 5) | type unknownModule struct
method Link (line 10) | func (um *unknownModule) Link() error { return nil }
method Evaluate (line 12) | func (um *unknownModule) Evaluate(_ *sobek.Runtime) *sobek.Promise { p...
method InitializeEnvironment (line 14) | func (um *unknownModule) InitializeEnvironment() error { return nil }
method Instantiate (line 16) | func (um *unknownModule) Instantiate(_ *sobek.Runtime) (sobek.CyclicMo...
method RequestedModules (line 20) | func (um *unknownModule) RequestedModules() []string { return nil }
method ResolveExport (line 22) | func (um *unknownModule) ResolveExport(name string, _ ...sobek.Resolve...
method GetExportedNames (line 30) | func (um *unknownModule) GetExportedNames(_ func([]string), _ ...sobek...
type unknownModuleInstance (line 34) | type unknownModuleInstance struct
method GetBindingValue (line 38) | func (umi *unknownModuleInstance) GetBindingValue(_ string) sobek.Value {
method HasTLA (line 42) | func (umi *unknownModuleInstance) HasTLA() bool { return false }
method ExecuteModule (line 44) | func (umi *unknownModuleInstance) ExecuteModule(_ *sobek.Runtime, _, _...
FILE: js/modulestest/compile.go
function CompileFile (line 17) | func CompileFile(base, name string) (*sobek.Program, error) {
FILE: js/modulestest/modulestest.go
type VU (line 15) | type VU struct
method Context (line 25) | func (m *VU) Context() context.Context {
method Events (line 30) | func (m *VU) Events() common.Events {
method InitEnv (line 35) | func (m *VU) InitEnv() *common.InitEnvironment {
method State (line 41) | func (m *VU) State() *lib.State {
method Runtime (line 47) | func (m *VU) Runtime() *sobek.Runtime {
method RegisterCallback (line 52) | func (m *VU) RegisterCallback() func(f func() error) {
method checkIntegrity (line 56) | func (m *VU) checkIntegrity() {
FILE: js/modulestest/runtime.go
type Runtime (line 25) | type Runtime struct
method MoveToVUContext (line 68) | func (r *Runtime) MoveToVUContext(state *lib.State) {
method SetupModuleSystem (line 75) | func (r *Runtime) SetupModuleSystem(goModules map[string]any, loader m...
method SetupModuleSystemFromAnother (line 86) | func (r *Runtime) SetupModuleSystemFromAnother(another *Runtime) error {
method RunOnEventLoop (line 108) | func (r *Runtime) RunOnEventLoop(code string) (value sobek.Value, err ...
method innerSetupModuleSystem (line 119) | func (r *Runtime) innerSetupModuleSystem() error {
function NewRuntime (line 35) | func NewRuntime(t testing.TB) *Runtime {
FILE: js/promises/promises.go
function New (line 31) | func New(vu modules.VU) (p *sobek.Promise, resolve func(result any), rej...
FILE: js/promises/promises_test.go
function TestNew (line 11) | func TestNew(t *testing.T) {
FILE: lib/archive.go
function NormalizeAndAnonymizePath (line 32) | func NormalizeAndAnonymizePath(path string) string {
function newNormalizedFs (line 41) | func newNormalizedFs(fs fsext.Fs) fsext.Fs {
type Archive (line 48) | type Archive struct
method getFs (line 77) | func (arc *Archive) getFs(name string) fsext.Fs {
method loadMetadataJSON (line 90) | func (arc *Archive) loadMetadataJSON(data []byte) (err error) {
method Write (line 226) | func (arc *Archive) Write(out io.Writer) error {
method json (line 365) | func (arc *Archive) json() ([]byte, error) {
function ReadArchive (line 114) | func ReadArchive(in io.Reader) (*Archive, error) {
function normalizeAndAnonymizeURL (line 193) | func normalizeAndAnonymizeURL(u *url.URL) {
function getURLPathOnFs (line 199) | func getURLPathOnFs(u *url.URL) (scheme string, pathOnFs string) {
function getURLtoString (line 212) | func getURLtoString(u *url.URL) string {
FILE: lib/archive_test.go
function TestNormalizeAndAnonymizePath (line 24) | func TestNormalizeAndAnonymizePath(t *testing.T) {
function getMapKeys (line 56) | func getMapKeys(m map[string]fsext.Fs) []string {
function diffMapFilesystems (line 65) | func diffMapFilesystems(t *testing.T, first, second map[string]fsext.Fs) {
function diffFilesystems (line 74) | func diffFilesystems(t *testing.T, first, second fsext.Fs) {
function getInfoNames (line 78) | func getInfoNames(infos []fs.FileInfo) []string {
function diffFilesystemsDir (line 86) | func diffFilesystemsDir(t *testing.T, first, second fsext.Fs, dirname st...
function TestArchiveReadWrite (line 110) | func TestArchiveReadWrite(t *testing.T) {
function TestArchiveJSONEscape (line 234) | func TestArchiveJSONEscape(t *testing.T) {
function TestUsingCacheFromCacheOnReadFs (line 244) | func TestUsingCacheFromCacheOnReadFs(t *testing.T) {
function TestArchiveWithDataNotInFS (line 278) | func TestArchiveWithDataNotInFS(t *testing.T) {
function TestMalformedMetadata (line 296) | func TestMalformedMetadata(t *testing.T) {
function TestStrangePaths (line 307) | func TestStrangePaths(t *testing.T) {
function TestStdinArchive (line 356) | func TestStdinArchive(t *testing.T) {
FILE: lib/buffer_pool.go
type BufferPool (line 9) | type BufferPool struct
method Get (line 28) | func (bp BufferPool) Get() *bytes.Buffer {
method Put (line 33) | func (bp BufferPool) Put(b *bytes.Buffer) {
function NewBufferPool (line 15) | func NewBufferPool() *BufferPool {
FILE: lib/buffer_pool_test.go
function TestBufferPool (line 9) | func TestBufferPool(t *testing.T) {
FILE: lib/compatibility_mode_gen.go
constant _CompatibilityModeName (line 9) | _CompatibilityModeName = "extendedbaseexperimental_enhanced"
method String (line 13) | func (i CompatibilityMode) String() string {
function CompatibilityModeString (line 31) | func CompatibilityModeString(s string) (CompatibilityMode, error) {
function CompatibilityModeValues (line 39) | func CompatibilityModeValues() []CompatibilityMode {
method IsACompatibilityMode (line 44) | func (i CompatibilityMode) IsACompatibilityMode() bool {
FILE: lib/context.go
type ctxKey (line 7) | type ctxKey
constant ctxKeyExecState (line 10) | ctxKeyExecState ctxKey = iota
constant ctxKeyScenario (line 11) | ctxKeyScenario
function WithExecutionState (line 15) | func WithExecutionState(ctx context.Context, s *ExecutionState) context....
function GetExecutionState (line 20) | func GetExecutionState(ctx context.Context) *ExecutionState {
function WithScenarioState (line 30) | func WithScenarioState(ctx context.Context, s *ScenarioState) context.Co...
function GetScenarioState (line 35) | func GetScenarioState(ctx context.Context) *ScenarioState {
FILE: lib/execution.go
constant MaxTimeToWaitForPlannedVU (line 25) | MaxTimeToWaitForPlannedVU = 400 * time.Millisecond
constant MaxRetriesGetPlannedVU (line 29) | MaxRetriesGetPlannedVU = 5
type ExecutionStatus (line 35) | type ExecutionStatus
constant ExecutionStatusCreated (line 39) | ExecutionStatusCreated ExecutionStatus = iota
constant ExecutionStatusInitVUs (line 40) | ExecutionStatusInitVUs
constant ExecutionStatusInitExecutors (line 41) | ExecutionStatusInitExecutors
constant ExecutionStatusInitDone (line 42) | ExecutionStatusInitDone
constant ExecutionStatusPausedBeforeRun (line 43) | ExecutionStatusPausedBeforeRun
constant ExecutionStatusStarted (line 44) | ExecutionStatusStarted
constant ExecutionStatusSetup (line 45) | ExecutionStatusSetup
constant ExecutionStatusRunning (line 46) | ExecutionStatusRunning
constant ExecutionStatusTeardown (line 47) | ExecutionStatusTeardown
constant ExecutionStatusEnded (line 48) | ExecutionStatusEnded
constant ExecutionStatusInterrupted (line 49) | ExecutionStatusInterrupted
constant ExecutionStatusMarkedAsFailed (line 50) | ExecutionStatusMarkedAsFailed
type ExecutionState (line 71) | type ExecutionState struct
method GetUniqueVUIdentifiers (line 240) | func (es *ExecutionState) GetUniqueVUIdentifiers() (uint64, uint64) {
method GetInitializedVUsCount (line 254) | func (es *ExecutionState) GetInitializedVUsCount() int64 {
method ModInitializedVUsCount (line 261) | func (es *ExecutionState) ModInitializedVUsCount(mod int64) int64 {
method GetCurrentlyActiveVUsCount (line 270) | func (es *ExecutionState) GetCurrentlyActiveVUsCount() int64 {
method ModCurrentlyActiveVUsCount (line 277) | func (es *ExecutionState) ModCurrentlyActiveVUsCount(mod int64) int64 {
method GetFullIterationCount (line 285) | func (es *ExecutionState) GetFullIterationCount() uint64 {
method AddFullIterations (line 293) | func (es *ExecutionState) AddFullIterations(count uint64) uint64 {
method GetPartialIterationCount (line 301) | func (es *ExecutionState) GetPartialIterationCount() uint64 {
method AddInterruptedIterations (line 309) | func (es *ExecutionState) AddInterruptedIterations(count uint64) uint64 {
method SetExecutionStatus (line 315) | func (es *ExecutionState) SetExecutionStatus(newStatus ExecutionStatus...
method GetCurrentExecutionStatus (line 322) | func (es *ExecutionState) GetCurrentExecutionStatus() ExecutionStatus {
method MarkStarted (line 330) | func (es *ExecutionState) MarkStarted() {
method MarkEnded (line 341) | func (es *ExecutionState) MarkEnded() {
method HasStarted (line 353) | func (es *ExecutionState) HasStarted() bool {
method HasEnded (line 359) | func (es *ExecutionState) HasEnded() bool {
method IsPaused (line 365) | func (es *ExecutionState) IsPaused() bool {
method GetCurrentTestRunDuration (line 375) | func (es *ExecutionState) GetCurrentTestRunDuration() time.Duration {
method Pause (line 404) | func (es *ExecutionState) Pause() error {
method Resume (line 419) | func (es *ExecutionState) Resume() error {
method ResumeNotify (line 453) | func (es *ExecutionState) ResumeNotify() <-chan struct{} {
method GetPlannedVU (line 472) | func (es *ExecutionState) GetPlannedVU(logger *logrus.Entry, modifyAct...
method SetInitVUFunc (line 496) | func (es *ExecutionState) SetInitVUFunc(initVUFunc InitVUFunc) {
method GetUnplannedVU (line 510) | func (es *ExecutionState) GetUnplannedVU(ctx context.Context, logger *...
method InitializeNewVU (line 524) | func (es *ExecutionState) InitializeNewVU(ctx context.Context, logger ...
method AddInitializedVU (line 538) | func (es *ExecutionState) AddInitializedVU(vu InitializedVU) {
method ReturnVU (line 545) | func (es *ExecutionState) ReturnVU(vu InitializedVU, wasActive bool) {
function NewExecutionState (line 205) | func NewExecutionState(
FILE: lib/execution_segment.go
type ExecutionSegment (line 25) | type ExecutionSegment struct
method UnmarshalText (line 129) | func (es *ExecutionSegment) UnmarshalText(text []byte) (err error) {
method String (line 138) | func (es *ExecutionSegment) String() string {
method MarshalText (line 147) | func (es *ExecutionSegment) MarshalText() ([]byte, error) {
method FloatLength (line 156) | func (es *ExecutionSegment) FloatLength() float64 {
method Split (line 166) | func (es *ExecutionSegment) Split(numParts int64) ([]*ExecutionSegment...
method Equal (line 199) | func (es *ExecutionSegment) Equal(other *ExecutionSegment) bool {
method SubSegment (line 220) | func (es *ExecutionSegment) SubSegment(child *ExecutionSegment) *Execu...
method Scale (line 253) | func (es *ExecutionSegment) Scale(value int64) int64 {
method InPlaceScaleRat (line 279) | func (es *ExecutionSegment) InPlaceScaleRat(value *big.Rat) *big.Rat {
method CopyScaleRat (line 288) | func (es *ExecutionSegment) CopyScaleRat(value *big.Rat) *big.Rat {
function NewExecutionSegment (line 49) | func NewExecutionSegment(from, to *big.Rat) (*ExecutionSegment, error) {
function newExecutionSegment (line 63) | func newExecutionSegment(from, to *big.Rat) *ExecutionSegment {
function stringToRat (line 73) | func stringToRat(s string) (*big.Rat, error) {
function NewExecutionSegmentFromString (line 105) | func NewExecutionSegmentFromString(toStr string) (result *ExecutionSegme...
function roundUp (line 242) | func roundUp(rat *big.Rat) *big.Int {
type ExecutionSegmentSequence (line 300) | type ExecutionSegmentSequence
method UnmarshalText (line 360) | func (ess *ExecutionSegmentSequence) UnmarshalText(text []byte) (err e...
method MarshalText (line 371) | func (ess ExecutionSegmentSequence) MarshalText() ([]byte, error) {
method String (line 377) | func (ess ExecutionSegmentSequence) String() string {
method LCD (line 390) | func (ess ExecutionSegmentSequence) LCD() int64 {
method IsFull (line 419) | func (ess ExecutionSegmentSequence) IsFull() bool {
method FindSegmentPosition (line 427) | func (ess ExecutionSegmentSequence) FindSegmentPosition(segment *Execu...
function NewExecutionSegmentSequence (line 305) | func NewExecutionSegmentSequence(segments ...*ExecutionSegment) (Executi...
function NewExecutionSegmentSequenceFromString (line 324) | func NewExecutionSegmentSequenceFromString(strSeq string) (ExecutionSegm...
function gcd (line 406) | func gcd(a, b int64) int64 {
function GetFilledExecutionSegmentSequence (line 445) | func GetFilledExecutionSegmentSequence(
type ExecutionSegmentSequenceWrapper (line 478) | type ExecutionSegmentSequenceWrapper struct
method LCD (line 575) | func (essw *ExecutionSegmentSequenceWrapper) LCD() int64 {
method ScaleInt64 (line 580) | func (essw *ExecutionSegmentSequenceWrapper) ScaleInt64(segmentIndex i...
method GetStripedOffsets (line 598) | func (essw *ExecutionSegmentSequenceWrapper) GetStripedOffsets(segment...
method GetTuple (line 604) | func (essw *ExecutionSegmentSequenceWrapper) GetTuple(segmentIndex int...
method GetNewExecutionSegmentSequenceFromValue (line 624) | func (essw *ExecutionSegmentSequenceWrapper) GetNewExecutionSegmentSeq...
function NewExecutionSegmentSequenceWrapper (line 490) | func NewExecutionSegmentSequenceWrapper(ess ExecutionSegmentSequence) *E...
type ExecutionTuple (line 709) | type ExecutionTuple struct
method String (line 715) | func (et *ExecutionTuple) String() string {
method ScaleInt64 (line 734) | func (et *ExecutionTuple) ScaleInt64(value int64) int64 {
method GetStripedOffsets (line 742) | func (et *ExecutionTuple) GetStripedOffsets() (int64, []int64, int64) {
method GetNewExecutionTupleFromValue (line 750) | func (et *ExecutionTuple) GetNewExecutionTupleFromValue(value int64) (...
function NewExecutionTuple (line 723) | func NewExecutionTuple(segment *ExecutionSegment, sequence *ExecutionSeg...
type SegmentedIndex (line 768) | type SegmentedIndex struct
method Next (line 782) | func (s *SegmentedIndex) Next() (int64, int64) {
method Prev (line 795) | func (s *SegmentedIndex) Prev() (int64, int64) {
method GoTo (line 808) | func (s *SegmentedIndex) GoTo(value int64) (int64, int64) { // TODO op...
function NewSegmentedIndex (line 776) | func NewSegmentedIndex(et *ExecutionTuple) *SegmentedIndex {
FILE: lib/execution_segment_test.go
function stringToES (line 14) | func stringToES(t *testing.T, str string) *ExecutionSegment {
function TestExecutionSegmentEquals (line 20) | func TestExecutionSegmentEquals(t *testing.T) {
function TestExecutionSegmentNew (line 38) | func TestExecutionSegmentNew(t *testing.T) {
function TestExecutionSegmentUnmarshalText (line 68) | func TestExecutionSegmentUnmarshalText(t *testing.T) {
function TestExecutionSegmentSplit (line 120) | func TestExecutionSegmentSplit(t *testing.T) {
function TestExecutionSegmentFailures (line 178) | func TestExecutionSegmentFailures(t *testing.T) {
function TestExecutionTupleScale (line 198) | func TestExecutionTupleScale(t *testing.T) {
function TestBigScale (line 228) | func TestBigScale(t *testing.T) {
function TestExecutionSegmentCopyScaleRat (line 239) | func TestExecutionSegmentCopyScaleRat(t *testing.T) {
function TestExecutionSegmentInPlaceScaleRat (line 257) | func TestExecutionSegmentInPlaceScaleRat(t *testing.T) {
function TestExecutionSegmentSubSegment (line 286) | func TestExecutionSegmentSubSegment(t *testing.T) {
function TestSplitBadSegment (line 322) | func TestSplitBadSegment(t *testing.T) {
function TestSegmentExecutionFloatLength (line 329) | func TestSegmentExecutionFloatLength(t *testing.T) {
function TestExecutionSegmentSequences (line 364) | func TestExecutionSegmentSequences(t *testing.T) {
function TestExecutionSegmentStringSequences (line 371) | func TestExecutionSegmentStringSequences(t *testing.T) {
function getTestRand (line 421) | func getTestRand(t testing.TB) *rand.Rand {
function generateRandomSequence (line 431) | func generateRandomSequence(t testing.TB, n, m int64, r *rand.Rand) Exec...
function TestExecutionSegmentScaleConsistency (line 453) | func TestExecutionSegmentScaleConsistency(t *testing.T) {
function TestExecutionTupleScaleConsistency (line 476) | func TestExecutionTupleScaleConsistency(t *testing.T) {
function TestExecutionSegmentScaleNoWobble (line 499) | func TestExecutionSegmentScaleNoWobble(t *testing.T) {
function TestGetStripedOffsets (line 537) | func TestGetStripedOffsets(t *testing.T) {
function TestSequenceLCD (line 595) | func TestSequenceLCD(t *testing.T) {
function BenchmarkGetStripedOffsets (line 618) | func BenchmarkGetStripedOffsets(b *testing.B) {
function BenchmarkGetStripedOffsetsEven (line 637) | func BenchmarkGetStripedOffsetsEven(b *testing.B) {
function TestGetNewExecutionTupleBesedOnValue (line 672) | func TestGetNewExecutionTupleBesedOnValue(t *testing.T) {
function mustNewExecutionSegment (line 703) | func mustNewExecutionSegment(str string) *ExecutionSegment {
function mustNewExecutionSegmentSequence (line 711) | func mustNewExecutionSegmentSequence(str string) *ExecutionSegmentSequen...
function TestNewExecutionTuple (line 719) | func TestNewExecutionTuple(t *testing.T) {
function BenchmarkExecutionSegmentScale (line 867) | func BenchmarkExecutionSegmentScale(b *testing.B) {
function TestSegmentedIndex (line 919) | func TestSegmentedIndex(t *testing.T) {
FILE: lib/execution_status_gen.go
constant _ExecutionStatusName (line 9) | _ExecutionStatusName = "CreatedInitVUsInitExecutorsInitDonePausedBeforeR...
method String (line 13) | func (i ExecutionStatus) String() string {
function ExecutionStatusString (line 39) | func ExecutionStatusString(s string) (ExecutionStatus, error) {
function ExecutionStatusValues (line 47) | func ExecutionStatusValues() []ExecutionStatus {
method IsAExecutionStatus (line 52) | func (i ExecutionStatus) IsAExecutionStatus() bool {
FILE: lib/executor/base_config.go
constant scenarioNameErr (line 24) | scenarioNameErr = "the scenario name should contain only numbers, latin ...
type BaseConfig (line 27) | type BaseConfig struct
method Validate (line 50) | func (bc BaseConfig) Validate() (result []error) {
method GetName (line 76) | func (bc BaseConfig) GetName() string {
method GetType (line 81) | func (bc BaseConfig) GetType() string {
method GetStartTime (line 87) | func (bc BaseConfig) GetStartTime() time.Duration {
method GetGracefulStop (line 97) | func (bc BaseConfig) GetGracefulStop() time.Duration {
method GetEnv (line 103) | func (bc BaseConfig) GetEnv() map[string]string {
method GetExec (line 108) | func (bc BaseConfig) GetExec() string {
method GetScenarioOptions (line 117) | func (bc BaseConfig) GetScenarioOptions() *lib.ScenarioOptions {
method GetTags (line 122) | func (bc BaseConfig) GetTags() map[string]string {
method IsDistributable (line 128) | func (bc BaseConfig) IsDistributable() bool {
method getBaseInfo (line 133) | func (bc BaseConfig) getBaseInfo(facts ...string) string {
function NewBaseConfig (line 41) | func NewBaseConfig(name, configType string) BaseConfig {
FILE: lib/executor/base_executor.go
type BaseExecutor (line 20) | type BaseExecutor struct
method nextIterationCounters (line 46) | func (bs *BaseExecutor) nextIterationCounters() (uint64, uint64) {
method Init (line 55) | func (bs *BaseExecutor) Init(_ context.Context) error {
method GetConfig (line 60) | func (bs *BaseExecutor) GetConfig() lib.ExecutorConfig {
method GetLogger (line 65) | func (bs *BaseExecutor) GetLogger() *logrus.Entry {
method GetProgress (line 70) | func (bs *BaseExecutor) GetProgress() *pb.ProgressBar {
method getMetricTags (line 76) | func (bs *BaseExecutor) getMetricTags(vuID *uint64) *metrics.TagSet {
function NewBaseExecutor (line 30) | func NewBaseExecutor(config lib.ExecutorConfig, es *lib.ExecutionState, ...
FILE: lib/executor/common_test.go
function simpleRunner (line 17) | func simpleRunner(vuFn func(context.Context, *lib.State) error) lib.Runn...
function getTestRunState (line 25) | func getTestRunState(tb testing.TB, options lib.Options, runner lib.Runn...
function setupExecutor (line 44) | func setupExecutor(t testing.TB, config lib.ExecutorConfig, es *lib.Exec...
function initializeVUs (line 73) | func initializeVUs(
type executorTest (line 86) | type executorTest struct
function setupExecutorTest (line 97) | func setupExecutorTest(
FILE: lib/executor/constant_arrival_rate.go
constant constantArrivalRateType (line 21) | constantArrivalRateType = "constant-arrival-rate"
function init (line 23) | func init() {
type ConstantArrivalRateConfig (line 35) | type ConstantArrivalRateConfig struct
method GetPreAllocatedVUs (line 60) | func (carc ConstantArrivalRateConfig) GetPreAllocatedVUs(et *lib.Execu...
method GetMaxVUs (line 65) | func (carc ConstantArrivalRateConfig) GetMaxVUs(et *lib.ExecutionTuple...
method GetDescription (line 70) | func (carc ConstantArrivalRateConfig) GetDescription(et *lib.Execution...
method Validate (line 91) | func (carc *ConstantArrivalRateConfig) Validate() []error {
method GetExecutionRequirements (line 132) | func (carc ConstantArrivalRateConfig) GetExecutionRequirements(et *lib...
method NewExecutor (line 147) | func (carc ConstantArrivalRateConfig) NewExecutor(
method HasWork (line 157) | func (carc ConstantArrivalRateConfig) HasWork(et *lib.ExecutionTuple) ...
function NewConstantArrivalRateConfig (line 49) | func NewConstantArrivalRateConfig(name string) *ConstantArrivalRateConfig {
type ConstantArrivalRate (line 163) | type ConstantArrivalRate struct
method Init (line 173) | func (car *ConstantArrivalRate) Init(_ context.Context) error {
method Run (line 195) | func (car ConstantArrivalRate) Run(parentCtx context.Context, out chan...
FILE: lib/executor/constant_arrival_rate_test.go
function newExecutionSegmentFromString (line 22) | func newExecutionSegmentFromString(str string) *lib.ExecutionSegment {
function newExecutionSegmentSequenceFromString (line 30) | func newExecutionSegmentSequenceFromString(str string) *lib.ExecutionSeg...
function getTestConstantArrivalRateConfig (line 38) | func getTestConstantArrivalRateConfig() *ConstantArrivalRateConfig {
function TestConstantArrivalRateRunNotEnoughAllocatedVUsWarn (line 49) | func TestConstantArrivalRateRunNotEnoughAllocatedVUsWarn(t *testing.T) {
function TestConstantArrivalRateRunCorrectRate (line 72) | func TestConstantArrivalRateRunCorrectRate(t *testing.T) {
function TestConstantArrivalRateRunCorrectTiming (line 114) | func TestConstantArrivalRateRunCorrectTiming(t *testing.T) {
function TestArrivalRateCancel (line 229) | func TestArrivalRateCancel(t *testing.T) {
function TestConstantArrivalRateDroppedIterations (line 279) | func TestConstantArrivalRateDroppedIterations(t *testing.T) {
function TestConstantArrivalRateGlobalIters (line 309) | func TestConstantArrivalRateGlobalIters(t *testing.T) {
function TestConstantArrivalRateActiveVUs (line 352) | func TestConstantArrivalRateActiveVUs(t *testing.T) {
FILE: lib/executor/constant_vus.go
constant constantVUsType (line 18) | constantVUsType = "constant-vus"
function init (line 20) | func init() {
constant minDuration (line 33) | minDuration = 1 * time.Second
type ConstantVUsConfig (line 36) | type ConstantVUsConfig struct
method GetVUs (line 54) | func (clvc ConstantVUsConfig) GetVUs(et *lib.ExecutionTuple) int64 {
method GetDescription (line 59) | func (clvc ConstantVUsConfig) GetDescription(et *lib.ExecutionTuple) s...
method Validate (line 65) | func (clvc ConstantVUsConfig) Validate() []error {
method GetExecutionRequirements (line 87) | func (clvc ConstantVUsConfig) GetExecutionRequirements(et *lib.Executi...
method HasWork (line 101) | func (clvc ConstantVUsConfig) HasWork(et *lib.ExecutionTuple) bool {
method NewExecutor (line 106) | func (clvc ConstantVUsConfig) NewExecutor(es *lib.ExecutionState, logg...
function NewConstantVUsConfig (line 43) | func NewConstantVUsConfig(name string) ConstantVUsConfig {
type ConstantVUs (line 115) | type ConstantVUs struct
method Run (line 125) | func (clv ConstantVUs) Run(parentCtx context.Context, _ chan<- metrics...
FILE: lib/executor/constant_vus_test.go
function getTestConstantVUsConfig (line 17) | func getTestConstantVUsConfig() ConstantVUsConfig {
function TestConstantVUsRun (line 25) | func TestConstantVUsRun(t *testing.T) {
FILE: lib/executor/execution_config_shortcuts.go
type ExecutionConflictError (line 13) | type ExecutionConflictError
method Error (line 15) | func (e ExecutionConflictError) Error() string {
function getConstantVUsScenario (line 21) | func getConstantVUsScenario(duration types.NullDuration, vus null.Int) l...
function getRampingVUsScenario (line 28) | func getRampingVUsScenario(stages []lib.Stage, startVUs null.Int) lib.Sc...
function getSharedIterationsScenario (line 39) | func getSharedIterationsScenario(iters null.Int, duration types.NullDura...
function DeriveScenariosFromShortcuts (line 52) | func DeriveScenariosFromShortcuts(opts lib.Options, logger logrus.FieldL...
FILE: lib/executor/execution_test.go
function TestExecutionStateVUIDs (line 21) | func TestExecutionStateVUIDs(t *testing.T) {
function TestExecutionStateGettingVUsWhenNonAreAvailable (line 80) | func TestExecutionStateGettingVUsWhenNonAreAvailable(t *testing.T) {
function TestExecutionStateGettingVUs (line 100) | func TestExecutionStateGettingVUs(t *testing.T) {
function TestMarkStartedPanicsOnSecondRun (line 171) | func TestMarkStartedPanicsOnSecondRun(t *testing.T) {
function TestMarkEnded (line 182) | func TestMarkEnded(t *testing.T) {
FILE: lib/executor/executors_test.go
type exp (line 23) | type exp struct
type configMapTestCase (line 29) | type configMapTestCase struct
function TestConfigMapParsingAndValidation (line 428) | func TestConfigMapParsingAndValidation(t *testing.T) {
function TestArchiveRoundTripExecutorConfig (line 459) | func TestArchiveRoundTripExecutorConfig(t *testing.T) {
FILE: lib/executor/externally_controlled.go
constant externallyControlledType (line 21) | externallyControlledType = "externally-controlled"
function init (line 23) | func init() {
type ExternallyControlledConfigParams (line 42) | type ExternallyControlledConfigParams struct
method Validate (line 49) | func (mecc ExternallyControlledConfigParams) Validate() (errors []erro...
type ExternallyControlledConfig (line 75) | type ExternallyControlledConfig struct
method GetDescription (line 84) | func (mec ExternallyControlledConfig) GetDescription(_ *lib.ExecutionT...
method Validate (line 96) | func (mec ExternallyControlledConfig) Validate() []error {
method GetExecutionRequirements (line 123) | func (mec ExternallyControlledConfig) GetExecutionRequirements(et *lib...
method IsDistributable (line 144) | func (ExternallyControlledConfig) IsDistributable() bool {
method NewExecutor (line 149) | func (mec ExternallyControlledConfig) NewExecutor(es *lib.ExecutionSta...
method HasWork (line 162) | func (mec ExternallyControlledConfig) HasWork(_ *lib.ExecutionTuple) b...
type pauseEvent (line 167) | type pauseEvent struct
type updateConfigEvent (line 172) | type updateConfigEvent struct
type ExternallyControlled (line 180) | type ExternallyControlled struct
method GetCurrentConfig (line 198) | func (mex *ExternallyControlled) GetCurrentConfig() ExternallyControll...
method GetConfig (line 209) | func (mex *ExternallyControlled) GetConfig() lib.ExecutorConfig {
method GetProgress (line 214) | func (mex ExternallyControlled) GetProgress() *pb.ProgressBar {
method GetLogger (line 221) | func (mex ExternallyControlled) GetLogger() *logrus.Entry {
method Init (line 228) | func (mex ExternallyControlled) Init(_ context.Context) error {
method SetPaused (line 233) | func (mex *ExternallyControlled) SetPaused(paused bool) error {
method UpdateConfig (line 248) | func (mex *ExternallyControlled) UpdateConfig(ctx context.Context, new...
method stopWhenDurationIsReached (line 289) | func (mex *ExternallyControlled) stopWhenDurationIsReached(ctx context...
method Run (line 483) | func (mex *ExternallyControlled) Run(parentCtx context.Context, _ chan...
type manualVUHandle (line 316) | type manualVUHandle struct
type externallyControlledRunState (line 356) | type externallyControlledRunState struct
method newManualVUHandle (line 326) | func (rs *externallyControlledRunState) newManualVUHandle(
method retrieveStartMaxVUs (line 373) | func (rs *externallyControlledRunState) retrieveStartMaxVUs() error {
method progressFn (line 386) | func (rs *externallyControlledRunState) progressFn() (float64, []strin...
method handleConfigChange (line 414) | func (rs *externallyControlledRunState) handleConfigChange(oldCfg, new...
FILE: lib/executor/externally_controlled_test.go
function getTestExternallyControlledConfig (line 18) | func getTestExternallyControlledConfig() ExternallyControlledConfig {
function TestExternallyControlledRun (line 28) | func TestExternallyControlledRun(t *testing.T) {
FILE: lib/executor/helpers.go
function sumStagesDuration (line 19) | func sumStagesDuration(stages []Stage) (result time.Duration) {
function getStagesUnscaledMaxTarget (line 26) | func getStagesUnscaledMaxTarget(unscaledStartValue int64, stages []Stage...
function validateStages (line 37) | func validateStages(stages []Stage) []error {
function handleInterrupt (line 62) | func handleInterrupt(ctx context.Context, err error) bool {
function getIterationRunner (line 77) | func getIterationRunner(
function getDurationContexts (line 141) | func getDurationContexts(parentCtx context.Context, regularDuration, gra...
function trackProgress (line 157) | func trackProgress(
function getScaledArrivalRate (line 196) | func getScaledArrivalRate(es *lib.ExecutionSegment, rate int64, period t...
function getTickerPeriod (line 206) | func getTickerPeriod(scaledArrivalRate *big.Rat) types.NullDuration {
function getArrivalRatePerSec (line 218) | func getArrivalRatePerSec(scaledArrivalRate *big.Rat) *big.Rat {
function getVUActivationParams (line 224) | func getVUActivationParams(
FILE: lib/executor/helpers_test.go
function sumMetricValues (line 5) | func sumMetricValues(samples chan metrics.SampleContainer, metricName st...
FILE: lib/executor/per_vu_iterations.go
constant perVUIterationsType (line 19) | perVUIterationsType = "per-vu-iterations"
function init (line 21) | func init() {
type PerVUIterationsConfig (line 30) | type PerVUIterationsConfig struct
method GetVUs (line 51) | func (pvic PerVUIterationsConfig) GetVUs(et *lib.ExecutionTuple) int64 {
method GetIterations (line 59) | func (pvic PerVUIterationsConfig) GetIterations() int64 {
method GetDescription (line 64) | func (pvic PerVUIterationsConfig) GetDescription(et *lib.ExecutionTupl...
method Validate (line 71) | func (pvic PerVUIterationsConfig) Validate() []error {
method GetExecutionRequirements (line 95) | func (pvic PerVUIterationsConfig) GetExecutionRequirements(et *lib.Exe...
method NewExecutor (line 109) | func (pvic PerVUIterationsConfig) NewExecutor(
method HasWork (line 119) | func (pvic PerVUIterationsConfig) HasWork(et *lib.ExecutionTuple) bool {
function NewPerVUIterationsConfig (line 38) | func NewPerVUIterationsConfig(name string) PerVUIterationsConfig {
type PerVUIterations (line 124) | type PerVUIterations struct
method Run (line 135) | func (pvi PerVUIterations) Run(parentCtx context.Context, out chan<- m...
FILE: lib/executor/per_vu_iterations_test.go
function getTestPerVUIterationsConfig (line 19) | func getTestPerVUIterationsConfig() PerVUIterationsConfig {
function TestPerVUIterationsRun (line 29) | func TestPerVUIterationsRun(t *testing.T) {
function TestPerVUIterationsRunVariableVU (line 57) | func TestPerVUIterationsRunVariableVU(t *testing.T) {
function TestPerVuIterationsEmitDroppedIterations (line 98) | func TestPerVuIterationsEmitDroppedIterations(t *testing.T) {
FILE: lib/executor/ramping_arrival_rate.go
constant rampingArrivalRateType (line 20) | rampingArrivalRateType = "ramping-arrival-rate"
function init (line 22) | func init() {
type RampingArrivalRateConfig (line 35) | type RampingArrivalRateConfig struct
method GetPreAllocatedVUs (line 60) | func (varc RampingArrivalRateConfig) GetPreAllocatedVUs(et *lib.Execut...
method GetMaxVUs (line 65) | func (varc RampingArrivalRateConfig) GetMaxVUs(et *lib.ExecutionTuple)...
method GetDescription (line 70) | func (varc RampingArrivalRateConfig) GetDescription(et *lib.ExecutionT...
method Validate (line 87) | func (varc *RampingArrivalRateConfig) Validate() []error {
method GetExecutionRequirements (line 121) | func (varc RampingArrivalRateConfig) GetExecutionRequirements(et *lib....
method NewExecutor (line 137) | func (varc RampingArrivalRateConfig) NewExecutor(
method HasWork (line 147) | func (varc RampingArrivalRateConfig) HasWork(et *lib.ExecutionTuple) b...
method cal (line 234) | func (varc RampingArrivalRateConfig) cal(et *lib.ExecutionTuple, ch ch...
function NewRampingArrivalRateConfig (line 49) | func NewRampingArrivalRateConfig(name string) *RampingArrivalRateConfig {
type RampingArrivalRate (line 154) | type RampingArrivalRate struct
method Init (line 164) | func (varr *RampingArrivalRate) Init(_ context.Context) error {
method Run (line 305) | func (varr RampingArrivalRate) Run(parentCtx context.Context, out chan...
function noNegativeSqrt (line 285) | func noNegativeSqrt(f float64) float64 {
type activeVUPool (line 500) | type activeVUPool struct
method TryRunIteration (line 518) | func (p *activeVUPool) TryRunIteration() bool {
method Running (line 528) | func (p *activeVUPool) Running() uint64 {
method AddVU (line 536) | func (p *activeVUPool) AddVU(ctx context.Context, avu lib.ActiveVU, ru...
method Close (line 556) | func (p *activeVUPool) Close() {
function newActiveVUPool (line 508) | func newActiveVUPool(es *lib.ExecutionState) *activeVUPool {
FILE: lib/executor/ramping_arrival_rate_test.go
function getTestRampingArrivalRateConfig (line 22) | func getTestRampingArrivalRateConfig() *RampingArrivalRateConfig {
function TestRampingArrivalRateRunNotEnoughAllocatedVUsWarn (line 46) | func TestRampingArrivalRateRunNotEnoughAllocatedVUsWarn(t *testing.T) {
function TestRampingArrivalRateRunCorrectRate (line 69) | func TestRampingArrivalRateRunCorrectRate(t *testing.T) {
function TestRampingArrivalRateRunUnplannedVUs (line 103) | func TestRampingArrivalRateRunUnplannedVUs(t *testing.T) {
function TestRampingArrivalRateRunCorrectRateWithSlowRate (line 169) | func TestRampingArrivalRateRunCorrectRateWithSlowRate(t *testing.T) {
function TestRampingArrivalRateRunGracefulStop (line 219) | func TestRampingArrivalRateRunGracefulStop(t *testing.T) {
function BenchmarkRampingArrivalRateRun (line 255) | func BenchmarkRampingArrivalRateRun(b *testing.B) {
function mustNewExecutionTuple (line 321) | func mustNewExecutionTuple(seg *lib.ExecutionSegment, seq *lib.Execution...
function TestRampingArrivalRateCal (line 329) | func TestRampingArrivalRateCal(t *testing.T) {
function BenchmarkCal (line 431) | func BenchmarkCal(b *testing.B) {
function BenchmarkCalRat (line 466) | func BenchmarkCalRat(b *testing.B) {
function TestCompareCalImplementation (line 501) | func TestCompareCalImplementation(t *testing.T) {
function sqrtRat (line 574) | func sqrtRat(x *big.Rat) *big.Rat {
method calRat (line 592) | func (varc RampingArrivalRateConfig) calRat(et *lib.ExecutionTuple, ch c...
function TestRampingArrivalRateGlobalIters (line 660) | func TestRampingArrivalRateGlobalIters(t *testing.T) {
function TestRampingArrivalRateCornerCase (line 713) | func TestRampingArrivalRateCornerCase(t *testing.T) {
function TestRampingArrivalRateActiveVUs (line 733) | func TestRampingArrivalRateActiveVUs(t *testing.T) {
function TestRampingArrivalRateActiveVUs_GetExecutionRequirements (line 777) | func TestRampingArrivalRateActiveVUs_GetExecutionRequirements(t *testing...
FILE: lib/executor/ramping_vus.go
constant rampingVUsType (line 20) | rampingVUsType = "ramping-vus"
constant maxConcurrentVUs (line 24) | maxConcurrentVUs int = 100_000_000
function init (line 27) | func init() {
type Stage (line 39) | type Stage struct
type RampingVUsConfig (line 46) | type RampingVUsConfig struct
method GetStartVUs (line 66) | func (vlvc RampingVUsConfig) GetStartVUs(et *lib.ExecutionTuple) int64 {
method GetGracefulRampDown (line 72) | func (vlvc RampingVUsConfig) GetGracefulRampDown() time.Duration {
method GetDescription (line 77) | func (vlvc RampingVUsConfig) GetDescription(et *lib.ExecutionTuple) st...
method Validate (line 85) | func (vlvc RampingVUsConfig) Validate() []error {
method getRawExecutionSteps (line 177) | func (vlvc RampingVUsConfig) getRawExecutionSteps(et *lib.ExecutionTup...
method precalculateTheRequiredSteps (line 249) | func (vlvc RampingVUsConfig) precalculateTheRequiredSteps(et *lib.Exec...
method reserveVUsForGracefulRampDowns (line 313) | func (vlvc RampingVUsConfig) reserveVUsForGracefulRampDowns(
method GetExecutionRequirements (line 437) | func (vlvc RampingVUsConfig) GetExecutionRequirements(et *lib.Executio...
method NewExecutor (line 455) | func (vlvc RampingVUsConfig) NewExecutor(es *lib.ExecutionState, logge...
method HasWork (line 463) | func (vlvc RampingVUsConfig) HasWork(et *lib.ExecutionTuple) bool {
function NewRampingVUsConfig (line 54) | func NewRampingVUsConfig(name string) RampingVUsConfig {
function absInt64 (line 242) | func absInt64(a int64) int64 {
type RampingVUs (line 470) | type RampingVUs struct
method Init (line 482) | func (vlv *RampingVUs) Init(_ context.Context) error {
method Run (line 494) | func (vlv *RampingVUs) Run(ctx context.Context, _ chan<- metrics.Sampl...
type rampingVUsRunState (line 568) | type rampingVUsRunState struct
method makeProgressFn (line 579) | func (rs *rampingVUsRunState) makeProgressFn(regular time.Duration) (p...
method runLoopsIfPossible (line 595) | func (rs *rampingVUsRunState) runLoopsIfPossible(ctx context.Context, ...
method iterateSteps (line 625) | func (rs *rampingVUsRunState) iterateSteps(
method runRemainingGracefulSteps (line 657) | func (rs *rampingVUsRunState) runRemainingGracefulSteps(
method maxAllowedVUsHandlerStrategy (line 671) | func (rs *rampingVUsRunState) maxAllowedVUsHandlerStrategy() func(lib....
method scheduledVUsHandlerStrategy (line 682) | func (rs *rampingVUsRunState) scheduledVUsHandlerStrategy() func(lib.E...
function waiter (line 700) | func waiter(ctx context.Context, start time.Time) func(offset time.Durat...
function validateTargetShifts (line 723) | func validateTargetShifts(startVUs int64, stages []Stage) []error {
FILE: lib/executor/ramping_vus_test.go
function TestRampingVUsConfigValidation (line 21) | func TestRampingVUsConfigValidation(t *testing.T) {
function TestRampingVUsRun (line 90) | func TestRampingVUsRun(t *testing.T) {
function TestRampingVUsGracefulStopWaits (line 148) | func TestRampingVUsGracefulStopWaits(t *testing.T) {
function TestRampingVUsGracefulStopStops (line 194) | func TestRampingVUsGracefulStopStops(t *testing.T) {
function TestRampingVUsGracefulRampDown (line 240) | func TestRampingVUsGracefulRampDown(t *testing.T) {
function TestRampingVUsHandleRemainingVUs (line 311) | func TestRampingVUsHandleRemainingVUs(t *testing.T) {
function TestRampingVUsRampDownNoWobble (line 376) | func TestRampingVUsRampDownNoWobble(t *testing.T) {
function TestRampingVUsConfigExecutionPlanExample (line 442) | func TestRampingVUsConfigExecutionPlanExample(t *testing.T) {
function TestRampingVUsConfigExecutionPlanExampleOneThird (line 542) | func TestRampingVUsConfigExecutionPlanExampleOneThird(t *testing.T) {
function TestRampingVUsExecutionTupleTests (line 621) | func TestRampingVUsExecutionTupleTests(t *testing.T) {
function TestRampingVUsGetRawExecutionStepsCornerCases (line 845) | func TestRampingVUsGetRawExecutionStepsCornerCases(t *testing.T) {
function BenchmarkRampingVUsGetRawExecutionSteps (line 1025) | func BenchmarkRampingVUsGetRawExecutionSteps(b *testing.B) {
function generateRandomSequence (line 1090) | func generateRandomSequence(t testing.TB, n, m int64, r *rand.Rand) lib....
function TestSumRandomSegmentSequenceMatchesNoSegment (line 1110) | func TestSumRandomSegmentSequenceMatchesNoSegment(t *testing.T) {
FILE: lib/executor/shared_iterations.go
constant sharedIterationsType (line 19) | sharedIterationsType = "shared-iterations"
function init (line 21) | func init() {
type SharedIterationsConfig (line 33) | type SharedIterationsConfig struct
method GetVUs (line 54) | func (sic SharedIterationsConfig) GetVUs(et *lib.ExecutionTuple) int64 {
method GetIterations (line 59) | func (sic SharedIterationsConfig) GetIterations(et *lib.ExecutionTuple...
method GetDescription (line 69) | func (sic SharedIterationsConfig) GetDescription(et *lib.ExecutionTupl...
method Validate (line 76) | func (sic SharedIterationsConfig) Validate() []error {
method GetExecutionRequirements (line 103) | func (sic SharedIterationsConfig) GetExecutionRequirements(et *lib.Exe...
method NewExecutor (line 127) | func (sic SharedIterationsConfig) NewExecutor(
method HasWork (line 148) | func (sic SharedIterationsConfig) HasWork(et *lib.ExecutionTuple) bool {
function NewSharedIterationsConfig (line 41) | func NewSharedIterationsConfig(name string) SharedIterationsConfig {
type SharedIterations (line 138) | type SharedIterations struct
method Init (line 153) | func (si *SharedIterations) Init(_ context.Context) error {
method Run (line 167) | func (si SharedIterations) Run(parentCtx context.Context, out chan<- m...
FILE: lib/executor/shared_iterations_test.go
function getTestSharedIterationsConfig (line 21) | func getTestSharedIterationsConfig() SharedIterationsConfig {
function TestSharedIterationsRun (line 30) | func TestSharedIterationsRun(t *testing.T) {
function TestSharedIterationsRunVariableVU (line 48) | func TestSharedIterationsRunVariableVU(t *testing.T) {
function TestSharedIterationsEmitDroppedIterations (line 89) | func TestSharedIterationsEmitDroppedIterations(t *testing.T) {
function TestSharedIterationsGlobalIters (line 115) | func TestSharedIterationsGlobalIters(t *testing.T) {
FILE: lib/executor/vu_handle.go
type stateType (line 13) | type stateType
constant stopped (line 17) | stopped stateType = iota
constant starting (line 18) | starting
constant running (line 19) | running
constant toGracefulStop (line 20) | toGracefulStop
constant toHardStop (line 21) | toHardStop
type vuHandle (line 70) | type vuHandle struct
method start (line 115) | func (vh *vuHandle) start() (err error) {
method changeState (line 142) | func (vh *vuHandle) changeState(newState stateType) {
method gracefulStop (line 147) | func (vh *vuHandle) gracefulStop() {
method hardStop (line 165) | func (vh *vuHandle) hardStop() {
method runLoopsIfPossible (line 185) | func (vh *vuHandle) runLoopsIfPossible(runIter func(context.Context, l...
function newStoppedVUHandle (line 90) | func newStoppedVUHandle(
FILE: lib/executor/vu_handle_test.go
function mockNextIterations (line 20) | func mockNextIterations() (uint64, uint64) {
function TestVUHandleRace (line 25) | func TestVUHandleRace(t *testing.T) {
function TestVUHandleStartStopRace (line 114) | func TestVUHandleStartStopRace(t *testing.T) {
type handleVUTest (line 190) | type handleVUTest struct
method getVU (line 198) | func (h *handleVUTest) getVU() (lib.InitializedVU, error) {
method returnVU (line 202) | func (h *handleVUTest) returnVU(_ lib.InitializedVU) {
method runIter (line 206) | func (h *handleVUTest) runIter(ctx context.Context, _ lib.ActiveVU) bo...
function TestVUHandleSimple (line 223) | func TestVUHandleSimple(t *testing.T) {
function BenchmarkVUHandleIterations (line 343) | func BenchmarkVUHandleIterations(b *testing.B) {
FILE: lib/executors.go
type ExecutionStep (line 49) | type ExecutionStep struct
type ExecutorConfig (line 60) | type ExecutorConfig interface
type ScenarioOptions (line 98) | type ScenarioOptions struct
type ScenarioState (line 104) | type ScenarioState struct
type InitVUFunc (line 112) | type InitVUFunc
type Executor (line 115) | type Executor interface
type PausableExecutor (line 127) | type PausableExecutor interface
type LiveUpdatableExecutor (line 134) | type LiveUpdatableExecutor interface
type ExecutorConfigConstructor (line 141) | type ExecutorConfigConstructor
function RegisterExecutorConfigType (line 146) | func RegisterExecutorConfigType(configType string, constructor ExecutorC...
type ScenarioConfigs (line 161) | type ScenarioConfigs
method UnmarshalJSON (line 165) | func (scs *ScenarioConfigs) UnmarshalJSON(data []byte) error {
method Validate (line 199) | func (scs ScenarioConfigs) Validate() (errors []error) {
method GetSortedConfigs (line 218) | func (scs ScenarioConfigs) GetSortedConfigs() []ExecutorConfig {
method GetFullExecutionRequirements (line 245) | func (scs ScenarioConfigs) GetFullExecutionRequirements(et *ExecutionT...
function GetParsedExecutorConfig (line 319) | func GetParsedExecutorConfig(name, configType string, rawJSON []byte) (r...
type protoExecutorConfig (line 330) | type protoExecutorConfig struct
method UnmarshalJSON (line 337) | func (pc *protoExecutorConfig) UnmarshalJSON(b []byte) error {
FILE: lib/fsext/afero_links.go
constant FilePathSeparator (line 15) | FilePathSeparator = afero.FilePathSeparator
function NewMemMapFs (line 18) | func NewMemMapFs() Fs {
function NewReadOnlyFs (line 23) | func NewReadOnlyFs(fs Fs) Fs {
function WriteFile (line 28) | func WriteFile(fs Fs, filename string, data []byte, perm fs.FileMode) er...
function ReadFile (line 33) | func ReadFile(fs Fs, filename string) ([]byte, error) {
function ReadDir (line 38) | func ReadDir(fs Fs, dirname string) ([]fs.FileInfo, error) {
function NewOsFs (line 43) | func NewOsFs() Fs {
function Exists (line 48) | func Exists(fs Fs, path string) (bool, error) {
function IsDir (line 53) | func IsDir(fs Fs, path string) (bool, error) {
FILE: lib/fsext/cacheonread.go
type CacheOnReadFs (line 17) | type CacheOnReadFs struct
method GetCachingFs (line 50) | func (c *CacheOnReadFs) GetCachingFs() afero.Fs {
method AllowOnlyCached (line 55) | func (c *CacheOnReadFs) AllowOnlyCached() {
method Open (line 64) | func (c *CacheOnReadFs) Open(name string) (afero.File, error) {
method Stat (line 76) | func (c *CacheOnReadFs) Stat(path string) (fs.FileInfo, error) {
method checkOrRemember (line 84) | func (c *CacheOnReadFs) checkOrRemember(path string) error {
type OnlyCachedEnabler (line 28) | type OnlyCachedEnabler interface
type CacheLayerGetter (line 33) | type CacheLayerGetter interface
function NewCacheOnReadFs (line 38) | func NewCacheOnReadFs(base, layer afero.Fs, cacheTime time.Duration) afe...
FILE: lib/fsext/changepathfs.go
type ChangePathFs (line 17) | type ChangePathFs struct
method Chown (line 54) | func (b *ChangePathFs) Chown(_ string, _, _ int) error {
method Chtimes (line 59) | func (b *ChangePathFs) Chtimes(name string, atime, mtime time.Time) (e...
method Chmod (line 68) | func (b *ChangePathFs) Chmod(name string, mode fs.FileMode) (err error) {
method Name (line 77) | func (b *ChangePathFs) Name() string {
method Stat (line 83) | func (b *ChangePathFs) Stat(name string) (fi fs.FileInfo, err error) {
method Rename (line 92) | func (b *ChangePathFs) Rename(oldName, newName string) (err error) {
method RemoveAll (line 105) | func (b *ChangePathFs) RemoveAll(name string) (err error) {
method Remove (line 115) | func (b *ChangePathFs) Remove(name string) (err error) {
method OpenFile (line 124) | func (b *ChangePathFs) OpenFile(name string, flag int, mode fs.FileMod...
method Open (line 137) | func (b *ChangePathFs) Open(name string) (f afero.File, err error) {
method Mkdir (line 151) | func (b *ChangePathFs) Mkdir(name string, mode fs.FileMode) (err error) {
method MkdirAll (line 161) | func (b *ChangePathFs) MkdirAll(name string, mode fs.FileMode) (err er...
method Create (line 171) | func (b *ChangePathFs) Create(name string) (f afero.File, err error) {
method LstatIfPossible (line 184) | func (b *ChangePathFs) LstatIfPossible(name string) (fs.FileInfo, bool...
type ChangePathFile (line 23) | type ChangePathFile struct
method Name (line 49) | func (f *ChangePathFile) Name() string {
function NewChangePathFs (line 29) | func NewChangePathFs(source afero.Fs, fn ChangePathFunc) *ChangePathFs {
type ChangePathFunc (line 34) | type ChangePathFunc
function NewTrimFilePathSeparatorFs (line 38) | func NewTrimFilePathSeparatorFs(source afero.Fs) *ChangePathFs {
FILE: lib/fsext/changepathfs_test.go
function TestChangePathFs (line 17) | func TestChangePathFs(t *testing.T) {
function checkErrorPath (line 184) | func checkErrorPath(t *testing.T, err error, path string) {
FILE: lib/fsext/filepath.go
function JoinFilePath (line 15) | func JoinFilePath(b, p string) string {
function Abs (line 34) | func Abs(root, path string) string {
FILE: lib/fsext/filepath_unix_test.go
function TestJoinFilePath (line 12) | func TestJoinFilePath(t *testing.T) {
function TestAbs (line 74) | func TestAbs(t *testing.T) {
FILE: lib/fsext/filepath_windows_test.go
function TestJoinFilePath (line 12) | func TestJoinFilePath(t *testing.T) {
function TestAbs (line 68) | func TestAbs(t *testing.T) {
FILE: lib/fsext/trimpathseparator_test.go
function TestTrimAferoPathSeparatorFs (line 13) | func TestTrimAferoPathSeparatorFs(t *testing.T) {
FILE: lib/fsext/walk.go
function Walk (line 14) | func Walk(fs afero.Fs, root string, walkFn filepath.WalkFunc) error {
function readDirNames (line 25) | func readDirNames(fs afero.Fs, dirname string) ([]string, error) {
function walk (line 49) | func walk(fileSystem afero.Fs, path string, info fs.FileInfo, walkFn fil...
FILE: lib/helpers.go
function StrictJSONUnmarshal (line 13) | func StrictJSONUnmarshal(data []byte, v any) error {
function GetMaxPlannedVUs (line 30) | func GetMaxPlannedVUs(steps []ExecutionStep) (result uint64) {
function GetMaxPossibleVUs (line 62) | func GetMaxPossibleVUs(steps []ExecutionStep) (result uint64) {
function GetEndOffset (line 75) | func GetEndOffset(steps []ExecutionStep) (lastStepOffset time.Duration, ...
function ConcatErrors (line 88) | func ConcatErrors(errors []error, separator string) string {
FILE: lib/helpers_test.go
function TestStrictJSONUnmarshal (line 11) | func TestStrictJSONUnmarshal(t *testing.T) {
FILE: lib/limiter.go
type SlotLimiter (line 8) | type SlotLimiter
method Begin (line 25) | func (sl SlotLimiter) Begin() {
method End (line 33) | func (sl SlotLimiter) End() {
function NewSlotLimiter (line 11) | func NewSlotLimiter(slots int) SlotLimiter {
type MultiSlotLimiter (line 41) | type MultiSlotLimiter struct
method Slot (line 55) | func (l *MultiSlotLimiter) Slot(s string) SlotLimiter {
function NewMultiSlotLimiter (line 49) | func NewMultiSlotLimiter(slots int) *MultiSlotLimiter {
FILE: lib/limiter_test.go
function TestSlotLimiterSingleSlot (line 12) | func TestSlotLimiterSingleSlot(t *testing.T) {
function TestSlotLimiterUnlimited (line 26) | func TestSlotLimiterUnlimited(t *testing.T) {
function TestSlotLimiters (line 34) | func TestSlotLimiters(t *testing.T) {
function TestMultiSlotLimiter (line 86) | func TestMultiSlotLimiter(t *testing.T) {
FILE: lib/models.go
constant GroupSeparator (line 19) | GroupSeparator = "::"
constant RootGroupPath (line 25) | RootGroupPath = ""
type StageFields (line 37) | type StageFields struct
type Stage (line 46) | type Stage
method UnmarshalJSON (line 50) | func (s *Stage) UnmarshalJSON(b []byte) error {
method MarshalJSON (line 60) | func (s Stage) MarshalJSON() ([]byte, error) {
method UnmarshalText (line 65) | func (s *Stage) UnmarshalText(b []byte) error {
type Group (line 89) | type Group struct
method Group (line 145) | func (g *Group) Group(name string) (*Group, error) {
method Check (line 174) | func (g *Group) Check(name string) (*Check, error) {
function NewGroup (line 120) | func NewGroup(name string, parent *Group) (*Group, error) {
function NewGroupPath (line 162) | func NewGroupPath(old, path string) (string, error) {
type Check (line 193) | type Check struct
function NewCheck (line 216) | func NewCheck(name string, group *Group) (*Check, error) {
FILE: lib/models_test.go
function TestStageJSON (line 15) | func TestStageJSON(t *testing.T) {
function TestDataRaces (line 29) | func TestDataRaces(t *testing.T) {
FILE: lib/netext/dialer.go
type Dialer (line 18) | type Dialer struct
method DialContext (line 59) | func (d *Dialer) DialContext(ctx context.Context, proto, addr string) ...
method ResolveAddr (line 75) | func (d *Dialer) ResolveAddr(addr string) (net.IP, int, error) {
method IOSamples (line 92) | func (d *Dialer) IOSamples(
method getDialAddr (line 119) | func (d *Dialer) getDialAddr(addr string) (*types.Host, error) {
method findRemote (line 134) | func (d *Dialer) findRemote(addr string) (*types.Host, error) {
method getConfiguredHost (line 170) | func (d *Dialer) getConfiguredHost(addr, host, port string) (*types.Ho...
function NewDialer (line 31) | func NewDialer(dialer net.Dialer, resolver Resolver) *Dialer {
type BlackListedIPError (line 39) | type BlackListedIPError struct
method Error (line 44) | func (b BlackListedIPError) Error() string {
type BlockedHostError (line 49) | type BlockedHostError struct
method Error (line 54) | func (b BlockedHostError) Error() string {
type Conn (line 195) | type Conn struct
method Read (line 201) | func (c *Conn) Read(b []byte) (int, error) {
method Write (line 209) | func (c *Conn) Write(b []byte) (int, error) {
FILE: lib/netext/dialer_test.go
function TestDialerAddr (line 14) | func TestDialerAddr(t *testing.T) {
function TestDialerAddrBlockHostnamesStar (line 75) | func TestDialerAddrBlockHostnamesStar(t *testing.T) {
function BenchmarkDialerHosts (line 113) | func BenchmarkDialerHosts(b *testing.B) {
function TestDialerResolveAddr (line 138) | func TestDialerResolveAddr(t *testing.T) {
function newResolver (line 212) | func newResolver() *mockresolver.MockResolver {
FILE: lib/netext/httpext/batch.go
type BatchParsedHTTPRequest (line 13) | type BatchParsedHTTPRequest struct
function MakeBatchRequests (line 25) | func MakeBatchRequests(
FILE: lib/netext/httpext/compression.go
type CompressionType (line 24) | type CompressionType
constant CompressionTypeGzip (line 28) | CompressionTypeGzip CompressionType = iota
constant CompressionTypeDeflate (line 30) | CompressionTypeDeflate
constant CompressionTypeZstd (line 32) | CompressionTypeZstd
constant CompressionTypeBr (line 34) | CompressionTypeBr
function compressBody (line 39) | func compressBody(algos []CompressionType, body io.ReadCloser) (*bytes.B...
function newDecompressionError (line 91) | func newDecompressionError(originalErr error) K6Error {
function wrapDecompressionError (line 99) | func wrapDecompressionError(err error) error {
function readResponseBody (line 118) | func readResponseBody(
function pickDecoder (line 196) | func pickDecoder(compression CompressionType, rc *readCloser) (io.Reader...
FILE: lib/netext/httpext/compression_type_gen.go
constant _CompressionTypeName (line 9) | _CompressionTypeName = "gzipdeflatezstdbr"
method String (line 13) | func (i CompressionType) String() string {
function CompressionTypeString (line 31) | func CompressionTypeString(s string) (CompressionType, error) {
function CompressionTypeValues (line 39) | func CompressionTypeValues() []CompressionType {
method IsACompressionType (line 44) | func (i CompressionType) IsACompressionType() bool {
FILE: lib/netext/httpext/digest_transport.go
type digestTransport (line 10) | type digestTransport struct
method RoundTrip (line 22) | func (t digestTransport) RoundTrip(req *http.Request) (*http.Response,...
FILE: lib/netext/httpext/error_codes.go
type errCode (line 23) | type errCode
constant defaultErrorCode (line 27) | defaultErrorCode errCode = 1000
constant defaultNetNonTCPErrorCode (line 28) | defaultNetNonTCPErrorCode errCode = 1010
constant invalidURLErrorCode (line 29) | invalidURLErrorCode errCode = 1020
constant requestTimeoutErrorCode (line 30) | requestTimeoutErrorCode errCode = 1050
constant defaultDNSErrorCode (line 32) | defaultDNSErrorCode errCode = 1100
constant dnsNoSuchHostErrorCode (line 33) | dnsNoSuchHostErrorCode errCode = 1101
constant blackListedIPErrorCode (line 34) | blackListedIPErrorCode errCode = 1110
constant blockedHostnameErrorCode (line 35) | blockedHostnameErrorCode errCode = 1111
constant defaultTCPErrorCode (line 37) | defaultTCPErrorCode errCode = 1200
constant tcpBrokenPipeErrorCode (line 38) | tcpBrokenPipeErrorCode errCode = 1201
constant netUnknownErrnoErrorCode (line 39) | netUnknownErrnoErrorCode errCode = 1202
constant tcpDialErrorCode (line 40) | tcpDialErrorCode errCode = 1210
constant tcpDialTimeoutErrorCode (line 41) | tcpDialTimeoutErrorCode errCode = 1211
constant tcpDialRefusedErrorCode (line 42) | tcpDialRefusedErrorCode errCode = 1212
constant tcpDialUnknownErrnoCode (line 43) | tcpDialUnknownErrnoCode errCode = 1213
constant tcpResetByPeerErrorCode (line 44) | tcpResetByPeerErrorCode errCode = 1220
constant defaultTLSErrorCode (line 46) | defaultTLSErrorCode errCode = 1300
constant tlsHeaderErrorCode (line 47) | tlsHeaderErrorCode errCode = 1301
constant x509UnknownAuthorityErrorCode (line 48) | x509UnknownAuthorityErrorCode errCode = 1310
constant x509HostnameErrorCode (line 49) | x509HostnameErrorCode errCode = 1311
constant defaultHTTP2ErrorCode (line 52) | defaultHTTP2ErrorCode errCode = 1600
constant unknownHTTP2GoAwayErrorCode (line 54) | unknownHTTP2GoAwayErrorCode errCode = 1610
constant unknownHTTP2StreamErrorCode (line 58) | unknownHTTP2StreamErrorCode errCode = 1630
constant unknownHTTP2ConnectionErrorCode (line 62) | unknownHTTP2ConnectionErrorCode errCode = 1650
constant responseDecompressionErrorCode (line 67) | responseDecompressionErrorCode errCode = 1701
constant tcpResetByPeerErrorCodeMsg (line 71) | tcpResetByPeerErrorCodeMsg = "%s: connection reset by peer"
constant tcpDialTimeoutErrorCodeMsg (line 72) | tcpDialTimeoutErrorCodeMsg = "dial: i/o timeout"
constant tcpDialRefusedErrorCodeMsg (line 73) | tcpDialRefusedErrorCodeMsg = "dial: connection refused"
constant tcpBrokenPipeErrorCodeMsg (line 74) | tcpBrokenPipeErrorCodeMsg = "%s: broken pipe"
constant netUnknownErrnoErrorCodeMsg (line 75) | netUnknownErrnoErrorCodeMsg = "%s: unknown errno `%d` on %s with message...
constant dnsNoSuchHostErrorCodeMsg (line 76) | dnsNoSuchHostErrorCodeMsg = "lookup: no such host"
constant blackListedIPErrorCodeMsg (line 77) | blackListedIPErrorCodeMsg = "ip is blacklisted"
constant blockedHostnameErrorMsg (line 78) | blockedHostnameErrorMsg = "hostname is blocked"
constant http2GoAwayErrorCodeMsg (line 79) | http2GoAwayErrorCodeMsg = "http2: received GoAway with http2 ErrCode...
constant http2StreamErrorCodeMsg (line 80) | http2StreamErrorCodeMsg = "http2: stream error with http2 ErrCode %s"
constant http2ConnectionErrorCodeMsg (line 81) | http2ConnectionErrorCodeMsg = "http2: connection error with http2 ErrCod...
constant x509HostnameErrorCodeMsg (line 82) | x509HostnameErrorCodeMsg = "x509: certificate doesn't match hostname"
constant x509UnknownAuthority (line 83) | x509UnknownAuthority = "x509: unknown authority"
constant requestTimeoutErrorCodeMsg (line 84) | requestTimeoutErrorCodeMsg = "request timeout"
constant invalidURLErrorCodeMsg (line 85) | invalidURLErrorCodeMsg = "invalid URL"
function http2ErrCodeOffset (line 88) | func http2ErrCodeOffset(code http2.ErrCode) errCode {
function errorCodeForNetOpError (line 96) | func errorCodeForNetOpError(err *net.OpError) (errCode, string) {
function errorCodeForError (line 157) | func errorCodeForError(err error) (errCode, string) {
type K6Error (line 206) | type K6Error struct
method Error (line 218) | func (k6Err K6Error) Error() string {
method Unwrap (line 224) | func (k6Err K6Error) Unwrap() error {
function NewK6Error (line 213) | func NewK6Error(code errCode, msg string, originalErr error) K6Error {
FILE: lib/netext/httpext/error_codes_syscall_posix.go
function getOSSyscallErrorCode (line 10) | func getOSSyscallErrorCode(_ *net.OpError, _ *os.SyscallError) (errCode,...
FILE: lib/netext/httpext/error_codes_syscall_windows.go
function getOSSyscallErrorCode (line 10) | func getOSSyscallErrorCode(e *net.OpError, se *os.SyscallError) (errCode...
FILE: lib/netext/httpext/error_codes_test.go
function TestDefaultError (line 29) | func TestDefaultError(t *testing.T) {
function TestDNSErrors (line 34) | func TestDNSErrors(t *testing.T) {
function TestBlackListedIPError (line 49) | func TestBlackListedIPError(t *testing.T) {
type timeoutError (line 58) | type timeoutError
method Timeout (line 60) | func (t timeoutError) Timeout() bool {
method Error (line 64) | func (t timeoutError) Error() string {
function TestUnknownNetErrno (line 68) | func TestUnknownNetErrno(t *testing.T) {
function TestTCPErrors (line 82) | func TestTCPErrors(t *testing.T) {
function testErrorCode (line 107) | func testErrorCode(t *testing.T, code errCode, err error) {
function testMapOfErrorCodes (line 119) | func testMapOfErrorCodes(t *testing.T, testTable map[errCode]error) {
function TestConnReset (line 126) | func TestConnReset(t *testing.T) {
function TestDnsResolve (line 167) | func TestDnsResolve(t *testing.T) {
function TestHTTP2StreamError (line 179) | func TestHTTP2StreamError(t *testing.T) {
function TestX509HostnameError (line 212) | func TestX509HostnameError(t *testing.T) {
function TestX509UnknownAuthorityError (line 240) | func TestX509UnknownAuthorityError(t *testing.T) {
function TestDefaultTLSError (line 261) | func TestDefaultTLSError(t *testing.T) {
function TestHTTP2ConnectionError (line 294) | func TestHTTP2ConnectionError(t *testing.T) {
function TestHTTP2GoAwayError (line 315) | func TestHTTP2GoAwayError(t *testing.T) {
type connKeyT (line 341) | type connKeyT
constant connKey (line 343) | connKey connKeyT = 2
function getHTTP2ServerWithCustomConnContext (line 345) | func getHTTP2ServerWithCustomConnContext(t *testing.T) *httpmultibin.HTT...
FILE: lib/netext/httpext/httpdebug_transport.go
type httpDebugTransport (line 12) | type httpDebugTransport struct
method RoundTrip (line 24) | func (t httpDebugTransport) RoundTrip(req *http.Request) (*http.Respon...
method debugRequest (line 32) | func (t httpDebugTransport) debugRequest(req *http.Request, requestID ...
method debugResponse (line 41) | func (t httpDebugTransport) debugResponse(res *http.Response, requestI...
FILE: lib/netext/httpext/request.go
type HTTPRequestCookie (line 25) | type HTTPRequestCookie struct
type Request (line 31) | type Request struct
type ParsedHTTPRequest (line 40) | type ParsedHTTPRequest struct
type ncloser (line 57) | type ncloser interface
type readCloser (line 61) | type readCloser struct
method Close (line 66) | func (r readCloser) Close() error {
function stdCookiesToHTTPRequestCookies (line 77) | func stdCookiesToHTTPRequestCookies(cookies []*http.Cookie) map[string][...
function updateK6Response (line 87) | func updateK6Response(k6Response *Response, finishedReq *finishedRequest) {
function MakeRequest (line 114) | func MakeRequest(ctx context.Context, state *lib.State, preq *ParsedHTTP...
function SetRequestCookies (line 349) | func SetRequestCookies(req *http.Request, jar *cookiejar.Jar, reqCookies...
FILE: lib/netext/httpext/request_test.go
type reader (line 28) | type reader
method Read (line 30) | func (r reader) Read(a []byte) (int, error) {
constant badReadMsg (line 35) | badReadMsg = "bad read error for test"
constant badCloseMsg (line 36) | badCloseMsg = "bad close error for test"
function badReadBody (line 39) | func badReadBody() io.Reader {
type closer (line 45) | type closer
method Close (line 47) | func (c closer) Close() error {
function badCloseBody (line 51) | func badCloseBody() io.ReadCloser {
function TestCompressionBodyError (line 65) | func TestCompressionBodyError(t *testing.T) {
function TestMakeRequestError (line 83) | func TestMakeRequestError(t *testing.T) {
function TestResponseStatus (line 142) | func TestResponseStatus(t *testing.T) {
function TestURL (line 200) | func TestURL(t *testing.T) {
function TestMakeRequestTimeoutInTheMiddle (line 230) | func TestMakeRequestTimeoutInTheMiddle(t *testing.T) {
function BenchmarkWrapDecompressionError (line 289) | func BenchmarkWrapDecompressionError(b *testing.B) {
function TestTrailFailed (line 298) | func TestTrailFailed(t *testing.T) {
function TestMakeRequestDialTimeout (line 370) | func TestMakeRequestDialTimeout(t *testing.T) {
function TestMakeRequestTimeoutInTheBegining (line 436) | func TestMakeRequestTimeoutInTheBegining(t *testing.T) {
function TestMakeRequestFailedHostInitializesHeadersAndCookies (line 490) | func TestMakeRequestFailedHostInitializesHeadersAndCookies(t *testing.T) {
function TestMakeRequestRPSLimit (line 534) | func TestMakeRequestRPSLimit(t *testing.T) {
FILE: lib/netext/httpext/response.go
type ResponseType (line 13) | type ResponseType
constant ResponseTypeText (line 22) | ResponseTypeText ResponseType = iota
constant ResponseTypeBinary (line 25) | ResponseTypeBinary
constant ResponseTypeNone (line 31) | ResponseTypeNone
type ResponseTimings (line 35) | type ResponseTimings struct
type HTTPCookie (line 47) | type HTTPCookie struct
type Response (line 55) | type Response struct
method setTLSInfo (line 83) | func (res *Response) setTLSInfo(tlsState *tls.ConnectionState) {
function NewResponse (line 75) | func NewResponse() *Response {
FILE: lib/netext/httpext/response_type_gen.go
constant _ResponseTypeName (line 10) | _ResponseTypeName = "textbinarynone"
method String (line 14) | func (i ResponseType) String() string {
function ResponseTypeString (line 31) | func ResponseTypeString(s string) (ResponseType, error) {
function ResponseTypeValues (line 39) | func ResponseTypeValues() []ResponseType {
method IsAResponseType (line 44) | func (i ResponseType) IsAResponseType() bool {
method MarshalJSON (line 54) | func (i ResponseType) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 59) | func (i *ResponseType) UnmarshalJSON(data []byte) error {
method MarshalText (line 71) | func (i ResponseType) MarshalText() ([]byte, error) {
method UnmarshalText (line 76) | func (i *ResponseType) UnmarshalText(text []byte) error {
FILE: lib/netext/httpext/tracer.go
type Trail (line 16) | type Trail struct
method SaveSamples (line 44) | func (tr *Trail) SaveSamples(builtinMetrics *metrics.BuiltinMetrics, c...
method GetSamples (line 125) | func (tr *Trail) GetSamples() []metrics.Sample {
method GetTags (line 130) | func (tr *Trail) GetTags() *metrics.TagSet {
method GetTime (line 135) | func (tr *Trail) GetTime() time.Time {
type Tracer (line 147) | type Tracer struct
method Trace (line 162) | func (t *Tracer) Trace() *httptrace.ClientTrace {
method GetConn (line 187) | func (t *Tracer) GetConn(_ string) {
method ConnectStart (line 197) | func (t *Tracer) ConnectStart(_, _ string) {
method ConnectDone (line 213) | func (t *Tracer) ConnectDone(_, _ string, err error) {
method TLSHandshakeStart (line 230) | func (t *Tracer) TLSHandshakeStart() {
method TLSHandshakeDone (line 242) | func (t *Tracer) TLSHandshakeDone(_ tls.ConnectionState, err error) {
method GotConn (line 256) | func (t *Tracer) GotConn(info httptrace.GotConnInfo) {
method WroteRequest (line 299) | func (t *Tracer) WroteRequest(info httptrace.WroteRequestInfo) {
method GotFirstResponseByte (line 310) | func (t *Tracer) GotFirstResponseByte() {
method Done (line 315) | func (t *Tracer) Done() *Trail {
function now (line 175) | func now() int64 {
FILE: lib/netext/httpext/tracer_test.go
constant traceDelay (line 28) | traceDelay = 100 * time.Millisecond
function getTestTracer (line 30) | func getTestTracer(t *testing.T) (*Tracer, *httptrace.ClientTrace) {
function TestTracer (line 88) | func TestTracer(t *testing.T) { //nolint:tparallel
type failingConn (line 178) | type failingConn struct
method Write (line 183) | func (c *failingConn) Write(b []byte) (int, error) {
function TestTracerNegativeHttpSendingValues (line 192) | func TestTracerNegativeHttpSendingValues(t *testing.T) {
function TestTracerError (line 243) | func TestTracerError(t *testing.T) {
function TestCancelledRequest (line 258) | func TestCancelledRequest(t *testing.T) {
FILE: lib/netext/httpext/transport.go
type transport (line 20) | type transport struct
method measureAndEmitMetrics (line 75) | func (t *transport) measureAndEmitMetrics(unfReq *unfinishedRequest) *...
method saveCurrentRequest (line 166) | func (t *transport) saveCurrentRequest(currentRequest *unfinishedReque...
method processLastSavedRequest (line 179) | func (t *transport) processLastSavedRequest(lastErr error) *finishedRe...
method RoundTrip (line 199) | func (t *transport) RoundTrip(req *http.Request) (*http.Response, erro...
type unfinishedRequest (line 32) | type unfinishedRequest struct
type finishedRequest (line 44) | type finishedRequest struct
function newTransport (line 58) | func newTransport(
FILE: lib/netext/httpext/transport_test.go
function BenchmarkMeasureAndEmitMetrics (line 13) | func BenchmarkMeasureAndEmitMetrics(b *testing.B) {
FILE: lib/netext/httpext/url.go
type URL (line 9) | type URL struct
method Clean (line 33) | func (u URL) Clean() string {
method GetURL (line 52) | func (u URL) GetURL() *url.URL {
function NewURL (line 18) | func NewURL(urlString, name string) (URL, error) {
function ToURL (line 57) | func ToURL(u any) (URL, error) {
FILE: lib/netext/resolver.go
type MultiResolver (line 13) | type MultiResolver
type Resolver (line 16) | type Resolver interface
type resolver (line 20) | type resolver struct
method LookupIP (line 69) | func (r *resolver) LookupIP(host string) (net.IP, error) {
method selectOne (line 107) | func (r *resolver) selectOne(host string, ips []net.IP) net.IP {
method applyPolicy (line 132) | func (r *resolver) applyPolicy(ips []net.IP) (retIPs []net.IP) {
type cacheRecord (line 29) | type cacheRecord struct
type cacheResolver (line 34) | type cacheResolver struct
method LookupIP (line 83) | func (r *cacheResolver) LookupIP(host string) (net.IP, error) {
function NewResolver (line 44) | func NewResolver(
function groupByVersion (line 160) | func groupByVersion(ips []net.IP) (ip4 []net.IP, ip6 []net.IP) {
FILE: lib/netext/resolver_test.go
function TestResolver (line 16) | func TestResolver(t *testing.T) {
FILE: lib/netext/tls.go
constant OCSP_STATUS_GOOD (line 14) | OCSP_STATUS_GOOD = "good"
constant OCSP_STATUS_REVOKED (line 15) | OCSP_STATUS_REVOKED = "revoked"
constant OCSP_STATUS_SERVER_FAILED (line 16) | OCSP_STATUS_SERVER_FAILED = "server_failed"
constant OCSP_STATUS_UNKNOWN (line 17) | OCSP_STATUS_UNKNOWN = "unknown"
constant OCSP_REASON_UNSPECIFIED (line 18) | OCSP_REASON_UNSPECIFIED = "unspecified"
constant OCSP_REASON_KEY_COMPROMISE (line 19) | OCSP_REASON_KEY_COMPROMISE = "key_compromise"
constant OCSP_REASON_CA_COMPROMISE (line 20) | OCSP_REASON_CA_COMPROMISE = "ca_compromise"
constant OCSP_REASON_AFFILIATION_CHANGED (line 21) | OCSP_REASON_AFFILIATION_CHANGED = "affiliation_changed"
constant OCSP_REASON_SUPERSEDED (line 22) | OCSP_REASON_SUPERSEDED = "superseded"
constant OCSP_REASON_CESSATION_OF_OPERATION (line 23) | OCSP_REASON_CESSATION_OF_OPERATION = "cessation_of_operation"
constant OCSP_REASON_CERTIFICATE_HOLD (line 24) | OCSP_REASON_CERTIFICATE_HOLD = "certificate_hold"
constant OCSP_REASON_REMOVE_FROM_CRL (line 25) | OCSP_REASON_REMOVE_FROM_CRL = "remove_from_crl"
constant OCSP_REASON_PRIVILEGE_WITHDRAWN (line 26) | OCSP_REASON_PRIVILEGE_WITHDRAWN = "privilege_withdrawn"
constant OCSP_REASON_AA_COMPROMISE (line 27) | OCSP_REASON_AA_COMPROMISE = "aa_compromise"
constant TLS_1_0 (line 28) | TLS_1_0 = "tls1.0"
constant TLS_1_1 (line 29) | TLS_1_1 = "tls1.1"
constant TLS_1_2 (line 30) | TLS_1_2 = "tls1.2"
constant TLS_1_3 (line 31) | TLS_1_3 = "tls1.3"
type TLSInfo (line 35) | type TLSInfo struct
type OCSP (line 41) | type OCSP struct
function ParseTLSConnState (line 51) | func ParseTLSConnState(tlsState *tls.ConnectionState) (TLSInfo, OCSP) {
FILE: lib/old_archive_test.go
function dumpMemMapFsToBuf (line 19) | func dumpMemMapFsToBuf(fileSystem fsext.Fs) (*bytes.Buffer, error) {
function TestOldArchive (line 63) | func TestOldArchive(t *testing.T) {
function TestUnknownPrefix (line 112) | func TestUnknownPrefix(t *testing.T) {
function TestFilenamePwdResolve (line 126) | func TestFilenamePwdResolve(t *testing.T) {
function TestDerivedExecutionDiscarding (line 195) | func TestDerivedExecutionDiscarding(t *testing.T) {
FILE: lib/options.go
constant DefaultScenarioName (line 23) | DefaultScenarioName = "default"
type TLSVersion (line 31) | type TLSVersion
method MarshalJSON (line 34) | func (v TLSVersion) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 39) | func (v *TLSVersion) UnmarshalJSON(data []byte) error {
type tlsVersionsFields (line 57) | type tlsVersionsFields struct
type TLSVersions (line 63) | type TLSVersions
method UnmarshalJSON (line 66) | func (v *TLSVersions) UnmarshalJSON(data []byte) error {
type TLSCipherSuites (line 82) | type TLSCipherSuites
method MarshalJSON (line 85) | func (s *TLSCipherSuites) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 99) | func (s *TLSCipherSuites) UnmarshalJSON(data []byte) error {
type TLSAuthFields (line 120) | type TLSAuthFields struct
type TLSAuth (line 131) | type TLSAuth struct
method UnmarshalJSON (line 137) | func (c *TLSAuth) UnmarshalJSON(data []byte) error {
method Certificate (line 149) | func (c *TLSAuth) Certificate() (*tls.Certificate, error) {
function decryptPrivateKey (line 168) | func decryptPrivateKey(privKey, password string) ([]byte, error) {
type IPNet (line 197) | type IPNet struct
method UnmarshalText (line 202) | func (ipnet *IPNet) UnmarshalText(b []byte) error {
method MarshalText (line 213) | func (ipnet *IPNet) MarshalText() ([]byte, error) {
function ParseCIDR (line 218) | func ParseCIDR(s string) (*IPNet, error) {
type Options (line 230) | type Options struct
method Apply (line 358) | func (o Options) Apply(opts Options) Options {
method Validate (line 521) | func (o Options) Validate() []error {
method ForEachSpecified (line 548) | func (o Options) ForEachSpecified(structTag string, callback func(key ...
FILE: lib/options_test.go
function TestOptions (line 20) | func TestOptions(t *testing.T) {
function TestOptionsEnv (line 569) | func TestOptionsEnv(t *testing.T) {
function TestCIDRUnmarshal (line 685) | func TestCIDRUnmarshal(t *testing.T) {
function TestHost (line 730) | func TestHost(t *testing.T) {
function TestValidate (line 790) | func TestValidate(t *testing.T) {
FILE: lib/runner.go
type ActiveVU (line 12) | type ActiveVU interface
type InitializedVU (line 23) | type InitializedVU interface
type VUActivationParams (line 33) | type VUActivationParams struct
type Runner (line 52) | type Runner interface
type UIState (line 89) | type UIState struct
FILE: lib/runtime_options.go
type CompatibilityMode (line 13) | type CompatibilityMode
constant CompatibilityModeExtended (line 17) | CompatibilityModeExtended CompatibilityMode = iota + 1
constant CompatibilityModeBase (line 19) | CompatibilityModeBase
constant CompatibilityModeExperimentalEnhanced (line 21) | CompatibilityModeExperimentalEnhanced
type RuntimeOptions (line 25) | type RuntimeOptions struct
function ValidateCompatibilityMode (line 54) | func ValidateCompatibilityMode(val string) (cm CompatibilityMode, err er...
FILE: lib/state_test.go
function TestVUStateTagsSync (line 16) | func TestVUStateTagsSync(t *testing.T) {
function TestVUStateTagsSafeConcurrent (line 26) | func TestVUStateTagsSafeConcurrent(t *testing.T) {
function TestVUStateTagsDelete (line 82) | func TestVUStateTagsDelete(t *testing.T) {
function TestVUStateTagsMap (line 102) | func TestVUStateTagsMap(t *testing.T) {
FILE: lib/summary.go
type LegacySummary (line 10) | type LegacySummary struct
FILE: lib/test_state.go
type TestPreInitState (line 19) | type TestPreInitState struct
type TestStatus (line 37) | type TestStatus struct
method MarkFailed (line 52) | func (ts *TestStatus) MarkFailed() {
method Failed (line 59) | func (ts *TestStatus) Failed() bool {
function NewTestStatus (line 64) | func NewTestStatus() *TestStatus {
type TestRunState (line 72) | type TestRunState struct
constant GroupSummaryDescription (line 87) | GroupSummaryDescription = "Internal Group Summary output"
type GroupSummary (line 91) | type GroupSummary struct
method Group (line 110) | func (gs *GroupSummary) Group() *Group {
method Description (line 115) | func (gs *GroupSummary) Description() string {
method handleSample (line 132) | func (gs *GroupSummary) handleSample(sample metrics.Sample) error {
method Start (line 166) | func (gs *GroupSummary) Start() error {
method Stop (line 184) | func (gs *GroupSummary) Stop() error {
method AddMetricSamples (line 191) | func (gs *GroupSummary) AddMetricSamples(samples []metrics.SampleConta...
function NewGroupSummary (line 99) | func NewGroupSummary(logger logrus.FieldLogger) *GroupSummary {
function buildGroup (line 119) | func buildGroup(rootGroup *Group, groupName string) (*Group, error) {
FILE: lib/types/dns.go
type DNSConfig (line 13) | type DNSConfig struct
method String (line 171) | func (c DNSConfig) String() string {
method UnmarshalJSON (line 177) | func (c *DNSConfig) UnmarshalJSON(data []byte) error {
method UnmarshalText (line 193) | func (c *DNSConfig) UnmarshalText(text []byte) error {
method unmarshal (line 210) | func (c *DNSConfig) unmarshal(params map[string]string) error {
function DefaultDNSConfig (line 27) | func DefaultDNSConfig() DNSConfig {
type DNSPolicy (line 38) | type DNSPolicy
method UnmarshalJSON (line 56) | func (d *DNSPolicy) UnmarshalJSON(data []byte) error {
method MarshalJSON (line 73) | func (d DNSPolicy) MarshalJSON() ([]byte, error) {
constant DNSpreferIPv4 (line 44) | DNSpreferIPv4 DNSPolicy = iota + 1
constant DNSpreferIPv6 (line 46) | DNSpreferIPv6
constant DNSonlyIPv4 (line 48) | DNSonlyIPv4
constant DNSonlyIPv6 (line 50) | DNSonlyIPv6
constant DNSany (line 52) | DNSany
type NullDNSPolicy (line 79) | type NullDNSPolicy struct
method UnmarshalJSON (line 85) | func (d *NullDNSPolicy) UnmarshalJSON(data []byte) error {
method MarshalJSON (line 97) | func (d NullDNSPolicy) MarshalJSON() ([]byte, error) {
type DNSSelect (line 108) | type DNSSelect
method UnmarshalJSON (line 122) | func (d *DNSSelect) UnmarshalJSON(data []byte) error {
method MarshalJSON (line 139) | func (d DNSSelect) MarshalJSON() ([]byte, error) {
constant DNSfirst (line 114) | DNSfirst DNSSelect = iota + 1
constant DNSroundRobin (line 116) | DNSroundRobin
constant DNSrandom (line 118) | DNSrandom
type NullDNSSelect (line 145) | type NullDNSSelect struct
method UnmarshalJSON (line 151) | func (d *NullDNSSelect) UnmarshalJSON(data []byte) error {
method MarshalJSON (line 163) | func (d NullDNSSelect) MarshalJSON() ([]byte, error) {
FILE: lib/types/dns_policy_gen.go
constant _DNSPolicyName (line 9) | _DNSPolicyName = "preferIPv4preferIPv6onlyIPv4onlyIPv6any"
method String (line 13) | func (i DNSPolicy) String() string {
function DNSPolicyString (line 33) | func DNSPolicyString(s string) (DNSPolicy, error) {
function DNSPolicyValues (line 41) | func DNSPolicyValues() []DNSPolicy {
method IsADNSPolicy (line 46) | func (i DNSPolicy) IsADNSPolicy() bool {
FILE: lib/types/dns_select_gen.go
constant _DNSSelectName (line 9) | _DNSSelectName = "firstroundRobinrandom"
method String (line 13) | func (i DNSSelect) String() string {
function DNSSelectString (line 31) | func DNSSelectString(s string) (DNSSelect, error) {
function DNSSelectValues (line 39) | func DNSSelectValues() []DNSSelect {
method IsADNSSelect (line 44) | func (i DNSSelect) IsADNSSelect() bool {
FILE: lib/types/hostnametrie.go
type NullHostnameTrie (line 13) | type NullHostnameTrie struct
method UnmarshalText (line 19) | func (d *NullHostnameTrie) UnmarshalText(data []byte) error {
method UnmarshalJSON (line 34) | func (d *NullHostnameTrie) UnmarshalJSON(data []byte) error {
method Source (line 54) | func (d *NullHostnameTrie) Source() []string {
method MarshalJSON (line 63) | func (d NullHostnameTrie) MarshalJSON() ([]byte, error) {
type HostnameTrie (line 73) | type HostnameTrie struct
method insert (line 124) | func (t *HostnameTrie) insert(s string) error {
method Contains (line 136) | func (t *HostnameTrie) Contains(s string) (matchedPattern string, matc...
function NewNullHostnameTrie (line 80) | func NewNullHostnameTrie(source []string) (NullHostnameTrie, error) {
function NewHostnameTrie (line 92) | func NewHostnameTrie(source []string) (*HostnameTrie, error) {
function isValidHostnamePattern (line 115) | func isValidHostnamePattern(s string) error {
FILE: lib/types/hostnametrie_test.go
function TestHostnameTrieInsert (line 10) | func TestHostnameTrieInsert(t *testing.T) {
function TestHostnameTrieContains (line 21) | func TestHostnameTrieContains(t *testing.T) {
function TestNullHostnameTrieSource (line 55) | func TestNullHostnameTrieSource(t *testing.T) {
FILE: lib/types/hosts.go
constant nullJSON (line 13) | nullJSON = "null"
type NullHosts (line 16) | type NullHosts struct
method MarshalJSON (line 35) | func (n NullHosts) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 55) | func (n *NullHosts) UnmarshalJSON(data []byte) error {
function NewNullHosts (line 22) | func NewNullHosts(source map[string]Host) (NullHosts, error) {
type Hosts (line 92) | type Hosts struct
method insert (line 138) | func (t *Hosts) insert(s string) error {
method Match (line 154) | func (t *Hosts) Match(s string) *Host {
function NewHosts (line 98) | func NewHosts(source map[string]Host) (*Hosts, error) {
function toLowerKeys (line 116) | func toLowerKeys(source map[string]Host) map[string]Host {
function isValidHostPattern (line 131) | func isValidHostPattern(s string) error {
FILE: lib/types/hosts_test.go
constant SamePortMapping (line 14) | SamePortMapping = "same port mapping exists, and it should map"
constant EmptyPortMapping (line 15) | EmptyPortMapping = "no port given in mapping but hostname exists, it...
constant NotGivenPortMapping (line 16) | NotGivenPortMapping = "given port mapping does not exist, it should not...
constant DifferentPortMapping (line 17) | DifferentPortMapping = "different port mapping exists, and it should map"
constant NotInHosts (line 19) | NotInHosts = "mapping should not exists in hosts"
constant ExactMatch (line 21) | ExactMatch = "exact match should happen"
constant FallBackWildcard (line 22) | FallBackWildcard = "should fallback to wildcard"
constant FallBackWildcardEvenMatch (line 32) | FallBackWildcardEvenMatch = "fallback to wildcard, even after exact match"
type HostTestCase (line 35) | type HostTestCase struct
function TestHosts (line 39) | func TestHosts(t *testing.T) {
function runTcs (line 178) | func runTcs(t *testing.T, at *Hosts, tcs []HostTestCase) {
function TestHostsJSON (line 194) | func TestHostsJSON(t *testing.T) {
FILE: lib/types/ipblock.go
type ipBlock (line 12) | type ipBlock struct
type ipPoolBlock (line 19) | type ipPoolBlock struct
method getIP (line 106) | func (b ipPoolBlock) getIP(index *big.Int) net.IP {
type IPPool (line 24) | type IPPool struct
method GetIP (line 146) | func (pool *IPPool) GetIP(index uint64) net.IP {
method GetIPBig (line 151) | func (pool *IPPool) GetIPBig(index *big.Int) net.IP {
function getIPBlock (line 29) | func getIPBlock(s string) (*ipBlock, error) {
function ipBlockFromRange (line 43) | func ipBlockFromRange(s string) (*ipBlock, error) {
function ipBlockFromTwoIPs (line 60) | func ipBlockFromTwoIPs(ip0, ip1 net.IP) *ipBlock {
function ipBlockFromCIDR (line 80) | func ipBlockFromCIDR(s string) (*ipBlock, error) {
function NewIPPool (line 118) | func NewIPPool(ranges string) (*IPPool, error) {
type NullIPPool (line 162) | type NullIPPool struct
method UnmarshalText (line 169) | func (n *NullIPPool) UnmarshalText(data []byte) error {
method MarshalText (line 185) | func (n *NullIPPool) MarshalText() ([]byte, error) {
FILE: lib/types/ipblock_test.go
function get128BigInt (line 12) | func get128BigInt(hi, lo int64) *big.Int {
function TestIpBlock (line 19) | func TestIpBlock(t *testing.T) {
function TestIPPool (line 59) | func TestIPPool(t *testing.T) {
function TestIpBlockError (line 116) | func TestIpBlockError(t *testing.T) {
function TestNullIPPoolMarshalText (line 139) | func TestNullIPPoolMarshalText(t *testing.T) {
FILE: lib/types/net.go
type Host (line 10) | type Host
method String (line 33) | func (h *Host) String() string {
method MarshalText (line 40) | func (h *Host) MarshalText() ([]byte, error) {
method UnmarshalText (line 54) | func (h *Host) UnmarshalText(text []byte) error {
function NewHost (line 13) | func NewHost(ip net.IP, portString string) (*Host, error) {
function splitHostPort (line 74) | func splitHostPort(text []byte) (net.IP, string, error) {
FILE: lib/types/trie.go
type trieNode (line 5) | type trieNode struct
method insert (line 10) | func (t *trieNode) insert(s string) {
method contains (line 32) | func (t *trieNode) contains(s string) (string, bool) {
function reverseString (line 67) | func reverseString(s string) string {
FILE: lib/types/trie_test.go
function TestTrieInsert (line 9) | func TestTrieInsert(t *testing.T) {
function TestTrieContains (line 27) | func TestTrieContains(t *testing.T) {
function TestReverseString (line 66) | func TestReverseString(t *testing.T) {
function BenchmarkTrieInsert (line 85) | func BenchmarkTrieInsert(b *testing.B) {
function BenchmarkTrieContains (line 100) | func BenchmarkTrieContains(b *testing.B) {
FILE: lib/types/types.go
type Duration (line 19) | type Duration
method String (line 21) | func (d Duration) String() string {
method UnmarshalText (line 60) | func (d *Duration) UnmarshalText(data []byte) error {
method UnmarshalJSON (line 70) | func (d *Duration) UnmarshalJSON(data []byte) error {
method MarshalJSON (line 93) | func (d Duration) MarshalJSON() ([]byte, error) {
function ParseExtendedDuration (line 27) | func ParseExtendedDuration(data string) (result time.Duration, err error) {
type NullDuration (line 99) | type NullDuration struct
method UnmarshalText (line 115) | func (d *NullDuration) UnmarshalText(data []byte) error {
method UnmarshalJSON (line 128) | func (d *NullDuration) UnmarshalJSON(data []byte) error {
method MarshalJSON (line 141) | func (d NullDuration) MarshalJSON() ([]byte, error) {
method ValueOrZero (line 150) | func (d NullDuration) ValueOrZero() Duration {
method TimeDuration (line 159) | func (d NullDuration) TimeDuration() time.Duration {
function NewNullDuration (line 105) | func NewNullDuration(d time.Duration, valid bool) NullDuration {
function NullDurationFrom (line 110) | func NullDurationFrom(d time.Duration) NullDuration {
function getInt64 (line 163) | func getInt64(v any) (int64, error) {
function GetDurationValue (line 197) | func GetDurationValue(v any) (time.Duration, error) {
FILE: lib/types/types_test.go
function TestParseExtendedDuration (line 13) | func TestParseExtendedDuration(t *testing.T) {
function TestDuration (line 63) | func TestDuration(t *testing.T) {
function TestNullDuration (line 114) | func TestNullDuration(t *testing.T) {
function TestNullDurationFrom (line 182) | func TestNullDurationFrom(t *testing.T) {
function TestGetDurationValue (line 187) | func TestGetDurationValue(t *testing.T) {
FILE: lib/vu_state.go
type DialContexter (line 20) | type DialContexter interface
type TracerProvider (line 25) | type TracerProvider interface
type AddrResolver (line 30) | type AddrResolver interface
type State (line 43) | type State struct
method GetAddrResolver (line 106) | func (s *State) GetAddrResolver() AddrResolver {
type VUStateTags (line 119) | type VUStateTags struct
method GetCurrentValues (line 141) | func (tg *VUStateTags) GetCurrentValues() metrics.TagsAndMeta {
method Modify (line 148) | func (tg *VUStateTags) Modify(callback func(tagsAndMeta *metrics.TagsA...
function NewVUStateTags (line 126) | func NewVUStateTags(tags *metrics.TagSet) *VUStateTags {
FILE: lib/vu_state_test.go
type mockDialerWithResolver (line 13) | type mockDialerWithResolver struct
method DialContext (line 15) | func (m *mockDialerWithResolver) DialContext(_ context.Context, _, _ s...
method ResolveAddr (line 19) | func (m *mockDialerWithResolver) ResolveAddr(_ string) (net.IP, int, e...
type mockDialerWithoutResolver (line 24) | type mockDialerWithoutResolver struct
method DialContext (line 26) | func (m *mockDialerWithoutResolver) DialContext(_ context.Context, _, ...
function TestGetAddrResolver (line 30) | func TestGetAddrResolver(t *testing.T) {
FILE: main.go
function main (line 8) | func main() {
FILE: metrics/builtin.go
constant VUsName (line 5) | VUsName = "vus"
constant VUsMaxName (line 6) | VUsMaxName = "vus_max"
constant IterationsName (line 7) | IterationsName = "iterations"
constant IterationDurationName (line 8) | IterationDurationName = "iteration_duration"
constant DroppedIterationsName (line 9) | DroppedIterationsName = "dropped_iterations"
constant ChecksName (line 11) | ChecksName = "checks"
constant GroupDurationName (line 12) | GroupDurationName = "group_duration"
constant HTTPReqsName (line 14) | HTTPReqsName = "http_reqs"
constant HTTPReqFailedName (line 15) | HTTPReqFailedName = "http_req_failed"
constant HTTPReqDurationName (line 16) | HTTPReqDurationName = "http_req_duration"
constant HTTPReqBlockedName (line 17) | HTTPReqBlockedName = "http_req_blocked"
constant HTTPReqConnectingName (line 18) | HTTPReqConnectingName = "http_req_connecting"
constant HTTPReqTLSHandshakingName (line 19) | HTTPReqTLSHandshakingName = "http_req_tls_handshaking"
constant HTTPReqSendingName (line 20) | HTTPReqSendingName = "http_req_sending"
constant HTTPReqWaitingName (line 21) | HTTPReqWaitingName = "http_req_waiting"
constant HTTPReqReceivingName (line 22) | HTTPReqReceivingName = "http_req_receiving"
constant WSSessionsName (line 24) | WSSessionsName = "ws_sessions"
constant WSMessagesSentName (line 25) | WSMessagesSentName = "ws_msgs_sent"
constant WSMessagesReceivedName (line 26) | WSMessagesReceivedName = "ws_msgs_received"
constant WSPingName (line 27) | WSPingName = "ws_ping"
constant WSSessionDurationName (line 28) | WSSessionDurationName = "ws_session_duration"
constant WSConnectingName (line 29) | WSConnectingName = "ws_connecting"
constant GRPCReqDurationName (line 31) | GRPCReqDurationName = "grpc_req_duration"
constant DataSentName (line 33) | DataSentName = "data_sent"
constant DataReceivedName (line 34) | DataReceivedName = "data_received"
type BuiltinMetrics (line 38) | type BuiltinMetrics struct
function RegisterBuiltinMetrics (line 77) | func RegisterBuiltinMetrics(registry *Registry) *BuiltinMetrics {
FILE: metrics/metric.go
type Metric (line 12) | type Metric struct
method AddSubmetric (line 40) | func (m *Metric) AddSubmetric(keyValues string) (*Submetric, error) {
type Submetric (line 29) | type Submetric struct
function ParseMetricName (line 90) | func ParseMetricName(name string) (string, []string, error) {
FILE: metrics/metric_test.go
function TestNewMetric (line 10) | func TestNewMetric(t *testing.T) {
function TestAddSubmetric (line 33) | func TestAddSubmetric(t *testing.T) {
function TestParseMetricName (line 70) | func TestParseMetricName(t *testing.T) {
FILE: metrics/metric_type.go
type MetricType (line 9) | type MetricType
method MarshalJSON (line 34) | func (t MetricType) MarshalJSON() ([]byte, error) {
method MarshalText (line 43) | func (t MetricType) MarshalText() ([]byte, error) {
method UnmarshalText (line 59) | func (t *MetricType) UnmarshalText(data []byte) error {
method String (line 76) | func (t MetricType) String() string {
method supportedAggregationMethods (line 93) | func (t MetricType) supportedAggregationMethods() []string {
method supportsAggregationMethod (line 117) | func (t MetricType) supportsAggregationMethod(aggregationMethod string...
constant Counter (line 13) | Counter = MetricType(iota)
constant Gauge (line 14) | Gauge
constant Trend (line 15) | Trend
constant Rate (line 16) | Rate
constant counterString (line 23) | counterString = "counter"
constant gaugeString (line 24) | gaugeString = "gauge"
constant trendString (line 25) | trendString = "trend"
constant rateString (line 26) | rateString = "rate"
constant defaultString (line 28) | defaultString = "default"
constant timeString (line 29) | timeString = "time"
constant dataString (line 30) | dataString = "data"
FILE: metrics/registry.go
type Registry (line 12) | type Registry struct
method NewMetric (line 43) | func (r *Registry) NewMetric(name string, typ MetricType, t ...ValueTy...
method MustNewMetric (line 70) | func (r *Registry) MustNewMetric(name string, typ MetricType, t ...Val...
method All (line 79) | func (r *Registry) All() []*Metric {
method newMetric (line 93) | func (r *Registry) newMetric(name string, mt MetricType, vt ...ValueTy...
method Get (line 111) | func (r *Registry) Get(name string) *Metric {
method RootTagSet (line 116) | func (r *Registry) RootTagSet() *TagSet {
function NewRegistry (line 20) | func NewRegistry() *Registry {
constant nameRegexString (line 30) | nameRegexString = "^[a-zA-Z_][a-zA-Z0-9_]{1,128}$"
constant badNameWarning (line 31) | badNameWarning = "Metric names must only include up to 128 ASCII letter...
function checkName (line 37) | func checkName(name string) bool {
FILE: metrics/registry_test.go
function TestRegistryNewMetric (line 11) | func TestRegistryNewMetric(t *testing.T) {
function TestMetricNames (line 31) | func TestMetricNames(t *testing.T) {
function TestRegistryBranchTagSetRootWith (line 54) | func TestRegistryBranchTagSetRootWith(t *testing.T) {
function TestRegistryAll (line 69) | func TestRegistryAll(t *testing.T) {
FILE: metrics/sample.go
type TimeSeries (line 14) | type TimeSeries struct
type Sample (line 23) | type Sample struct
method GetSamples (line 86) | func (s Sample) GetSamples() []Sample {
method GetTags (line 92) | func (s Sample) GetTags() *TagSet {
method GetTime (line 98) | func (s Sample) GetTime() time.Time {
type SampleContainer (line 37) | type SampleContainer interface
type Samples (line 43) | type Samples
method GetSamples (line 46) | func (s Samples) GetSamples() []Sample {
type ConnectedSampleContainer (line 53) | type ConnectedSampleContainer interface
type ConnectedSamples (line 62) | type ConnectedSamples struct
method GetSamples (line 70) | func (cs ConnectedSamples) GetSamples() []Sample {
method GetTags (line 75) | func (cs ConnectedSamples) GetTags() *TagSet {
method GetTime (line 80) | func (cs ConnectedSamples) GetTime() time.Time {
function GetBufferedSamples (line 115) | func GetBufferedSamples(input <-chan SampleContainer) (result []SampleCo...
function PushIfNotDone (line 131) | func PushIfNotDone(ctx context.Context, output chan<- SampleContainer, s...
function GetResolversForTrendColumns (line 141) | func GetResolversForTrendColumns(trendColumns []string) (map[string]func...
function parsePercentile (line 174) | func parsePercentile(stat string) (float64, error) {
FILE: metrics/sample_test.go
function TestSampleImplementations (line 11) | func TestSampleImplementations(t *testing.T) {
function TestGetResolversForTrendColumnsValidation (line 40) | func TestGetResolversForTrendColumnsValidation(t *testing.T) {
function TestGetResolversForTrendColumnsCalculation (line 73) | func TestGetResolversForTrendColumnsCalculation(t *testing.T) {
function createTestTrendSink (line 102) | func createTestTrendSink(count int) *TrendSink {
FILE: metrics/sink.go
type Sink (line 18) | type Sink interface
function NewSink (line 26) | func NewSink(mt MetricType) Sink {
type CounterSink (line 47) | type CounterSink struct
method Add (line 53) | func (c *CounterSink) Add(s Sample) {
method IsEmpty (line 61) | func (c *CounterSink) IsEmpty() bool { return c.First.IsZero() }
method Format (line 64) | func (c *CounterSink) Format(t time.Duration) map[string]float64 {
method Rate (line 73) | func (c *CounterSink) Rate(t time.Duration) float64 {
type GaugeSink (line 81) | type GaugeSink struct
method IsEmpty (line 88) | func (g *GaugeSink) IsEmpty() bool { return !g.minSet }
method Add (line 91) | func (g *GaugeSink) Add(s Sample) {
method Format (line 103) | func (g *GaugeSink) Format(_ time.Duration) map[string]float64 {
function NewTrendSink (line 108) | func NewTrendSink() *TrendSink {
type TrendSink (line 113) | type TrendSink struct
method IsEmpty (line 123) | func (t *TrendSink) IsEmpty() bool { return t.count == 0 }
method Add (line 126) | func (t *TrendSink) Add(s Sample) {
method P (line 145) | func (t *TrendSink) P(pct float64) float64 {
method Min (line 169) | func (t *TrendSink) Min() float64 {
method Max (line 174) | func (t *TrendSink) Max() float64 {
method Count (line 179) | func (t *TrendSink) Count() uint64 {
method Avg (line 184) | func (t *TrendSink) Avg() float64 {
method Total (line 192) | func (t *TrendSink) Total() float64 {
method Format (line 197) | func (t *TrendSink) Format(_ time.Duration) map[string]float64 {
type RateSink (line 210) | type RateSink struct
method IsEmpty (line 216) | func (r *RateSink) IsEmpty() bool { return r.Total == 0 }
method Add (line 219) | func (r *RateSink) Add(s Sample) {
method Format (line 227) | func (r RateSink) Format(_ time.Duration) map[string]float64 {
FILE: metrics/sink_test.go
function TestNewSink (line 12) | func TestNewSink(t *testing.T) {
function TestNewSinkInvalidMetricType (line 29) | func TestNewSinkInvalidMetricType(t *testing.T) {
function TestCounterSink (line 34) | func TestCounterSink(t *testing.T) {
function TestGaugeSink (line 68) | func TestGaugeSink(t *testing.T) {
function TestTrendSink (line 105) | func TestTrendSink(t *testing.T) {
function TestRateSink (line 239) | func TestRateSink(t *testing.T) {
FILE: metrics/system_tag.go
type SystemTag (line 13) | type SystemTag
type SystemTagSet (line 17) | type SystemTagSet
method Add (line 57) | func (i *SystemTagSet) Add(tag SystemTag) {
method Has (line 65) | func (i *SystemTagSet) Has(tag SystemTag) bool {
method Map (line 73) | func (i SystemTagSet) Map() EnabledTags {
method SetString (line 84) | func (i SystemTagSet) SetString() string {
method MarshalJSON (line 116) | func (i *SystemTagSet) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 129) | func (i *SystemTagSet) UnmarshalJSON(data []byte) error {
method UnmarshalText (line 142) | func (i *SystemTagSet) UnmarshalText(data []byte) error {
constant TagProto (line 21) | TagProto SystemTag = 1 << iota
constant TagSubproto (line 22) | TagSubproto
constant TagStatus (line 23) | TagStatus
constant TagMethod (line 24) | TagMethod
constant TagURL (line 25) | TagURL
constant TagName (line 26) | TagName
constant TagGroup (line 27) | TagGroup
constant TagCheck (line 28) | TagCheck
constant TagError (line 29) | TagError
constant TagErrorCode (line 30) | TagErrorCode
constant TagTLSVersion (line 31) | TagTLSVersion
constant TagScenario (line 32) | TagScenario
constant TagService (line 33) | TagService
constant TagExpectedResponse (line 34) | TagExpectedResponse
constant TagIter (line 37) | TagIter
constant TagVU (line 38) | TagVU
constant TagOCSPStatus (line 39) | TagOCSPStatus
constant TagIP (line 40) | TagIP
function ToSystemTagSet (line 96) | func ToSystemTagSet(tags []string) *SystemTagSet {
function NewSystemTagSet (line 107) | func NewSystemTagSet(tags ...SystemTag) *SystemTagSet {
FILE: metrics/system_tag_gen.go
constant _SystemTagName (line 9) | _SystemTagName = "protosubprotostatusmethodurlnamegroupcheckerrorerror_c...
method String (line 32) | func (i SystemTag) String() string {
function SystemTagString (line 64) | func SystemTagString(s string) (SystemTag, error) {
function SystemTagValues (line 72) | func SystemTagValues() []SystemTag {
method IsASystemTag (line 77) | func (i SystemTag) IsASystemTag() bool {
FILE: metrics/system_tag_test.go
function TestSystemTagSetMarshalJSON (line 11) | func TestSystemTagSetMarshalJSON(t *testing.T) {
function TestSystemTagSet_UnmarshalJSON (line 31) | func TestSystemTagSet_UnmarshalJSON(t *testing.T) {
function TestSystemTagSetTextUnmarshal (line 51) | func TestSystemTagSetTextUnmarshal(t *testing.T) {
function TestTagSetMarshalJSON (line 71) | func TestTagSetMarshalJSON(t *testing.T) {
function TestTagSet_UnmarshalJSON (line 90) | func TestTagSet_UnmarshalJSON(t *testing.T) {
function TestTagSetTextUnmarshal (line 110) | func TestTagSetTextUnmarshal(t *testing.T) {
FILE: metrics/tags.go
type TagSet (line 28) | type TagSet
method With (line 39) | func (ts *TagSet) With(name, value string) *TagSet {
method Without (line 52) | func (ts *TagSet) Without(name string) *TagSet {
method Get (line 58) | func (ts *TagSet) Get(name string) (string, bool) {
method Contains (line 64) | func (ts *TagSet) Contains(other *TagSet) bool {
method IsEmpty (line 69) | func (ts *TagSet) IsEmpty() bool {
method Map (line 74) | func (ts *TagSet) Map() map[string]string {
method WithTagsFromMap (line 89) | func (ts *TagSet) WithTagsFromMap(m map[string]string) *TagSet {
method MarshalEasyJSON (line 111) | func (ts *TagSet) MarshalEasyJSON(w *jwriter.Writer) {
method MarshalJSON (line 132) | func (ts *TagSet) MarshalJSON() ([]byte, error) {
method UnmarshalEasyJSON (line 141) | func (ts *TagSet) UnmarshalEasyJSON(l *jlexer.Lexer) {
method UnmarshalJSON (line 148) | func (ts *TagSet) UnmarshalJSON([]byte) error {
type TagsAndMeta (line 170) | type TagsAndMeta struct
method SetTag (line 176) | func (tm *TagsAndMeta) SetTag(key, value string) {
method SetMetadata (line 181) | func (tm *TagsAndMeta) SetMetadata(key, value string) {
method SetSystemTagOrMetaIfEnabled (line 192) | func (tm *TagsAndMeta) SetSystemTagOrMetaIfEnabled(enabledSystemTags *...
method SetSystemTagOrMeta (line 201) | func (tm *TagsAndMeta) SetSystemTagOrMeta(tag SystemTag, value string) {
method DeleteTag (line 210) | func (tm *TagsAndMeta) DeleteTag(key string) {
method DeleteMetadata (line 215) | func (tm *TagsAndMeta) DeleteMetadata(key string) {
method Clone (line 222) | func (tm TagsAndMeta) Clone() TagsAndMeta {
type EnabledTags (line 236) | type EnabledTags
method UnmarshalText (line 239) | func (i *EnabledTags) UnmarshalText(data []byte) error {
method MarshalJSON (line 257) | func (i *EnabledTags) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 271) | func (i *EnabledTags) UnmarshalJSON(data []byte) error {
FILE: metrics/tags_test.go
function TestTagsWith (line 12) | func TestTagsWith(t *testing.T) {
function TestRootTagSet (line 28) | func TestRootTagSet(t *testing.T) {
function TestTagSets (line 49) | func TestTagSets(t *testing.T) {
function TestBigTagSetMarshalJSON (line 94) | func TestBigTagSetMarshalJSON(t *testing.T) {
function TestTagSetContains (line 110) | func TestTagSetContains(t *testing.T) {
function TestTagsAndMetaSetTag (line 129) | func TestTagsAndMetaSetTag(t *testing.T) {
function TestTagsAndMetaDeleteTag (line 139) | func TestTagsAndMetaDeleteTag(t *testing.T) {
function TestTagsAndMetaSetMetadata (line 153) | func TestTagsAndMetaSetMetadata(t *testing.T) {
function TestTagsAndMetaDeleteMetadata (line 173) | func TestTagsAndMetaDeleteMetadata(t *testing.T) {
function TestTagsAndMetaSetSystemTagOrMetaIfEnabled (line 186) | func TestTagsAndMetaSetSystemTagOrMetaIfEnabled(t *testing.T) {
function TestTagsAndMetaSetSystemTagOrMeta (line 199) | func TestTagsAndMetaSetSystemTagOrMeta(t *testing.T) {
function TestTagsAndMetaClone (line 227) | func TestTagsAndMetaClone(t *testing.T) {
function TestEnabledTagsMarshalJSON (line 242) | func TestEnabledTagsMarshalJSON(t *testing.T) {
function TestEnabledTagsUnmarshalJSON (line 261) | func TestEnabledTagsUnmarshalJSON(t *testing.T) {
function TestEnabledTagsTextUnmarshal (line 281) | func TestEnabledTagsTextUnmarshal(t *testing.T) {
FILE: metrics/thresholds.go
type Threshold (line 17) | type Threshold struct
method runNoTaint (line 40) | func (t *Threshold) runNoTaint(sinks map[string]float64) (bool, error) {
method run (line 82) | func (t *Threshold) run(sinks map[string]float64) (bool, error) {
function newThreshold (line 31) | func newThreshold(src string, abortOnFail bool, gracePeriod types.NullDu...
type thresholdConfig (line 88) | type thresholdConfig struct
method UnmarshalJSON (line 97) | func (tc *thresholdConfig) UnmarshalJSON(data []byte) error {
method MarshalJSON (line 107) | func (tc thresholdConfig) MarshalJSON() ([]byte, error) {
type rawThresholdConfig (line 95) | type rawThresholdConfig
type Thresholds (line 117) | type Thresholds struct
method runAll (line 145) | func (ts *Thresholds) runAll(timeSpentInTest time.Duration) (bool, err...
method Run (line 170) | func (ts *Thresholds) Run(sink Sink, duration time.Duration) (bool, er...
method Parse (line 218) | func (ts *Thresholds) Parse() error {
method Validate (line 240) | func (ts *Thresholds) Validate(metricName string, r *Registry) error {
method UnmarshalJSON (line 289) | func (ts *Thresholds) UnmarshalJSON(data []byte) error {
method MarshalJSON (line 301) | func (ts Thresholds) MarshalJSON() ([]byte, error) {
function NewThresholds (line 124) | func NewThresholds(sources []string) Thresholds {
function newThresholdsWithConfig (line 133) | func newThresholdsWithConfig(configs []thresholdConfig) Thresholds {
function MarshalJSONWithoutHTMLEscape (line 314) | func MarshalJSONWithoutHTMLEscape(t any) ([]byte, error) {
FILE: metrics/thresholds_parser.go
type thresholdExpression (line 13) | type thresholdExpression struct
method SinkKey (line 44) | func (te *thresholdExpression) SinkKey() string {
function parseThresholdExpression (line 71) | func parseThresholdExpression(input string) (*thresholdExpression, error) {
constant tokenLessEqual (line 107) | tokenLessEqual = "<="
constant tokenLess (line 108) | tokenLess = "<"
constant tokenGreaterEqual (line 109) | tokenGreaterEqual = ">="
constant tokenGreater (line 110) | tokenGreater = ">"
constant tokenStrictlyEqual (line 111) | tokenStrictlyEqual = "==="
constant tokenLooselyEqual (line 112) | tokenLooselyEqual = "=="
constant tokenBangEqual (line 113) | tokenBangEqual = "!="
function scanThresholdExpression (line 143) | func scanThresholdExpression(input string) (string, string, string, erro...
constant tokenValue (line 157) | tokenValue = "value"
constant tokenCount (line 158) | tokenCount = "count"
constant tokenRate (line 159) | tokenRate = "rate"
constant tokenAvg (line 160) | tokenAvg = "avg"
constant tokenMin (line 161) | tokenMin = "min"
constant tokenMed (line 162) | tokenMed = "med"
constant tokenMax (line 163) | tokenMax = "max"
constant tokenPercentile (line 164) | tokenPercentile = "p"
function parseThresholdAggregationMethod (line 189) | func parseThresholdAggregationMethod(input string) (string, null.Float, ...
function trimDelimited (line 212) | func trimDelimited(prefix, input, suffix string) string {
FILE: metrics/thresholds_parser_test.go
function TestParseThresholdExpression (line 10) | func TestParseThresholdExpression(t *testing.T) {
function BenchmarkParseThresholdExpression (line 65) | func BenchmarkParseThresholdExpression(b *testing.B) {
function TestParseThresholdAggregationMethod (line 71) | func TestParseThresholdAggregationMethod(t *testing.T) {
function BenchmarkParseThresholdAggregationMethod (line 200) | func BenchmarkParseThresholdAggregationMethod(b *testing.B) {
function TestScanThresholdExpression (line 206) | func TestScanThresholdExpression(t *testing.T) {
function BenchmarkScanThresholdExpression (line 331) | func BenchmarkScanThresholdExpression(b *testing.B) {
FILE: metrics/thresholds_test.go
function TestNewThreshold (line 16) | func TestNewThreshold(t *testing.T) {
function TestThreshold_runNoTaint (line 32) | func TestThreshold_runNoTaint(t *testing.T) {
function BenchmarkRunNoTaint (line 163) | func BenchmarkRunNoTaint(b *testing.B) {
function TestThresholdRun (line 181) | func TestThresholdRun(t *testing.T) {
function TestThresholdsParse (line 235) | func TestThresholdsParse(t *testing.T) {
function TestThresholdsValidate (line 318) | func TestThresholdsValidate(t *testing.T) {
function TestNewThresholds (line 529) | func TestNewThresholds(t *testing.T) {
function TestNewThresholdsWithConfig (line 552) | func TestNewThresholdsWithConfig(t *testing.T) {
function TestThresholdsRunAll (line 578) | func TestThresholdsRunAll(t *testing.T) {
function getTrendSink (line 637) | func getTrendSink(values ...float64) *TrendSink {
function TestThresholdsRun (line 645) | func TestThresholdsRun(t *testing.T) {
function TestThresholdsJSON (line 745) | func TestThresholdsJSON(t *testing.T) {
FILE: metrics/units.go
constant timeUnit (line 7) | timeUnit = time.Millisecond
function D (line 11) | func D(d time.Duration) float64 {
function ToD (line 17) | func ToD(d float64) time.Duration {
function B (line 22) | func B(b bool) float64 {
FILE: metrics/value_type.go
constant Default (line 7) | Default = ValueType(iota)
constant Time (line 8) | Time
constant Data (line 9) | Data
type ValueType (line 16) | type ValueType
method MarshalJSON (line 19) | func (t ValueType) MarshalJSON() ([]byte, error) {
method MarshalText (line 28) | func (t ValueType) MarshalText() ([]byte, error) {
method UnmarshalText (line 42) | func (t *ValueType) UnmarshalText(data []byte) error {
method String (line 57) | func (t ValueType) String() string {
FILE: output/cloud/expv2/collect.go
type timeBucket (line 11) | type timeBucket struct
type bucketQ (line 18) | type bucketQ struct
method PopAll (line 25) | func (q *bucketQ) PopAll() []timeBucket {
method Push (line 41) | func (q *bucketQ) Push(b []timeBucket) {
type collector (line 50) | type collector struct
method CollectSamples (line 91) | func (c *collector) CollectSamples(containers []metrics.SampleContaine...
method DropExpiringDelay (line 105) | func (c *collector) DropExpiringDelay() {
method collectSample (line 109) | func (c *collector) collectSample(s metrics.Sample) {
method expiredBuckets (line 129) | func (c *collector) expiredBuckets() []timeBucket {
method bucketID (line 155) | func (c *collector) bucketID(t time.Time) int64 {
method timeFromBucketID (line 159) | func (c *collector) timeFromBucketID(id int64) int64 {
method bucketCutoffID (line 163) | func (c *collector) bucketCutoffID() int64 {
function newCollector (line 65) | func newCollector(aggrPeriod, waitPeriod time.Duration) (*collector, err...
FILE: output/cloud/expv2/collect_test.go
function TestNewCollectorError (line 13) | func TestNewCollectorError(t *testing.T) {
function TestCollectorCollectSample (line 24) | func TestCollectorCollectSample(t *testing.T) {
function TestCollectorCollectSampleAggregateNumbers (line 57) | func TestCollectorCollectSampleAggregateNumbers(t *testing.T) {
function TestDropExpiringDelay (line 103) | func TestDropExpiringDelay(t *testing.T) {
function TestCollectorExpiredBucketsNoExipired (line 111) | func TestCollectorExpiredBucketsNoExipired(t *testing.T) {
function TestCollectorExpiredBuckets (line 127) | func TestCollectorExpiredBuckets(t *testing.T) {
function TestCollectorExpiredBucketsCutoff (line 168) | func TestCollectorExpiredBucketsCutoff(t *testing.T) {
function TestCollectorBucketID (line 193) | func TestCollectorBucketID(t *testing.T) {
function TestCollectorTimeFromBucketID (line 214) | func TestCollectorTimeFromBucketID(t *testing.T) {
function TestCollectorBucketCutoffID (line 224) | func TestCollectorBucketCutoffID(t *testing.T) {
function TestBucketQPush (line 239) | func TestBucketQPush(t *testing.T) {
function TestBucketQPopAll (line 247) | func TestBucketQPopAll(t *testing.T) {
function TestBucketQPushPopConcurrency (line 263) | func TestBucketQPushPopConcurrency(t *testing.T) {
FILE: output/cloud/expv2/flush.go
type pusher (line 12) | type pusher interface
type metricsFlusher (line 16) | type metricsFlusher struct
method flush (line 30) | func (f *metricsFlusher) flush() error {
method flushBatches (line 88) | func (f *metricsFlusher) flushBatches(batches []*pbcloud.MetricSet) er...
method reportDiscardedLabels (line 130) | func (f *metricsFlusher) reportDiscardedLabels(discardedLabels map[str...
type metricSetBuilder (line 141) | type metricSetBuilder struct
method addTimeSeries (line 186) | func (msb *metricSetBuilder) addTimeSeries(timestamp int64, timeSeries...
method recordDiscardedLabels (line 213) | func (msb *metricSetBuilder) recordDiscardedLabels(labels []string) {
function newMetricSetBuilder (line 172) | func newMetricSetBuilder(testRunID string, aggrPeriodSec uint32) metricS...
FILE: output/cloud/expv2/flush_test.go
function TestMetricSetBuilderAddTimeBucket (line 23) | func TestMetricSetBuilderAddTimeBucket(t *testing.T) {
function TestMetricsFlusherFlushInBatchWithinBucket (line 44) | func TestMetricsFlusherFlushInBatchWithinBucket(t *testing.T) {
function TestMetricsFlusherFlushInBatchAcrossBuckets (line 90) | func TestMetricsFlusherFlushInBatchAcrossBuckets(t *testing.T) {
function TestFlushWithReservedLabels (line 140) | func TestFlushWithReservedLabels(t *testing.T) {
function TestFlushMaxSeriesInBatch (line 218) | func TestFlushMaxSeriesInBatch(t *testing.T) {
type pusherMock (line 317) | type pusherMock struct
method timesCalled (line 326) | func (pm *pusherMock) timesCalled() int {
method push (line 330) | func (pm *pusherMock) push(ms *pbcloud.MetricSet) error {
function TestMetricsFlusherErrorCase (line 344) | func TestMetricsFlusherErrorCase(t *testing.T) {
FILE: output/cloud/expv2/hdr.go
function histogramAsProto (line 11) | func histogramAsProto(h *histogram.Hdr, time int64) *pbcloud.TrendHdrVal...
FILE: output/cloud/expv2/hdr_test.go
function TestHistogramAsProto (line 16) | func TestHistogramAsProto(t *testing.T) {
FILE: output/cloud/expv2/mapping.go
function mapTimeSeriesLabelsProto (line 16) | func mapTimeSeriesLabelsProto(tags *metrics.TagSet) ([]*pbcloud.Label, [...
function isReservedLabelName (line 44) | func isReservedLabelName(name string) bool {
function mapMetricTypeProto (line 54) | func mapMetricTypeProto(mt metrics.MetricType) pbcloud.MetricType {
function addBucketToTimeSeriesProto (line 70) | func addBucketToTimeSeriesProto(
function initTimeSeriesSamples (line 113) | func initTimeSeriesSamples(timeSeries *pbcloud.TimeSeries, mt metrics.Me...
function timestampAsProto (line 134) | func timestampAsProto(unixnano int64) *timestamppb.Timestamp {
FILE: output/cloud/expv2/mapping_test.go
function TestTimestampAsProto (line 10) | func TestTimestampAsProto(t *testing.T) {
FILE: output/cloud/expv2/metrics_client.go
type metricsClient (line 22) | type metricsClient struct
method push (line 50) | func (mc *metricsClient) push(samples *pbcloud.MetricSet) error {
function newMetricsClient (line 28) | func newMetricsClient(c *cloudapi.Client, testRunID string) (*metricsCli...
function newRequestBody (line 78) | func newRequestBody(data *pbcloud.MetricSet) ([]byte, error) {
FILE: output/cloud/expv2/metrics_client_test.go
function TestMetricsClientPush (line 16) | func TestMetricsClientPush(t *testing.T) {
function TestMetricsClientPushUnexpectedStatus (line 48) | func TestMetricsClientPushUnexpectedStatus(t *testing.T) {
FILE: output/cloud/expv2/output.go
type flusher (line 27) | type flusher interface
type Output (line 32) | type Output struct
method SetTestRunID (line 77) | func (o *Output) SetTestRunID(id string) {
method SetTestRunStopCallback (line 84) | func (o *Output) SetTestRunStopCallback(stopFunc func(error)) {
method Start (line 90) | func (o *Output) Start() error {
method StopWithTestError (line 151) | func (o *Output) StopWithTestError(_ error) error {
method runPeriodicFlush (line 182) | func (o *Output) runPeriodicFlush() {
method AddMetricSamples (line 207) | func (o *Output) AddMetricSamples(s []metrics.SampleContainer) {
method periodicInvoke (line 230) | func (o *Output) periodicInvoke(d time.Duration, callback func()) {
method collectSamples (line 247) | func (o *Output) collectSamples() {
method flushMetrics (line 257) | func (o *Output) flushMetrics() {
method runFlushRequestMetadatas (line 269) | func (o *Output) runFlushRequestMetadatas() {
method flushRequestMetadatas (line 291) | func (o *Output) flushRequestMetadatas() {
method handleFlushError (line 312) | func (o *Output) handleFlushError(err error) {
function New (line 60) | func New(logger logrus.FieldLogger, conf cloudapi.Config, _ *cloudapi.Cl...
function printableConfig (line 352) | func printableConfig(c cloudapi.Config) map[string]any {
FILE: output/cloud/expv2/output_test.go
function TestNew (line 22) | func TestNew(t *testing.T) {
function TestNewWithConfigOverwritten (line 41) | func TestNewWithConfigOverwritten(t *testing.T) {
function TestOutputSetTestRunID (line 53) | func TestOutputSetTestRunID(t *testing.T) {
function TestOutputSetTestRunStopCallback (line 60) | func TestOutputSetTestRunStopCallback(t *testing.T) {
function TestOutputCollectSamples (line 72) | func TestOutputCollectSamples(t *testing.T) {
function TestOutputHandleFlushError (line 143) | func TestOutputHandleFlushError(t *testing.T) {
function TestOutputHandleFlushErrorMultipleTimes (line 224) | func TestOutputHandleFlushErrorMultipleTimes(t *testing.T) {
function TestOutputAddMetricSamples (line 248) | func TestOutputAddMetricSamples(t *testing.T) {
function TestOutputPeriodicInvoke (line 271) | func TestOutputPeriodicInvoke(t *testing.T) {
function TestOutputStopWithTestError (line 288) | func TestOutputStopWithTestError(t *testing.T) {
function TestOutputFlushTicks (line 307) | func TestOutputFlushTicks(t *testing.T) {
function TestOutputFlushWorkersStop (line 338) | func TestOutputFlushWorkersStop(t *testing.T) {
function TestOutputFlushWorkersAbort (line 371) | func TestOutputFlushWorkersAbort(t *testing.T) {
function TestOutputFlushRequestMetadatasConcurrently (line 402) | func TestOutputFlushRequestMetadatasConcurrently(t *testing.T) {
function TestOutputFlushRequestMetadatasStop (line 435) | func TestOutputFlushRequestMetadatasStop(t *testing.T) {
function TestOutputFlushRequestMetadatasAbort (line 466) | func TestOutputFlushRequestMetadatasAbort(t *testing.T) {
type flusherFunc (line 497) | type flusherFunc
method Flush (line 499) | func (ff flusherFunc) Flush() error {
method flush (line 503) | func (ff flusherFunc) flush() error {
function TestPrintableConfig (line 508) | func TestPrintableConfig(t *testing.T) {
FILE: output/cloud/expv2/sink.go
type metricValue (line 12) | type metricValue interface
function newMetricValue (line 16) | func newMetricValue(mt metrics.MetricType) metricValue {
type counter (line 36) | type counter struct
method Add (line 40) | func (c *counter) Add(v float64) {
type gauge (line 44) | type gauge struct
method Add (line 54) | func (g *gauge) Add(v float64) {
type rate (line 69) | type rate struct
method Add (line 74) | func (r *rate) Add(v float64) {
FILE: output/cloud/expv2/sink_test.go
function TestNewSink (line 12) | func TestNewSink(t *testing.T) {
function TestCounterAdd (line 28) | func TestCounterAdd(t *testing.T) {
function TestGaugeAdd (line 39) | func TestGaugeAdd(t *testing.T) {
function TestRateAdd (line 69) | func TestRateAdd(t *testing.T) {
FILE: output/extensions.go
type Constructor (line 6) | type Constructor
function RegisterExtension (line 10) | func RegisterExtension(name string, c Constructor) {
FILE: output/helpers.go
type SampleBuffer (line 15) | type SampleBuffer struct
method AddMetricSamples (line 22) | func (sc *SampleBuffer) AddMetricSamples(samples []metrics.SampleConta...
method GetBufferedSamples (line 34) | func (sc *SampleBuffer) GetBufferedSamples() []metrics.SampleContainer {
type PeriodicFlusher (line 55) | type PeriodicFlusher struct
method run (line 63) | func (pf *PeriodicFlusher) run() {
method Stop (line 81) | func (pf *PeriodicFlusher) Stop() {
function NewPeriodicFlusher (line 89) | func NewPeriodicFlusher(period time.Duration, flushCallback func()) (*Pe...
FILE: output/helpers_test.go
function TestSampleBufferBasics (line 15) | func TestSampleBufferBasics(t *testing.T) {
function TestSampleBufferConcurrently (line 53) | func TestSampleBufferConcurrently(t *testing.T) {
function TestPeriodicFlusherBasics (line 117) | func TestPeriodicFlusherBasics(t *testing.T) {
function TestPeriodicFlusherConcurrency (line 143) | func TestPeriodicFlusherConcurrency(t *testing.T) {
FILE: output/manager.go
constant sendBatchToOutputsRate (line 12) | sendBatchToOutputsRate = 50 * time.Millisecond
type Manager (line 15) | type Manager struct
method Start (line 42) | func (om *Manager) Start(samplesChan chan metrics.SampleContainer) (wa...
method startOutputs (line 89) | func (om *Manager) startOutputs() error {
method stopOutputs (line 104) | func (om *Manager) stopOutputs(testErr error, upToID int) {
function NewManager (line 23) | func NewManager(outputs []Output, logger logrus.FieldLogger, testStopCal...
FILE: output/types.go
type Params (line 20) | type Params struct
type Output (line 44) | type Output interface
type WithThresholds (line 66) | type WithThresholds interface
type WithArchive (line 73) | type WithArchive interface
type WithTestRunStop (line 82) | type WithTestRunStop interface
type WithStopWithTestError (line 95) | type WithStopWithTestError interface
type WithBuiltinMetrics (line 101) | type WithBuiltinMetrics interface
FILE: packaging/bin/generate_index.py
function process_dir (line 36) | def process_dir(top_dir, opts):
function pretty_size (line 438) | def pretty_size(bytes, units=UNITS_MAPPING):
FILE: secretsource/extension.go
type Constructor (line 15) | type Constructor
type Source (line 18) | type Source interface
type Params (line 28) | type Params struct
function RegisterExtension (line 39) | func RegisterExtension(name string, c Constructor) {
FILE: secretsource/hook.go
type secretsHook (line 13) | type secretsHook struct
method Levels (line 20) | func (s *secretsHook) Levels() []logrus.Level { return logrus.AllLevels }
method add (line 25) | func (s *secretsHook) add(secret string) {
method Fire (line 36) | func (s *secretsHook) Fire(entry *logrus.Entry) error {
function recursiveReplace (line 60) | func recursiveReplace(v any, replacer *strings.Replacer) any {
FILE: secretsource/hook_test.go
function TestSecretsHookAddIgnoresEmptySecrets (line 11) | func TestSecretsHookAddIgnoresEmptySecrets(t *testing.T) {
function TestSecretsHookFireWithNoSecretsLeavesMessageUnchanged (line 36) | func TestSecretsHookFireWithNoSecretsLeavesMessageUnchanged(t *testing.T) {
function TestSecretsHook_NormalOperation (line 56) | func TestSecretsHook_NormalOperation(t *testing.T) {
function TestSecretsHook_RecursiveReplace (line 80) | func TestSecretsHook_RecursiveReplace(t *testing.T) {
FILE: secretsource/manager.go
constant DefaultSourceName (line 12) | DefaultSourceName = "default"
type Manager (line 15) | type Manager struct
method Get (line 56) | func (sm *Manager) Get(sourceName, key string) (string, error) {
function NewManager (line 22) | func NewManager(sources map[string]Source) (*Manager, logrus.Hook, error) {
type UnknownSourceError (line 79) | type UnknownSourceError
method Error (line 81) | func (u UnknownSourceError) Error() string {
FILE: subcommand/extension.go
type Constructor (line 22) | type Constructor
function RegisterExtension (line 34) | func RegisterExtension(name string, c Constructor) {
FILE: vendor/buf.build/gen/go/gogo/protobuf/protocolbuffers/go/gogoproto/gogo.pb.go
constant _ (line 49) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 51) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
constant file_gogoproto_gogo_proto_rawDesc (line 839) | file_gogoproto_gogo_proto_rawDesc = "" +
function init (line 1023) | func init() { file_gogoproto_gogo_proto_init() }
function file_gogoproto_gogo_proto_init (line 1024) | func file_gogoproto_gogo_proto_init() {
FILE: vendor/buf.build/gen/go/gogo/protobuf/protocolbuffers/go/gogoproto/gogo_protoopaque.pb.go
constant _ (line 49) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 51) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
constant file_gogoproto_gogo_proto_rawDesc (line 839) | file_gogoproto_gogo_proto_rawDesc = "" +
function init (line 1023) | func init() { file_gogoproto_gogo_proto_init() }
function file_gogoproto_gogo_proto_init (line 1024) | func file_gogoproto_gogo_proto_init() {
FILE: vendor/buf.build/gen/go/prometheus/prometheus/protocolbuffers/go/remote.pb.go
constant _ (line 34) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 36) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type ReadRequest_ResponseType (line 39) | type ReadRequest_ResponseType
method Enum (line 72) | func (x ReadRequest_ResponseType) Enum() *ReadRequest_ResponseType {
method String (line 78) | func (x ReadRequest_ResponseType) String() string {
method Descriptor (line 82) | func (ReadRequest_ResponseType) Descriptor() protoreflect.EnumDescript...
method Type (line 86) | func (ReadRequest_ResponseType) Type() protoreflect.EnumType {
method Number (line 90) | func (x ReadRequest_ResponseType) Number() protoreflect.EnumNumber {
constant ReadRequest_SAMPLES (line 48) | ReadRequest_SAMPLES ReadRequest_ResponseType = 0
constant ReadRequest_STREAMED_XOR_CHUNKS (line 57) | ReadRequest_STREAMED_XOR_CHUNKS ReadRequest_ResponseType = 1
type WriteRequest (line 94) | type WriteRequest struct
method Reset (line 102) | func (x *WriteRequest) Reset() {
method String (line 109) | func (x *WriteRequest) String() string {
method ProtoMessage (line 113) | func (*WriteRequest) ProtoMessage() {}
method ProtoReflect (line 115) | func (x *WriteRequest) ProtoReflect() protoreflect.Message {
method GetTimeseries (line 127) | func (x *WriteRequest) GetTimeseries() []*TimeSeries {
method GetMetadata (line 134) | func (x *WriteRequest) GetMetadata() []*MetricMetadata {
method SetTimeseries (line 141) | func (x *WriteRequest) SetTimeseries(v []*TimeSeries) {
method SetMetadata (line 145) | func (x *WriteRequest) SetMetadata(v []*MetricMetadata) {
type WriteRequest_builder (line 149) | type WriteRequest_builder struct
method Build (line 156) | func (b0 WriteRequest_builder) Build() *WriteRequest {
type ReadRequest (line 166) | type ReadRequest struct
method Reset (line 179) | func (x *ReadRequest) Reset() {
method String (line 186) | func (x *ReadRequest) String() string {
method ProtoMessage (line 190) | func (*ReadRequest) ProtoMessage() {}
method ProtoReflect (line 192) | func (x *ReadRequest) ProtoReflect() protoreflect.Message {
method GetQueries (line 204) | func (x *ReadRequest) GetQueries() []*Query {
method GetAcceptedResponseTypes (line 211) | func (x *ReadRequest) GetAcceptedResponseTypes() []ReadRequest_Respons...
method SetQueries (line 218) | func (x *ReadRequest) SetQueries(v []*Query) {
method SetAcceptedResponseTypes (line 222) | func (x *ReadRequest) SetAcceptedResponseTypes(v []ReadRequest_Respons...
type ReadRequest_builder (line 226) | type ReadRequest_builder struct
method Build (line 238) | func (b0 ReadRequest_builder) Build() *ReadRequest {
type ReadResponse (line 248) | type ReadResponse struct
method Reset (line 256) | func (x *ReadResponse) Reset() {
method String (line 263) | func (x *ReadResponse) String() string {
method ProtoMessage (line 267) | func (*ReadResponse) ProtoMessage() {}
method ProtoReflect (line 269) | func (x *ReadResponse) ProtoReflect() protoreflect.Message {
method GetResults (line 281) | func (x *ReadResponse) GetResults() []*QueryResult {
method SetResults (line 288) | func (x *ReadResponse) SetResults(v []*QueryResult) {
type ReadResponse_builder (line 292) | type ReadResponse_builder struct
method Build (line 299) | func (b0 ReadResponse_builder) Build() *ReadResponse {
type Query (line 307) | type Query struct
method Reset (line 317) | func (x *Query) Reset() {
method String (line 324) | func (x *Query) String() string {
method ProtoMessage (line 328) | func (*Query) ProtoMessage() {}
method ProtoReflect (line 330) | func (x *Query) ProtoReflect() protoreflect.Message {
method GetStartTimestampMs (line 342) | func (x *Query) GetStartTimestampMs() int64 {
method GetEndTimestampMs (line 349) | func (x *Query) GetEndTimestampMs() int64 {
method GetMatchers (line 356) | func (x *Query) GetMatchers() []*LabelMatcher {
method GetHints (line 363) | func (x *Query) GetHints() *ReadHints {
method SetStartTimestampMs (line 370) | func (x *Query) SetStartTimestampMs(v int64) {
method SetEndTimestampMs (line 374) | func (x *Query) SetEndTimestampMs(v int64) {
method SetMatchers (line 378) | func (x *Query) SetMatchers(v []*LabelMatcher) {
method SetHints (line 382) | func (x *Query) SetHints(v *ReadHints) {
method HasHints (line 386) | func (x *Query) HasHints() bool {
method ClearHints (line 393) | func (x *Query) ClearHints() {
type Query_builder (line 397) | type Query_builder struct
method Build (line 406) | func (b0 Query_builder) Build() *Query {
type QueryResult (line 417) | type QueryResult struct
method Reset (line 425) | func (x *QueryResult) Reset() {
method String (line 432) | func (x *QueryResult) String() string {
method ProtoMessage (line 436) | func (*QueryResult) ProtoMessage() {}
method ProtoReflect (line 438) | func (x *QueryResult) ProtoReflect() protoreflect.Message {
method GetTimeseries (line 450) | func (x *QueryResult) GetTimeseries() []*TimeSeries {
method SetTimeseries (line 457) | func (x *QueryResult) SetTimeseries(v []*TimeSeries) {
type QueryResult_builder (line 461) | type QueryResult_builder struct
method Build (line 468) | func (b0 QueryResult_builder) Build() *QueryResult {
type ChunkedReadResponse (line 480) | type ChunkedReadResponse struct
method Reset (line 489) | func (x *ChunkedReadResponse) Reset() {
method String (line 496) | func (x *ChunkedReadResponse) String() string {
method ProtoMessage (line 500) | func (*ChunkedReadResponse) ProtoMessage() {}
method ProtoReflect (line 502) | func (x *ChunkedReadResponse) ProtoReflect() protoreflect.Message {
method GetChunkedSeries (line 514) | func (x *ChunkedReadResponse) GetChunkedSeries() []*ChunkedSeries {
method GetQueryIndex (line 521) | func (x *ChunkedReadResponse) GetQueryIndex() int64 {
method SetChunkedSeries (line 528) | func (x *ChunkedReadResponse) SetChunkedSeries(v []*ChunkedSeries) {
method SetQueryIndex (line 532) | func (x *ChunkedReadResponse) SetQueryIndex(v int64) {
type ChunkedReadResponse_builder (line 536) | type ChunkedReadResponse_builder struct
method Build (line 544) | func (b0 ChunkedReadResponse_builder) Build() *ChunkedReadResponse {
constant file_remote_proto_rawDesc (line 555) | file_remote_proto_rawDesc = "" +
function init (line 619) | func init() { file_remote_proto_init() }
function file_remote_proto_init (line 620) | func file_remote_proto_init() {
FILE: vendor/buf.build/gen/go/prometheus/prometheus/protocolbuffers/go/remote_protoopaque.pb.go
constant _ (line 34) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 36) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type ReadRequest_ResponseType (line 39) | type ReadRequest_ResponseType
method Enum (line 72) | func (x ReadRequest_ResponseType) Enum() *ReadRequest_ResponseType {
method String (line 78) | func (x ReadRequest_ResponseType) String() string {
method Descriptor (line 82) | func (ReadRequest_ResponseType) Descriptor() protoreflect.EnumDescript...
method Type (line 86) | func (ReadRequest_ResponseType) Type() protoreflect.EnumType {
method Number (line 90) | func (x ReadRequest_ResponseType) Number() protoreflect.EnumNumber {
constant ReadRequest_SAMPLES (line 48) | ReadRequest_SAMPLES ReadRequest_ResponseType = 0
constant ReadRequest_STREAMED_XOR_CHUNKS (line 57) | ReadRequest_STREAMED_XOR_CHUNKS ReadRequest_ResponseType = 1
type WriteRequest (line 94) | type WriteRequest struct
method Reset (line 102) | func (x *WriteRequest) Reset() {
method String (line 109) | func (x *WriteRequest) String() string {
method ProtoMessage (line 113) | func (*WriteRequest) ProtoMessage() {}
method ProtoReflect (line 115) | func (x *WriteRequest) ProtoReflect() protoreflect.Message {
method GetTimeseries (line 127) | func (x *WriteRequest) GetTimeseries() []*TimeSeries {
method GetMetadata (line 136) | func (x *WriteRequest) GetMetadata() []*MetricMetadata {
method SetTimeseries (line 145) | func (x *WriteRequest) SetTimeseries(v []*TimeSeries) {
method SetMetadata (line 149) | func (x *WriteRequest) SetMetadata(v []*MetricMetadata) {
type WriteRequest_builder (line 153) | type WriteRequest_builder struct
method Build (line 160) | func (b0 WriteRequest_builder) Build() *WriteRequest {
type ReadRequest (line 170) | type ReadRequest struct
method Reset (line 178) | func (x *ReadRequest) Reset() {
method String (line 185) | func (x *ReadRequest) String() string {
method ProtoMessage (line 189) | func (*ReadRequest) ProtoMessage() {}
method ProtoReflect (line 191) | func (x *ReadRequest) ProtoReflect() protoreflect.Message {
method GetQueries (line 203) | func (x *ReadRequest) GetQueries() []*Query {
method GetAcceptedResponseTypes (line 212) | func (x *ReadRequest) GetAcceptedResponseTypes() []ReadRequest_Respons...
method SetQueries (line 219) | func (x *ReadRequest) SetQueries(v []*Query) {
method SetAcceptedResponseTypes (line 223) | func (x *ReadRequest) SetAcceptedResponseTypes(v []ReadRequest_Respons...
type ReadRequest_builder (line 227) | type ReadRequest_builder struct
method Build (line 239) | func (b0 ReadRequest_builder) Build() *ReadRequest {
type ReadResponse (line 249) | type ReadResponse struct
method Reset (line 256) | func (x *ReadResponse) Reset() {
method String (line 263) | func (x *ReadResponse) String() string {
method ProtoMessage (line 267) | func (*ReadResponse) ProtoMessage() {}
method ProtoReflect (line 269) | func (x *ReadResponse) ProtoReflect() protoreflect.Message {
method GetResults (line 281) | func (x *ReadResponse) GetResults() []*QueryResult {
method SetResults (line 290) | func (x *ReadResponse) SetResults(v []*QueryResult) {
type ReadResponse_builder (line 294) | type ReadResponse_builder struct
method Build (line 301) | func (b0 ReadResponse_builder) Build() *ReadResponse {
type Query (line 309) | type Query struct
method Reset (line 319) | func (x *Query) Reset() {
method String (line 326) | func (x *Query) String() string {
method ProtoMessage (line 330) | func (*Query) ProtoMessage() {}
method ProtoReflect (line 332) | func (x *Query) ProtoReflect() protoreflect.Message {
method GetStartTimestampMs (line 344) | func (x *Query) GetStartTimestampMs() int64 {
method GetEndTimestampMs (line 351) | func (x *Query) GetEndTimestampMs() int64 {
method GetMatchers (line 358) | func (x *Query) GetMatchers() []*LabelMatcher {
method GetHints (line 367) | func (x *Query) GetHints() *ReadHints {
method SetStartTimestampMs (line 374) | func (x *Query) SetStartTimestampMs(v int64) {
method SetEndTimestampMs (line 378) | func (x *Query) SetEndTimestampMs(v int64) {
method SetMatchers (line 382) | func (x *Query) SetMatchers(v []*LabelMatcher) {
method SetHints (line 386) | func (x *Query) SetHints(v *ReadHints) {
method HasHints (line 390) | func (x *Query) HasHints() bool {
method ClearHints (line 397) | func (x *Query) ClearHints() {
type Query_builder (line 401) | type Query_builder struct
method Build (line 410) | func (b0 Query_builder) Build() *Query {
type QueryResult (line 421) | type QueryResult struct
method Reset (line 428) | func (x *QueryResult) Reset() {
method String (line 435) | func (x *QueryResult) String() string {
method ProtoMessage (line 439) | func (*QueryResult) ProtoMessage() {}
method ProtoReflect (line 441) | func (x *QueryResult) ProtoReflect() protoreflect.Message {
method GetTimeseries (line 453) | func (x *QueryResult) GetTimeseries() []*TimeSeries {
method SetTimeseries (line 462) | func (x *QueryResult) SetTimeseries(v []*TimeSeries) {
type QueryResult_builder (line 466) | type QueryResult_builder struct
method Build (line 473) | func (b0 QueryResult_builder) Build() *QueryResult {
type ChunkedReadResponse (line 485) | type ChunkedReadResponse struct
method Reset (line 493) | func (x *ChunkedReadResponse) Reset() {
method String (line 500) | func (x *ChunkedReadResponse) String() string {
method ProtoMessage (line 504) | func (*ChunkedReadResponse) ProtoMessage() {}
method ProtoReflect (line 506) | func (x *ChunkedReadResponse) ProtoReflect() protoreflect.Message {
method GetChunkedSeries (line 518) | func (x *ChunkedReadResponse) GetChunkedSeries() []*ChunkedSeries {
method GetQueryIndex (line 527) | func (x *ChunkedReadResponse) GetQueryIndex() int64 {
method SetChunkedSeries (line 534) | func (x *ChunkedReadResponse) SetChunkedSeries(v []*ChunkedSeries) {
method SetQueryIndex (line 538) | func (x *ChunkedReadResponse) SetQueryIndex(v int64) {
type ChunkedReadResponse_builder (line 542) | type ChunkedReadResponse_builder struct
method Build (line 550) | func (b0 ChunkedReadResponse_builder) Build() *ChunkedReadResponse {
constant file_remote_proto_rawDesc (line 561) | file_remote_proto_rawDesc = "" +
function init (line 625) | func init() { file_remote_proto_init() }
function file_remote_proto_init (line 626) | func file_remote_proto_init() {
FILE: vendor/buf.build/gen/go/prometheus/prometheus/protocolbuffers/go/types.pb.go
constant _ (line 34) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 36) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type MetricMetadata_MetricType (line 39) | type MetricMetadata_MetricType
method Enum (line 76) | func (x MetricMetadata_MetricType) Enum() *MetricMetadata_MetricType {
method String (line 82) | func (x MetricMetadata_MetricType) String() string {
method Descriptor (line 86) | func (MetricMetadata_MetricType) Descriptor() protoreflect.EnumDescrip...
method Type (line 90) | func (MetricMetadata_MetricType) Type() protoreflect.EnumType {
method Number (line 94) | func (x MetricMetadata_MetricType) Number() protoreflect.EnumNumber {
constant MetricMetadata_UNKNOWN (line 42) | MetricMetadata_UNKNOWN MetricMetadata_MetricType = 0
constant MetricMetadata_COUNTER (line 43) | MetricMetadata_COUNTER MetricMetadata_MetricType = 1
constant MetricMetadata_GAUGE (line 44) | MetricMetadata_GAUGE MetricMetadata_MetricType = 2
constant MetricMetadata_HISTOGRAM (line 45) | MetricMetadata_HISTOGRAM MetricMetadata_MetricType = 3
constant MetricMetadata_GAUGEHISTOGRAM (line 46) | MetricMetadata_GAUGEHISTOGRAM MetricMetadata_MetricType = 4
constant MetricMetadata_SUMMARY (line 47) | MetricMetadata_SUMMARY MetricMetadata_MetricType = 5
constant MetricMetadata_INFO (line 48) | MetricMetadata_INFO MetricMetadata_MetricType = 6
constant MetricMetadata_STATESET (line 49) | MetricMetadata_STATESET MetricMetadata_MetricType = 7
type Histogram_ResetHint (line 98) | type Histogram_ResetHint
method Enum (line 123) | func (x Histogram_ResetHint) Enum() *Histogram_ResetHint {
method String (line 129) | func (x Histogram_ResetHint) String() string {
method Descriptor (line 133) | func (Histogram_ResetHint) Descriptor() protoreflect.EnumDescriptor {
method Type (line 137) | func (Histogram_ResetHint) Type() protoreflect.EnumType {
method Number (line 141) | func (x Histogram_ResetHint) Number() protoreflect.EnumNumber {
constant Histogram_UNKNOWN (line 101) | Histogram_UNKNOWN Histogram_ResetHint = 0
constant Histogram_YES (line 102) | Histogram_YES Histogram_ResetHint = 1
constant Histogram_NO (line 103) | Histogram_NO Histogram_ResetHint = 2
constant Histogram_GAUGE (line 104) | Histogram_GAUGE Histogram_ResetHint = 3
type LabelMatcher_Type (line 145) | type LabelMatcher_Type
method Enum (line 170) | func (x LabelMatcher_Type) Enum() *LabelMatcher_Type {
method String (line 176) | func (x LabelMatcher_Type) String() string {
method Descriptor (line 180) | func (LabelMatcher_Type) Descriptor() protoreflect.EnumDescriptor {
method Type (line 184) | func (LabelMatcher_Type) Type() protoreflect.EnumType {
method Number (line 188) | func (x LabelMatcher_Type) Number() protoreflect.EnumNumber {
constant LabelMatcher_EQ (line 148) | LabelMatcher_EQ LabelMatcher_Type = 0
constant LabelMatcher_NEQ (line 149) | LabelMatcher_NEQ LabelMatcher_Type = 1
constant LabelMatcher_RE (line 150) | LabelMatcher_RE LabelMatcher_Type = 2
constant LabelMatcher_NRE (line 151) | LabelMatcher_NRE LabelMatcher_Type = 3
type Chunk_Encoding (line 193) | type Chunk_Encoding
method Enum (line 218) | func (x Chunk_Encoding) Enum() *Chunk_Encoding {
method String (line 224) | func (x Chunk_Encoding) String() string {
method Descriptor (line 228) | func (Chunk_Encoding) Descriptor() protoreflect.EnumDescriptor {
method Type (line 232) | func (Chunk_Encoding) Type() protoreflect.EnumType {
method Number (line 236) | func (x Chunk_Encoding) Number() protoreflect.EnumNumber {
constant Chunk_UNKNOWN (line 196) | Chunk_UNKNOWN Chunk_Encoding = 0
constant Chunk_XOR (line 197) | Chunk_XOR Chunk_Encoding = 1
constant Chunk_HISTOGRAM (line 198) | Chunk_HISTOGRAM Chunk_Encoding = 2
constant Chunk_FLOAT_HISTOGRAM (line 199) | Chunk_FLOAT_HISTOGRAM Chunk_Encoding = 3
type MetricMetadata (line 240) | type MetricMetadata struct
method Reset (line 252) | func (x *MetricMetadata) Reset() {
method String (line 259) | func (x *MetricMetadata) String() string {
method ProtoMessage (line 263) | func (*MetricMetadata) ProtoMessage() {}
method ProtoReflect (line 265) | func (x *MetricMetadata) ProtoReflect() protoreflect.Message {
method GetType (line 277) | func (x *MetricMetadata) GetType() MetricMetadata_MetricType {
method GetMetricFamilyName (line 284) | func (x *MetricMetadata) GetMetricFamilyName() string {
method GetHelp (line 291) | func (x *MetricMetadata) GetHelp() string {
method GetUnit (line 298) | func (x *MetricMetadata) GetUnit() string {
method SetType (line 305) | func (x *MetricMetadata) SetType(v MetricMetadata_MetricType) {
method SetMetricFamilyName (line 309) | func (x *MetricMetadata) SetMetricFamilyName(v string) {
method SetHelp (line 313) | func (x *MetricMetadata) SetHelp(v string) {
method SetUnit (line 317) | func (x *MetricMetadata) SetUnit(v string) {
type MetricMetadata_builder (line 321) | type MetricMetadata_builder struct
method Build (line 332) | func (b0 MetricMetadata_builder) Build() *MetricMetadata {
type Sample (line 343) | type Sample struct
method Reset (line 353) | func (x *Sample) Reset() {
method String (line 360) | func (x *Sample) String() string {
method ProtoMessage (line 364) | func (*Sample) ProtoMessage() {}
method ProtoReflect (line 366) | func (x *Sample) ProtoReflect() protoreflect.Message {
method GetValue (line 378) | func (x *Sample) GetValue() float64 {
method GetTimestamp (line 385) | func (x *Sample) GetTimestamp() int64 {
method SetValue (line 392) | func (x *Sample) SetValue(v float64) {
method SetTimestamp (line 396) | func (x *Sample) SetTimestamp(v int64) {
type Sample_builder (line 400) | type Sample_builder struct
method Build (line 409) | func (b0 Sample_builder) Build() *Sample {
type Exemplar (line 418) | type Exemplar struct
method Reset (line 430) | func (x *Exemplar) Reset() {
method String (line 437) | func (x *Exemplar) String() string {
method ProtoMessage (line 441) | func (*Exemplar) ProtoMessage() {}
method ProtoReflect (line 443) | func (x *Exemplar) ProtoReflect() protoreflect.Message {
method GetLabels (line 455) | func (x *Exemplar) GetLabels() []*Label {
method GetValue (line 462) | func (x *Exemplar) GetValue() float64 {
method GetTimestamp (line 469) | func (x *Exemplar) GetTimestamp() int64 {
method SetLabels (line 476) | func (x *Exemplar) SetLabels(v []*Label) {
method SetValue (line 480) | func (x *Exemplar) SetValue(v float64) {
method SetTimestamp (line 484) | func (x *Exemplar) SetTimestamp(v int64) {
type Exemplar_builder (line 488) | type Exemplar_builder struct
method Build (line 499) | func (b0 Exemplar_builder) Build() *Exemplar {
type Histogram (line 515) | type Histogram struct
method Reset (line 562) | func (x *Histogram) Reset() {
method String (line 569) | func (x *Histogram) String() string {
method ProtoMessage (line 573) | func (*Histogram) ProtoMessage() {}
method ProtoReflect (line 575) | func (x *Histogram) ProtoReflect() protoreflect.Message {
method GetCount (line 587) | func (x *Histogram) GetCount() isHistogram_Count {
method GetCountInt (line 594) | func (x *Histogram) GetCountInt() uint64 {
method GetCountFloat (line 603) | func (x *Histogram) GetCountFloat() float64 {
method GetSum (line 612) | func (x *Histogram) GetSum() float64 {
method GetSchema (line 619) | func (x *Histogram) GetSchema() int32 {
method GetZeroThreshold (line 626) | func (x *Histogram) GetZeroThreshold() float64 {
method GetZeroCount (line 633) | func (x *Histogram) GetZeroCount() isHistogram_ZeroCount {
method GetZeroCountInt (line 640) | func (x *Histogram) GetZeroCountInt() uint64 {
method GetZeroCountFloat (line 649) | func (x *Histogram) GetZeroCountFloat() float64 {
method GetNegativeSpans (line 658) | func (x *Histogram) GetNegativeSpans() []*BucketSpan {
method GetNegativeDeltas (line 665) | func (x *Histogram) GetNegativeDeltas() []int64 {
method GetNegativeCounts (line 672) | func (x *Histogram) GetNegativeCounts() []float64 {
method GetPositiveSpans (line 679) | func (x *Histogram) GetPositiveSpans() []*BucketSpan {
method GetPositiveDeltas (line 686) | func (x *Histogram) GetPositiveDeltas() []int64 {
method GetPositiveCounts (line 693) | func (x *Histogram) GetPositiveCounts() []float64 {
method GetResetHint (line 700) | func (x *Histogram) GetResetHint() Histogram_ResetHint {
method GetTimestamp (line 707) | func (x *Histogram) GetTimestamp() int64 {
method GetCustomValues (line 714) | func (x *Histogram) GetCustomValues() []float64 {
method SetCountInt (line 721) | func (x *Histogram) SetCountInt(v uint64) {
method SetCountFloat (line 725) | func (x *Histogram) SetCountFloat(v float64) {
method SetSum (line 729) | func (x *Histogram) SetSum(v float64) {
method SetSchema (line 733) | func (x *Histogram) SetSchema(v int32) {
method SetZeroThreshold (line 737) | func (x *Histogram) SetZeroThreshold(v float64) {
method SetZeroCountInt (line 741) | func (x *Histogram) SetZeroCountInt(v uint64) {
method SetZeroCountFloat (line 745) | func (x *Histogram) SetZeroCountFloat(v float64) {
method SetNegativeSpans (line 749) | func (x *Histogram) SetNegativeSpans(v []*BucketSpan) {
method SetNegativeDeltas (line 753) | func (x *Histogram) SetNegativeDeltas(v []int64) {
method SetNegativeCounts (line 757) | func (x *Histogram) SetNegativeCounts(v []float64) {
method SetPositiveSpans (line 761) | func (x *Histogram) SetPositiveSpans(v []*BucketSpan) {
method SetPositiveDeltas (line 765) | func (x *Histogram) SetPositiveDeltas(v []int64) {
method SetPositiveCounts (line 769) | func (x *Histogram) SetPositiveCounts(v []float64) {
method SetResetHint (line 773) | func (x *Histogram) SetResetHint(v Histogram_ResetHint) {
method SetTimestamp (line 777) | func (x *Histogram) SetTimestamp(v int64) {
method SetCustomValues (line 781) | func (x *Histogram) SetCustomValues(v []float64) {
method HasCount (line 785) | func (x *Histogram) HasCount() bool {
method HasCountInt (line 792) | func (x *Histogram) HasCountInt() bool {
method HasCountFloat (line 800) | func (x *Histogram) HasCountFloat() bool {
method HasZeroCount (line 808) | func (x *Histogram) HasZeroCount() bool {
method HasZeroCountInt (line 815) | func (x *Histogram) HasZeroCountInt() bool {
method HasZeroCountFloat (line 823) | func (x *Histogram) HasZeroCountFloat() bool {
method ClearCount (line 831) | func (x *Histogram) ClearCount() {
method ClearCountInt (line 835) | func (x *Histogram) ClearCountInt() {
method ClearCountFloat (line 841) | func (x *Histogram) ClearCountFloat() {
method ClearZeroCount (line 847) | func (x *Histogram) ClearZeroCount() {
method ClearZeroCountInt (line 851) | func (x *Histogram) ClearZeroCountInt() {
method ClearZeroCountFloat (line 857) | func (x *Histogram) ClearZeroCountFloat() {
method WhichCount (line 867) | func (x *Histogram) WhichCount() case_Histogram_Count {
method WhichZeroCount (line 885) | func (x *Histogram) WhichZeroCount() case_Histogram_ZeroCount {
constant Histogram_Count_not_set_case (line 863) | Histogram_Count_not_set_case case_Histogram_Count = 0
constant Histogram_CountInt_case (line 864) | Histogram_CountInt_case case_Histogram_Count = 1
constant Histogram_CountFloat_case (line 865) | Histogram_CountFloat_case case_Histogram_Count = 2
constant Histogram_ZeroCount_not_set_case (line 881) | Histogram_ZeroCount_not_set_case case_Histogram_ZeroCount = 0
constant Histogram_ZeroCountInt_case (line 882) | Histogram_ZeroCountInt_case case_Histogram_ZeroCount = 6
constant Histogram_ZeroCountFloat_case (line 883) | Histogram_ZeroCountFloat_case case_Histogram_ZeroCount = 7
type Histogram_builder (line 899) | type Histogram_builder struct
method Build (line 943) | func (b0 Histogram_builder) Build() *Histogram {
type case_Histogram_Count (line 974) | type case_Histogram_Count
method String (line 976) | func (x case_Histogram_Count) String() string {
type case_Histogram_ZeroCount (line 984) | type case_Histogram_ZeroCount
method String (line 986) | func (x case_Histogram_ZeroCount) String() string {
type isHistogram_Count (line 994) | type isHistogram_Count interface
type Histogram_CountInt (line 998) | type Histogram_CountInt struct
method isHistogram_Count (line 1006) | func (*Histogram_CountInt) isHistogram_Count() {}
type Histogram_CountFloat (line 1002) | type Histogram_CountFloat struct
method isHistogram_Count (line 1008) | func (*Histogram_CountFloat) isHistogram_Count() {}
type isHistogram_ZeroCount (line 1010) | type isHistogram_ZeroCount interface
type Histogram_ZeroCountInt (line 1014) | type Histogram_ZeroCountInt struct
method isHistogram_ZeroCount (line 1022) | func (*Histogram_ZeroCountInt) isHistogram_ZeroCount() {}
type Histogram_ZeroCountFloat (line 1018) | type Histogram_ZeroCountFloat struct
method isHistogram_ZeroCount (line 1024) | func (*Histogram_ZeroCountFloat) isHistogram_ZeroCount() {}
type BucketSpan (line 1031) | type BucketSpan struct
method Reset (line 1039) | func (x *BucketSpan) Reset() {
method String (line 1046) | func (x *BucketSpan) String() string {
method ProtoMessage (line 1050) | func (*BucketSpan) ProtoMessage() {}
method ProtoReflect (line 1052) | func (x *BucketSpan) ProtoReflect() protoreflect.Message {
method GetOffset (line 1064) | func (x *BucketSpan) GetOffset() int32 {
method GetLength (line 1071) | func (x *BucketSpan) GetLength() uint32 {
method SetOffset (line 1078) | func (x *BucketSpan) SetOffset(v int32) {
method SetLength (line 1082) | func (x *BucketSpan) SetLength(v uint32) {
type BucketSpan_builder (line 1086) | type BucketSpan_builder struct
method Build (line 1093) | func (b0 BucketSpan_builder) Build() *BucketSpan {
type TimeSeries (line 1103) | type TimeSeries struct
method Reset (line 1115) | func (x *TimeSeries) Reset() {
method String (line 1122) | func (x *TimeSeries) String() string {
method ProtoMessage (line 1126) | func (*TimeSeries) ProtoMessage() {}
method ProtoReflect (line 1128) | func (x *TimeSeries) ProtoReflect() protoreflect.Message {
method GetLabels (line 1140) | func (x *TimeSeries) GetLabels() []*Label {
method GetSamples (line 1147) | func (x *TimeSeries) GetSamples() []*Sample {
method GetExemplars (line 1154) | func (x *TimeSeries) GetExemplars() []*Exemplar {
method GetHistograms (line 1161) | func (x *TimeSeries) GetHistograms() []*Histogram {
method SetLabels (line 1168) | func (x *TimeSeries) SetLabels(v []*Label) {
method SetSamples (line 1172) | func (x *TimeSeries) SetSamples(v []*Sample) {
method SetExemplars (line 1176) | func (x *TimeSeries) SetExemplars(v []*Exemplar) {
method SetHistograms (line 1180) | func (x *TimeSeries) SetHistograms(v []*Histogram) {
type TimeSeries_builder (line 1184) | type TimeSeries_builder struct
method Build (line 1195) | func (b0 TimeSeries_builder) Build() *TimeSeries {
type Label (line 1206) | type Label struct
method Reset (line 1214) | func (x *Label) Reset() {
method String (line 1221) | func (x *Label) String() string {
method ProtoMessage (line 1225) | func (*Label) ProtoMessage() {}
method ProtoReflect (line 1227) | func (x *Label) ProtoReflect() protoreflect.Message {
method GetName (line 1239) | func (x *Label) GetName() string {
method GetValue (line 1246) | func (x *Label) GetValue() string {
method SetName (line 1253) | func (x *Label) SetName(v string) {
method SetValue (line 1257) | func (x *Label) SetValue(v string) {
type Label_builder (line 1261) | type Label_builder struct
method Build (line 1268) | func (b0 Label_builder) Build() *Label {
type Labels (line 1277) | type Labels struct
method Reset (line 1284) | func (x *Labels) Reset() {
method String (line 1291) | func (x *Labels) String() string {
method ProtoMessage (line 1295) | func (*Labels) ProtoMessage() {}
method ProtoReflect (line 1297) | func (x *Labels) ProtoReflect() protoreflect.Message {
method GetLabels (line 1309) | func (x *Labels) GetLabels() []*Label {
method SetLabels (line 1316) | func (x *Labels) SetLabels(v []*Label) {
type Labels_builder (line 1320) | type Labels_builder struct
method Build (line 1326) | func (b0 Labels_builder) Build() *Labels {
type LabelMatcher (line 1335) | type LabelMatcher struct
method Reset (line 1344) | func (x *LabelMatcher) Reset() {
method String (line 1351) | func (x *LabelMatcher) String() string {
method ProtoMessage (line 1355) | func (*LabelMatcher) ProtoMessage() {}
method ProtoReflect (line 1357) | func (x *LabelMatcher) ProtoReflect() protoreflect.Message {
method GetType (line 1369) | func (x *LabelMatcher) GetType() LabelMatcher_Type {
method GetName (line 1376) | func (x *LabelMatcher) GetName() string {
method GetValue (line 1383) | func (x *LabelMatcher) GetValue() string {
method SetType (line 1390) | func (x *LabelMatcher) SetType(v LabelMatcher_Type) {
method SetName (line 1394) | func (x *LabelMatcher) SetName(v string) {
method SetValue (line 1398) | func (x *LabelMatcher) SetValue(v string) {
type LabelMatcher_builder (line 1402) | type LabelMatcher_builder struct
method Build (line 1410) | func (b0 LabelMatcher_builder) Build() *LabelMatcher {
type ReadHints (line 1420) | type ReadHints struct
method Reset (line 1433) | func (x *ReadHints) Reset() {
method String (line 1440) | func (x *ReadHints) String() string {
method ProtoMessage (line 1444) | func (*ReadHints) ProtoMessage() {}
method ProtoReflect (line 1446) | func (x *ReadHints) ProtoReflect() protoreflect.Message {
method GetStepMs (line 1458) | func (x *ReadHints) GetStepMs() int64 {
method GetFunc (line 1465) | func (x *ReadHints) GetFunc() string {
method GetStartMs (line 1472) | func (x *ReadHints) GetStartMs() int64 {
method GetEndMs (line 1479) | func (x *ReadHints) GetEndMs() int64 {
method GetGrouping (line 1486) | func (x *ReadHints) GetGrouping() []string {
method GetBy (line 1493) | func (x *ReadHints) GetBy() bool {
method GetRangeMs (line 1500) | func (x *ReadHints) GetRangeMs() int64 {
method SetStepMs (line 1507) | func (x *ReadHints) SetStepMs(v int64) {
method SetFunc (line 1511) | func (x *ReadHints) SetFunc(v string) {
method SetStartMs (line 1515) | func (x *ReadHints) SetStartMs(v int64) {
method SetEndMs (line 1519) | func (x *ReadHints) SetEndMs(v int64) {
method SetGrouping (line 1523) | func (x *ReadHints) SetGrouping(v []string) {
method SetBy (line 1527) | func (x *ReadHints) SetBy(v bool) {
method SetRangeMs (line 1531) | func (x *ReadHints) SetRangeMs(v int64) {
type ReadHints_builder (line 1535) | type ReadHints_builder struct
method Build (line 1547) | func (b0 ReadHints_builder) Build() *ReadHints {
type Chunk (line 1563) | type Chunk struct
method Reset (line 1573) | func (x *Chunk) Reset() {
method String (line 1580) | func (x *Chunk) String() string {
method ProtoMessage (line 1584) | func (*Chunk) ProtoMessage() {}
method ProtoReflect (line 1586) | func (x *Chunk) ProtoReflect() protoreflect.Message {
method GetMinTimeMs (line 1598) | func (x *Chunk) GetMinTimeMs() int64 {
method GetMaxTimeMs (line 1605) | func (x *Chunk) GetMaxTimeMs() int64 {
method GetType (line 1612) | func (x *Chunk) GetType() Chunk_Encoding {
method GetData (line 1619) | func (x *Chunk) GetData() []byte {
method SetMinTimeMs (line 1626) | func (x *Chunk) SetMinTimeMs(v int64) {
method SetMaxTimeMs (line 1630) | func (x *Chunk) SetMaxTimeMs(v int64) {
method SetType (line 1634) | func (x *Chunk) SetType(v Chunk_Encoding) {
method SetData (line 1638) | func (x *Chunk) SetData(v []byte) {
type Chunk_builder (line 1645) | type Chunk_builder struct
method Build (line 1654) | func (b0 Chunk_builder) Build() *Chunk {
type ChunkedSeries (line 1666) | type ChunkedSeries struct
method Reset (line 1676) | func (x *ChunkedSeries) Reset() {
method String (line 1683) | func (x *ChunkedSeries) String() string {
method ProtoMessage (line 1687) | func (*ChunkedSeries) ProtoMessage() {}
method ProtoReflect (line 1689) | func (x *ChunkedSeries) ProtoReflect() protoreflect.Message {
method GetLabels (line 1701) | func (x *ChunkedSeries) GetLabels() []*Label {
method GetChunks (line 1708) | func (x *ChunkedSeries) GetChunks() []*Chunk {
method SetLabels (line 1715) | func (x *ChunkedSeries) SetLabels(v []*Label) {
method SetChunks (line 1719) | func (x *ChunkedSeries) SetChunks(v []*Chunk) {
type ChunkedSeries_builder (line 1723) | type ChunkedSeries_builder struct
method Build (line 1732) | func (b0 ChunkedSeries_builder) Build() *ChunkedSeries {
constant file_types_proto_rawDesc (line 1743) | file_types_proto_rawDesc = "" +
function init (line 1887) | func init() { file_types_proto_init() }
function file_types_proto_init (line 1888) | func file_types_proto_init() {
FILE: vendor/buf.build/gen/go/prometheus/prometheus/protocolbuffers/go/types_protoopaque.pb.go
constant _ (line 34) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 36) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type MetricMetadata_MetricType (line 39) | type MetricMetadata_MetricType
method Enum (line 76) | func (x MetricMetadata_MetricType) Enum() *MetricMetadata_MetricType {
method String (line 82) | func (x MetricMetadata_MetricType) String() string {
method Descriptor (line 86) | func (MetricMetadata_MetricType) Descriptor() protoreflect.EnumDescrip...
method Type (line 90) | func (MetricMetadata_MetricType) Type() protoreflect.EnumType {
method Number (line 94) | func (x MetricMetadata_MetricType) Number() protoreflect.EnumNumber {
constant MetricMetadata_UNKNOWN (line 42) | MetricMetadata_UNKNOWN MetricMetadata_MetricType = 0
constant MetricMetadata_COUNTER (line 43) | MetricMetadata_COUNTER MetricMetadata_MetricType = 1
constant MetricMetadata_GAUGE (line 44) | MetricMetadata_GAUGE MetricMetadata_MetricType = 2
constant MetricMetadata_HISTOGRAM (line 45) | MetricMetadata_HISTOGRAM MetricMetadata_MetricType = 3
constant MetricMetadata_GAUGEHISTOGRAM (line 46) | MetricMetadata_GAUGEHISTOGRAM MetricMetadata_MetricType = 4
constant MetricMetadata_SUMMARY (line 47) | MetricMetadata_SUMMARY MetricMetadata_MetricType = 5
constant MetricMetadata_INFO (line 48) | MetricMetadata_INFO MetricMetadata_MetricType = 6
constant MetricMetadata_STATESET (line 49) | MetricMetadata_STATESET MetricMetadata_MetricType = 7
type Histogram_ResetHint (line 98) | type Histogram_ResetHint
method Enum (line 123) | func (x Histogram_ResetHint) Enum() *Histogram_ResetHint {
method String (line 129) | func (x Histogram_ResetHint) String() string {
method Descriptor (line 133) | func (Histogram_ResetHint) Descriptor() protoreflect.EnumDescriptor {
method Type (line 137) | func (Histogram_ResetHint) Type() protoreflect.EnumType {
method Number (line 141) | func (x Histogram_ResetHint) Number() protoreflect.EnumNumber {
constant Histogram_UNKNOWN (line 101) | Histogram_UNKNOWN Histogram_ResetHint = 0
constant Histogram_YES (line 102) | Histogram_YES Histogram_ResetHint = 1
constant Histogram_NO (line 103) | Histogram_NO Histogram_ResetHint = 2
constant Histogram_GAUGE (line 104) | Histogram_GAUGE Histogram_ResetHint = 3
type LabelMatcher_Type (line 145) | type LabelMatcher_Type
method Enum (line 170) | func (x LabelMatcher_Type) Enum() *LabelMatcher_Type {
method String (line 176) | func (x LabelMatcher_Type) String() string {
method Descriptor (line 180) | func (LabelMatcher_Type) Descriptor() protoreflect.EnumDescriptor {
method Type (line 184) | func (LabelMatcher_Type) Type() protoreflect.EnumType {
method Number (line 188) | func (x LabelMatcher_Type) Number() protoreflect.EnumNumber {
constant LabelMatcher_EQ (line 148) | LabelMatcher_EQ LabelMatcher_Type = 0
constant LabelMatcher_NEQ (line 149) | LabelMatcher_NEQ LabelMatcher_Type = 1
constant LabelMatcher_RE (line 150) | LabelMatcher_RE LabelMatcher_Type = 2
constant LabelMatcher_NRE (line 151) | LabelMatcher_NRE LabelMatcher_Type = 3
type Chunk_Encoding (line 193) | type Chunk_Encoding
method Enum (line 218) | func (x Chunk_Encoding) Enum() *Chunk_Encoding {
method String (line 224) | func (x Chunk_Encoding) String() string {
method Descriptor (line 228) | func (Chunk_Encoding) Descriptor() protoreflect.EnumDescriptor {
method Type (line 232) | func (Chunk_Encoding) Type() protoreflect.EnumType {
method Number (line 236) | func (x Chunk_Encoding) Number() protoreflect.EnumNumber {
constant Chunk_UNKNOWN (line 196) | Chunk_UNKNOWN Chunk_Encoding = 0
constant Chunk_XOR (line 197) | Chunk_XOR Chunk_Encoding = 1
constant Chunk_HISTOGRAM (line 198) | Chunk_HISTOGRAM Chunk_Encoding = 2
constant Chunk_FLOAT_HISTOGRAM (line 199) | Chunk_FLOAT_HISTOGRAM Chunk_Encoding = 3
type MetricMetadata (line 240) | type MetricMetadata struct
method Reset (line 250) | func (x *MetricMetadata) Reset() {
method String (line 257) | func (x *MetricMetadata) String() string {
method ProtoMessage (line 261) | func (*MetricMetadata) ProtoMessage() {}
method ProtoReflect (line 263) | func (x *MetricMetadata) ProtoReflect() protoreflect.Message {
method GetType (line 275) | func (x *MetricMetadata) GetType() MetricMetadata_MetricType {
method GetMetricFamilyName (line 282) | func (x *MetricMetadata) GetMetricFamilyName() string {
method GetHelp (line 289) | func (x *MetricMetadata) GetHelp() string {
method GetUnit (line 296) | func (x *MetricMetadata) GetUnit() string {
method SetType (line 303) | func (x *MetricMetadata) SetType(v MetricMetadata_MetricType) {
method SetMetricFamilyName (line 307) | func (x *MetricMetadata) SetMetricFamilyName(v string) {
method SetHelp (line 311) | func (x *MetricMetadata) SetHelp(v string) {
method SetUnit (line 315) | func (x *MetricMetadata) SetUnit(v string) {
type MetricMetadata_builder (line 319) | type MetricMetadata_builder struct
method Build (line 330) | func (b0 MetricMetadata_builder) Build() *MetricMetadata {
type Sample (line 341) | type Sample struct
method Reset (line 349) | func (x *Sample) Reset() {
method String (line 356) | func (x *Sample) String() string {
method ProtoMessage (line 360) | func (*Sample) ProtoMessage() {}
method ProtoReflect (line 362) | func (x *Sample) ProtoReflect() protoreflect.Message {
method GetValue (line 374) | func (x *Sample) GetValue() float64 {
method GetTimestamp (line 381) | func (x *Sample) GetTimestamp() int64 {
method SetValue (line 388) | func (x *Sample) SetValue(v float64) {
method SetTimestamp (line 392) | func (x *Sample) SetTimestamp(v int64) {
type Sample_builder (line 396) | type Sample_builder struct
method Build (line 405) | func (b0 Sample_builder) Build() *Sample {
type Exemplar (line 414) | type Exemplar struct
method Reset (line 423) | func (x *Exemplar) Reset() {
method String (line 430) | func (x *Exemplar) String() string {
method ProtoMessage (line 434) | func (*Exemplar) ProtoMessage() {}
method ProtoReflect (line 436) | func (x *Exemplar) ProtoReflect() protoreflect.Message {
method GetLabels (line 448) | func (x *Exemplar) GetLabels() []*Label {
method GetValue (line 457) | func (x *Exemplar) GetValue() float64 {
method GetTimestamp (line 464) | func (x *Exemplar) GetTimestamp() int64 {
method SetLabels (line 471) | func (x *Exemplar) SetLabels(v []*Label) {
method SetValue (line 475) | func (x *Exemplar) SetValue(v float64) {
method SetTimestamp (line 479) | func (x *Exemplar) SetTimestamp(v int64) {
type Exemplar_builder (line 483) | type Exemplar_builder struct
method Build (line 494) | func (b0 Exemplar_builder) Build() *Exemplar {
type Histogram (line 510) | type Histogram struct
method Reset (line 530) | func (x *Histogram) Reset() {
method String (line 537) | func (x *Histogram) String() string {
method ProtoMessage (line 541) | func (*Histogram) ProtoMessage() {}
method ProtoReflect (line 543) | func (x *Histogram) ProtoReflect() protoreflect.Message {
method GetCountInt (line 555) | func (x *Histogram) GetCountInt() uint64 {
method GetCountFloat (line 564) | func (x *Histogram) GetCountFloat() float64 {
method GetSum (line 573) | func (x *Histogram) GetSum() float64 {
method GetSchema (line 580) | func (x *Histogram) GetSchema() int32 {
method GetZeroThreshold (line 587) | func (x *Histogram) GetZeroThreshold() float64 {
method GetZeroCountInt (line 594) | func (x *Histogram) GetZeroCountInt() uint64 {
method GetZeroCountFloat (line 603) | func (x *Histogram) GetZeroCountFloat() float64 {
method GetNegativeSpans (line 612) | func (x *Histogram) GetNegativeSpans() []*BucketSpan {
method GetNegativeDeltas (line 621) | func (x *Histogram) GetNegativeDeltas() []int64 {
method GetNegativeCounts (line 628) | func (x *Histogram) GetNegativeCounts() []float64 {
method GetPositiveSpans (line 635) | func (x *Histogram) GetPositiveSpans() []*BucketSpan {
method GetPositiveDeltas (line 644) | func (x *Histogram) GetPositiveDeltas() []int64 {
method GetPositiveCounts (line 651) | func (x *Histogram) GetPositiveCounts() []float64 {
method GetResetHint (line 658) | func (x *Histogram) GetResetHint() Histogram_ResetHint {
method GetTimestamp (line 665) | func (x *Histogram) GetTimestamp() int64 {
method GetCustomValues (line 672) | func (x *Histogram) GetCustomValues() []float64 {
method SetCountInt (line 679) | func (x *Histogram) SetCountInt(v uint64) {
method SetCountFloat (line 683) | func (x *Histogram) SetCountFloat(v float64) {
method SetSum (line 687) | func (x *Histogram) SetSum(v float64) {
method SetSchema (line 691) | func (x *Histogram) SetSchema(v int32) {
method SetZeroThreshold (line 695) | func (x *Histogram) SetZeroThreshold(v float64) {
method SetZeroCountInt (line 699) | func (x *Histogram) SetZeroCountInt(v uint64) {
method SetZeroCountFloat (line 703) | func (x *Histogram) SetZeroCountFloat(v float64) {
method SetNegativeSpans (line 707) | func (x *Histogram) SetNegativeSpans(v []*BucketSpan) {
method SetNegativeDeltas (line 711) | func (x *Histogram) SetNegativeDeltas(v []int64) {
method SetNegativeCounts (line 715) | func (x *Histogram) SetNegativeCounts(v []float64) {
method SetPositiveSpans (line 719) | func (x *Histogram) SetPositiveSpans(v []*BucketSpan) {
method SetPositiveDeltas (line 723) | func (x *Histogram) SetPositiveDeltas(v []int64) {
method SetPositiveCounts (line 727) | func (x *Histogram) SetPositiveCounts(v []float64) {
method SetResetHint (line 731) | func (x *Histogram) SetResetHint(v Histogram_ResetHint) {
method SetTimestamp (line 735) | func (x *Histogram) SetTimestamp(v int64) {
method SetCustomValues (line 739) | func (x *Histogram) SetCustomValues(v []float64) {
method HasCount (line 743) | func (x *Histogram) HasCount() bool {
method HasCountInt (line 750) | func (x *Histogram) HasCountInt() bool {
method HasCountFloat (line 758) | func (x *Histogram) HasCountFloat() bool {
method HasZeroCount (line 766) | func (x *Histogram) HasZeroCount() bool {
method HasZeroCountInt (line 773) | func (x *Histogram) HasZeroCountInt() bool {
method HasZeroCountFloat (line 781) | func (x *Histogram) HasZeroCountFloat() bool {
method ClearCount (line 789) | func (x *Histogram) ClearCount() {
method ClearCountInt (line 793) | func (x *Histogram) ClearCountInt() {
method ClearCountFloat (line 799) | func (x *Histogram) ClearCountFloat() {
method ClearZeroCount (line 805) | func (x *Histogram) ClearZeroCount() {
method ClearZeroCountInt (line 809) | func (x *Histogram) ClearZeroCountInt() {
method ClearZeroCountFloat (line 815) | func (x *Histogram) ClearZeroCountFloat() {
method WhichCount (line 825) | func (x *Histogram) WhichCount() case_Histogram_Count {
method WhichZeroCount (line 843) | func (x *Histogram) WhichZeroCount() case_Histogram_ZeroCount {
constant Histogram_Count_not_set_case (line 821) | Histogram_Count_not_set_case case_Histogram_Count = 0
constant Histogram_CountInt_case (line 822) | Histogram_CountInt_case case_Histogram_Count = 1
constant Histogram_CountFloat_case (line 823) | Histogram_CountFloat_case case_Histogram_Count = 2
constant Histogram_ZeroCount_not_set_case (line 839) | Histogram_ZeroCount_not_set_case case_Histogram_ZeroCount = 0
constant Histogram_ZeroCountInt_case (line 840) | Histogram_ZeroCountInt_case case_Histogram_ZeroCount = 6
constant Histogram_ZeroCountFloat_case (line 841) | Histogram_ZeroCountFloat_case case_Histogram_ZeroCount = 7
type Histogram_builder (line 857) | type Histogram_builder struct
method Build (line 901) | func (b0 Histogram_builder) Build() *Histogram {
type case_Histogram_Count (line 932) | type case_Histogram_Count
method String (line 934) | func (x case_Histogram_Count) String() string {
type case_Histogram_ZeroCount (line 942) | type case_Histogram_ZeroCount
method String (line 944) | func (x case_Histogram_ZeroCount) String() string {
type isHistogram_Count (line 952) | type isHistogram_Count interface
type histogram_CountInt (line 956) | type histogram_CountInt struct
method isHistogram_Count (line 964) | func (*histogram_CountInt) isHistogram_Count() {}
type histogram_CountFloat (line 960) | type histogram_CountFloat struct
method isHistogram_Count (line 966) | func (*histogram_CountFloat) isHistogram_Count() {}
type isHistogram_ZeroCount (line 968) | type isHistogram_ZeroCount interface
type histogram_ZeroCountInt (line 972) | type histogram_ZeroCountInt struct
method isHistogram_ZeroCount (line 980) | func (*histogram_ZeroCountInt) isHistogram_ZeroCount() {}
type histogram_ZeroCountFloat (line 976) | type histogram_ZeroCountFloat struct
method isHistogram_ZeroCount (line 982) | func (*histogram_ZeroCountFloat) isHistogram_ZeroCount() {}
type BucketSpan (line 989) | type BucketSpan struct
method Reset (line 997) | func (x *BucketSpan) Reset() {
method String (line 1004) | func (x *BucketSpan) String() string {
method ProtoMessage (line 1008) | func (*BucketSpan) ProtoMessage() {}
method ProtoReflect (line 1010) | func (x *BucketSpan) ProtoReflect() protoreflect.Message {
method GetOffset (line 1022) | func (x *BucketSpan) GetOffset() int32 {
method GetLength (line 1029) | func (x *BucketSpan) GetLength() uint32 {
method SetOffset (line 1036) | func (x *BucketSpan) SetOffset(v int32) {
method SetLength (line 1040) | func (x *BucketSpan) SetLength(v uint32) {
type BucketSpan_builder (line 1044) | type BucketSpan_builder struct
method Build (line 1051) | func (b0 BucketSpan_builder) Build() *BucketSpan {
type TimeSeries (line 1061) | type TimeSeries struct
method Reset (line 1071) | func (x *TimeSeries) Reset() {
method String (line 1078) | func (x *TimeSeries) String() string {
method ProtoMessage (line 1082) | func (*TimeSeries) ProtoMessage() {}
method ProtoReflect (line 1084) | func (x *TimeSeries) ProtoReflect() protoreflect.Message {
method GetLabels (line 1096) | func (x *TimeSeries) GetLabels() []*Label {
method GetSamples (line 1105) | func (x *TimeSeries) GetSamples() []*Sample {
method GetExemplars (line 1114) | func (x *TimeSeries) GetExemplars() []*Exemplar {
method GetHistograms (line 1123) | func (x *TimeSeries) GetHistograms() []*Histogram {
method SetLabels (line 1132) | func (x *TimeSeries) SetLabels(v []*Label) {
method SetSamples (line 1136) | func (x *TimeSeries) SetSamples(v []*Sample) {
method SetExemplars (line 1140) | func (x *TimeSeries) SetExemplars(v []*Exemplar) {
method SetHistograms (line 1144) | func (x *TimeSeries) SetHistograms(v []*Histogram) {
type TimeSeries_builder (line 1148) | type TimeSeries_builder struct
method Build (line 1159) | func (b0 TimeSeries_builder) Build() *TimeSeries {
type Label (line 1170) | type Label struct
method Reset (line 1178) | func (x *Label) Reset() {
method String (line 1185) | func (x *Label) String() string {
method ProtoMessage (line 1189) | func (*Label) ProtoMessage() {}
method ProtoReflect (line 1191) | func (x *Label) ProtoReflect() protoreflect.Message {
method GetName (line 1203) | func (x *Label) GetName() string {
method GetValue (line 1210) | func (x *Label) GetValue() string {
method SetName (line 1217) | func (x *Label) SetName(v string) {
method SetValue (line 1221) | func (x *Label) SetValue(v string) {
type Label_builder (line 1225) | type Label_builder struct
method Build (line 1232) | func (b0 Label_builder) Build() *Label {
type Labels (line 1241) | type Labels struct
method Reset (line 1248) | func (x *Labels) Reset() {
method String (line 1255) | func (x *Labels) String() string {
method ProtoMessage (line 1259) | func (*Labels) ProtoMessage() {}
method ProtoReflect (line 1261) | func (x *Labels) ProtoReflect() protoreflect.Message {
method GetLabels (line 1273) | func (x *Labels) GetLabels() []*Label {
method SetLabels (line 1282) | func (x *Labels) SetLabels(v []*Label) {
type Labels_builder (line 1286) | type Labels_builder struct
method Build (line 1292) | func (b0 Labels_builder) Build() *Labels {
type LabelMatcher (line 1301) | type LabelMatcher struct
method Reset (line 1310) | func (x *LabelMatcher) Reset() {
method String (line 1317) | func (x *LabelMatcher) String() string {
method ProtoMessage (line 1321) | func (*LabelMatcher) ProtoMessage() {}
method ProtoReflect (line 1323) | func (x *LabelMatcher) ProtoReflect() protoreflect.Message {
method GetType (line 1335) | func (x *LabelMatcher) GetType() LabelMatcher_Type {
method GetName (line 1342) | func (x *LabelMatcher) GetName() string {
method GetValue (line 1349) | func (x *LabelMatcher) GetValue() string {
method SetType (line 1356) | func (x *LabelMatcher) SetType(v LabelMatcher_Type) {
method SetName (line 1360) | func (x *LabelMatcher) SetName(v string) {
method SetValue (line 1364) | func (x *LabelMatcher) SetValue(v string) {
type LabelMatcher_builder (line 1368) | type LabelMatcher_builder struct
method Build (line 1376) | func (b0 LabelMatcher_builder) Build() *LabelMatcher {
type ReadHints (line 1386) | type ReadHints struct
method Reset (line 1399) | func (x *ReadHints) Reset() {
method String (line 1406) | func (x *ReadHints) String() string {
method ProtoMessage (line 1410) | func (*ReadHints) ProtoMessage() {}
method ProtoReflect (line 1412) | func (x *ReadHints) ProtoReflect() protoreflect.Message {
method GetStepMs (line 1424) | func (x *ReadHints) GetStepMs() int64 {
method GetFunc (line 1431) | func (x *ReadHints) GetFunc() string {
method GetStartMs (line 1438) | func (x *ReadHints) GetStartMs() int64 {
method GetEndMs (line 1445) | func (x *ReadHints) GetEndMs() int64 {
method GetGrouping (line 1452) | func (x *ReadHints) GetGrouping() []string {
method GetBy (line 1459) | func (x *ReadHints) GetBy() bool {
method GetRangeMs (line 1466) | func (x *ReadHints) GetRangeMs() int64 {
method SetStepMs (line 1473) | func (x *ReadHints) SetStepMs(v int64) {
method SetFunc (line 1477) | func (x *ReadHints) SetFunc(v string) {
method SetStartMs (line 1481) | func (x *ReadHints) SetStartMs(v int64) {
method SetEndMs (line 1485) | func (x *ReadHints) SetEndMs(v int64) {
method SetGrouping (line 1489) | func (x *ReadHints) SetGrouping(v []string) {
method SetBy (line 1493) | func (x *ReadHints) SetBy(v bool) {
method SetRangeMs (line 1497) | func (x *ReadHints) SetRangeMs(v int64) {
type ReadHints_builder (line 1501) | type ReadHints_builder struct
method Build (line 1513) | func (b0 ReadHints_builder) Build() *ReadHints {
type Chunk (line 1529) | type Chunk struct
method Reset (line 1539) | func (x *Chunk) Reset() {
method String (line 1546) | func (x *Chunk) String() string {
method ProtoMessage (line 1550) | func (*Chunk) ProtoMessage() {}
method ProtoReflect (line 1552) | func (x *Chunk) ProtoReflect() protoreflect.Message {
method GetMinTimeMs (line 1564) | func (x *Chunk) GetMinTimeMs() int64 {
method GetMaxTimeMs (line 1571) | func (x *Chunk) GetMaxTimeMs() int64 {
method GetType (line 1578) | func (x *Chunk) GetType() Chunk_Encoding {
method GetData (line 1585) | func (x *Chunk) GetData() []byte {
method SetMinTimeMs (line 1592) | func (x *Chunk) SetMinTimeMs(v int64) {
method SetMaxTimeMs (line 1596) | func (x *Chunk) SetMaxTimeMs(v int64) {
method SetType (line 1600) | func (x *Chunk) SetType(v Chunk_Encoding) {
method SetData (line 1604) | func (x *Chunk) SetData(v []byte) {
type Chunk_builder (line 1611) | type Chunk_builder struct
method Build (line 1620) | func (b0 Chunk_builder) Build() *Chunk {
type ChunkedSeries (line 1632) | type ChunkedSeries struct
method Reset (line 1640) | func (x *ChunkedSeries) Reset() {
method String (line 1647) | func (x *ChunkedSeries) String() string {
method ProtoMessage (line 1651) | func (*ChunkedSeries) ProtoMessage() {}
method ProtoReflect (line 1653) | func (x *ChunkedSeries) ProtoReflect() protoreflect.Message {
method GetLabels (line 1665) | func (x *ChunkedSeries) GetLabels() []*Label {
method GetChunks (line 1674) | func (x *ChunkedSeries) GetChunks() []*Chunk {
method SetLabels (line 1683) | func (x *ChunkedSeries) SetLabels(v []*Label) {
method SetChunks (line 1687) | func (x *ChunkedSeries) SetChunks(v []*Chunk) {
type ChunkedSeries_builder (line 1691) | type ChunkedSeries_builder struct
method Build (line 1700) | func (b0 ChunkedSeries_builder) Build() *ChunkedSeries {
constant file_types_proto_rawDesc (line 1711) | file_types_proto_rawDesc = "" +
function init (line 1855) | func init() { file_types_proto_init() }
function file_types_proto_init (line 1856) | func file_types_proto_init() {
FILE: vendor/github.com/Azure/go-ntlmssp/authenticate_message.go
type authenicateMessage (line 13) | type authenicateMessage struct
method MarshalBinary (line 39) | func (m authenicateMessage) MarshalBinary() ([]byte, error) {
type authenticateMessageFields (line 28) | type authenticateMessageFields struct
function ProcessChallenge (line 85) | func ProcessChallenge(challengeMessageData []byte, user, password string...
function ProcessChallengeWithHash (line 135) | func ProcessChallengeWithHash(challengeMessageData []byte, user, hash st...
FILE: vendor/github.com/Azure/go-ntlmssp/authheader.go
type authheader (line 8) | type authheader
method IsBasic (line 10) | func (h authheader) IsBasic() bool {
method Basic (line 19) | func (h authheader) Basic() string {
method IsNegotiate (line 28) | func (h authheader) IsNegotiate() bool {
method IsNTLM (line 37) | func (h authheader) IsNTLM() bool {
method GetData (line 46) | func (h authheader) GetData() ([]byte, error) {
method GetBasicCreds (line 59) | func (h authheader) GetBasicCreds() (username, password string, err er...
FILE: vendor/github.com/Azure/go-ntlmssp/avids.go
type avID (line 3) | type avID
constant avIDMsvAvEOL (line 6) | avIDMsvAvEOL avID = iota
constant avIDMsvAvNbComputerName (line 7) | avIDMsvAvNbComputerName
constant avIDMsvAvNbDomainName (line 8) | avIDMsvAvNbDomainName
constant avIDMsvAvDNSComputerName (line 9) | avIDMsvAvDNSComputerName
constant avIDMsvAvDNSDomainName (line 10) | avIDMsvAvDNSDomainName
constant avIDMsvAvDNSTreeName (line 11) | avIDMsvAvDNSTreeName
constant avIDMsvAvFlags (line 12) | avIDMsvAvFlags
constant avIDMsvAvTimestamp (line 13) | avIDMsvAvTimestamp
constant avIDMsvAvSingleHost (line 14) | avIDMsvAvSingleHost
constant avIDMsvAvTargetName (line 15) | avIDMsvAvTargetName
constant avIDMsvChannelBindings (line 16) | avIDMsvChannelBindings
FILE: vendor/github.com/Azure/go-ntlmssp/challenge_message.go
type challengeMessageFields (line 9) | type challengeMessageFields struct
method IsValid (line 18) | func (m challengeMessageFields) IsValid() bool {
type challengeMessage (line 22) | type challengeMessage struct
method UnmarshalBinary (line 29) | func (m *challengeMessage) UnmarshalBinary(data []byte) error {
FILE: vendor/github.com/Azure/go-ntlmssp/messageheader.go
type messageHeader (line 9) | type messageHeader struct
method IsValid (line 14) | func (h messageHeader) IsValid() bool {
function newMessageHeader (line 19) | func newMessageHeader(messageType uint32) messageHeader {
FILE: vendor/github.com/Azure/go-ntlmssp/negotiate_flags.go
type negotiateFlags (line 3) | type negotiateFlags
method Has (line 46) | func (field negotiateFlags) Has(flags negotiateFlags) bool {
method Unset (line 50) | func (field *negotiateFlags) Unset(flags negotiateFlags) {
constant negotiateFlagNTLMSSPNEGOTIATEUNICODE (line 6) | negotiateFlagNTLMSSPNEGOTIATEUNICODE negotiateFlags = 1 << 0
constant negotiateFlagNTLMNEGOTIATEOEM (line 7) | negotiateFlagNTLMNEGOTIATEOEM = 1 << 1
constant negotiateFlagNTLMSSPREQUESTTARGET (line 8) | negotiateFlagNTLMSSPREQUESTTARGET = 1 << 2
constant negotiateFlagNTLMSSPNEGOTIATESIGN (line 11) | negotiateFlagNTLMSSPNEGOTIATESIGN = 1 << 4
constant negotiateFlagNTLMSSPNEGOTIATESEAL (line 12) | negotiateFlagNTLMSSPNEGOTIATESEAL = 1 << 5
constant negotiateFlagNTLMSSPNEGOTIATEDATAGRAM (line 13) | negotiateFlagNTLMSSPNEGOTIATEDATAGRAM = 1 << 6
constant negotiateFlagNTLMSSPNEGOTIATELMKEY (line 14) | negotiateFlagNTLMSSPNEGOTIATELMKEY = 1 << 7
constant negotiateFlagNTLMSSPNEGOTIATENTLM (line 17) | negotiateFlagNTLMSSPNEGOTIATENTLM = 1 << 9
constant negotiateFlagANONYMOUS (line 20) | negotiateFlagANONYMOUS = 1 << 11
constant negotiateFlagNTLMSSPNEGOTIATEOEMDOMAINSUPPLIED (line 21) | negotiateFlagNTLMSSPNEGOTIATEOEMDOMAINSUPPLIED = 1 << 12
constant negotiateFlagNTLMSSPNEGOTIATEOEMWORKSTATIONSUPPLIED (line 22) | negotiateFlagNTLMSSPNEGOTIATEOEMWORKSTATIONSUPPLIED = 1 << 13
constant negotiateFlagNTLMSSPNEGOTIATEALWAYSSIGN (line 25) | negotiateFlagNTLMSSPNEGOTIATEALWAYSSIGN = 1 << 15
constant negotiateFlagNTLMSSPTARGETTYPEDOMAIN (line 26) | negotiateFlagNTLMSSPTARGETTYPEDOMAIN = 1 << 16
constant negotiateFlagNTLMSSPTARGETTYPESERVER (line 27) | negotiateFlagNTLMSSPTARGETTYPESERVER = 1 << 17
constant negotiateFlagNTLMSSPNEGOTIATEEXTENDEDSESSIONSECURITY (line 30) | negotiateFlagNTLMSSPNEGOTIATEEXTENDEDSESSIONSECURITY = 1 << 19
constant negotiateFlagNTLMSSPNEGOTIATEIDENTIFY (line 31) | negotiateFlagNTLMSSPNEGOTIATEIDENTIFY = 1 << 20
constant negotiateFlagNTLMSSPREQUESTNONNTSESSIONKEY (line 34) | negotiateFlagNTLMSSPREQUESTNONNTSESSIONKEY = 1 << 22
constant negotiateFlagNTLMSSPNEGOTIATETARGETINFO (line 35) | negotiateFlagNTLMSSPNEGOTIATETARGETINFO = 1 << 23
constant negotiateFlagNTLMSSPNEGOTIATEVERSION (line 38) | negotiateFlagNTLMSSPNEGOTIATEVERSION = 1 << 25
constant negotiateFlagNTLMSSPNEGOTIATE128 (line 41) | negotiateFlagNTLMSSPNEGOTIATE128 = 1 << 29
constant negotiateFlagNTLMSSPNEGOTIATEKEYEXCH (line 42) | negotiateFlagNTLMSSPNEGOTIATEKEYEXCH = 1 << 30
constant negotiateFlagNTLMSSPNEGOTIATE56 (line 43) | negotiateFlagNTLMSSPNEGOTIATE56 = 1 << 31
FILE: vendor/github.com/Azure/go-ntlmssp/negotiate_message.go
constant expMsgBodyLen (line 10) | expMsgBodyLen = 40
type negotiateMessageFields (line 12) | type negotiateMessageFields struct
function NewNegotiateMessage (line 30) | func NewNegotiateMessage(domainName, workstationName string) ([]byte, er...
FILE: vendor/github.com/Azure/go-ntlmssp/negotiator.go
function GetDomain (line 14) | func GetDomain(user string) (string, string, bool) {
type Negotiator (line 33) | type Negotiator struct
method RoundTrip (line 37) | func (l Negotiator) RoundTrip(req *http.Request) (res *http.Response, ...
FILE: vendor/github.com/Azure/go-ntlmssp/nlmp.go
function getNtlmV2Hash (line 17) | func getNtlmV2Hash(password, username, target string) []byte {
function getNtlmHash (line 21) | func getNtlmHash(password string) []byte {
function computeNtlmV2Response (line 27) | func computeNtlmV2Response(ntlmV2Hash, serverChallenge, clientChallenge,
function computeLmV2Response (line 41) | func computeLmV2Response(ntlmV2Hash, serverChallenge, clientChallenge []...
function hmacMd5 (line 45) | func hmacMd5(key []byte, data ...[]byte) []byte {
FILE: vendor/github.com/Azure/go-ntlmssp/unicode.go
function fromUnicode (line 12) | func fromUnicode(d []byte) (string, error) {
function toUnicode (line 24) | func toUnicode(s string) []byte {
FILE: vendor/github.com/Azure/go-ntlmssp/varfield.go
type varField (line 7) | type varField struct
method ReadFrom (line 13) | func (f varField) ReadFrom(buffer []byte) ([]byte, error) {
method ReadStringFrom (line 20) | func (f varField) ReadStringFrom(buffer []byte, unicode bool) (string,...
function newVarField (line 32) | func newVarField(ptr *int, fieldsize int) varField {
FILE: vendor/github.com/Azure/go-ntlmssp/version.go
type Version (line 4) | type Version struct
function DefaultVersion (line 13) | func DefaultVersion() Version {
FILE: vendor/github.com/Masterminds/semver/v3/collection.go
type Collection (line 6) | type Collection
method Len (line 10) | func (c Collection) Len() int {
method Less (line 16) | func (c Collection) Less(i, j int) bool {
method Swap (line 22) | func (c Collection) Swap(i, j int) {
FILE: vendor/github.com/Masterminds/semver/v3/constraints.go
type Constraints (line 13) | type Constraints struct
method Check (line 72) | func (cs Constraints) Check(v *Version) bool {
method Validate (line 95) | func (cs Constraints) Validate(v *Version) (bool, []error) {
method String (line 132) | func (cs Constraints) String() string {
method UnmarshalText (line 154) | func (cs *Constraints) UnmarshalText(text []byte) error {
method MarshalText (line 166) | func (cs Constraints) MarshalText() ([]byte, error) {
function NewConstraint (line 26) | func NewConstraint(c string) (*Constraints, error) {
constant cvRegex (line 180) | cvRegex string = `v?([0-9|x|X|\*]+)(\.[0-9|x|X|\*]+)?(\.[0-9|x|X|\*]+)?` +
function init (line 184) | func init() {
type constraint (line 228) | type constraint struct
method check (line 246) | func (c *constraint) check(v *Version, includePre bool) (bool, error) {
method string (line 251) | func (c *constraint) string() string {
type cfunc (line 255) | type cfunc
function parseConstraint (line 257) | func parseConstraint(c string) (*constraint, error) {
function constraintNotEqual (line 324) | func constraintNotEqual(v *Version, c *constraint, includePre bool) (boo...
function constraintGreaterThan (line 362) | func constraintGreaterThan(v *Version, c *constraint, includePre bool) (...
function constraintLessThan (line 407) | func constraintLessThan(v *Version, c *constraint, includePre bool) (boo...
function constraintGreaterThanEqual (line 421) | func constraintGreaterThanEqual(v *Version, c *constraint, includePre bo...
function constraintLessThanEqual (line 436) | func constraintLessThanEqual(v *Version, c *constraint, includePre bool)...
function constraintTilde (line 468) | func constraintTilde(v *Version, c *constraint, includePre bool) (bool, ...
function constraintTildeOrEqual (line 499) | func constraintTildeOrEqual(v *Version, c *constraint, includePre bool) ...
function constraintCaret (line 527) | func constraintCaret(v *Version, c *constraint, includePre bool) (bool, ...
function isX (line 580) | func isX(x string) bool {
function rewriteRange (line 589) | func rewriteRange(i string) string {
FILE: vendor/github.com/Masterminds/semver/v3/version.go
constant semVerRegex (line 56) | semVerRegex string = `v?(0|[1-9]\d*)(?:\.(0|[1-9]\d*))?(?:\.(0|[1-9]\d*)...
constant looseSemVerRegex (line 62) | looseSemVerRegex string = `v?([0-9]+)(\.[0-9]+)?(\.[0-9]+)?` +
type Version (line 67) | type Version struct
method String (line 321) | func (v Version) String() string {
method Original (line 336) | func (v *Version) Original() string {
method Major (line 341) | func (v Version) Major() uint64 {
method Minor (line 346) | func (v Version) Minor() uint64 {
method Patch (line 351) | func (v Version) Patch() uint64 {
method Prerelease (line 356) | func (v Version) Prerelease() string {
method Metadata (line 361) | func (v Version) Metadata() string {
method originalVPrefix (line 366) | func (v Version) originalVPrefix() string {
method IncPatch (line 379) | func (v Version) IncPatch() Version {
method IncMinor (line 402) | func (v Version) IncMinor() Version {
method IncMajor (line 418) | func (v Version) IncMajor() Version {
method SetPrerelease (line 431) | func (v Version) SetPrerelease(prerelease string) (Version, error) {
method SetMetadata (line 445) | func (v Version) SetMetadata(metadata string) (Version, error) {
method LessThan (line 458) | func (v *Version) LessThan(o *Version) bool {
method LessThanEqual (line 463) | func (v *Version) LessThanEqual(o *Version) bool {
method GreaterThan (line 468) | func (v *Version) GreaterThan(o *Version) bool {
method GreaterThanEqual (line 473) | func (v *Version) GreaterThanEqual(o *Version) bool {
method Equal (line 480) | func (v *Version) Equal(o *Version) bool {
method Compare (line 497) | func (v *Version) Compare(o *Version) int {
method UnmarshalJSON (line 528) | func (v *Version) UnmarshalJSON(b []byte) error {
method MarshalJSON (line 547) | func (v Version) MarshalJSON() ([]byte, error) {
method UnmarshalText (line 552) | func (v *Version) UnmarshalText(text []byte) error {
method MarshalText (line 564) | func (v Version) MarshalText() ([]byte, error) {
method Scan (line 569) | func (v *Version) Scan(value interface{}) error {
method Value (line 586) | func (v Version) Value() (driver.Value, error) {
function init (line 74) | func init() {
constant num (line 80) | num string = "0123456789"
constant allowed (line 81) | allowed string = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"...
function StrictNewVersion (line 89) | func StrictNewVersion(v string) (*Version, error) {
function NewVersion (line 163) | func NewVersion(v string) (*Version, error) {
function coerceNewVersion (line 236) | func coerceNewVersion(v string) (*Version, error) {
function New (line 292) | func New(major, minor, patch uint64, pre, metadata string) *Version {
function MustParse (line 308) | func MustParse(v string) *Version {
function compareSegment (line 590) | func compareSegment(v, o uint64) int {
function comparePrerelease (line 601) | func comparePrerelease(v, o string) int {
function comparePrePart (line 643) | func comparePrePart(s, o string) int {
function containsOnly (line 696) | func containsOnly(s string, comp string) bool {
function validatePrerelease (line 706) | func validatePrerelease(p string) error {
function validateMetadata (line 727) | func validateMetadata(m string) error {
function validateVersion (line 740) | func validateVersion(m []string) error {
FILE: vendor/github.com/PuerkitoBio/goquery/array.go
constant maxUint (line 8) | maxUint = ^uint(0)
constant maxInt (line 9) | maxInt = int(maxUint >> 1)
constant ToEnd (line 14) | ToEnd = maxInt
method First (line 20) | func (s *Selection) First() *Selection {
method Last (line 27) | func (s *Selection) Last() *Selection {
method Eq (line 35) | func (s *Selection) Eq(index int) *Selection {
method Slice (line 58) | func (s *Selection) Slice(start, end int) *Selection {
method Get (line 73) | func (s *Selection) Get(index int) *html.Node {
method Index (line 82) | func (s *Selection) Index() int {
method IndexSelector (line 92) | func (s *Selection) IndexSelector(selector string) int {
method IndexMatcher (line 103) | func (s *Selection) IndexMatcher(m Matcher) int {
method IndexOfNode (line 113) | func (s *Selection) IndexOfNode(node *html.Node) int {
method IndexOfSelection (line 119) | func (s *Selection) IndexOfSelection(sel *Selection) int {
FILE: vendor/github.com/PuerkitoBio/goquery/expand.go
method Add (line 9) | func (s *Selection) Add(selector string) *Selection {
method AddMatcher (line 17) | func (s *Selection) AddMatcher(m Matcher) *Selection {
method AddSelection (line 23) | func (s *Selection) AddSelection(sel *Selection) *Selection {
method Union (line 31) | func (s *Selection) Union(sel *Selection) *Selection {
method AddNodes (line 37) | func (s *Selection) AddNodes(nodes ...*html.Node) *Selection {
method AndSelf (line 45) | func (s *Selection) AndSelf() *Selection {
method AddBack (line 52) | func (s *Selection) AddBack() *Selection {
method AddBackFiltered (line 60) | func (s *Selection) AddBackFiltered(selector string) *Selection {
method AddBackMatcher (line 68) | func (s *Selection) AddBackMatcher(m Matcher) *Selection {
FILE: vendor/github.com/PuerkitoBio/goquery/filter.go
method Filter (line 7) | func (s *Selection) Filter(selector string) *Selection {
method FilterMatcher (line 14) | func (s *Selection) FilterMatcher(m Matcher) *Selection {
method Not (line 20) | func (s *Selection) Not(selector string) *Selection {
method NotMatcher (line 26) | func (s *Selection) NotMatcher(m Matcher) *Selection {
method FilterFunction (line 32) | func (s *Selection) FilterFunction(f func(int, *Selection) bool) *Select...
method NotFunction (line 38) | func (s *Selection) NotFunction(f func(int, *Selection) bool) *Selection {
method FilterNodes (line 44) | func (s *Selection) FilterNodes(nodes ...*html.Node) *Selection {
method NotNodes (line 50) | func (s *Selection) NotNodes(nodes ...*html.Node) *Selection {
method FilterSelection (line 57) | func (s *Selection) FilterSelection(sel *Selection) *Selection {
method NotSelection (line 66) | func (s *Selection) NotSelection(sel *Selection) *Selection {
method Intersection (line 74) | func (s *Selection) Intersection(sel *Selection) *Selection {
method Has (line 81) | func (s *Selection) Has(selector string) *Selection {
method HasMatcher (line 88) | func (s *Selection) HasMatcher(m Matcher) *Selection {
method HasNodes (line 95) | func (s *Selection) HasNodes(nodes ...*html.Node) *Selection {
method HasSelection (line 110) | func (s *Selection) HasSelection(sel *Selection) *Selection {
method End (line 119) | func (s *Selection) End() *Selection {
function winnow (line 128) | func winnow(sel *Selection, m Matcher, keep bool) []*html.Node {
function winnowNodes (line 141) | func winnowNodes(sel *Selection, nodes []*html.Node, keep bool) []*html....
function winnowFunction (line 159) | func winnowFunction(sel *Selection, f func(int, *Selection) bool, keep b...
FILE: vendor/github.com/PuerkitoBio/goquery/iteration.go
method Each (line 10) | func (s *Selection) Each(f func(int, *Selection)) *Selection {
method EachIter (line 19) | func (s *Selection) EachIter() iter.Seq2[int, *Selection] {
method EachWithBreak (line 33) | func (s *Selection) EachWithBreak(f func(int, *Selection) bool) *Selecti...
method Map (line 47) | func (s *Selection) Map(f func(int, *Selection) string) (result []string) {
function Map (line 53) | func Map[E any](s *Selection, f func(int, *Selection) E) (result []E) {
FILE: vendor/github.com/PuerkitoBio/goquery/manipulation.go
method After (line 16) | func (s *Selection) After(selector string) *Selection {
method AfterMatcher (line 27) | func (s *Selection) AfterMatcher(m Matcher) *Selection {
method AfterSelection (line 35) | func (s *Selection) AfterSelection(sel *Selection) *Selection {
method AfterHtml (line 42) | func (s *Selection) AfterHtml(htmlStr string) *Selection {
method AfterNodes (line 56) | func (s *Selection) AfterNodes(ns ...*html.Node) *Selection {
method Append (line 74) | func (s *Selection) Append(selector string) *Selection {
method AppendMatcher (line 82) | func (s *Selection) AppendMatcher(m Matcher) *Selection {
method AppendSelection (line 90) | func (s *Selection) AppendSelection(sel *Selection) *Selection {
method AppendHtml (line 95) | func (s *Selection) AppendHtml(htmlStr string) *Selection {
method AppendNodes (line 106) | func (s *Selection) AppendNodes(ns ...*html.Node) *Selection {
method Before (line 115) | func (s *Selection) Before(selector string) *Selection {
method BeforeMatcher (line 122) | func (s *Selection) BeforeMatcher(m Matcher) *Selection {
method BeforeSelection (line 130) | func (s *Selection) BeforeSelection(sel *Selection) *Selection {
method BeforeHtml (line 137) | func (s *Selection) BeforeHtml(htmlStr string) *Selection {
method BeforeNodes (line 150) | func (s *Selection) BeforeNodes(ns ...*html.Node) *Selection {
method Clone (line 160) | func (s *Selection) Clone() *Selection {
method Empty (line 168) | func (s *Selection) Empty() *Selection {
method Prepend (line 183) | func (s *Selection) Prepend(selector string) *Selection {
method PrependMatcher (line 191) | func (s *Selection) PrependMatcher(m Matcher) *Selection {
method PrependSelection (line 199) | func (s *Selection) PrependSelection(sel *Selection) *Selection {
method PrependHtml (line 204) | func (s *Selection) PrependHtml(htmlStr string) *Selection {
method PrependNodes (line 217) | func (s *Selection) PrependNodes(ns ...*html.Node) *Selection {
method Remove (line 227) | func (s *Selection) Remove() *Selection {
method RemoveFiltered (line 243) | func (s *Selection) RemoveFiltered(selector string) *Selection {
method RemoveMatcher (line 250) | func (s *Selection) RemoveMatcher(m Matcher) *Selection {
method ReplaceWith (line 259) | func (s *Selection) ReplaceWith(selector string) *Selection {
method ReplaceWithMatcher (line 268) | func (s *Selection) ReplaceWithMatcher(m Matcher) *Selection {
method ReplaceWithSelection (line 277) | func (s *Selection) ReplaceWithSelection(sel *Selection) *Selection {
method ReplaceWithHtml (line 286) | func (s *Selection) ReplaceWithHtml(htmlStr string) *Selection {
method ReplaceWithNodes (line 303) | func (s *Selection) ReplaceWithNodes(ns ...*html.Node) *Selection {
method SetHtml (line 310) | func (s *Selection) SetHtml(htmlStr string) *Selection {
method SetText (line 325) | func (s *Selection) SetText(text string) *Selection {
method Unwrap (line 332) | func (s *Selection) Unwrap() *Selection {
method Wrap (line 350) | func (s *Selection) Wrap(selector string) *Selection {
method WrapMatcher (line 359) | func (s *Selection) WrapMatcher(m Matcher) *Selection {
method WrapSelection (line 368) | func (s *Selection) WrapSelection(sel *Selection) *Selection {
method WrapHtml (line 376) | func (s *Selection) WrapHtml(htmlStr string) *Selection {
method WrapNode (line 400) | func (s *Selection) WrapNode(n *html.Node) *Selection {
method wrapNodes (line 404) | func (s *Selection) wrapNodes(ns ...*html.Node) *Selection {
method WrapAll (line 417) | func (s *Selection) WrapAll(selector string) *Selection {
method WrapAllMatcher (line 426) | func (s *Selection) WrapAllMatcher(m Matcher) *Selection {
method WrapAllSelection (line 435) | func (s *Selection) WrapAllSelection(sel *Selection) *Selection {
method WrapAllHtml (line 444) | func (s *Selection) WrapAllHtml(htmlStr string) *Selection {
method wrapAllNodes (line 458) | func (s *Selection) wrapAllNodes(ns ...*html.Node) *Selection {
method WrapAllNode (line 470) | func (s *Selection) WrapAllNode(n *html.Node) *Selection {
method WrapInner (line 497) | func (s *Selection) WrapInner(selector string) *Selection {
method WrapInnerMatcher (line 506) | func (s *Selection) WrapInnerMatcher(m Matcher) *Selection {
method WrapInnerSelection (line 515) | func (s *Selection) WrapInnerSelection(sel *Selection) *Selection {
method WrapInnerHtml (line 524) | func (s *Selection) WrapInnerHtml(htmlStr string) *Selection {
method WrapInnerNode (line 542) | func (s *Selection) WrapInnerNode(n *html.Node) *Selection {
method wrapInnerNodes (line 546) | func (s *Selection) wrapInnerNodes(ns ...*html.Node) *Selection {
function parseHtml (line 564) | func parseHtml(h string) []*html.Node {
function parseHtmlWithContext (line 574) | func parseHtmlWithContext(h string, context *html.Node) []*html.Node {
function getFirstChildEl (line 585) | func getFirstChildEl(n *html.Node) *html.Node {
function cloneNodes (line 594) | func cloneNodes(ns []*html.Node) []*html.Node {
function cloneNode (line 606) | func cloneNode(n *html.Node) *html.Node {
method manipulateNodes (line 622) | func (s *Selection) manipulateNodes(ns []*html.Node, reverse bool,
method eachNodeHtml (line 656) | func (s *Selection) eachNodeHtml(htmlStr string, isParent bool, mergeFn ...
FILE: vendor/github.com/PuerkitoBio/goquery/property.go
method Attr (line 15) | func (s *Selection) Attr(attrName string) (val string, exists bool) {
method AttrOr (line 23) | func (s *Selection) AttrOr(attrName, defaultValue string) string {
method RemoveAttr (line 37) | func (s *Selection) RemoveAttr(attrName string) *Selection {
method SetAttr (line 46) | func (s *Selection) SetAttr(attrName, val string) *Selection {
method Text (line 61) | func (s *Selection) Text() string {
method Size (line 85) | func (s *Selection) Size() int {
method Length (line 90) | func (s *Selection) Length() int {
method Html (line 96) | func (s *Selection) Html() (ret string, e error) {
method AddClass (line 116) | func (s *Selection) AddClass(class ...string) *Selection {
method HasClass (line 140) | func (s *Selection) HasClass(class string) bool {
method RemoveClass (line 154) | func (s *Selection) RemoveClass(class ...string) *Selection {
method ToggleClass (line 182) | func (s *Selection) ToggleClass(class ...string) *Selection {
function getAttributePtr (line 208) | func getAttributePtr(attrName string, n *html.Node) *html.Attribute {
function getAttributeValue (line 222) | func getAttributeValue(attrName string, n *html.Node) (val string, exist...
function getClassesAndAttr (line 231) | func getClassesAndAttr(n *html.Node, create bool) (classes string, attr ...
function getClassesSlice (line 253) | func getClassesSlice(classes string) []string {
function removeAttr (line 257) | func removeAttr(n *html.Node, attrName string) {
function setClasses (line 267) | func setClasses(n *html.Node, attr *html.Attribute, classes string) {
FILE: vendor/github.com/PuerkitoBio/goquery/query.go
method Is (line 7) | func (s *Selection) Is(selector string) bool {
method IsMatcher (line 13) | func (s *Selection) IsMatcher(m Matcher) bool {
method IsFunction (line 26) | func (s *Selection) IsFunction(f func(int, *Selection) bool) bool {
method IsSelection (line 32) | func (s *Selection) IsSelection(sel *Selection) bool {
method IsNodes (line 38) | func (s *Selection) IsNodes(nodes ...*html.Node) bool {
method Contains (line 47) | func (s *Selection) Contains(n *html.Node) bool {
FILE: vendor/github.com/PuerkitoBio/goquery/traversal.go
type siblingType (line 5) | type siblingType
constant siblingPrevUntil (line 10) | siblingPrevUntil siblingType = iota - 3
constant siblingPrevAll (line 11) | siblingPrevAll
constant siblingPrev (line 12) | siblingPrev
constant siblingAll (line 13) | siblingAll
constant siblingNext (line 14) | siblingNext
constant siblingNextAll (line 15) | siblingNextAll
constant siblingNextUntil (line 16) | siblingNextUntil
constant siblingAllIncludingNonElements (line 17) | siblingAllIncludingNonElements
method Find (line 29) | func (s *Selection) Find(selector string) *Selection {
method FindMatcher (line 36) | func (s *Selection) FindMatcher(m Matcher) *Selection {
method FindSelection (line 43) | func (s *Selection) FindSelection(sel *Selection) *Selection {
method FindNodes (line 53) | func (s *Selection) FindNodes(nodes ...*html.Node) *Selection {
method Contents (line 65) | func (s *Selection) Contents() *Selection {
method ContentsFiltered (line 74) | func (s *Selection) ContentsFiltered(selector string) *Selection {
method ContentsMatcher (line 85) | func (s *Selection) ContentsMatcher(m Matcher) *Selection {
method Children (line 91) | func (s *Selection) Children() *Selection {
method ChildrenFiltered (line 98) | func (s *Selection) ChildrenFiltered(selector string) *Selection {
method ChildrenMatcher (line 105) | func (s *Selection) ChildrenMatcher(m Matcher) *Selection {
method Parent (line 111) | func (s *Selection) Parent() *Selection {
method ParentFiltered (line 117) | func (s *Selection) ParentFiltered(selector string) *Selection {
method ParentMatcher (line 123) | func (s *Selection) ParentMatcher(m Matcher) *Selection {
method Closest (line 129) | func (s *Selection) Closest(selector string) *Selection {
method ClosestMatcher (line 136) | func (s *Selection) ClosestMatcher(m Matcher) *Selection {
method ClosestNodes (line 151) | func (s *Selection) ClosestNodes(nodes ...*html.Node) *Selection {
method ClosestSelection (line 171) | func (s *Selection) ClosestSelection(sel *Selection) *Selection {
method Parents (line 180) | func (s *Selection) Parents() *Selection {
method ParentsFiltered (line 186) | func (s *Selection) ParentsFiltered(selector string) *Selection {
method ParentsMatcher (line 192) | func (s *Selection) ParentsMatcher(m Matcher) *Selection {
method ParentsUntil (line 199) | func (s *Selection) ParentsUntil(selector string) *Selection {
method ParentsUntilMatcher (line 206) | func (s *Selection) ParentsUntilMatcher(m Matcher) *Selection {
method ParentsUntilSelection (line 213) | func (s *Selection) ParentsUntilSelection(sel *Selection) *Selection {
method ParentsUntilNodes (line 223) | func (s *Selection) ParentsUntilNodes(nodes ...*html.Node) *Selection {
method ParentsFilteredUntil (line 230) | func (s *Selection) ParentsFilteredUntil(filterSelector, untilSelector s...
method ParentsFilteredUntilMatcher (line 236) | func (s *Selection) ParentsFilteredUntilMatcher(filter, until Matcher) *...
method ParentsFilteredUntilSelection (line 243) | func (s *Selection) ParentsFilteredUntilSelection(filterSelector string,...
method ParentsMatcherUntilSelection (line 250) | func (s *Selection) ParentsMatcherUntilSelection(filter Matcher, sel *Se...
method ParentsFilteredUntilNodes (line 260) | func (s *Selection) ParentsFilteredUntilNodes(filterSelector string, nod...
method ParentsMatcherUntilNodes (line 267) | func (s *Selection) ParentsMatcherUntilNodes(filter Matcher, nodes ...*h...
method Siblings (line 273) | func (s *Selection) Siblings() *Selection {
method SiblingsFiltered (line 280) | func (s *Selection) SiblingsFiltered(selector string) *Selection {
method SiblingsMatcher (line 287) | func (s *Selection) SiblingsMatcher(m Matcher) *Selection {
method Next (line 293) | func (s *Selection) Next() *Selection {
method NextFiltered (line 300) | func (s *Selection) NextFiltered(selector string) *Selection {
method NextMatcher (line 307) | func (s *Selection) NextMatcher(m Matcher) *Selection {
method NextAll (line 313) | func (s *Selection) NextAll() *Selection {
method NextAllFiltered (line 320) | func (s *Selection) NextAllFiltered(selector string) *Selection {
method NextAllMatcher (line 327) | func (s *Selection) NextAllMatcher(m Matcher) *Selection {
method Prev (line 333) | func (s *Selection) Prev() *Selection {
method PrevFiltered (line 340) | func (s *Selection) PrevFiltered(selector string) *Selection {
method PrevMatcher (line 347) | func (s *Selection) PrevMatcher(m Matcher) *Selection {
method PrevAll (line 353) | func (s *Selection) PrevAll() *Selection {
method PrevAllFiltered (line 360) | func (s *Selection) PrevAllFiltered(selector string) *Selection {
method PrevAllMatcher (line 367) | func (s *Selection) PrevAllMatcher(m Matcher) *Selection {
method NextUntil (line 374) | func (s *Selection) NextUntil(selector string) *Selection {
method NextUntilMatcher (line 382) | func (s *Selection) NextUntilMatcher(m Matcher) *Selection {
method NextUntilSelection (line 390) | func (s *Selection) NextUntilSelection(sel *Selection) *Selection {
method NextUntilNodes (line 400) | func (s *Selection) NextUntilNodes(nodes ...*html.Node) *Selection {
method PrevUntil (line 408) | func (s *Selection) PrevUntil(selector string) *Selection {
method PrevUntilMatcher (line 416) | func (s *Selection) PrevUntilMatcher(m Matcher) *Selection {
method PrevUntilSelection (line 424) | func (s *Selection) PrevUntilSelection(sel *Selection) *Selection {
method PrevUntilNodes (line 434) | func (s *Selection) PrevUntilNodes(nodes ...*html.Node) *Selection {
method NextFilteredUntil (line 442) | func (s *Selection) NextFilteredUntil(filterSelector, untilSelector stri...
method NextFilteredUntilMatcher (line 450) | func (s *Selection) NextFilteredUntilMatcher(filter, until Matcher) *Sel...
method NextFilteredUntilSelection (line 458) | func (s *Selection) NextFilteredUntilSelection(filterSelector string, se...
method NextMatcherUntilSelection (line 465) | func (s *Selection) NextMatcherUntilSelection(filter Matcher, sel *Selec...
method NextFilteredUntilNodes (line 475) | func (s *Selection) NextFilteredUntilNodes(filterSelector string, nodes ...
method NextMatcherUntilNodes (line 483) | func (s *Selection) NextMatcherUntilNodes(filter Matcher, nodes ...*html...
method PrevFilteredUntil (line 491) | func (s *Selection) PrevFilteredUntil(filterSelector, untilSelector stri...
method PrevFilteredUntilMatcher (line 499) | func (s *Selection) PrevFilteredUntilMatcher(filter, until Matcher) *Sel...
method PrevFilteredUntilSelection (line 507) | func (s *Selection) PrevFilteredUntilSelection(filterSelector string, se...
method PrevMatcherUntilSelection (line 514) | func (s *Selection) PrevMatcherUntilSelection(filter Matcher, sel *Selec...
method PrevFilteredUntilNodes (line 524) | func (s *Selection) PrevFilteredUntilNodes(filterSelector string, nodes ...
method PrevMatcherUntilNodes (line 532) | func (s *Selection) PrevMatcherUntilNodes(filter Matcher, nodes ...*html...
function filterAndPush (line 539) | func filterAndPush(srcSel *Selection, nodes []*html.Node, m Matcher) *Se...
function findWithMatcher (line 547) | func findWithMatcher(nodes []*html.Node, m Matcher) []*html.Node {
function getParentsNodes (line 562) | func getParentsNodes(nodes []*html.Node, stopm Matcher, stopNodes []*htm...
function getSiblingNodes (line 584) | func getSiblingNodes(nodes []*html.Node, st siblingType, untilm Matcher,...
function getChildrenNodes (line 611) | func getChildrenNodes(nodes []*html.Node, st siblingType) []*html.Node {
function getChildrenWithSiblingType (line 619) | func getChildrenWithSiblingType(parent *html.Node, st siblingType, skipN...
function getParentNodes (line 683) | func getParentNodes(nodes []*html.Node) []*html.Node {
function mapNodes (line 696) | func mapNodes(nodes []*html.Node, f func(int, *html.Node) []*html.Node) ...
FILE: vendor/github.com/PuerkitoBio/goquery/type.go
type Document (line 18) | type Document struct
function NewDocumentFromNode (line 26) | func NewDocumentFromNode(root *html.Node) *Document {
function NewDocument (line 37) | func NewDocument(url string) (*Document, error) {
function NewDocumentFromReader (line 51) | func NewDocumentFromReader(r io.Reader) (*Document, error) {
function NewDocumentFromResponse (line 64) | func NewDocumentFromResponse(res *http.Response) (*Document, error) {
function CloneDocument (line 84) | func CloneDocument(doc *Document) *Document {
function newDocument (line 89) | func newDocument(root *html.Node, url *url.URL) *Document {
type Selection (line 99) | type Selection struct
function newEmptySelection (line 106) | func newEmptySelection(doc *Document) *Selection {
function newSingleSelection (line 111) | func newSingleSelection(node *html.Node, doc *Document) *Selection {
type Matcher (line 118) | type Matcher interface
function Single (line 147) | func Single(selector string) Matcher {
function SingleMatcher (line 155) | func SingleMatcher(m Matcher) Matcher {
function compileMatcher (line 166) | func compileMatcher(s string) Matcher {
type singleMatcher (line 174) | type singleMatcher struct
method MatchAll (line 178) | func (m singleMatcher) MatchAll(n *html.Node) []*html.Node {
type invalidMatcher (line 199) | type invalidMatcher struct
method Match (line 201) | func (invalidMatcher) Match(n *html.Node) bool { return fa...
method MatchAll (line 202) | func (invalidMatcher) MatchAll(n *html.Node) []*html.Node { return nil }
method Filter (line 203) | func (invalidMatcher) Filter(ns []*html.Node) []*html.Node { return nil }
FILE: vendor/github.com/PuerkitoBio/goquery/utilities.go
constant minNodesForSet (line 13) | minNodesForSet = 1000
function NodeName (line 35) | func NodeName(s *Selection) string {
function nodeName (line 44) | func nodeName(node *html.Node) string {
function Render (line 63) | func Render(w io.Writer, s *Selection) error {
function OuterHtml (line 78) | func OuterHtml(s *Selection) (string, error) {
function sliceContains (line 87) | func sliceContains(container []*html.Node, contained *html.Node) bool {
function nodeContains (line 98) | func nodeContains(container *html.Node, contained *html.Node) bool {
function isInSlice (line 110) | func isInSlice(slice []*html.Node, node *html.Node) bool {
function indexInSlice (line 115) | func indexInSlice(slice []*html.Node, node *html.Node) int {
function appendWithoutDuplicates (line 131) | func appendWithoutDuplicates(target []*html.Node, nodes []*html.Node, ta...
function grep (line 163) | func grep(sel *Selection, predicate func(i int, s *Selection) bool) (res...
function pushStack (line 174) | func pushStack(fromSel *Selection, nodes []*html.Node) *Selection {
FILE: vendor/github.com/Soontao/goHttpDigestClient/challenge.go
constant KEY_DIGEST (line 9) | KEY_DIGEST = "Digest"
constant KEY_AUTH_SCHEMA (line 10) | KEY_AUTH_SCHEMA = "auth_schema"
constant KEY_QOP (line 11) | KEY_QOP = "qop"
constant KEY_NONCE (line 12) | KEY_NONCE = "nonce"
constant KEY_CNONCE (line 13) | KEY_CNONCE = "cnonce"
constant KEY_USERNAME (line 14) | KEY_USERNAME = "username"
constant KEY_NONCE_COUNT (line 15) | KEY_NONCE_COUNT = "nc"
constant KEY_OPAQUE (line 16) | KEY_OPAQUE = "opaque"
constant KEY_RESPONSE (line 17) | KEY_RESPONSE = "response"
constant KEY_REALM (line 18) | KEY_REALM = "realm"
constant KEY_AUTHORIZATION (line 19) | KEY_AUTHORIZATION = "Authorization"
constant KEY_URI (line 20) | KEY_URI = "uri"
constant KEY_WWW_Authenticate (line 21) | KEY_WWW_Authenticate = "WWW-Authenticate"
type Challenge (line 28) | type Challenge
method IsDigestAuth (line 44) | func (info Challenge) IsDigestAuth() bool {
method SetChallengeItem (line 48) | func (info Challenge) SetChallengeItem(itemKey string, itemValue strin...
method GetChallengeItemPure (line 52) | func (info Challenge) GetChallengeItemPure(itemKey string) string {
method GetChallengeItemFormat (line 57) | func (info Challenge) GetChallengeItemFormat(itemKey string) string {
method ToAuthorizationStr (line 70) | func (info Challenge) ToAuthorizationStr() string {
method ComputeResponse (line 83) | func (h Challenge) ComputeResponse(method, uri, entity, username, pass...
function NewChallenge (line 30) | func NewChallenge(wwwAuthHeader string) Challenge {
FILE: vendor/github.com/Soontao/goHttpDigestClient/client.go
type Client (line 11) | type Client struct
method Do (line 33) | func (c *Client) Do(req *http.Request, opt *ClientOption) (*http.Respo...
type ClientOption (line 17) | type ClientOption struct
function NewClient (line 23) | func NewClient(username, password string) *Client {
function GetChallengeFromHeader (line 29) | func GetChallengeFromHeader(h *http.Header) Challenge {
function getStrFromIO (line 47) | func getStrFromIO(r io.ReadCloser) string {
function Do (line 62) | func Do(req *http.Request, opt *ClientOption) (*http.Response, error) {
FILE: vendor/github.com/Soontao/goHttpDigestClient/rfc2617.go
function toMd5 (line 11) | func toMd5(s string) string {
function computeHa1 (line 19) | func computeHa1(username, realm, password string) string {
function computeHa2 (line 23) | func computeHa2(qop, method, digestUri, entity string) string {
function computeResponse (line 32) | func computeResponse(qop, realm, nonce, nonceCount, clientNonce, method,...
FILE: vendor/github.com/andybalholm/brotli/backward_references.go
function computeDistanceCode (line 15) | func computeDistanceCode(distance uint, max_distance uint, dist_cache []...
function createBackwardReferences (line 40) | func createBackwardReferences(num_bytes uint, position uint, ringbuffer ...
FILE: vendor/github.com/andybalholm/brotli/backward_references_hq.go
type zopfliNode (line 5) | type zopfliNode struct
constant maxEffectiveDistanceAlphabetSize (line 16) | maxEffectiveDistanceAlphabetSize = 544
constant kInfinity (line 18) | kInfinity float32 = 1.7e38
function initZopfliNodes (line 24) | func initZopfliNodes(array []zopfliNode, length uint) {
function zopfliNodeCopyLength (line 36) | func zopfliNodeCopyLength(self *zopfliNode) uint32 {
function zopfliNodeLengthCode (line 40) | func zopfliNodeLengthCode(self *zopfliNode) uint32 {
function zopfliNodeCopyDistance (line 45) | func zopfliNodeCopyDistance(self *zopfliNode) uint32 {
function zopfliNodeDistanceCode (line 49) | func zopfliNodeDistanceCode(self *zopfliNode) uint32 {
function zopfliNodeCommandLength (line 58) | func zopfliNodeCommandLength(self *zopfliNode) uint32 {
type zopfliCostModel (line 63) | type zopfliCostModel struct
function initZopfliCostModel (line 72) | func initZopfliCostModel(self *zopfliCostModel, dist *distanceParams, nu...
function cleanupZopfliCostModel (line 84) | func cleanupZopfliCostModel(self *zopfliCostModel) {
function setCost (line 89) | func setCost(histogram []uint32, histogram_size uint, literal_histogram ...
function zopfliCostModelSetFromCommands (line 126) | func zopfliCostModelSetFromCommands(self *zopfliCostModel, position uint...
function zopfliCostModelSetFromLiteralCosts (line 181) | func zopfliCostModelSetFromLiteralCosts(self *zopfliCostModel, position ...
function zopfliCostModelGetCommandCost (line 207) | func zopfliCostModelGetCommandCost(self *zopfliCostModel, cmdcode uint16...
function zopfliCostModelGetDistanceCost (line 211) | func zopfliCostModelGetDistanceCost(self *zopfliCostModel, distcode uint...
function zopfliCostModelGetLiteralCosts (line 215) | func zopfliCostModelGetLiteralCosts(self *zopfliCostModel, from uint, to...
function zopfliCostModelGetMinCostCmd (line 219) | func zopfliCostModelGetMinCostCmd(self *zopfliCostModel) float32 {
function updateZopfliNode (line 226) | func updateZopfliNode(nodes []zopfliNode, pos uint, start_pos uint, len ...
type posData (line 234) | type posData struct
type startPosQueue (line 242) | type startPosQueue struct
function initStartPosQueue (line 247) | func initStartPosQueue(self *startPosQueue) {
function startPosQueueSize (line 251) | func startPosQueueSize(self *startPosQueue) uint {
function startPosQueuePush (line 255) | func startPosQueuePush(self *startPosQueue, posdata *posData) {
function startPosQueueAt (line 276) | func startPosQueueAt(self *startPosQueue, k uint) *posData {
function computeMinimumCopyLength (line 282) | func computeMinimumCopyLength(start_cost float32, nodes []zopfliNode, nu...
function computeDistanceShortcut (line 310) | func computeDistanceShortcut(block_start uint, pos uint, max_backward_li...
function computeDistanceCache (line 336) | func computeDistanceCache(pos uint, starting_dist_cache []int, nodes []z...
function evaluateNode (line 358) | func evaluateNode(block_start uint, pos uint, max_backward_limit uint, g...
function updateNodes (line 373) | func updateNodes(num_bytes uint, block_start uint, pos uint, ringbuffer ...
function computeShortestPathFromNodes (line 516) | func computeShortestPathFromNodes(num_bytes uint, nodes []zopfliNode) ui...
function zopfliCreateCommands (line 534) | func zopfliCreateCommands(num_bytes uint, block_start uint, nodes []zopf...
function zopfliIterate (line 573) | func zopfliIterate(num_bytes uint, position uint, ringbuffer []byte, rin...
function zopfliComputeShortestPath (line 624) | func zopfliComputeShortestPath(num_bytes uint, position uint, ringbuffer...
function createZopfliBackwardReferences (line 683) | func createZopfliBackwardReferences(num_bytes uint, position uint, ringb...
function createHqZopfliBackwardReferences (line 692) | func createHqZopfliBackwardReferences(num_bytes uint, position uint, rin...
FILE: vendor/github.com/andybalholm/brotli/bit_cost.go
function shannonEntropy (line 10) | func shannonEntropy(population []uint32, size uint, total *uint) float64 {
function bitsEntropy (line 29) | func bitsEntropy(population []uint32, size uint) float64 {
constant kOneSymbolHistogramCost (line 40) | kOneSymbolHistogramCost float64 = 12
constant kTwoSymbolHistogramCost (line 41) | kTwoSymbolHistogramCost float64 = 20
constant kThreeSymbolHistogramCost (line 42) | kThreeSymbolHistogramCost float64 = 28
constant kFourSymbolHistogramCost (line 43) | kFourSymbolHistogramCost float64 = 37
function populationCostLiteral (line 45) | func populationCostLiteral(histogram *histogramLiteral) float64 {
function populationCostCommand (line 176) | func populationCostCommand(histogram *histogramCommand) float64 {
function populationCostDistance (line 307) | func populationCostDistance(histogram *histogramDistance) float64 {
FILE: vendor/github.com/andybalholm/brotli/bit_reader.go
constant shortFillBitWindowRead (line 13) | shortFillBitWindowRead = (8 >> 1)
function bitMask (line 51) | func bitMask(n uint32) uint32 {
type bitReader (line 55) | type bitReader struct
type bitReaderState (line 63) | type bitReaderState struct
function bitReaderSaveState (line 78) | func bitReaderSaveState(from *bitReader, to *bitReaderState) {
function bitReaderRestoreState (line 86) | func bitReaderRestoreState(to *bitReader, from *bitReaderState) {
function getAvailableBits (line 94) | func getAvailableBits(br *bitReader) uint32 {
function getRemainingBytes (line 100) | func getRemainingBytes(br *bitReader) uint {
function checkInputAmount (line 106) | func checkInputAmount(br *bitReader, num uint) bool {
function fillBitWindow (line 114) | func fillBitWindow(br *bitReader, n_bits uint32) {
function fillBitWindow16 (line 125) | func fillBitWindow16(br *bitReader) {
function pullByte (line 131) | func pullByte(br *bitReader) bool {
function getBitsUnmasked (line 145) | func getBitsUnmasked(br *bitReader) uint64 {
function get16BitsUnmasked (line 151) | func get16BitsUnmasked(br *bitReader) uint32 {
function getBits (line 158) | func getBits(br *bitReader, n_bits uint32) uint32 {
function safeGetBits (line 165) | func safeGetBits(br *bitReader, n_bits uint32, val *uint32) bool {
function dropBits (line 177) | func dropBits(br *bitReader, n_bits uint32) {
function bitReaderUnload (line 181) | func bitReaderUnload(br *bitReader) {
function takeBits (line 196) | func takeBits(br *bitReader, n_bits uint32, val *uint32) {
function readBits (line 203) | func readBits(br *bitReader, n_bits uint32) uint32 {
function safeReadBits (line 212) | func safeReadBits(br *bitReader, n_bits uint32, val *uint32) bool {
function bitReaderJumpToByteBoundary (line 225) | func bitReaderJumpToByteBoundary(br *bitReader) bool {
function copyBytes (line 238) | func copyBytes(dest []byte, br *bitReader, num uint) {
function initBitReader (line 250) | func initBitReader(br *bitReader) {
function warmupBitReader (line 255) | func warmupBitReader(br *bitReader) bool {
FILE: vendor/github.com/andybalholm/brotli/bitwriter.go
type bitWriter (line 11) | type bitWriter struct
method writeBits (line 19) | func (w *bitWriter) writeBits(nb uint, b uint64) {
method writeSingleBit (line 35) | func (w *bitWriter) writeSingleBit(bit bool) {
method jumpToByteBoundary (line 43) | func (w *bitWriter) jumpToByteBoundary() {
FILE: vendor/github.com/andybalholm/brotli/block_splitter.go
type blockSplit (line 11) | type blockSplit struct
constant kMaxLiteralHistograms (line 21) | kMaxLiteralHistograms uint = 100
constant kMaxCommandHistograms (line 22) | kMaxCommandHistograms uint = 50
constant kLiteralBlockSwitchCost (line 23) | kLiteralBlockSwitchCost float64 = 28.1
constant kCommandBlockSwitchCost (line 24) | kCommandBlockSwitchCost float64 = 13.5
constant kDistanceBlockSwitchCost (line 25) | kDistanceBlockSwitchCost float64 = 14.6
constant kLiteralStrideLength (line 26) | kLiteralStrideLength uint = 70
constant kCommandStrideLength (line 27) | kCommandStrideLength uint = 40
constant kSymbolsPerLiteralHistogram (line 28) | kSymbolsPerLiteralHistogram uint = 544
constant kSymbolsPerCommandHistogram (line 29) | kSymbolsPerCommandHistogram uint = 530
constant kSymbolsPerDistanceHistogram (line 30) | kSymbolsPerDistanceHistogram uint = 544
constant kMinLengthForBlockSplitting (line 31) | kMinLengthForBlockSplitting uint = 128
constant kIterMulForRefining (line 32) | kIterMulForRefining uint = 2
constant kMinItersForRefining (line 33) | kMinItersForRefining uint = 100
function countLiterals (line 36) | func countLiterals(cmds []command) uint {
function copyLiteralsToByteArray (line 47) | func copyLiteralsToByteArray(cmds []command, data []byte, offset uint, m...
function myRand (line 69) | func myRand(seed *uint32) uint32 {
function bitCost (line 76) | func bitCost(count uint) float64 {
constant histogramsPerBatch (line 84) | histogramsPerBatch = 64
constant clustersPerBatch (line 86) | clustersPerBatch = 16
function initBlockSplit (line 88) | func initBlockSplit(self *blockSplit) {
function splitBlock (line 97) | func splitBlock(cmds []command, data []byte, pos uint, mask uint, params...
FILE: vendor/github.com/andybalholm/brotli/block_splitter_command.go
function initialEntropyCodesCommand (line 11) | func initialEntropyCodesCommand(data []uint16, length uint, stride uint,...
function randomSampleCommand (line 30) | func randomSampleCommand(seed *uint32, data []uint16, length uint, strid...
function refineEntropyCodesCommand (line 41) | func refineEntropyCodesCommand(data []uint16, length uint, stride uint, ...
function findBlocksCommand (line 57) | func findBlocksCommand(data []uint16, length uint, block_switch_bitcost ...
function remapBlockIdsCommand (line 157) | func remapBlockIdsCommand(block_ids []byte, length uint, new_id []uint16...
function buildBlockHistogramsCommand (line 181) | func buildBlockHistogramsCommand(data []uint16, length uint, block_ids [...
function clusterBlocksCommand (line 191) | func clusterBlocksCommand(data []uint16, length uint, num_blocks uint, b...
function splitByteVectorCommand (line 375) | func splitByteVectorCommand(data []uint16, literals_per_histogram uint, ...
FILE: vendor/github.com/andybalholm/brotli/block_splitter_distance.go
function initialEntropyCodesDistance (line 11) | func initialEntropyCodesDistance(data []uint16, length uint, stride uint...
function randomSampleDistance (line 30) | func randomSampleDistance(seed *uint32, data []uint16, length uint, stri...
function refineEntropyCodesDistance (line 41) | func refineEntropyCodesDistance(data []uint16, length uint, stride uint,...
function findBlocksDistance (line 57) | func findBlocksDistance(data []uint16, length uint, block_switch_bitcost...
function remapBlockIdsDistance (line 157) | func remapBlockIdsDistance(block_ids []byte, length uint, new_id []uint1...
function buildBlockHistogramsDistance (line 181) | func buildBlockHistogramsDistance(data []uint16, length uint, block_ids ...
function clusterBlocksDistance (line 191) | func clusterBlocksDistance(data []uint16, length uint, num_blocks uint, ...
function splitByteVectorDistance (line 375) | func splitByteVectorDistance(data []uint16, length uint, literals_per_hi...
FILE: vendor/github.com/andybalholm/brotli/block_splitter_literal.go
function initialEntropyCodesLiteral (line 11) | func initialEntropyCodesLiteral(data []byte, length uint, stride uint, n...
function randomSampleLiteral (line 30) | func randomSampleLiteral(seed *uint32, data []byte, length uint, stride ...
function refineEntropyCodesLiteral (line 41) | func refineEntropyCodesLiteral(data []byte, length uint, stride uint, nu...
function findBlocksLiteral (line 57) | func findBlocksLiteral(data []byte, length uint, block_switch_bitcost fl...
function remapBlockIdsLiteral (line 157) | func remapBlockIdsLiteral(block_ids []byte, length uint, new_id []uint16...
function buildBlockHistogramsLiteral (line 181) | func buildBlockHistogramsLiteral(data []byte, length uint, block_ids []b...
function clusterBlocksLiteral (line 191) | func clusterBlocksLiteral(data []byte, length uint, num_blocks uint, blo...
function splitByteVectorLiteral (line 375) | func splitByteVectorLiteral(data []byte, length uint, literals_per_histo...
FILE: vendor/github.com/andybalholm/brotli/brotli_bit_stream.go
constant maxHuffmanTreeSize (line 8) | maxHuffmanTreeSize = (2*numCommandSymbols + 1)
constant maxSimpleDistanceAlphabetSize (line 15) | maxSimpleDistanceAlphabetSize = 140
type prefixCodeRange (line 22) | type prefixCodeRange struct
function blockLengthPrefixCode (line 56) | func blockLengthPrefixCode(len uint32) uint32 {
function getBlockLengthPrefixCode (line 75) | func getBlockLengthPrefixCode(len uint32, code *uint, n_extra *uint32, e...
type blockTypeCodeCalculator (line 81) | type blockTypeCodeCalculator struct
function initBlockTypeCodeCalculator (line 86) | func initBlockTypeCodeCalculator(self *blockTypeCodeCalculator) {
function nextBlockTypeCode (line 91) | func nextBlockTypeCode(calculator *blockTypeCodeCalculator, type_ byte) ...
function encodeMlen (line 111) | func encodeMlen(length uint, bits *uint64, numbits *uint, nibblesbits *u...
function storeCommandExtra (line 133) | func storeCommandExtra(cmd *command, storage_ix *uint, storage []byte) {
type blockSplitCode (line 149) | type blockSplitCode struct
function storeVarLenUint8 (line 158) | func storeVarLenUint8(n uint, storage_ix *uint, storage []byte) {
function storeCompressedMetaBlockHeader (line 175) | func storeCompressedMetaBlockHeader(is_final_block bool, length uint, st...
function storeUncompressedMetaBlockHeader (line 210) | func storeUncompressedMetaBlockHeader(length uint, storage_ix *uint, sto...
function storeHuffmanTreeOfHuffmanTreeToBitMask (line 232) | func storeHuffmanTreeOfHuffmanTreeToBitMask(num_codes int, code_length_b...
function storeHuffmanTreeToBitMask (line 272) | func storeHuffmanTreeToBitMask(huffman_tree_size uint, huffman_tree []by...
function storeSimpleHuffmanTree (line 289) | func storeSimpleHuffmanTree(depths []byte, symbols []uint, num_symbols u...
function storeHuffmanTree (line 338) | func storeHuffmanTree(depths []byte, num uint, tree []huffmanTree, stora...
function buildAndStoreHuffmanTree (line 396) | func buildAndStoreHuffmanTree(histogram []uint32, histogram_length uint,...
function sortHuffmanTree1 (line 441) | func sortHuffmanTree1(v0 huffmanTree, v1 huffmanTree) bool {
function buildAndStoreHuffmanTreeFast (line 447) | func buildAndStoreHuffmanTreeFast(histogram []uint32, histogram_total ui...
function buildAndStoreHuffmanTreeFastBW (line 650) | func buildAndStoreHuffmanTreeFastBW(histogram []uint32, histogram_total ...
function indexOf (line 847) | func indexOf(v []byte, v_size uint, value byte) uint {
function moveToFront (line 858) | func moveToFront(v []byte, index uint) {
function moveToFrontTransform (line 868) | func moveToFrontTransform(v_in []uint32, v_size uint, v_out []uint32) {
function runLengthCodeZeros (line 907) | func runLengthCodeZeros(in_size uint, v []uint32, out_size *uint, max_ru...
constant symbolBits (line 962) | symbolBits = 9
function encodeContextMap (line 966) | func encodeContextMap(context_map []uint32, context_map_size uint, num_c...
function storeBlockSwitch (line 1011) | func storeBlockSwitch(code *blockSplitCode, block_len uint32, block_type...
function buildAndStoreBlockSplitCode (line 1031) | func buildAndStoreBlockSplitCode(types []byte, lengths []uint32, num_blo...
function storeTrivialContextMap (line 1058) | func storeTrivialContextMap(num_types uint, context_bits uint, tree []hu...
type blockEncoder (line 1102) | type blockEncoder struct
function getBlockEncoder (line 1118) | func getBlockEncoder(histogram_length uint, num_block_types uint, block_...
function cleanupBlockEncoder (line 1145) | func cleanupBlockEncoder(self *blockEncoder) {
function buildAndStoreBlockSwitchEntropyCodes (line 1154) | func buildAndStoreBlockSwitchEntropyCodes(self *blockEncoder, tree []huf...
function storeSymbol (line 1163) | func storeSymbol(self *blockEncoder, symbol uint, storage_ix *uint, stor...
function storeSymbolWithContext (line 1187) | func storeSymbolWithContext(self *blockEncoder, symbol uint, context uin...
function buildAndStoreEntropyCodesLiteral (line 1206) | func buildAndStoreEntropyCodesLiteral(self *blockEncoder, histograms []h...
function buildAndStoreEntropyCodesCommand (line 1227) | func buildAndStoreEntropyCodesCommand(self *blockEncoder, histograms []h...
function buildAndStoreEntropyCodesDistance (line 1248) | func buildAndStoreEntropyCodesDistance(self *blockEncoder, histograms []...
function jumpToByteBoundary (line 1269) | func jumpToByteBoundary(storage_ix *uint, storage []byte) {
function storeMetaBlock (line 1274) | func storeMetaBlock(input []byte, start_pos uint, length uint, mask uint...
function buildHistograms (line 1370) | func buildHistograms(input []byte, start_pos uint, mask uint, commands [...
function storeDataWithHuffmanCodes (line 1387) | func storeDataWithHuffmanCodes(input []byte, start_pos uint, mask uint, ...
function storeMetaBlockTrivial (line 1411) | func storeMetaBlockTrivial(input []byte, start_pos uint, length uint, ma...
function storeMetaBlockFast (line 1445) | func storeMetaBlockFast(input []byte, start_pos uint, length uint, mask ...
function storeUncompressedMetaBlock (line 1512) | func storeUncompressedMetaBlock(is_final_block bool, input []byte, posit...
FILE: vendor/github.com/andybalholm/brotli/cluster.go
type histogramPair (line 11) | type histogramPair struct
function histogramPairIsLess (line 18) | func histogramPairIsLess(p1 *histogramPair, p2 *histogramPair) bool {
function clusterCostDiff (line 27) | func clusterCostDiff(size_a uint, size_b uint) float64 {
FILE: vendor/github.com/andybalholm/brotli/cluster_command.go
function compareAndPushToQueueCommand (line 11) | func compareAndPushToQueueCommand(out []histogramCommand, cluster_size [...
function histogramCombineCommand (line 74) | func histogramCombineCommand(out []histogramCommand, cluster_size []uint...
function histogramBitCostDistanceCommand (line 156) | func histogramBitCostDistanceCommand(histogram *histogramCommand, candid...
FILE: vendor/github.com/andybalholm/brotli/cluster_distance.go
function compareAndPushToQueueDistance (line 13) | func compareAndPushToQueueDistance(out []histogramDistance, cluster_size...
function histogramCombineDistance (line 76) | func histogramCombineDistance(out []histogramDistance, cluster_size []ui...
function histogramBitCostDistanceDistance (line 158) | func histogramBitCostDistanceDistance(histogram *histogramDistance, cand...
function histogramRemapDistance (line 172) | func histogramRemapDistance(in []histogramDistance, in_size uint, cluste...
function histogramReindexDistance (line 217) | func histogramReindexDistance(out []histogramDistance, symbols []uint32,...
function clusterHistogramsDistance (line 257) | func clusterHistogramsDistance(in []histogramDistance, in_size uint, max...
FILE: vendor/github.com/andybalholm/brotli/cluster_literal.go
function compareAndPushToQueueLiteral (line 13) | func compareAndPushToQueueLiteral(out []histogramLiteral, cluster_size [...
function histogramCombineLiteral (line 76) | func histogramCombineLiteral(out []histogramLiteral, cluster_size []uint...
function histogramBitCostDistanceLiteral (line 158) | func histogramBitCostDistanceLiteral(histogram *histogramLiteral, candid...
function histogramRemapLiteral (line 172) | func histogramRemapLiteral(in []histogramLiteral, in_size uint, clusters...
function histogramReindexLiteral (line 217) | func histogramReindexLiteral(out []histogramLiteral, symbols []uint32, l...
function clusterHistogramsLiteral (line 257) | func clusterHistogramsLiteral(in []histogramLiteral, in_size uint, max_h...
FILE: vendor/github.com/andybalholm/brotli/command.go
function getInsertLengthCode (line 111) | func getInsertLengthCode(insertlen uint) uint16 {
function getCopyLengthCode (line 128) | func getCopyLengthCode(copylen uint) uint16 {
function combineLengthCodes (line 141) | func combineLengthCodes(inscode uint16, copycode uint16, use_last_distan...
function getLengthCode (line 166) | func getLengthCode(insertlen uint, copylen uint, use_last_distance bool,...
function getInsertBase (line 172) | func getInsertBase(inscode uint16) uint32 {
function getInsertExtra (line 176) | func getInsertExtra(inscode uint16) uint32 {
function getCopyBase (line 180) | func getCopyBase(copycode uint16) uint32 {
function getCopyExtra (line 184) | func getCopyExtra(copycode uint16) uint32 {
type command (line 188) | type command struct
function makeCommand (line 197) | func makeCommand(dist *distanceParams, insertlen uint, copylen uint, cop...
function makeInsertCommand (line 212) | func makeInsertCommand(insertlen uint) (cmd command) {
function commandRestoreDistanceCode (line 221) | func commandRestoreDistanceCode(self *command, dist *distanceParams) uin...
function commandDistanceContext (line 236) | func commandDistanceContext(self *command) uint32 {
function commandCopyLen (line 246) | func commandCopyLen(self *command) uint32 {
function commandCopyLenCode (line 250) | func commandCopyLenCode(self *command) uint32 {
FILE: vendor/github.com/andybalholm/brotli/compress_fragment.go
constant maxDistance_compress_fragment (line 19) | maxDistance_compress_fragment = 262128
function hash5 (line 21) | func hash5(p []byte, shift uint) uint32 {
function hashBytesAtOffset5 (line 26) | func hashBytesAtOffset5(v uint64, offset int, shift uint) uint32 {
function isMatch5 (line 35) | func isMatch5(p1 []byte, p2 []byte) bool {
function buildAndStoreLiteralPrefixCode (line 48) | func buildAndStoreLiteralPrefixCode(input []byte, input_size uint, depth...
function buildAndStoreCommandPrefixCode1 (line 101) | func buildAndStoreCommandPrefixCode1(histogram []uint32, depth []byte, b...
function emitInsertLen1 (line 155) | func emitInsertLen1(insertlen uint, depth []byte, bits []uint16, histo [...
function emitLongInsertLen (line 182) | func emitLongInsertLen(insertlen uint, depth []byte, bits []uint16, hist...
function emitCopyLen1 (line 194) | func emitCopyLen1(copylen uint, depth []byte, bits []uint16, histo []uin...
function emitCopyLenLastDistance1 (line 220) | func emitCopyLenLastDistance1(copylen uint, depth []byte, bits []uint16,...
function emitDistance1 (line 258) | func emitDistance1(distance uint, depth []byte, bits []uint16, histo []u...
function emitLiterals (line 269) | func emitLiterals(input []byte, len uint, depth []byte, bits []uint16, s...
function storeMetaBlockHeader1 (line 278) | func storeMetaBlockHeader1(len uint, is_uncompressed bool, storage_ix *u...
function updateBits (line 297) | func updateBits(n_bits uint, bits uint32, pos uint, array []byte) {
function rewindBitPosition1 (line 313) | func rewindBitPosition1(new_storage_ix uint, storage_ix *uint, storage [...
function shouldMergeBlock (line 322) | func shouldMergeBlock(data []byte, len uint, depths []byte) bool {
function shouldUseUncompressedMode (line 339) | func shouldUseUncompressedMode(metablock_start []byte, next_emit []byte,...
function emitUncompressedMetaBlock1 (line 348) | func emitUncompressedMetaBlock1(begin []byte, end []byte, storage_ix_sta...
function compressFragmentFastImpl (line 492) | func compressFragmentFastImpl(in []byte, input_size uint, is_last bool, ...
function compressFragmentFast (line 810) | func compressFragmentFast(input []byte, input_size uint, is_last bool, t...
FILE: vendor/github.com/andybalholm/brotli/compress_fragment_two_pass.go
constant kCompressFragmentTwoPassBlockSize (line 17) | kCompressFragmentTwoPassBlockSize uint = 1 << 17
function hash1 (line 19) | func hash1(p []byte, shift uint, length uint) uint32 {
function hashBytesAtOffset (line 24) | func hashBytesAtOffset(v uint64, offset uint, shift uint, length uint) u...
function isMatch1 (line 32) | func isMatch1(p1 []byte, p2 []byte, length uint) bool {
function buildAndStoreCommandPrefixCode (line 47) | func buildAndStoreCommandPrefixCode(histogram []uint32, depth []byte, bi...
function emitInsertLen (line 99) | func emitInsertLen(insertlen uint32, commands *[]uint32) {
function emitCopyLen (line 129) | func emitCopyLen(copylen uint, commands *[]uint32) {
function emitCopyLenLastDistance (line 153) | func emitCopyLenLastDistance(copylen uint, commands *[]uint32) {
function emitDistance (line 191) | func emitDistance(distance uint32, commands *[]uint32) {
function storeMetaBlockHeader (line 203) | func storeMetaBlockHeader(len uint, is_uncompressed bool, storage_ix *ui...
function storeMetaBlockHeaderBW (line 222) | func storeMetaBlockHeaderBW(len uint, is_uncompressed bool, bw *bitWrite...
function createCommands (line 243) | func createCommands(input []byte, block_size uint, input_size uint, base...
function storeCommands (line 623) | func storeCommands(literals []byte, num_literals uint, commands []uint32...
constant minRatio (line 670) | minRatio = 0.98
constant sampleRate (line 672) | sampleRate = 43
function shouldCompress (line 674) | func shouldCompress(input []byte, input_size uint, num_literals uint) bo...
function rewindBitPosition (line 690) | func rewindBitPosition(new_storage_ix uint, storage_ix *uint, storage []...
function emitUncompressedMetaBlock (line 697) | func emitUncompressedMetaBlock(input []byte, input_size uint, storage_ix...
function compressFragmentTwoPassImpl (line 705) | func compressFragmentTwoPassImpl(input []byte, input_size uint, is_last ...
function compressFragmentTwoPass (line 753) | func compressFragmentTwoPass(input []byte, input_size uint, is_last bool...
FILE: vendor/github.com/andybalholm/brotli/constants.go
constant contextMapMaxRle (line 10) | contextMapMaxRle = 16
constant maxNumberOfBlockTypes (line 13) | maxNumberOfBlockTypes = 256
constant numLiteralSymbols (line 16) | numLiteralSymbols = 256
constant numCommandSymbols (line 18) | numCommandSymbols = 704
constant numBlockLenSymbols (line 20) | numBlockLenSymbols = 26
constant maxContextMapSymbols (line 22) | maxContextMapSymbols = (maxNumberOfBlockTypes + contextMapMaxRle)
constant maxBlockTypeSymbols (line 24) | maxBlockTypeSymbols = (maxNumberOfBlockTypes + 2)
constant repeatPreviousCodeLength (line 27) | repeatPreviousCodeLength = 16
constant repeatZeroCodeLength (line 29) | repeatZeroCodeLength = 17
constant codeLengthCodes (line 31) | codeLengthCodes = (repeatZeroCodeLength + 1)
constant initialRepeatedCodeLength (line 34) | initialRepeatedCodeLength = 8
constant largeMaxDistanceBits (line 37) | largeMaxDistanceBits = 62
constant largeMinWbits (line 39) | largeMinWbits = 10
constant largeMaxWbits (line 41) | largeMaxWbits = 30
constant numDistanceShortCodes (line 44) | numDistanceShortCodes = 16
constant maxNpostfix (line 46) | maxNpostfix = 3
constant maxNdirect (line 48) | maxNdirect = 120
constant maxDistanceBits (line 50) | maxDistanceBits = 24
function distanceAlphabetSize (line 52) | func distanceAlphabetSize(NPOSTFIX uint, NDIRECT uint, MAXNBITS uint) ui...
constant numDistanceSymbols (line 57) | numDistanceSymbols = 1128
constant maxDistance (line 59) | maxDistance = 0x3FFFFFC
constant maxAllowedDistance (line 61) | maxAllowedDistance = 0x7FFFFFFC
constant literalContextBits (line 65) | literalContextBits = 6
constant distanceContextBits (line 68) | distanceContextBits = 2
constant windowGap (line 73) | windowGap = 16
function maxBackwardLimit (line 75) | func maxBackwardLimit(W uint) uint {
FILE: vendor/github.com/andybalholm/brotli/context.go
constant contextLSB6 (line 85) | contextLSB6 = 0
constant contextMSB6 (line 86) | contextMSB6 = 1
constant contextUTF8 (line 87) | contextUTF8 = 2
constant contextSigned (line 88) | contextSigned = 3
type contextLUT (line 2168) | type contextLUT
function getContextLUT (line 2170) | func getContextLUT(mode int) contextLUT {
function getContext (line 2174) | func getContext(p1 byte, p2 byte, lut contextLUT) byte {
FILE: vendor/github.com/andybalholm/brotli/decode.go
constant decoderResultError (line 10) | decoderResultError = 0
constant decoderResultSuccess (line 11) | decoderResultSuccess = 1
constant decoderResultNeedsMoreInput (line 12) | decoderResultNeedsMoreInput = 2
constant decoderResultNeedsMoreOutput (line 13) | decoderResultNeedsMoreOutput = 3
constant decoderNoError (line 22) | decoderNoError = 0
constant decoderSuccess (line 23) | decoderSuccess = 1
constant decoderNeedsMoreInput (line 24) | decoderNeedsMoreInput = 2
constant decoderNeedsMoreOutput (line 25) | decoderNeedsMoreOutput = 3
constant decoderErrorFormatExuberantNibble (line 26) | decoderErrorFormatExuberantNibble = -1
constant decoderErrorFormatReserved (line 27) | decoderErrorFormatReserved = -2
constant decoderErrorFormatExuberantMetaNibble (line 28) | decoderErrorFormatExuberantMetaNibble = -3
constant decoderErrorFormatSimpleHuffmanAlphabet (line 29) | decoderErrorFormatSimpleHuffmanAlphabet = -4
constant decoderErrorFormatSimpleHuffmanSame (line 30) | decoderErrorFormatSimpleHuffmanSame = -5
constant decoderErrorFormatClSpace (line 31) | decoderErrorFormatClSpace = -6
constant decoderErrorFormatHuffmanSpace (line 32) | decoderErrorFormatHuffmanSpace = -7
constant decoderErrorFormatContextMapRepeat (line 33) | decoderErrorFormatContextMapRepeat = -8
constant decoderErrorFormatBlockLength1 (line 34) | decoderErrorFormatBlockLength1 = -9
constant decoderErrorFormatBlockLength2 (line 35) | decoderErrorFormatBlockLength2 = -10
constant decoderErrorFormatTransform (line 36) | decoderErrorFormatTransform = -11
constant decoderErrorFormatDictionary (line 37) | decoderErrorFormatDictionary = -12
constant decoderErrorFormatWindowBits (line 38) | decoderErrorFormatWindowBits = -13
constant decoderErrorFormatPadding1 (line 39) | decoderErrorFormatPadding1 = -14
constant decoderErrorFormatPadding2 (line 40) | decoderErrorFormatPadding2 = -15
constant decoderErrorFormatDistance (line 41) | decoderErrorFormatDistance = -16
constant decoderErrorDictionaryNotSet (line 42) | decoderErrorDictionaryNotSet = -19
constant decoderErrorInvalidArguments (line 43) | decoderErrorInvalidArguments = -20
constant decoderErrorAllocContextModes (line 44) | decoderErrorAllocContextModes = -21
constant decoderErrorAllocTreeGroups (line 45) | decoderErrorAllocTreeGroups = -22
constant decoderErrorAllocContextMap (line 46) | decoderErrorAllocContextMap = -25
constant decoderErrorAllocRingBuffer1 (line 47) | decoderErrorAllocRingBuffer1 = -26
constant decoderErrorAllocRingBuffer2 (line 48) | decoderErrorAllocRingBuffer2 = -27
constant decoderErrorAllocBlockTypeTrees (line 49) | decoderErrorAllocBlockTypeTrees = -30
constant decoderErrorUnreachable (line 50) | decoderErrorUnreachable = -31
constant huffmanTableBits (line 53) | huffmanTableBits = 8
constant huffmanTableMask (line 55) | huffmanTableMask = 0xFF
constant kRingBufferWriteAheadSlack (line 60) | kRingBufferWriteAheadSlack uint32 = 42
function saveErrorCode (line 70) | func saveErrorCode(s *Reader, e int) int {
function decodeWindowBits (line 89) | func decodeWindowBits(s *Reader, br *bitReader) int {
function decodeVarLenUint8 (line 130) | func decodeVarLenUint8(s *Reader, br *bitReader, value *uint32) int {
function decodeMetaBlockLength (line 178) | func decodeMetaBlockLength(s *Reader, br *bitReader) int {
function decodeSymbol (line 331) | func decodeSymbol(bits uint32, table []huffmanCode, br *bitReader) uint32 {
function readSymbol (line 345) | func readSymbol(table []huffmanCode, br *bitReader) uint32 {
function safeDecodeSymbol (line 351) | func safeDecodeSymbol(table []huffmanCode, br *bitReader, result *uint32...
function safeReadSymbol (line 393) | func safeReadSymbol(table []huffmanCode, br *bitReader, result *uint32) ...
function preloadSymbol (line 404) | func preloadSymbol(safe int, table []huffmanCode, br *bitReader, bits *u...
function readPreloadedSymbol (line 416) | func readPreloadedSymbol(table []huffmanCode, br *bitReader, bits *uint3...
function log2Floor (line 435) | func log2Floor(x uint32) uint32 {
function readSimpleHuffmanSymbols (line 448) | func readSimpleHuffmanSymbols(alphabet_size uint32, max_symbol uint32, s...
function processSingleCodeLength (line 489) | func processSingleCodeLength(code_len uint32, symbol *uint32, repeat *ui...
function processRepeatedCodeLength (line 512) | func processRepeatedCodeLength(code_len uint32, repeat_delta uint32, alp...
function readSymbolCodeLengths (line 561) | func readSymbolCodeLengths(alphabet_size uint32, s *Reader) int {
function safeReadSymbolCodeLengths (line 610) | func safeReadSymbolCodeLengths(alphabet_size uint32, s *Reader) int {
function readCodeLengthCodeLengths (line 656) | func readCodeLengthCodeLengths(s *Reader) int {
function readHuffmanCode (line 714) | func readHuffmanCode(alphabet_size uint32, max_symbol uint32, table []hu...
function readBlockLength (line 845) | func readBlockLength(table []huffmanCode, br *bitReader) uint32 {
function safeReadBlockLength (line 855) | func safeReadBlockLength(s *Reader, result *uint32, table []huffmanCode,...
function inverseMoveToFrontTransform (line 893) | func inverseMoveToFrontTransform(v []byte, v_len uint32, state *Reader) {
function huffmanTreeGroupDecode (line 917) | func huffmanTreeGroupDecode(group *huffmanTreeGroup, s *Reader) int {
function decodeContextMap (line 947) | func decodeContextMap(context_map_size uint32, num_htrees *uint32, conte...
function decodeBlockTypeAndLength (line 1089) | func decodeBlockTypeAndLength(safe int, s *Reader, tree_type int) bool {
function detectTrivialLiteralBlockTypes (line 1134) | func detectTrivialLiteralBlockTypes(s *Reader) {
function prepareLiteralDecoding (line 1158) | func prepareLiteralDecoding(s *Reader) {
function decodeLiteralBlockSwitchInternal (line 1173) | func decodeLiteralBlockSwitchInternal(safe int, s *Reader) bool {
function decodeLiteralBlockSwitch (line 1182) | func decodeLiteralBlockSwitch(s *Reader) {
function safeDecodeLiteralBlockSwitch (line 1186) | func safeDecodeLiteralBlockSwitch(s *Reader) bool {
function decodeCommandBlockSwitchInternal (line 1192) | func decodeCommandBlockSwitchInternal(safe int, s *Reader) bool {
function decodeCommandBlockSwitch (line 1201) | func decodeCommandBlockSwitch(s *Reader) {
function safeDecodeCommandBlockSwitch (line 1205) | func safeDecodeCommandBlockSwitch(s *Reader) bool {
function decodeDistanceBlockSwitchInternal (line 1211) | func decodeDistanceBlockSwitchInternal(safe int, s *Reader) bool {
function decodeDistanceBlockSwitch (line 1221) | func decodeDistanceBlockSwitch(s *Reader) {
function safeDecodeDistanceBlockSwitch (line 1225) | func safeDecodeDistanceBlockSwitch(s *Reader) bool {
function unwrittenBytes (line 1229) | func unwrittenBytes(s *Reader, wrap bool) uint {
function writeRingBuffer (line 1243) | func writeRingBuffer(s *Reader, available_out *uint, next_out *[]byte, t...
function wrapRingBuffer (line 1292) | func wrapRingBuffer(s *Reader) {
function ensureRingBuffer (line 1306) | func ensureRingBuffer(s *Reader) bool {
function copyUncompressedBlockToOutput (line 1331) | func copyUncompressedBlockToOutput(available_out *uint, next_out *[]byte...
function calculateRingBufferSize (line 1392) | func calculateRingBufferSize(s *Reader) {
function readContextModes (line 1439) | func readContextModes(s *Reader) int {
function takeDistanceFromRingBuffer (line 1457) | func takeDistanceFromRingBuffer(s *Reader) {
function safeReadBitsMaybeZero (line 1490) | func safeReadBitsMaybeZero(br *bitReader, n_bits uint32, val *uint32) bo...
function readDistanceInternal (line 1500) | func readDistanceInternal(safe int, s *Reader, br *bitReader) bool {
function readDistance (line 1561) | func readDistance(s *Reader, br *bitReader) {
function safeReadDistance (line 1565) | func safeReadDistance(s *Reader, br *bitReader) bool {
function readCommandInternal (line 1569) | func readCommandInternal(safe int, s *Reader, br *bitReader, insert_leng...
function readCommand (line 1608) | func readCommand(s *Reader, br *bitReader, insert_length *int) {
function safeReadCommand (line 1612) | func safeReadCommand(s *Reader, br *bitReader, insert_length *int) bool {
function checkInputAmountMaybeSafe (line 1616) | func checkInputAmountMaybeSafe(safe int, br *bitReader, num uint) bool {
function processCommandsInternal (line 1624) | func processCommandsInternal(safe int, s *Reader) int {
function processCommands (line 1989) | func processCommands(s *Reader) int {
function safeProcessCommands (line 1993) | func safeProcessCommands(s *Reader) int {
function maxDistanceSymbol (line 2003) | func maxDistanceSymbol(ndirect uint32, npostfix uint32) uint32 {
function decoderDecompressStream (line 2025) | func decoderDecompressStream(s *Reader, available_in *uint, next_in *[]b...
function decoderHasMoreOutput (line 2505) | func decoderHasMoreOutput(s *Reader) bool {
function decoderGetErrorCode (line 2514) | func decoderGetErrorCode(s *Reader) int {
function decoderErrorString (line 2518) | func decoderErrorString(c int) string {
FILE: vendor/github.com/andybalholm/brotli/dictionary.go
type dictionary (line 10) | type dictionary struct
constant minDictionaryWordLength (line 17) | minDictionaryWordLength = 4
constant maxDictionaryWordLength (line 19) | maxDictionaryWordLength = 24
function getDictionary (line 122888) | func getDictionary() *dictionary {
FILE: vendor/github.com/andybalholm/brotli/encode.go
constant minWindowBits (line 15) | minWindowBits = 10
constant maxWindowBits (line 22) | maxWindowBits = 24
constant largeMaxWindowBits (line 28) | largeMaxWindowBits = 30
constant minInputBlockBits (line 31) | minInputBlockBits = 16
constant maxInputBlockBits (line 34) | maxInputBlockBits = 24
constant minQuality (line 37) | minQuality = 0
constant maxQuality (line 40) | maxQuality = 11
constant modeGeneric (line 44) | modeGeneric = 0
constant modeText (line 45) | modeText = 1
constant modeFont (line 46) | modeFont = 2
constant defaultQuality (line 50) | defaultQuality = 11
constant defaultWindow (line 53) | defaultWindow = 22
constant defaultMode (line 56) | defaultMode = modeGeneric
constant operationProcess (line 60) | operationProcess = 0
constant operationFlush (line 61) | operationFlush = 1
constant operationFinish (line 62) | operationFinish = 2
constant operationEmitMetadata (line 63) | operationEmitMetadata = 3
constant streamProcessing (line 67) | streamProcessing = 0
constant streamFlushRequested (line 68) | streamFlushRequested = 1
constant streamFinished (line 69) | streamFinished = 2
constant streamMetadataHead (line 70) | streamMetadataHead = 3
constant streamMetadataBody (line 71) | streamMetadataBody = 4
type Writer (line 74) | type Writer struct
method getStorage (line 144) | func (s *Writer) getStorage(size int) []byte {
method writeOutput (line 1211) | func (w *Writer) writeOutput(data []byte) {
function inputBlockSize (line 114) | func inputBlockSize(s *Writer) uint {
function unprocessedInputSize (line 118) | func unprocessedInputSize(s *Writer) uint64 {
function remainingInputBlockSize (line 122) | func remainingInputBlockSize(s *Writer) uint {
function wrapPosition (line 133) | func wrapPosition(position uint64) uint32 {
function hashTableSize (line 152) | func hashTableSize(max_table_size uint, input_size uint) uint {
function getHashTable (line 161) | func getHashTable(s *Writer, quality int, input_size uint, table_size *u...
function encodeWindowBits (line 197) | func encodeWindowBits(lgwin int, large_window bool, last_bytes *uint16, ...
function chooseContextMap (line 239) | func chooseContextMap(quality int, bigram_histo []uint32, num_literal_co...
function shouldUseComplexStaticContextMap (line 306) | func shouldUseComplexStaticContextMap(input []byte, start_pos uint, leng...
function decideOverLiteralContextModeling (line 368) | func decideOverLiteralContextModeling(input []byte, start_pos uint, leng...
function shouldCompress_encode (line 396) | func shouldCompress_encode(data []byte, mask uint, last_flush_pos uint64...
function chooseContextMode (line 425) | func chooseContextMode(params *encoderParams, data []byte, pos uint, mas...
function writeMetaBlockInternal (line 435) | func writeMetaBlockInternal(data []byte, mask uint, last_flush_pos uint6...
function chooseDistanceParams (line 507) | func chooseDistanceParams(params *encoderParams) {
function ensureInitialized (line 531) | func ensureInitialized(s *Writer) bool {
function encoderInitParams (line 595) | func encoderInitParams(params *encoderParams) {
function encoderInitState (line 610) | func encoderInitState(s *Writer) {
function copyInputToRingBuffer (line 649) | func copyInputToRingBuffer(s *Writer, input_size uint, input_buffer []by...
function updateLastProcessedPos (line 704) | func updateLastProcessedPos(s *Writer) bool {
function extendLastCommand (line 711) | func extendLastCommand(s *Writer, bytes *uint32, wrapped_last_processed_...
function encodeData (line 751) | func encodeData(s *Writer, is_last bool, force_flush bool) bool {
function writeMetadataHeader (line 922) | func writeMetadataHeader(s *Writer, block_size uint, header []byte) uint {
function injectBytePaddingBlock (line 949) | func injectBytePaddingBlock(s *Writer) {
function checkFlushComplete (line 972) | func checkFlushComplete(s *Writer) {
function encoderCompressStreamFast (line 978) | func encoderCompressStreamFast(s *Writer, op int, available_in *uint, ne...
function processMetadata (line 1060) | func processMetadata(s *Writer, available_in *uint, next_in *[]byte) bool {
function updateSizeHint (line 1118) | func updateSizeHint(s *Writer, available_in uint) {
function encoderCompressStream (line 1134) | func encoderCompressStream(s *Writer, op int, available_in *uint, next_i...
FILE: vendor/github.com/andybalholm/brotli/encoder.go
type Encoder (line 6) | type Encoder struct
method Reset (line 12) | func (e *Encoder) Reset() {
method Encode (line 17) | func (e *Encoder) Encode(dst []byte, src []byte, matches []matchfinder...
type distanceCode (line 163) | type distanceCode struct
function getDistanceCode (line 169) | func getDistanceCode(distance int) distanceCode {
FILE: vendor/github.com/andybalholm/brotli/encoder_dict.go
type encoderDictionary (line 4) | type encoderDictionary struct
function initEncoderDictionary (line 13) | func initEncoderDictionary(dict *encoderDictionary) {
FILE: vendor/github.com/andybalholm/brotli/entropy_encode.go
type huffmanTree (line 14) | type huffmanTree struct
function initHuffmanTree (line 20) | func initHuffmanTree(self *huffmanTree, count uint32, left int16, right ...
type huffmanTreeComparator (line 27) | type huffmanTreeComparator
function sortHuffmanTreeItems (line 31) | func sortHuffmanTreeItems(items []huffmanTree, n uint, comparator huffma...
function setDepth (line 76) | func setDepth(p0 int, pool []huffmanTree, depth []byte, max_depth int) b...
function sortHuffmanTree (line 107) | func sortHuffmanTree(v0 huffmanTree, v1 huffmanTree) bool {
function createHuffmanTree (line 130) | func createHuffmanTree(data []uint32, length uint, tree_limit int, tree ...
function reverse (line 211) | func reverse(v []byte, start uint, end uint) {
function writeHuffmanTreeRepetitions (line 222) | func writeHuffmanTreeRepetitions(previous_value byte, value byte, repeti...
function writeHuffmanTreeRepetitionsZeros (line 265) | func writeHuffmanTreeRepetitionsZeros(repetitions uint, tree_size *uint,...
function optimizeHuffmanCountsForRLE (line 307) | func optimizeHuffmanCountsForRLE(length uint, counts []uint32, good_for_...
function decideOverRLEUse (line 453) | func decideOverRLEUse(depth []byte, length uint, use_rle_for_non_zero *b...
function writeHuffmanTree (line 487) | func writeHuffmanTree(depth []byte, length uint, tree_size *uint, tree [...
function reverseBits (line 550) | func reverseBits(num_bits uint, bits uint16) uint16 {
constant maxHuffmanBits (line 564) | maxHuffmanBits = 16
function convertBitDepthsToSymbols (line 567) | func convertBitDepthsToSymbols(depth []byte, len uint, bits []uint16) {
FILE: vendor/github.com/andybalholm/brotli/entropy_encode_static.go
function storeStaticCodeLengthCode (line 781) | func storeStaticCodeLengthCode(storage_ix *uint, storage []byte) {
function storeStaticCodeLengthCodeBW (line 785) | func storeStaticCodeLengthCodeBW(bw *bitWriter) {
function storeStaticCommandHuffmanTree (line 4325) | func storeStaticCommandHuffmanTree(storage_ix *uint, storage []byte) {
function storeStaticDistanceHuffmanTree (line 4397) | func storeStaticDistanceHuffmanTree(storage_ix *uint, storage []byte) {
FILE: vendor/github.com/andybalholm/brotli/fast_log.go
function log2FloorNonZero (line 16) | func log2FloorNonZero(n uint) uint32 {
function fastLog2 (line 284) | func fastLog2(v uint) float64 {
FILE: vendor/github.com/andybalholm/brotli/find_match_length.go
function findMatchLengthWithLimit (line 16) | func findMatchLengthWithLimit(s1 []byte, s2 []byte, limit uint) uint {
FILE: vendor/github.com/andybalholm/brotli/h10.go
function hashBytesH10 (line 19) | func hashBytesH10(data []byte) uint32 {
type h10 (line 33) | type h10 struct
method HashTypeLength (line 11) | func (*h10) HashTypeLength() uint {
method StoreLookahead (line 15) | func (*h10) StoreLookahead() uint {
method Initialize (line 41) | func (h *h10) Initialize(params *encoderParams) {
method Prepare (line 48) | func (h *h10) Prepare(one_shot bool, input_size uint, data []byte) {
method Store (line 230) | func (h *h10) Store(data []byte, mask uint, ix uint) {
method StoreRange (line 236) | func (h *h10) StoreRange(data []byte, mask uint, ix_start uint, ix_end...
method StitchToPreviousBlock (line 254) | func (h *h10) StitchToPreviousBlock(num_bytes uint, position uint, rin...
method FindLongestMatch (line 281) | func (*h10) FindLongestMatch(dictionary *encoderDictionary, data []byt...
method PrepareDistanceCache (line 285) | func (*h10) PrepareDistanceCache(distance_cache []int) {
function leftChildIndexH10 (line 56) | func leftChildIndexH10(self *h10, pos uint) uint {
function rightChildIndexH10 (line 60) | func rightChildIndexH10(self *h10, pos uint) uint {
function storeAndFindMatchesH10 (line 74) | func storeAndFindMatchesH10(self *h10, data []byte, cur_ix uint, ring_bu...
function findAllMatchesH10 (line 162) | func findAllMatchesH10(handle *h10, dictionary *encoderDictionary, data ...
constant maxNumMatchesH10 (line 279) | maxNumMatchesH10 = 128
FILE: vendor/github.com/andybalholm/brotli/h5.go
function hashBytesH5 (line 26) | func hashBytesH5(data []byte, shift int) uint32 {
type h5 (line 34) | type h5 struct
method HashTypeLength (line 17) | func (*h5) HashTypeLength() uint {
method StoreLookahead (line 21) | func (*h5) StoreLookahead() uint {
method Initialize (line 44) | func (h *h5) Initialize(params *encoderParams) {
method Prepare (line 53) | func (h *h5) Prepare(one_shot bool, input_size uint, data []byte) {
method Store (line 72) | func (h *h5) Store(data []byte, mask uint, ix uint) {
method StoreRange (line 81) | func (h *h5) StoreRange(data []byte, mask uint, ix_start uint, ix_end ...
method StitchToPreviousBlock (line 88) | func (h *h5) StitchToPreviousBlock(num_bytes uint, position uint, ring...
method PrepareDistanceCache (line 99) | func (h *h5) PrepareDistanceCache(distance_cache []int) {
method FindLongestMatch (line 114) | func (h *h5) FindLongestMatch(dictionary *encoderDictionary, data []by...
FILE: vendor/github.com/andybalholm/brotli/h6.go
function hashBytesH6 (line 26) | func hashBytesH6(data []byte, mask uint64, shift int) uint32 {
type h6 (line 34) | type h6 struct
method HashTypeLength (line 17) | func (*h6) HashTypeLength() uint {
method StoreLookahead (line 21) | func (*h6) StoreLookahead() uint {
method Initialize (line 45) | func (h *h6) Initialize(params *encoderParams) {
method Prepare (line 55) | func (h *h6) Prepare(one_shot bool, input_size uint, data []byte) {
method Store (line 74) | func (h *h6) Store(data []byte, mask uint, ix uint) {
method StoreRange (line 83) | func (h *h6) StoreRange(data []byte, mask uint, ix_start uint, ix_end ...
method StitchToPreviousBlock (line 90) | func (h *h6) StitchToPreviousBlock(num_bytes uint, position uint, ring...
method PrepareDistanceCache (line 101) | func (h *h6) PrepareDistanceCache(distance_cache []int) {
method FindLongestMatch (line 116) | func (h *h6) FindLongestMatch(dictionary *encoderDictionary, data []by...
FILE: vendor/github.com/andybalholm/brotli/hash.go
type hasherCommon (line 8) | type hasherCommon struct
method Common (line 15) | func (h *hasherCommon) Common() *hasherCommon {
type hasherHandle (line 19) | type hasherHandle interface
constant kCutoffTransformsCount (line 32) | kCutoffTransformsCount uint32 = 10
constant kCutoffTransforms (line 36) | kCutoffTransforms uint64 = 0x071B520ADA2D3200
type hasherSearchResult (line 38) | type hasherSearchResult struct
constant kHashMul32 (line 51) | kHashMul32 uint32 = 0x1E35A7BD
constant kHashMul64 (line 53) | kHashMul64 uint64 = 0x1E35A7BD1E35A7BD
constant kHashMul64Long (line 55) | kHashMul64Long uint64 = 0x1FE35A7BD3579BD3
function hash14 (line 57) | func hash14(data []byte) uint32 {
function prepareDistanceCache (line 65) | func prepareDistanceCache(distance_cache []int, num_distances int) {
constant literalByteScore (line 86) | literalByteScore = 135
constant distanceBitPenalty (line 88) | distanceBitPenalty = 30
constant scoreBase (line 91) | scoreBase = (distanceBitPenalty * 8 * 8)
function backwardReferenceScore (line 109) | func backwardReferenceScore(copy_length uint, backward_reference_offset ...
function backwardReferenceScoreUsingLastDistance (line 113) | func backwardReferenceScoreUsingLastDistance(copy_length uint) uint {
function backwardReferencePenaltyUsingLastDistance (line 117) | func backwardReferencePenaltyUsingLastDistance(distance_short_code uint)...
function testStaticDictionaryItem (line 121) | func testStaticDictionaryItem(dictionary *encoderDictionary, item uint, ...
function searchInStaticDictionary (line 161) | func searchInStaticDictionary(dictionary *encoderDictionary, handle hash...
type backwardMatch (line 191) | type backwardMatch struct
function initBackwardMatch (line 196) | func initBackwardMatch(self *backwardMatch, dist uint, len uint) {
function initDictionaryBackwardMatch (line 201) | func initDictionaryBackwardMatch(self *backwardMatch, dist uint, len uin...
function backwardMatchLength (line 212) | func backwardMatchLength(self *backwardMatch) uint {
function backwardMatchLengthCode (line 216) | func backwardMatchLengthCode(self *backwardMatch) uint {
function hasherReset (line 225) | func hasherReset(handle hasherHandle) {
function newHasher (line 232) | func newHasher(typ int) hasherHandle {
function hasherSetup (line 309) | func hasherSetup(handle *hasherHandle, params *encoderParams, data []byt...
function initOrStitchToPreviousBlock (line 337) | func initOrStitchToPreviousBlock(handle *hasherHandle, data []byte, mask...
FILE: vendor/github.com/andybalholm/brotli/hash_composite.go
type hashComposite (line 31) | type hashComposite struct
method HashTypeLength (line 9) | func (h *hashComposite) HashTypeLength() uint {
method StoreLookahead (line 19) | func (h *hashComposite) StoreLookahead() uint {
method Initialize (line 38) | func (h *hashComposite) Initialize(params *encoderParams) {
method Prepare (line 46) | func (h *hashComposite) Prepare(one_shot bool, input_size uint, data [...
method Store (line 70) | func (h *hashComposite) Store(data []byte, mask uint, ix uint) {
method StoreRange (line 75) | func (h *hashComposite) StoreRange(data []byte, mask uint, ix_start ui...
method StitchToPreviousBlock (line 80) | func (h *hashComposite) StitchToPreviousBlock(num_bytes uint, position...
method PrepareDistanceCache (line 85) | func (h *hashComposite) PrepareDistanceCache(distance_cache []int) {
method FindLongestMatch (line 90) | func (h *hashComposite) FindLongestMatch(dictionary *encoderDictionary...
FILE: vendor/github.com/andybalholm/brotli/hash_forgetful_chain.go
type slot (line 28) | type slot struct
type hashForgetfulChain (line 39) | type hashForgetfulChain struct
method HashTypeLength (line 11) | func (*hashForgetfulChain) HashTypeLength() uint {
method StoreLookahead (line 15) | func (*hashForgetfulChain) StoreLookahead() uint {
method HashBytes (line 20) | func (h *hashForgetfulChain) HashBytes(data []byte) uint {
method Initialize (line 55) | func (h *hashForgetfulChain) Initialize(params *encoderParams) {
method Prepare (line 76) | func (h *hashForgetfulChain) Prepare(one_shot bool, input_size uint, d...
method Store (line 110) | func (h *hashForgetfulChain) Store(data []byte, mask uint, ix uint) {
method StoreRange (line 126) | func (h *hashForgetfulChain) StoreRange(data []byte, mask uint, ix_sta...
method StitchToPreviousBlock (line 133) | func (h *hashForgetfulChain) StitchToPreviousBlock(num_bytes uint, pos...
method PrepareDistanceCache (line 144) | func (h *hashForgetfulChain) PrepareDistanceCache(distance_cache []int) {
method FindLongestMatch (line 159) | func (h *hashForgetfulChain) FindLongestMatch(dictionary *encoderDicti...
FILE: vendor/github.com/andybalholm/brotli/hash_longest_match_quickly.go
type hashLongestMatchQuickly (line 39) | type hashLongestMatchQuickly struct
method HashTypeLength (line 15) | func (*hashLongestMatchQuickly) HashTypeLength() uint {
method StoreLookahead (line 19) | func (*hashLongestMatchQuickly) StoreLookahead() uint {
method HashBytes (line 26) | func (h *hashLongestMatchQuickly) HashBytes(data []byte) uint32 {
method Initialize (line 50) | func (h *hashLongestMatchQuickly) Initialize(params *encoderParams) {
method Prepare (line 54) | func (h *hashLongestMatchQuickly) Prepare(one_shot bool, input_size ui...
method Store (line 79) | func (h *hashLongestMatchQuickly) Store(data []byte, mask uint, ix uin...
method StoreRange (line 86) | func (h *hashLongestMatchQuickly) StoreRange(data []byte, mask uint, i...
method StitchToPreviousBlock (line 93) | func (h *hashLongestMatchQuickly) StitchToPreviousBlock(num_bytes uint...
method PrepareDistanceCache (line 104) | func (*hashLongestMatchQuickly) PrepareDistanceCache(distance_cache []...
method FindLongestMatch (line 115) | func (h *hashLongestMatchQuickly) FindLongestMatch(dictionary *encoder...
FILE: vendor/github.com/andybalholm/brotli/hash_rolling.go
constant kRollingHashMul32 (line 12) | kRollingHashMul32 uint32 = 69069
constant kInvalidPosHashRolling (line 14) | kInvalidPosHashRolling uint32 = 0xffffffff
type hashRolling (line 43) | type hashRolling struct
method HashTypeLength (line 19) | func (*hashRolling) HashTypeLength() uint {
method StoreLookahead (line 23) | func (*hashRolling) StoreLookahead() uint {
method HashByte (line 29) | func (*hashRolling) HashByte(b byte) uint32 {
method HashRollingFunctionInitial (line 33) | func (h *hashRolling) HashRollingFunctionInitial(state uint32, add byt...
method HashRollingFunction (line 37) | func (h *hashRolling) HashRollingFunction(state uint32, add byte, rem ...
method Initialize (line 55) | func (h *hashRolling) Initialize(params *encoderParams) {
method Prepare (line 75) | func (h *hashRolling) Prepare(one_shot bool, input_size uint, data []b...
method Store (line 86) | func (*hashRolling) Store(data []byte, mask uint, ix uint) {
method StoreRange (line 89) | func (*hashRolling) StoreRange(data []byte, mask uint, ix_start uint, ...
method StitchToPreviousBlock (line 92) | func (h *hashRolling) StitchToPreviousBlock(num_bytes uint, position u...
method PrepareDistanceCache (line 119) | func (*hashRolling) PrepareDistanceCache(distance_cache []int) {
method FindLongestMatch (line 122) | func (h *hashRolling) FindLongestMatch(dictionary *encoderDictionary, ...
FILE: vendor/github.com/andybalholm/brotli/histogram.go
constant numHistogramDistanceSymbols (line 6) | numHistogramDistanceSymbols = 544
type histogramLiteral (line 8) | type histogramLiteral struct
function histogramClearLiteral (line 14) | func histogramClearLiteral(self *histogramLiteral) {
function clearHistogramsLiteral (line 20) | func clearHistogramsLiteral(array []histogramLiteral, length uint) {
function histogramAddLiteral (line 27) | func histogramAddLiteral(self *histogramLiteral, val uint) {
function histogramAddVectorLiteral (line 32) | func histogramAddVectorLiteral(self *histogramLiteral, p []byte, n uint) {
function histogramAddHistogramLiteral (line 45) | func histogramAddHistogramLiteral(self *histogramLiteral, v *histogramLi...
function histogramDataSizeLiteral (line 53) | func histogramDataSizeLiteral() uint {
type histogramCommand (line 57) | type histogramCommand struct
function histogramClearCommand (line 63) | func histogramClearCommand(self *histogramCommand) {
function clearHistogramsCommand (line 69) | func clearHistogramsCommand(array []histogramCommand, length uint) {
function histogramAddCommand (line 76) | func histogramAddCommand(self *histogramCommand, val uint) {
function histogramAddVectorCommand (line 81) | func histogramAddVectorCommand(self *histogramCommand, p []uint16, n uin...
function histogramAddHistogramCommand (line 94) | func histogramAddHistogramCommand(self *histogramCommand, v *histogramCo...
function histogramDataSizeCommand (line 102) | func histogramDataSizeCommand() uint {
type histogramDistance (line 106) | type histogramDistance struct
function histogramClearDistance (line 112) | func histogramClearDistance(self *histogramDistance) {
function clearHistogramsDistance (line 118) | func clearHistogramsDistance(array []histogramDistance, length uint) {
function histogramAddDistance (line 125) | func histogramAddDistance(self *histogramDistance, val uint) {
function histogramAddVectorDistance (line 130) | func histogramAddVectorDistance(self *histogramDistance, p []uint16, n u...
function histogramAddHistogramDistance (line 143) | func histogramAddHistogramDistance(self *histogramDistance, v *histogram...
function histogramDataSizeDistance (line 151) | func histogramDataSizeDistance() uint {
type blockSplitIterator (line 155) | type blockSplitIterator struct
function initBlockSplitIterator (line 162) | func initBlockSplitIterator(self *blockSplitIterator, split *blockSplit) {
function blockSplitIteratorNext (line 173) | func blockSplitIteratorNext(self *blockSplitIterator) {
function buildHistogramsWithContext (line 183) | func buildHistogramsWithContext(cmds []command, literal_split *blockSpli...
FILE: vendor/github.com/andybalholm/brotli/http.go
function HTTPCompressor (line 14) | func HTTPCompressor(w http.ResponseWriter, r *http.Request) io.WriteClos...
function negotiateContentEncoding (line 35) | func negotiateContentEncoding(r *http.Request, offers []string) string {
type acceptSpec (line 55) | type acceptSpec struct
function parseAccept (line 61) | func parseAccept(header http.Header, key string) (specs []acceptSpec) {
function skipSpace (line 93) | func skipSpace(s string) (rest string) {
function expectTokenSlash (line 103) | func expectTokenSlash(s string) (token, rest string) {
function expectQuality (line 114) | func expectQuality(s string) (q float64, rest string) {
type octetType (line 147) | type octetType
constant isToken (line 150) | isToken octetType = 1 << iota
constant isSpace (line 151) | isSpace
function init (line 154) | func init() {
FILE: vendor/github.com/andybalholm/brotli/huffman.go
constant huffmanMaxCodeLength (line 11) | huffmanMaxCodeLength = 15
constant huffmanMaxSize26 (line 56) | huffmanMaxSize26 = 396
constant huffmanMaxSize258 (line 59) | huffmanMaxSize258 = 632
constant huffmanMaxSize272 (line 62) | huffmanMaxSize272 = 646
constant huffmanMaxCodeLengthCodeLength (line 64) | huffmanMaxCodeLengthCodeLength = 5
type huffmanCode (line 68) | type huffmanCode struct
function constructHuffmanCode (line 73) | func constructHuffmanCode(bits byte, value uint16) huffmanCode {
type huffmanTreeGroup (line 93) | type huffmanTreeGroup struct
constant reverseBitsMax (line 101) | reverseBitsMax = 8
constant reverseBitsBase (line 103) | reverseBitsBase = 0
constant reverseBitsLowest (line 364) | reverseBitsLowest = (uint64(1) << (reverseBitsMax - 1 + reverseBitsBase))
function reverseBits8 (line 369) | func reverseBits8(num uint64) uint64 {
function replicateValue (line 375) | func replicateValue(table []huffmanCode, step int, end int, code huffman...
function nextTableBitSize (line 388) | func nextTableBitSize(count []uint16, len int, root_bits int) int {
function buildCodeLengthsHuffmanTable (line 402) | func buildCodeLengthsHuffmanTable(table []huffmanCode, code_lengths []by...
function buildHuffmanTable (line 481) | func buildHuffmanTable(root_table []huffmanCode, root_bits int, symbol_l...
function buildSimpleHuffmanTable (line 579) | func buildSimpleHuffmanTable(table []huffmanCode, root_bits int, val []u...
FILE: vendor/github.com/andybalholm/brotli/literal_cost.go
function utf8Position (line 3) | func utf8Position(last uint, c uint, clamp uint) uint {
function decideMultiByteStatsLevel (line 18) | func decideMultiByteStatsLevel(pos uint, len uint, mask uint, data []byt...
function estimateBitCostsForLiteralsUTF8 (line 40) | func estimateBitCostsForLiteralsUTF8(pos uint, len uint, mask uint, data...
function estimateBitCostsForLiterals (line 135) | func estimateBitCostsForLiterals(pos uint, len uint, mask uint, data []b...
FILE: vendor/github.com/andybalholm/brotli/matchfinder/emitter.go
type absoluteMatch (line 5) | type absoluteMatch struct
type matchEmitter (line 19) | type matchEmitter struct
method emit (line 27) | func (e *matchEmitter) emit(m absoluteMatch) {
FILE: vendor/github.com/andybalholm/brotli/matchfinder/m0.go
type M0 (line 12) | type M0 struct
method Reset (line 20) | func (M0) Reset() {}
method hash (line 33) | func (m M0) hash(data uint64) uint64 {
method FindMatches (line 40) | func (m M0) FindMatches(dst []Match, src []byte) []Match {
constant m0HashLen (line 23) | m0HashLen = 5
constant m0TableBits (line 25) | m0TableBits = 14
constant m0TableSize (line 26) | m0TableSize = 1 << m0TableBits
constant m0Shift (line 27) | m0Shift = 32 - m0TableBits
constant m0TableMask (line 30) | m0TableMask = m0TableSize - 1
FILE: vendor/github.com/andybalholm/brotli/matchfinder/m4.go
type M4 (line 15) | type M4 struct
method Reset (line 51) | func (q *M4) Reset() {
method score (line 59) | func (q *M4) score(m absoluteMatch) int {
method FindMatches (line 63) | func (q *M4) FindMatches(dst []Match, src []byte) []Match {
constant hashMul64 (line 284) | hashMul64 = 0x1E35A7BD1E35A7BD
function extendMatch (line 292) | func extendMatch(src []byte, i, j int) int {
function extendMatch2 (line 327) | func extendMatch2(src []byte, start, candidate, min int) absoluteMatch {
FILE: vendor/github.com/andybalholm/brotli/matchfinder/matchfinder.go
type Match (line 16) | type Match struct
type MatchFinder (line 23) | type MatchFinder interface
type Encoder (line 33) | type Encoder interface
type Writer (line 44) | type Writer struct
method Write (line 59) | func (w *Writer) Write(p []byte) (n int, err error) {
method writeBlock (line 81) | func (w *Writer) writeBlock(p []byte, lastBlock bool) (n int, err erro...
method Close (line 89) | func (w *Writer) Close() error {
method Reset (line 95) | func (w *Writer) Reset(newDest io.Writer) {
FILE: vendor/github.com/andybalholm/brotli/matchfinder/pathfinder.go
type Pathfinder (line 12) | type Pathfinder struct
method Reset (line 45) | func (q *Pathfinder) Reset() {
method FindMatches (line 67) | func (q *Pathfinder) FindMatches(dst []Match, src []byte) []Match {
type arrival (line 57) | type arrival struct
constant baseMatchCost (line 64) | baseMatchCost float32 = 4
FILE: vendor/github.com/andybalholm/brotli/matchfinder/textencoder.go
type TextEncoder (line 7) | type TextEncoder struct
method Reset (line 9) | func (t TextEncoder) Reset() {}
method Encode (line 11) | func (t TextEncoder) Encode(dst []byte, src []byte, matches []Match, l...
type NoMatchFinder (line 32) | type NoMatchFinder struct
method Reset (line 34) | func (n NoMatchFinder) Reset() {}
method FindMatches (line 36) | func (n NoMatchFinder) FindMatches(dst []Match, src []byte) []Match {
type AutoReset (line 46) | type AutoReset struct
method FindMatches (line 50) | func (a AutoReset) FindMatches(dst []Match, src []byte) []Match {
FILE: vendor/github.com/andybalholm/brotli/memory.go
function brotli_ensure_capacity_uint8_t (line 16) | func brotli_ensure_capacity_uint8_t(a *[]byte, c *uint, r uint) {
function brotli_ensure_capacity_uint32_t (line 42) | func brotli_ensure_capacity_uint32_t(a *[]uint32, c *uint, r uint) {
FILE: vendor/github.com/andybalholm/brotli/metablock.go
type metaBlockSplit (line 16) | type metaBlockSplit struct
function getMetaBlockSplit (line 34) | func getMetaBlockSplit() *metaBlockSplit {
function freeMetaBlockSplit (line 54) | func freeMetaBlockSplit(mb *metaBlockSplit) {
function initDistanceParams (line 58) | func initDistanceParams(params *encoderParams, npostfix uint32, ndirect ...
function recomputeDistancePrefixes (line 90) | func recomputeDistancePrefixes(cmds []command, orig_params *distancePara...
function computeDistanceCost (line 103) | func computeDistanceCost(cmds []command, orig_params *distanceParams, ne...
function buildMetaBlock (line 140) | func buildMetaBlock(ringbuffer []byte, pos uint, mask uint, params *enco...
constant maxStaticContexts (line 269) | maxStaticContexts = 13
type contextBlockSplitter (line 273) | type contextBlockSplitter struct
function initContextBlockSplitter (line 291) | func initContextBlockSplitter(self *contextBlockSplitter, alphabet_size ...
function contextBlockSplitterFinishBlock (line 335) | func contextBlockSplitterFinishBlock(self *contextBlockSplitter, is_fina...
function contextBlockSplitterAddSymbol (line 464) | func contextBlockSplitterAddSymbol(self *contextBlockSplitter, symbol ui...
function mapStaticContexts (line 472) | func mapStaticContexts(num_contexts uint, static_context_map []uint32, m...
function buildMetaBlockGreedyInternal (line 490) | func buildMetaBlockGreedyInternal(ringbuffer []byte, pos uint, mask uint...
function buildMetaBlockGreedy (line 552) | func buildMetaBlockGreedy(ringbuffer []byte, pos uint, mask uint, prev_b...
function optimizeHistograms (line 560) | func optimizeHistograms(num_distance_codes uint32, mb *metaBlockSplit) {
FILE: vendor/github.com/andybalholm/brotli/metablock_command.go
type blockSplitterCommand (line 11) | type blockSplitterCommand struct
function initBlockSplitterCommand (line 27) | func initBlockSplitterCommand(self *blockSplitterCommand, alphabet_size ...
function blockSplitterFinishBlockCommand (line 65) | func blockSplitterFinishBlockCommand(self *blockSplitterCommand, is_fina...
function blockSplitterAddSymbolCommand (line 159) | func blockSplitterAddSymbolCommand(self *blockSplitterCommand, symbol ui...
FILE: vendor/github.com/andybalholm/brotli/metablock_distance.go
type blockSplitterDistance (line 11) | type blockSplitterDistance struct
function initBlockSplitterDistance (line 27) | func initBlockSplitterDistance(self *blockSplitterDistance, alphabet_siz...
function blockSplitterFinishBlockDistance (line 65) | func blockSplitterFinishBlockDistance(self *blockSplitterDistance, is_fi...
function blockSplitterAddSymbolDistance (line 159) | func blockSplitterAddSymbolDistance(self *blockSplitterDistance, symbol ...
FILE: vendor/github.com/andybalholm/brotli/metablock_literal.go
type blockSplitterLiteral (line 11) | type blockSplitterLiteral struct
function initBlockSplitterLiteral (line 27) | func initBlockSplitterLiteral(self *blockSplitterLiteral, alphabet_size ...
function blockSplitterFinishBlockLiteral (line 65) | func blockSplitterFinishBlockLiteral(self *blockSplitterLiteral, is_fina...
function blockSplitterAddSymbolLiteral (line 159) | func blockSplitterAddSymbolLiteral(self *blockSplitterLiteral, symbol ui...
FILE: vendor/github.com/andybalholm/brotli/params.go
type hasherParams (line 10) | type hasherParams struct
type distanceParams (line 18) | type distanceParams struct
type encoderParams (line 26) | type encoderParams struct
FILE: vendor/github.com/andybalholm/brotli/platform.go
function brotli_min_double (line 9) | func brotli_min_double(a float64, b float64) float64 {
function brotli_max_double (line 17) | func brotli_max_double(a float64, b float64) float64 {
function brotli_min_float (line 25) | func brotli_min_float(a float32, b float32) float32 {
function brotli_max_float (line 33) | func brotli_max_float(a float32, b float32) float32 {
function brotli_min_int (line 41) | func brotli_min_int(a int, b int) int {
function brotli_max_int (line 49) | func brotli_max_int(a int, b int) int {
function brotli_min_size_t (line 57) | func brotli_min_size_t(a uint, b uint) uint {
function brotli_max_size_t (line 65) | func brotli_max_size_t(a uint, b uint) uint {
function brotli_min_uint32_t (line 73) | func brotli_min_uint32_t(a uint32, b uint32) uint32 {
function brotli_max_uint32_t (line 81) | func brotli_max_uint32_t(a uint32, b uint32) uint32 {
function brotli_min_uint8_t (line 89) | func brotli_min_uint8_t(a byte, b byte) byte {
function brotli_max_uint8_t (line 97) | func brotli_max_uint8_t(a byte, b byte) byte {
FILE: vendor/github.com/andybalholm/brotli/prefix.go
function prefixEncodeCopyDistance (line 14) | func prefixEncodeCopyDistance(distance_code uint, num_direct_codes uint,...
FILE: vendor/github.com/andybalholm/brotli/prefix_dec.go
type cmdLutElement (line 9) | type cmdLutElement struct
FILE: vendor/github.com/andybalholm/brotli/quality.go
constant fastOnePassCompressionQuality (line 3) | fastOnePassCompressionQuality = 0
constant fastTwoPassCompressionQuality (line 5) | fastTwoPassCompressionQuality = 1
constant zopflificationQuality (line 7) | zopflificationQuality = 10
constant hqZopflificationQuality (line 9) | hqZopflificationQuality = 11
constant maxQualityForStaticEntropyCodes (line 11) | maxQualityForStaticEntropyCodes = 2
constant minQualityForBlockSplit (line 13) | minQualityForBlockSplit = 4
constant minQualityForNonzeroDistanceParams (line 15) | minQualityForNonzeroDistanceParams = 4
constant minQualityForOptimizeHistograms (line 17) | minQualityForOptimizeHistograms = 4
constant minQualityForExtensiveReferenceSearch (line 19) | minQualityForExtensiveReferenceSearch = 5
constant minQualityForContextModeling (line 21) | minQualityForContextModeling = 5
constant minQualityForHqContextModeling (line 23) | minQualityForHqContextModeling = 7
constant minQualityForHqBlockSplitting (line 25) | minQualityForHqBlockSplitting = 10
constant maxNumDelayedSymbols (line 29) | maxNumDelayedSymbols = 0x2FFF
function maxHashTableSize (line 32) | func maxHashTableSize(quality int) uint {
constant maxZopfliLenQuality10 (line 41) | maxZopfliLenQuality10 = 150
constant maxZopfliLenQuality11 (line 43) | maxZopfliLenQuality11 = 325
constant longCopyQuickStep (line 46) | longCopyQuickStep = 16384
function maxZopfliLen (line 48) | func maxZopfliLen(params *encoderParams) uint {
function maxZopfliCandidates (line 57) | func maxZopfliCandidates(params *encoderParams) uint {
function sanitizeParams (line 65) | func sanitizeParams(params *encoderParams) {
function computeLgBlock (line 87) | func computeLgBlock(params *encoderParams) int {
function computeRbBits (line 110) | func computeRbBits(params *encoderParams) int {
function maxMetablockSize (line 114) | func maxMetablockSize(params *encoderParams) uint {
function literalSpreeLengthForSparseSearch (line 125) | func literalSpreeLengthForSparseSearch(params *encoderParams) uint {
function chooseHasher (line 133) | func chooseHasher(params *encoderParams, hparams *hasherParams) {
FILE: vendor/github.com/andybalholm/brotli/reader.go
type decodeError (line 8) | type decodeError
method Error (line 10) | func (err decodeError) Error() string {
constant readBufSize (line 20) | readBufSize = 32 * 1024
function NewReader (line 23) | func NewReader(src io.Reader) *Reader {
method Reset (line 33) | func (r *Reader) Reset(src io.Reader) error {
method Read (line 48) | func (r *Reader) Read(p []byte) (n int, err error) {
FILE: vendor/github.com/andybalholm/brotli/ringbuffer.go
type ringBuffer (line 18) | type ringBuffer struct
function ringBufferInit (line 29) | func ringBufferInit(rb *ringBuffer) {
function ringBufferSetup (line 33) | func ringBufferSetup(params *encoderParams, rb *ringBuffer) {
constant kSlackForEightByteHashingEverywhere (line 42) | kSlackForEightByteHashingEverywhere uint = 7
function ringBufferInitBuffer (line 46) | func ringBufferInitBuffer(buflen uint32, rb *ringBuffer) {
function ringBufferWriteTail (line 69) | func ringBufferWriteTail(bytes []byte, n uint, rb *ringBuffer) {
function ringBufferWrite (line 79) | func ringBufferWrite(bytes []byte, n uint, rb *ringBuffer) {
FILE: vendor/github.com/andybalholm/brotli/state.go
constant stateUninited (line 13) | stateUninited = iota
constant stateLargeWindowBits (line 14) | stateLargeWindowBits
constant stateInitialize (line 15) | stateInitialize
constant stateMetablockBegin (line 16) | stateMetablockBegin
constant stateMetablockHeader (line 17) | stateMetablockHeader
constant stateMetablockHeader2 (line 18) | stateMetablockHeader2
constant stateContextModes (line 19) | stateContextModes
constant stateCommandBegin (line 20) | stateCommandBegin
constant stateCommandInner (line 21) | stateCommandInner
constant stateCommandPostDecodeLiterals (line 22) | stateCommandPostDecodeLiterals
constant stateCommandPostWrapCopy (line 23) | stateCommandPostWrapCopy
constant stateUncompressed (line 24) | stateUncompressed
constant stateMetadata (line 25) | stateMetadata
constant stateCommandInnerWrite (line 26) | stateCommandInnerWrite
constant stateMetablockDone (line 27) | stateMetablockDone
constant stateCommandPostWrite1 (line 28) | stateCommandPostWrite1
constant stateCommandPostWrite2 (line 29) | stateCommandPostWrite2
constant stateHuffmanCode0 (line 30) | stateHuffmanCode0
constant stateHuffmanCode1 (line 31) | stateHuffmanCode1
constant stateHuffmanCode2 (line 32) | stateHuffmanCode2
constant stateHuffmanCode3 (line 33) | stateHuffmanCode3
constant stateContextMap1 (line 34) | stateContextMap1
constant stateContextMap2 (line 35) | stateContextMap2
constant stateTreeGroup (line 36) | stateTreeGroup
constant stateDone (line 37) | stateDone
constant stateMetablockHeaderNone (line 41) | stateMetablockHeaderNone = iota
constant stateMetablockHeaderEmpty (line 42) | stateMetablockHeaderEmpty
constant stateMetablockHeaderNibbles (line 43) | stateMetablockHeaderNibbles
constant stateMetablockHeaderSize (line 44) | stateMetablockHeaderSize
constant stateMetablockHeaderUncompressed (line 45) | stateMetablockHeaderUncompressed
constant stateMetablockHeaderReserved (line 46) | stateMetablockHeaderReserved
constant stateMetablockHeaderBytes (line 47) | stateMetablockHeaderBytes
constant stateMetablockHeaderMetadata (line 48) | stateMetablockHeaderMetadata
constant stateUncompressedNone (line 52) | stateUncompressedNone = iota
constant stateUncompressedWrite (line 53) | stateUncompressedWrite
constant stateTreeGroupNone (line 57) | stateTreeGroupNone = iota
constant stateTreeGroupLoop (line 58) | stateTreeGroupLoop
constant stateContextMapNone (line 62) | stateContextMapNone = iota
constant stateContextMapReadPrefix (line 63) | stateContextMapReadPrefix
constant stateContextMapHuffman (line 64) | stateContextMapHuffman
constant stateContextMapDecode (line 65) | stateContextMapDecode
constant stateContextMapTransform (line 66) | stateContextMapTransform
constant stateHuffmanNone (line 70) | stateHuffmanNone = iota
constant stateHuffmanSimpleSize (line 71) | stateHuffmanSimpleSize
constant stateHuffmanSimpleRead (line 72) | stateHuffmanSimpleRead
constant stateHuffmanSimpleBuild (line 73) | stateHuffmanSimpleBuild
constant stateHuffmanComplex (line 74) | stateHuffmanComplex
constant stateHuffmanLengthSymbols (line 75) | stateHuffmanLengthSymbols
constant stateDecodeUint8None (line 79) | stateDecodeUint8None = iota
constant stateDecodeUint8Short (line 80) | stateDecodeUint8Short
constant stateDecodeUint8Long (line 81) | stateDecodeUint8Long
constant stateReadBlockLengthNone (line 85) | stateReadBlockLengthNone = iota
constant stateReadBlockLengthSuffix (line 86) | stateReadBlockLengthSuffix
type Reader (line 89) | type Reader struct
function decoderStateInit (line 181) | func decoderStateInit(s *Reader) bool {
function decoderStateMetablockBegin (line 247) | func decoderStateMetablockBegin(s *Reader) {
function decoderStateCleanupAfterMetablock (line 277) | func decoderStateCleanupAfterMetablock(s *Reader) {
function decoderHuffmanTreeGroupInit (line 286) | func decoderHuffmanTreeGroupInit(s *Reader, group *huffmanTreeGroup, alp...
FILE: vendor/github.com/andybalholm/brotli/static_dict.go
constant maxStaticDictionaryMatchLen (line 13) | maxStaticDictionaryMatchLen = 37
constant kInvalidMatch (line 15) | kInvalidMatch uint32 = 0xFFFFFFF
function hash (line 22) | func hash(data []byte) uint32 {
function addMatch (line 30) | func addMatch(distance uint, len uint, len_code uint, matches []uint32) {
function dictMatchLength (line 35) | func dictMatchLength(dict *dictionary, data []byte, id uint, len uint, m...
function isMatch (line 40) | func isMatch(d *dictionary, w dictWord, data []byte, max_length uint) bo...
function findAllStaticDictionaryMatches (line 74) | func findAllStaticDictionaryMatches(dict *encoderDictionary, data []byte...
FILE: vendor/github.com/andybalholm/brotli/static_dict_lut.go
type dictWord (line 11) | type dictWord struct
constant kDictNumBits (line 17) | kDictNumBits int = 15
constant kDictHashMul32 (line 19) | kDictHashMul32 uint32 = 0x1E35A7BD
FILE: vendor/github.com/andybalholm/brotli/symbol_list.go
type symbolList (line 11) | type symbolList struct
function symbolListGet (line 16) | func symbolListGet(sl symbolList, i int) uint16 {
function symbolListPut (line 20) | func symbolListPut(sl symbolList, i int, val uint16) {
FILE: vendor/github.com/andybalholm/brotli/transform.go
constant transformIdentity (line 4) | transformIdentity = 0
constant transformOmitLast1 (line 5) | transformOmitLast1 = 1
constant transformOmitLast2 (line 6) | transformOmitLast2 = 2
constant transformOmitLast3 (line 7) | transformOmitLast3 = 3
constant transformOmitLast4 (line 8) | transformOmitLast4 = 4
constant transformOmitLast5 (line 9) | transformOmitLast5 = 5
constant transformOmitLast6 (line 10) | transformOmitLast6 = 6
constant transformOmitLast7 (line 11) | transformOmitLast7 = 7
constant transformOmitLast8 (line 12) | transformOmitLast8 = 8
constant transformOmitLast9 (line 13) | transformOmitLast9 = 9
constant transformUppercaseFirst (line 14) | transformUppercaseFirst = 10
constant transformUppercaseAll (line 15) | transformUppercaseAll = 11
constant transformOmitFirst1 (line 16) | transformOmitFirst1 = 12
constant transformOmitFirst2 (line 17) | transformOmitFirst2 = 13
constant transformOmitFirst3 (line 18) | transformOmitFirst3 = 14
constant transformOmitFirst4 (line 19) | transformOmitFirst4 = 15
constant transformOmitFirst5 (line 20) | transformOmitFirst5 = 16
constant transformOmitFirst6 (line 21) | transformOmitFirst6 = 17
constant transformOmitFirst7 (line 22) | transformOmitFirst7 = 18
constant transformOmitFirst8 (line 23) | transformOmitFirst8 = 19
constant transformOmitFirst9 (line 24) | transformOmitFirst9 = 20
constant transformShiftFirst (line 25) | transformShiftFirst = 21
constant transformShiftAll (line 26) | transformShiftAll = 22 + iota - 22
constant numTransformTypes (line 27) | numTransformTypes
constant transformsMaxCutOff (line 30) | transformsMaxCutOff = transformOmitLast9
type transforms (line 32) | type transforms struct
function transformPrefixId (line 42) | func transformPrefixId(t *transforms, I int) byte {
function transformType (line 46) | func transformType(t *transforms, I int) byte {
function transformSuffixId (line 50) | func transformSuffixId(t *transforms, I int) byte {
function transformPrefix (line 54) | func transformPrefix(t *transforms, I int) []byte {
function transformSuffix (line 58) | func transformSuffix(t *transforms, I int) []byte {
constant kPrefixSuffix (line 63) | kPrefixSuffix string = "\001 \002, \010 of the \004 of \002s \001.\005 a...
function getTransforms (line 495) | func getTransforms() *transforms {
function toUpperCase (line 499) | func toUpperCase(p []byte) int {
function shiftTransform (line 520) | func shiftTransform(word []byte, word_len int, parameter uint16) int {
function transformDictionaryWord (line 567) | func transformDictionaryWord(dst []byte, word []byte, len int, trans *tr...
FILE: vendor/github.com/andybalholm/brotli/utf8_util.go
constant kMinUTF8Ratio (line 11) | kMinUTF8Ratio float64 = 0.75
function parseAsUTF8 (line 16) | func parseAsUTF8(symbol *int, input []byte, size uint) uint {
function isMostlyUTF8 (line 56) | func isMostlyUTF8(data []byte, pos uint, mask uint, length uint, min_fra...
FILE: vendor/github.com/andybalholm/brotli/util.go
function assert (line 3) | func assert(cond bool) {
FILE: vendor/github.com/andybalholm/brotli/write_bits.go
function writeBits (line 28) | func writeBits(n_bits uint, bits uint64, pos *uint, array []byte) {
function writeSingleBit (line 41) | func writeSingleBit(bit bool, pos *uint, array []byte) {
function writeBitsPrepareStorage (line 49) | func writeBitsPrepareStorage(pos uint, array []byte) {
FILE: vendor/github.com/andybalholm/brotli/writer.go
constant BestSpeed (line 11) | BestSpeed = 0
constant BestCompression (line 12) | BestCompression = 11
constant DefaultCompression (line 13) | DefaultCompression = 6
type WriterOptions (line 17) | type WriterOptions struct
function NewWriter (line 34) | func NewWriter(dst io.Writer) *Writer {
function NewWriterLevel (line 42) | func NewWriterLevel(dst io.Writer, level int) *Writer {
function NewWriterOptions (line 49) | func NewWriterOptions(dst io.Writer, options WriterOptions) *Writer {
method Reset (line 59) | func (w *Writer) Reset(dst io.Writer) {
method writeChunk (line 69) | func (w *Writer) writeChunk(p []byte, op int) (n int, err error) {
method Flush (line 98) | func (w *Writer) Flush() error {
method Close (line 104) | func (w *Writer) Close() error {
method Write (line 113) | func (w *Writer) Write(p []byte) (n int, err error) {
type nopCloser (line 117) | type nopCloser struct
method Close (line 121) | func (nopCloser) Close() error { return nil }
function NewWriterV2 (line 126) | func NewWriterV2(dst io.Writer, level int) *matchfinder.Writer {
FILE: vendor/github.com/andybalholm/cascadia/parser.go
type parser (line 13) | type parser struct
method parseEscape (line 23) | func (p *parser) parseEscape() (result string, err error) {
method parseIdentifier (line 99) | func (p *parser) parseIdentifier() (result string, err error) {
method parseName (line 125) | func (p *parser) parseName() (result string, err error) {
method parseString (line 159) | func (p *parser) parseString() (result string, err error) {
method parseRegex (line 221) | func (p *parser) parseRegex() (rx *regexp.Regexp, err error) {
method skipWhitespace (line 255) | func (p *parser) skipWhitespace() bool {
method consumeParenthesis (line 284) | func (p *parser) consumeParenthesis() bool {
method consumeClosingParenthesis (line 295) | func (p *parser) consumeClosingParenthesis() bool {
method parseTypeSelector (line 307) | func (p *parser) parseTypeSelector() (result tagSelector, err error) {
method parseIDSelector (line 316) | func (p *parser) parseIDSelector() (idSelector, error) {
method parseClassSelector (line 334) | func (p *parser) parseClassSelector() (classSelector, error) {
method parseAttributeSelector (line 352) | func (p *parser) parseAttributeSelector() (attrSelector, error) {
method parsePseudoclassSelector (line 450) | func (p *parser) parsePseudoclassSelector() (out Sel, pseudoElement st...
method parseInteger (line 612) | func (p *parser) parseInteger() (int, error) {
method parseNth (line 632) | func (p *parser) parseNth() (a, b int, err error) {
method parseSimpleSelectorSequence (line 754) | func (p *parser) parseSimpleSelectorSequence() (Sel, error) {
method parseSelector (line 828) | func (p *parser) parseSelector() (Sel, error) {
method parseSelectorGroup (line 870) | func (p *parser) parseSelectorGroup() (SelectorGroup, error) {
function toLowerASCII (line 62) | func toLowerASCII(s string) string {
function hexDigit (line 81) | func hexDigit(c byte) bool {
function nameStart (line 87) | func nameStart(c byte) bool {
function nameChar (line 93) | func nameChar(c byte) bool {
FILE: vendor/github.com/andybalholm/cascadia/pseudo_classes.go
type abstractPseudoClass (line 16) | type abstractPseudoClass struct
method Specificity (line 18) | func (s abstractPseudoClass) Specificity() Specificity {
method PseudoElement (line 22) | func (c abstractPseudoClass) PseudoElement() string {
type relativePseudoClassSelector (line 26) | type relativePseudoClassSelector struct
method Match (line 31) | func (s relativePseudoClassSelector) Match(n *html.Node) bool {
method Specificity (line 75) | func (s relativePseudoClassSelector) Specificity() Specificity {
method PseudoElement (line 86) | func (c relativePseudoClassSelector) PseudoElement() string {
function hasChildMatch (line 51) | func hasChildMatch(n *html.Node, a Matcher) bool {
function hasDescendantMatch (line 63) | func hasDescendantMatch(n *html.Node, a Matcher) bool {
type containsPseudoClassSelector (line 90) | type containsPseudoClassSelector struct
method Match (line 96) | func (s containsPseudoClassSelector) Match(n *html.Node) bool {
type regexpPseudoClassSelector (line 108) | type regexpPseudoClassSelector struct
method Match (line 114) | func (s regexpPseudoClassSelector) Match(n *html.Node) bool {
function writeNodeText (line 127) | func writeNodeText(n *html.Node, b *bytes.Buffer) {
function nodeText (line 139) | func nodeText(n *html.Node) string {
function nodeOwnText (line 147) | func nodeOwnText(n *html.Node) string {
type nthPseudoClassSelector (line 157) | type nthPseudoClassSelector struct
method Match (line 163) | func (s nthPseudoClassSelector) Match(n *html.Node) bool {
function nthChildMatch (line 177) | func nthChildMatch(a, b int, last, ofType bool, n *html.Node) bool {
function simpleNthChildMatch (line 221) | func simpleNthChildMatch(b int, ofType bool, n *html.Node) bool {
function simpleNthLastChildMatch (line 249) | func simpleNthLastChildMatch(b int, ofType bool, n *html.Node) bool {
type onlyChildPseudoClassSelector (line 275) | type onlyChildPseudoClassSelector struct
method Match (line 282) | func (s onlyChildPseudoClassSelector) Match(n *html.Node) bool {
type inputPseudoClassSelector (line 306) | type inputPseudoClassSelector struct
method Match (line 311) | func (s inputPseudoClassSelector) Match(n *html.Node) bool {
type emptyElementPseudoClassSelector (line 315) | type emptyElementPseudoClassSelector struct
method Match (line 320) | func (s emptyElementPseudoClassSelector) Match(n *html.Node) bool {
type rootPseudoClassSelector (line 341) | type rootPseudoClassSelector struct
method Match (line 346) | func (s rootPseudoClassSelector) Match(n *html.Node) bool {
function hasAttr (line 356) | func hasAttr(n *html.Node, attr string) bool {
type linkPseudoClassSelector (line 360) | type linkPseudoClassSelector struct
method Match (line 365) | func (s linkPseudoClassSelector) Match(n *html.Node) bool {
type langPseudoClassSelector (line 369) | type langPseudoClassSelector struct
method Match (line 374) | func (s langPseudoClassSelector) Match(n *html.Node) bool {
type enabledPseudoClassSelector (line 384) | type enabledPseudoClassSelector struct
method Match (line 388) | func (s enabledPseudoClassSelector) Match(n *html.Node) bool {
type disabledPseudoClassSelector (line 403) | type disabledPseudoClassSelector struct
method Match (line 407) | func (s disabledPseudoClassSelector) Match(n *html.Node) bool {
function hasLegendInPreviousSiblings (line 420) | func hasLegendInPreviousSiblings(n *html.Node) bool {
function inDisabledFieldset (line 429) | func inDisabledFieldset(n *html.Node) bool {
type checkedPseudoClassSelector (line 440) | type checkedPseudoClassSelector struct
method Match (line 444) | func (s checkedPseudoClassSelector) Match(n *html.Node) bool {
FILE: vendor/github.com/andybalholm/cascadia/selector.go
type Matcher (line 13) | type Matcher interface
type Sel (line 18) | type Sel interface
function Parse (line 31) | func Parse(sel string) (Sel, error) {
function ParseWithPseudoElement (line 47) | func ParseWithPseudoElement(sel string) (Sel, error) {
function ParseGroup (line 64) | func ParseGroup(sel string) (SelectorGroup, error) {
function ParseGroupWithPseudoElements (line 80) | func ParseGroupWithPseudoElements(sel string) (SelectorGroup, error) {
type Selector (line 98) | type Selector
method MatchAll (line 122) | func (s Selector) MatchAll(n *html.Node) []*html.Node {
method matchAllInto (line 126) | func (s Selector) matchAllInto(n *html.Node, storage []*html.Node) []*...
method Match (line 156) | func (s Selector) Match(n *html.Node) bool {
method MatchFirst (line 161) | func (s Selector) MatchFirst(n *html.Node) *html.Node {
method Filter (line 191) | func (s Selector) Filter(nodes []*html.Node) (result []*html.Node) {
function Compile (line 102) | func Compile(sel string) (Selector, error) {
function MustCompile (line 112) | func MustCompile(sel string) Selector {
function queryInto (line 138) | func queryInto(n *html.Node, m Matcher, storage []*html.Node) []*html.No...
function QueryAll (line 151) | func QueryAll(n *html.Node, m Matcher) []*html.Node {
function Query (line 177) | func Query(n *html.Node, m Matcher) *html.Node {
function Filter (line 201) | func Filter(nodes []*html.Node, m Matcher) (result []*html.Node) {
type tagSelector (line 210) | type tagSelector struct
method Match (line 215) | func (t tagSelector) Match(n *html.Node) bool {
method Specificity (line 219) | func (c tagSelector) Specificity() Specificity {
method PseudoElement (line 223) | func (c tagSelector) PseudoElement() string {
type classSelector (line 227) | type classSelector struct
method Match (line 232) | func (t classSelector) Match(n *html.Node) bool {
method Specificity (line 238) | func (c classSelector) Specificity() Specificity {
method PseudoElement (line 242) | func (c classSelector) PseudoElement() string {
type idSelector (line 246) | type idSelector struct
method Match (line 251) | func (t idSelector) Match(n *html.Node) bool {
method Specificity (line 257) | func (c idSelector) Specificity() Specificity {
method PseudoElement (line 261) | func (c idSelector) PseudoElement() string {
type attrSelector (line 265) | type attrSelector struct
method Match (line 272) | func (t attrSelector) Match(n *html.Node) bool {
method Specificity (line 422) | func (c attrSelector) Specificity() Specificity {
method PseudoElement (line 426) | func (c attrSelector) PseudoElement() string {
function matchInsensitiveValue (line 301) | func matchInsensitiveValue(userAttr string, realAttr string, ignoreCase ...
function matchAttribute (line 310) | func matchAttribute(n *html.Node, key string, f func(string) bool) bool {
function attributeNotEqualMatch (line 324) | func attributeNotEqualMatch(key, val string, n *html.Node, ignoreCase bo...
function matchInclude (line 337) | func matchInclude(val string, s string, ignoreCase bool) bool {
function attributeDashMatch (line 352) | func attributeDashMatch(key, val string, n *html.Node, ignoreCase bool) ...
function attributePrefixMatch (line 370) | func attributePrefixMatch(key, val string, n *html.Node, ignoreCase bool...
function attributeSuffixMatch (line 385) | func attributeSuffixMatch(key, val string, n *html.Node, ignoreCase bool...
function attributeSubstringMatch (line 400) | func attributeSubstringMatch(key, val string, n *html.Node, ignoreCase b...
function attributeRegexMatch (line 415) | func attributeRegexMatch(key string, rx *regexp.Regexp, n *html.Node) bo...
type neverMatchSelector (line 433) | type neverMatchSelector struct
method Match (line 437) | func (s neverMatchSelector) Match(n *html.Node) bool {
method Specificity (line 441) | func (s neverMatchSelector) Specificity() Specificity {
method PseudoElement (line 445) | func (c neverMatchSelector) PseudoElement() string {
type compoundSelector (line 449) | type compoundSelector struct
method Match (line 455) | func (t compoundSelector) Match(n *html.Node) bool {
method Specificity (line 468) | func (s compoundSelector) Specificity() Specificity {
method PseudoElement (line 480) | func (c compoundSelector) PseudoElement() string {
type combinedSelector (line 484) | type combinedSelector struct
method Match (line 490) | func (t combinedSelector) Match(n *html.Node) bool {
method Specificity (line 557) | func (s combinedSelector) Specificity() Specificity {
method PseudoElement (line 567) | func (c combinedSelector) PseudoElement() string {
function descendantMatch (line 511) | func descendantMatch(a, d Matcher, n *html.Node) bool {
function childMatch (line 526) | func childMatch(a, d Matcher, n *html.Node) bool {
function siblingMatch (line 532) | func siblingMatch(s1, s2 Matcher, adjacent bool, n *html.Node) bool {
type SelectorGroup (line 576) | type SelectorGroup
method Match (line 579) | func (s SelectorGroup) Match(n *html.Node) bool {
FILE: vendor/github.com/andybalholm/cascadia/serialize.go
function init (line 13) | func init() {
function escape (line 22) | func escape(s string) string { return specialCharReplacer.Replace(s) }
method String (line 24) | func (c tagSelector) String() string {
method String (line 28) | func (c idSelector) String() string {
method String (line 32) | func (c classSelector) String() string {
method String (line 36) | func (c attrSelector) String() string {
method String (line 53) | func (c relativePseudoClassSelector) String() string {
method String (line 57) | func (c containsPseudoClassSelector) String() string {
method String (line 65) | func (c regexpPseudoClassSelector) String() string {
method String (line 73) | func (c nthPseudoClassSelector) String() string {
method String (line 104) | func (c onlyChildPseudoClassSelector) String() string {
method String (line 111) | func (c inputPseudoClassSelector) String() string {
method String (line 115) | func (c emptyElementPseudoClassSelector) String() string {
method String (line 119) | func (c rootPseudoClassSelector) String() string {
method String (line 123) | func (c linkPseudoClassSelector) String() string {
method String (line 127) | func (c langPseudoClassSelector) String() string {
method String (line 131) | func (c neverMatchSelector) String() string {
method String (line 135) | func (c enabledPseudoClassSelector) String() string {
method String (line 139) | func (c disabledPseudoClassSelector) String() string {
method String (line 143) | func (c checkedPseudoClassSelector) String() string {
method String (line 147) | func (c compoundSelector) String() string {
method String (line 162) | func (c combinedSelector) String() string {
method String (line 170) | func (c SelectorGroup) String() string {
FILE: vendor/github.com/andybalholm/cascadia/specificity.go
type Specificity (line 6) | type Specificity
method Less (line 9) | func (s Specificity) Less(other Specificity) bool {
method Add (line 21) | func (s Specificity) Add(other Specificity) Specificity {
FILE: vendor/github.com/beorn7/perks/quantile/stream.go
type Sample (line 24) | type Sample struct
type Samples (line 31) | type Samples
method Len (line 33) | func (a Samples) Len() int { return len(a) }
method Less (line 34) | func (a Samples) Less(i, j int) bool { return a[i].Value < a[j].Value }
method Swap (line 35) | func (a Samples) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
type invariant (line 37) | type invariant
function NewLowBiased (line 49) | func NewLowBiased(epsilon float64) *Stream {
function NewHighBiased (line 66) | func NewHighBiased(epsilon float64) *Stream {
function NewTargeted (line 80) | func NewTargeted(targetMap map[float64]float64) *Stream {
type target (line 104) | type target struct
function targetMapToSlice (line 109) | func targetMapToSlice(targetMap map[float64]float64) []target {
type Stream (line 125) | type Stream struct
method Insert (line 137) | func (s *Stream) Insert(v float64) {
method insert (line 141) | func (s *Stream) insert(sample Sample) {
method Query (line 152) | func (s *Stream) Query(q float64) float64 {
method Merge (line 176) | func (s *Stream) Merge(samples Samples) {
method Reset (line 182) | func (s *Stream) Reset() {
method Samples (line 188) | func (s *Stream) Samples() Samples {
method Count (line 198) | func (s *Stream) Count() int {
method flush (line 202) | func (s *Stream) flush() {
method maybeSort (line 208) | func (s *Stream) maybeSort() {
method flushed (line 215) | func (s *Stream) flushed() bool {
function newStream (line 131) | func newStream(Æ’ invariant) *Stream {
type stream (line 219) | type stream struct
method reset (line 225) | func (s *stream) reset() {
method insert (line 230) | func (s *stream) insert(v float64) {
method merge (line 234) | func (s *stream) merge(samples Samples) {
method count (line 268) | func (s *stream) count() int {
method query (line 272) | func (s *stream) query(q float64) float64 {
method compress (line 287) | func (s *stream) compress() {
method samples (line 312) | func (s *stream) samples() Samples {
FILE: vendor/github.com/bufbuild/protocompile/ast/enum.go
type EnumNode (line 22) | type EnumNode struct
method fileElement (line 31) | func (*EnumNode) fileElement() {}
method msgElement (line 32) | func (*EnumNode) msgElement() {}
method RangeOptions (line 79) | func (n *EnumNode) RangeOptions(fn func(*OptionNode) bool) {
function NewEnumNode (line 42) | func NewEnumNode(keyword *KeywordNode, name *IdentNode, openBrace *RuneN...
type EnumElement (line 91) | type EnumElement interface
type EnumValueDeclNode (line 104) | type EnumValueDeclNode interface
type EnumValueNode (line 116) | type EnumValueNode struct
method enumElement (line 125) | func (*EnumValueNode) enumElement() {}
method GetName (line 171) | func (e *EnumValueNode) GetName() Node {
method GetNumber (line 175) | func (e *EnumValueNode) GetNumber() Node {
method RangeOptions (line 179) | func (e *EnumValueNode) RangeOptions(fn func(*OptionNode) bool) {
function NewEnumValueNode (line 134) | func NewEnumValueNode(name *IdentNode, equals *RuneNode, number IntValue...
FILE: vendor/github.com/bufbuild/protocompile/ast/field.go
type FieldDeclNode (line 29) | type FieldDeclNode interface
type FieldNode (line 51) | type FieldNode struct
method msgElement (line 66) | func (*FieldNode) msgElement() {}
method oneofElement (line 67) | func (*FieldNode) oneofElement() {}
method extendElement (line 68) | func (*FieldNode) extendElement() {}
method FieldLabel (line 135) | func (n *FieldNode) FieldLabel() Node {
method FieldName (line 145) | func (n *FieldNode) FieldName() Node {
method FieldType (line 149) | func (n *FieldNode) FieldType() Node {
method FieldTag (line 153) | func (n *FieldNode) FieldTag() Node {
method FieldExtendee (line 160) | func (n *FieldNode) FieldExtendee() Node {
method GetGroupKeyword (line 167) | func (n *FieldNode) GetGroupKeyword() Node {
method GetOptions (line 171) | func (n *FieldNode) GetOptions() *CompactOptionsNode {
method RangeOptions (line 175) | func (n *FieldNode) RangeOptions(fn func(*OptionNode) bool) {
function NewFieldNode (line 80) | func NewFieldNode(label *KeywordNode, fieldType IdentValueNode, name *Id...
type FieldLabel (line 185) | type FieldLabel struct
method IsPresent (line 206) | func (f *FieldLabel) IsPresent() bool {
function newFieldLabel (line 191) | func newFieldLabel(lbl *KeywordNode) FieldLabel {
type GroupNode (line 219) | type GroupNode struct
method msgElement (line 234) | func (*GroupNode) msgElement() {}
method oneofElement (line 235) | func (*GroupNode) oneofElement() {}
method extendElement (line 236) | func (*GroupNode) extendElement() {}
method FieldLabel (line 311) | func (n *GroupNode) FieldLabel() Node {
method FieldName (line 319) | func (n *GroupNode) FieldName() Node {
method FieldType (line 323) | func (n *GroupNode) FieldType() Node {
method FieldTag (line 327) | func (n *GroupNode) FieldTag() Node {
method FieldExtendee (line 334) | func (n *GroupNode) FieldExtendee() Node {
method GetGroupKeyword (line 341) | func (n *GroupNode) GetGroupKeyword() Node {
method GetOptions (line 345) | func (n *GroupNode) GetOptions() *CompactOptionsNode {
method RangeOptions (line 349) | func (n *GroupNode) RangeOptions(fn func(*OptionNode) bool) {
method AsMessage (line 357) | func (n *GroupNode) AsMessage() *SyntheticGroupMessageNode {
function NewGroupNode (line 250) | func NewGroupNode(label *KeywordNode, keyword *KeywordNode, name *IdentN...
type SyntheticGroupMessageNode (line 367) | type SyntheticGroupMessageNode
method MessageName (line 369) | func (n *SyntheticGroupMessageNode) MessageName() Node {
method RangeOptions (line 373) | func (n *SyntheticGroupMessageNode) RangeOptions(fn func(*OptionNode) ...
type OneofDeclNode (line 390) | type OneofDeclNode interface
type OneofNode (line 407) | type OneofNode struct
method msgElement (line 416) | func (*OneofNode) msgElement() {}
method OneofName (line 466) | func (n *OneofNode) OneofName() Node {
method RangeOptions (line 470) | func (n *OneofNode) RangeOptions(fn func(*OptionNode) bool) {
function NewOneofNode (line 426) | func NewOneofNode(keyword *KeywordNode, name *IdentNode, openBrace *Rune...
type OneofElement (line 482) | type OneofElement interface
type SyntheticOneof (line 497) | type SyntheticOneof struct
method Start (line 510) | func (n *SyntheticOneof) Start() Token {
method End (line 514) | func (n *SyntheticOneof) End() Token {
method LeadingComments (line 518) | func (n *SyntheticOneof) LeadingComments() []Comment {
method TrailingComments (line 522) | func (n *SyntheticOneof) TrailingComments() []Comment {
method OneofName (line 526) | func (n *SyntheticOneof) OneofName() Node {
method RangeOptions (line 530) | func (n *SyntheticOneof) RangeOptions(_ func(*OptionNode) bool) {
function NewSyntheticOneof (line 506) | func NewSyntheticOneof(field *FieldNode) *SyntheticOneof {
type MapTypeNode (line 537) | type MapTypeNode struct
function NewMapTypeNode (line 554) | func NewMapTypeNode(keyword *KeywordNode, openAngle *RuneNode, keyType *...
type MapFieldNode (line 590) | type MapFieldNode struct
method msgElement (line 600) | func (*MapFieldNode) msgElement() {}
method FieldLabel (line 658) | func (n *MapFieldNode) FieldLabel() Node {
method FieldName (line 662) | func (n *MapFieldNode) FieldName() Node {
method FieldType (line 666) | func (n *MapFieldNode) FieldType() Node {
method FieldTag (line 670) | func (n *MapFieldNode) FieldTag() Node {
method FieldExtendee (line 677) | func (n *MapFieldNode) FieldExtendee() Node {
method GetGroupKeyword (line 681) | func (n *MapFieldNode) GetGroupKeyword() Node {
method GetOptions (line 685) | func (n *MapFieldNode) GetOptions() *CompactOptionsNode {
method RangeOptions (line 689) | func (n *MapFieldNode) RangeOptions(fn func(*OptionNode) bool) {
method AsMessage (line 697) | func (n *MapFieldNode) AsMessage() *SyntheticMapEntryNode {
method KeyField (line 701) | func (n *MapFieldNode) KeyField() *SyntheticMapField {
method ValueField (line 705) | func (n *MapFieldNode) ValueField() *SyntheticMapField {
function NewMapFieldNode (line 610) | func NewMapFieldNode(mapType *MapTypeNode, name *IdentNode, equals *Rune...
type SyntheticMapEntryNode (line 715) | type SyntheticMapEntryNode
method MessageName (line 717) | func (n *SyntheticMapEntryNode) MessageName() Node {
method RangeOptions (line 721) | func (n *SyntheticMapEntryNode) RangeOptions(_ func(*OptionNode) bool) {
type SyntheticMapField (line 731) | type SyntheticMapField struct
method Start (line 747) | func (n *SyntheticMapField) Start() Token {
method End (line 751) | func (n *SyntheticMapField) End() Token {
method LeadingComments (line 755) | func (n *SyntheticMapField) LeadingComments() []Comment {
method TrailingComments (line 759) | func (n *SyntheticMapField) TrailingComments() []Comment {
method FieldLabel (line 763) | func (n *SyntheticMapField) FieldLabel() Node {
method FieldName (line 767) | func (n *SyntheticMapField) FieldName() Node {
method FieldType (line 771) | func (n *SyntheticMapField) FieldType() Node {
method FieldTag (line 775) | func (n *SyntheticMapField) FieldTag() Node {
method FieldExtendee (line 782) | func (n *SyntheticMapField) FieldExtendee() Node {
method GetGroupKeyword (line 786) | func (n *SyntheticMapField) GetGroupKeyword() Node {
method GetOptions (line 790) | func (n *SyntheticMapField) GetOptions() *CompactOptionsNode {
method RangeOptions (line 794) | func (n *SyntheticMapField) RangeOptions(_ func(*OptionNode) bool) {
function NewSyntheticMapField (line 739) | func NewSyntheticMapField(ident IdentValueNode, tagNum uint64) *Syntheti...
FILE: vendor/github.com/bufbuild/protocompile/ast/file.go
type FileDeclNode (line 21) | type FileDeclNode interface
type FileNode (line 32) | type FileNode struct
method Name (line 111) | func (f *FileNode) Name() string {
method NodeInfo (line 115) | func (f *FileNode) NodeInfo(n Node) NodeInfo {
method TokenInfo (line 119) | func (f *FileNode) TokenInfo(t Token) NodeInfo {
method ItemInfo (line 123) | func (f *FileNode) ItemInfo(i Item) ItemInfo {
method GetItem (line 127) | func (f *FileNode) GetItem(i Item) (Token, Comment) {
method Items (line 131) | func (f *FileNode) Items() Sequence[Item] {
method Tokens (line 135) | func (f *FileNode) Tokens() Sequence[Token] {
method RangeOptions (line 139) | func (f *FileNode) RangeOptions(fn func(*OptionNode) bool) {
function NewFileNode (line 53) | func NewFileNode(info *FileInfo, syntax *SyntaxNode, decls []FileElement...
function NewFileNodeWithEdition (line 62) | func NewFileNodeWithEdition(info *FileInfo, edition *EditionNode, decls ...
function newFileNode (line 69) | func newFileNode(info *FileInfo, syntax *SyntaxNode, edition *EditionNod...
function NewEmptyFileNode (line 106) | func NewEmptyFileNode(filename string) *FileNode {
type FileElement (line 151) | type FileElement interface
type SyntaxNode (line 171) | type SyntaxNode struct
function NewSyntaxNode (line 184) | func NewSyntaxNode(keyword *KeywordNode, equals *RuneNode, syntax String...
type EditionNode (line 218) | type EditionNode struct
function NewEditionNode (line 231) | func NewEditionNode(keyword *KeywordNode, equals *RuneNode, edition Stri...
type ImportNode (line 259) | type ImportNode struct
method fileElement (line 319) | func (*ImportNode) fileElement() {}
function NewImportNode (line 281) | func NewImportNode(keyword *KeywordNode, public *KeywordNode, weak *Keyw...
type PackageNode (line 324) | type PackageNode struct
method fileElement (line 331) | func (*PackageNode) fileElement() {}
function NewPackageNode (line 337) | func NewPackageNode(keyword *KeywordNode, name IdentValueNode, semicolon...
FILE: vendor/github.com/bufbuild/protocompile/ast/file_info.go
type FileInfo (line 27) | type FileInfo struct
method Name (line 72) | func (f *FileInfo) Name() string {
method AddLine (line 78) | func (f *FileInfo) AddLine(offset int) {
method AddToken (line 98) | func (f *FileInfo) AddToken(offset, length int) Token {
method AddComment (line 128) | func (f *FileInfo) AddComment(comment, attributedTo Token) Comment {
method NodeInfo (line 151) | func (f *FileInfo) NodeInfo(n Node) NodeInfo {
method TokenInfo (line 160) | func (f *FileInfo) TokenInfo(t Token) NodeInfo {
method nodeInfo (line 164) | func (f *FileInfo) nodeInfo(start, end int) NodeInfo {
method ItemInfo (line 179) | func (f *FileInfo) ItemInfo(i Item) ItemInfo {
method GetItem (line 198) | func (f *FileInfo) GetItem(i Item) (Token, Comment) {
method isDummyFile (line 217) | func (f *FileInfo) isDummyFile() bool {
method Items (line 243) | func (f *FileInfo) Items() Sequence[Item] {
method Tokens (line 247) | func (f *FileInfo) Tokens() Sequence[Token] {
method itemForward (line 313) | func (f *FileInfo) itemForward(i Item, allowComment bool) (Item, bool) {
method itemBackward (line 324) | func (f *FileInfo) itemBackward(i Item, allowComment bool) (Item, bool) {
method isComment (line 336) | func (f *FileInfo) isComment(i Item) bool {
method SourcePos (line 349) | func (f *FileInfo) SourcePos(offset int) SourcePos {
type commentInfo (line 48) | type commentInfo struct
type itemSpan (line 56) | type itemSpan struct
function NewFileInfo (line 64) | func NewFileInfo(filename string, contents []byte) *FileInfo {
type Sequence (line 222) | type Sequence interface
type items (line 251) | type items struct
method First (line 255) | func (i items) First() (Item, bool) {
method Next (line 262) | func (i items) Next(item Item) (Item, bool) {
method Last (line 269) | func (i items) Last() (Item, bool) {
method Previous (line 276) | func (i items) Previous(item Item) (Item, bool) {
type tokens (line 283) | type tokens struct
method First (line 287) | func (t tokens) First() (Token, bool) {
method Next (line 292) | func (t tokens) Next(tok Token) (Token, bool) {
method Last (line 300) | func (t tokens) Last() (Token, bool) {
method Previous (line 305) | func (t tokens) Previous(tok Token) (Token, bool) {
type Token (line 380) | type Token
method AsItem (line 387) | func (t Token) AsItem() Item {
method asTerminalNode (line 391) | func (t Token) asTerminalNode() terminalNode {
constant TokenError (line 384) | TokenError = Token(-1)
type Item (line 397) | type Item
type ItemInfo (line 401) | type ItemInfo interface
type NodeInfo (line 412) | type NodeInfo struct
method IsValid (line 421) | func (n NodeInfo) IsValid() bool {
method Start (line 427) | func (n NodeInfo) Start() SourcePos {
method End (line 441) | func (n NodeInfo) End() SourcePos {
method LeadingWhitespace (line 466) | func (n NodeInfo) LeadingWhitespace() string {
method LeadingComments (line 483) | func (n NodeInfo) LeadingComments() Comments {
method TrailingComments (line 537) | func (n NodeInfo) TrailingComments() Comments {
method RawText (line 574) | func (n NodeInfo) RawText() string {
type SourcePos (line 581) | type SourcePos struct
method String (line 593) | func (pos SourcePos) String() string {
type SourceSpan (line 601) | type SourceSpan interface
function NewSourceSpan (line 607) | func NewSourceSpan(start SourcePos, end SourcePos) SourceSpan {
type sourceSpan (line 611) | type sourceSpan struct
method Start (line 616) | func (p sourceSpan) Start() SourcePos {
method End (line 620) | func (p sourceSpan) End() SourcePos {
type Comments (line 628) | type Comments struct
method Len (line 637) | func (c Comments) Len() int {
method Index (line 641) | func (c Comments) Index(i int) Comment {
type Comment (line 659) | type Comment struct
method IsValid (line 668) | func (c Comment) IsValid() bool {
method AsItem (line 673) | func (c Comment) AsItem() Item {
method Start (line 677) | func (c Comment) Start() SourcePos {
method End (line 682) | func (c Comment) End() SourcePos {
method LeadingWhitespace (line 687) | func (c Comment) LeadingWhitespace() string {
method RawText (line 698) | func (c Comment) RawText() string {
FILE: vendor/github.com/bufbuild/protocompile/ast/identifiers.go
type Identifier (line 25) | type Identifier
type IdentValueNode (line 28) | type IdentValueNode interface
type IdentNode (line 40) | type IdentNode struct
method Value (line 53) | func (n *IdentNode) Value() interface{} {
method AsIdentifier (line 57) | func (n *IdentNode) AsIdentifier() Identifier {
method ToKeyword (line 64) | func (n *IdentNode) ToKeyword() *KeywordNode {
function NewIdentNode (line 46) | func NewIdentNode(val string, tok Token) *IdentNode {
type CompoundIdentNode (line 74) | type CompoundIdentNode struct
method Value (line 132) | func (n *CompoundIdentNode) Value() interface{} {
method AsIdentifier (line 136) | func (n *CompoundIdentNode) AsIdentifier() Identifier {
function NewCompoundIdentNode (line 90) | func NewCompoundIdentNode(leadingDot *RuneNode, components []*IdentNode,...
type KeywordNode (line 145) | type KeywordNode
function NewKeywordNode (line 148) | func NewKeywordNode(val string, tok Token) *KeywordNode {
FILE: vendor/github.com/bufbuild/protocompile/ast/message.go
type MessageDeclNode (line 27) | type MessageDeclNode interface
type MessageNode (line 44) | type MessageNode struct
method fileElement (line 51) | func (*MessageNode) fileElement() {}
method msgElement (line 52) | func (*MessageNode) msgElement() {}
method MessageName (line 91) | func (n *MessageNode) MessageName() Node {
method RangeOptions (line 95) | func (n *MessageNode) RangeOptions(fn func(*OptionNode) bool) {
function NewMessageNode (line 60) | func NewMessageNode(keyword *KeywordNode, name *IdentNode, openBrace *Ru...
type MessageBody (line 107) | type MessageBody struct
function populateMessageBody (line 113) | func populateMessageBody(m *MessageBody, openBrace *RuneNode, decls []Me...
type MessageElement (line 130) | type MessageElement interface
type ExtendNode (line 152) | type ExtendNode struct
method fileElement (line 161) | func (*ExtendNode) fileElement() {}
method msgElement (line 162) | func (*ExtendNode) msgElement() {}
function NewExtendNode (line 170) | func NewExtendNode(keyword *KeywordNode, extendee IdentValueNode, openBr...
type ExtendElement (line 216) | type ExtendElement interface
FILE: vendor/github.com/bufbuild/protocompile/ast/no_source.go
function UnknownPos (line 19) | func UnknownPos(filename string) SourcePos {
function UnknownSpan (line 25) | func UnknownSpan(filename string) SourceSpan {
type unknownSpan (line 29) | type unknownSpan struct
method Start (line 33) | func (s unknownSpan) Start() SourcePos {
method End (line 37) | func (s unknownSpan) End() SourcePos {
type NoSourceNode (line 44) | type NoSourceNode
method Name (line 51) | func (n *NoSourceNode) Name() string {
method Start (line 55) | func (n *NoSourceNode) Start() Token {
method End (line 59) | func (n *NoSourceNode) End() Token {
method NodeInfo (line 63) | func (n *NoSourceNode) NodeInfo(Node) NodeInfo {
method GetSyntax (line 69) | func (n *NoSourceNode) GetSyntax() Node {
method GetName (line 73) | func (n *NoSourceNode) GetName() Node {
method GetValue (line 77) | func (n *NoSourceNode) GetValue() ValueNode {
method FieldLabel (line 81) | func (n *NoSourceNode) FieldLabel() Node {
method FieldName (line 85) | func (n *NoSourceNode) FieldName() Node {
method FieldType (line 89) | func (n *NoSourceNode) FieldType() Node {
method FieldTag (line 93) | func (n *NoSourceNode) FieldTag() Node {
method FieldExtendee (line 97) | func (n *NoSourceNode) FieldExtendee() Node {
method GetGroupKeyword (line 101) | func (n *NoSourceNode) GetGroupKeyword() Node {
method GetOptions (line 105) | func (n *NoSourceNode) GetOptions() *CompactOptionsNode {
method RangeStart (line 109) | func (n *NoSourceNode) RangeStart() Node {
method RangeEnd (line 113) | func (n *NoSourceNode) RangeEnd() Node {
method GetNumber (line 117) | func (n *NoSourceNode) GetNumber() Node {
method MessageName (line 121) | func (n *NoSourceNode) MessageName() Node {
method OneofName (line 125) | func (n *NoSourceNode) OneofName() Node {
method GetInputType (line 129) | func (n *NoSourceNode) GetInputType() Node {
method GetOutputType (line 133) | func (n *NoSourceNode) GetOutputType() Node {
method Value (line 137) | func (n *NoSourceNode) Value() interface{} {
method RangeOptions (line 141) | func (n *NoSourceNode) RangeOptions(func(*OptionNode) bool) {
function NewNoSourceNode (line 47) | func NewNoSourceNode(filename string) *NoSourceNode {
FILE: vendor/github.com/bufbuild/protocompile/ast/node.go
type Node (line 22) | type Node interface
type TerminalNode (line 31) | type TerminalNode interface
type CompositeNode (line 46) | type CompositeNode interface
type terminalNode (line 56) | type terminalNode
method Start (line 58) | func (n terminalNode) Start() Token {
method End (line 62) | func (n terminalNode) End() Token {
method Token (line 66) | func (n terminalNode) Token() Token {
type compositeNode (line 74) | type compositeNode struct
method Children (line 78) | func (n *compositeNode) Children() []Node {
method Start (line 82) | func (n *compositeNode) Start() Token {
method End (line 86) | func (n *compositeNode) End() Token {
type RuneNode (line 98) | type RuneNode struct
function NewRuneNode (line 104) | func NewRuneNode(r rune, tok Token) *RuneNode {
type EmptyDeclNode (line 114) | type EmptyDeclNode struct
method fileElement (line 133) | func (e *EmptyDeclNode) fileElement() {}
method msgElement (line 134) | func (e *EmptyDeclNode) msgElement() {}
method extendElement (line 135) | func (e *EmptyDeclNode) extendElement() {}
method oneofElement (line 136) | func (e *EmptyDeclNode) oneofElement() {}
method enumElement (line 137) | func (e *EmptyDeclNode) enumElement() {}
method serviceElement (line 138) | func (e *EmptyDeclNode) serviceElement() {}
method methodElement (line 139) | func (e *EmptyDeclNode) methodElement() {}
function NewEmptyDeclNode (line 121) | func NewEmptyDeclNode(semicolon *RuneNode) *EmptyDeclNode {
FILE: vendor/github.com/bufbuild/protocompile/ast/options.go
type OptionDeclNode (line 22) | type OptionDeclNode interface
type OptionNode (line 37) | type OptionNode struct
method fileElement (line 46) | func (*OptionNode) fileElement() {}
method msgElement (line 47) | func (*OptionNode) msgElement() {}
method oneofElement (line 48) | func (*OptionNode) oneofElement() {}
method enumElement (line 49) | func (*OptionNode) enumElement() {}
method serviceElement (line 50) | func (*OptionNode) serviceElement() {}
method methodElement (line 51) | func (*OptionNode) methodElement() {}
method GetName (line 125) | func (n *OptionNode) GetName() Node {
method GetValue (line 129) | func (n *OptionNode) GetValue() ValueNode {
function NewOptionNode (line 61) | func NewOptionNode(keyword *KeywordNode, name *OptionNameNode, equals *R...
function NewCompactOptionNode (line 99) | func NewCompactOptionNode(name *OptionNameNode, equals *RuneNode, val Va...
type OptionNameNode (line 137) | type OptionNameNode struct
function NewOptionNameNode (line 158) | func NewOptionNameNode(parts []*FieldReferenceNode, dots []*RuneNode) *O...
type FieldReferenceNode (line 218) | type FieldReferenceNode struct
method IsExtension (line 304) | func (a *FieldReferenceNode) IsExtension() bool {
method IsAnyTypeReference (line 309) | func (a *FieldReferenceNode) IsAnyTypeReference() bool {
method Value (line 313) | func (a *FieldReferenceNode) Value() string {
function NewFieldReferenceNode (line 233) | func NewFieldReferenceNode(name *IdentNode) *FieldReferenceNode {
function NewExtensionFieldReferenceNode (line 249) | func NewExtensionFieldReferenceNode(openSym *RuneNode, name IdentValueNo...
function NewAnyTypeReferenceNode (line 273) | func NewAnyTypeReferenceNode(openSym *RuneNode, urlPrefix IdentValueNode...
type CompactOptionsNode (line 327) | type CompactOptionsNode struct
method GetElements (line 390) | func (e *CompactOptionsNode) GetElements() []*OptionNode {
function NewCompactOptionsNode (line 342) | func NewCompactOptionsNode(openBracket *RuneNode, opts []*OptionNode, co...
type NodeWithOptions (line 399) | type NodeWithOptions interface
FILE: vendor/github.com/bufbuild/protocompile/ast/ranges.go
type ExtensionRangeNode (line 23) | type ExtensionRangeNode struct
method msgElement (line 36) | func (*ExtensionRangeNode) msgElement() {}
method RangeOptions (line 93) | func (e *ExtensionRangeNode) RangeOptions(fn func(*OptionNode) bool) {
function NewExtensionRangeNode (line 46) | func NewExtensionRangeNode(keyword *KeywordNode, ranges []*RangeNode, co...
type RangeDeclNode (line 104) | type RangeDeclNode interface
type RangeNode (line 117) | type RangeNode struct
method RangeStart (line 174) | func (n *RangeNode) RangeStart() Node {
method RangeEnd (line 178) | func (n *RangeNode) RangeEnd() Node {
method StartValue (line 188) | func (n *RangeNode) StartValue() interface{} {
method StartValueAsInt32 (line 192) | func (n *RangeNode) StartValueAsInt32(minVal, maxVal int32) (int32, bo...
method EndValue (line 196) | func (n *RangeNode) EndValue() interface{} {
method EndValueAsInt32 (line 203) | func (n *RangeNode) EndValueAsInt32(minVal, maxVal int32) (int32, bool) {
function NewRangeNode (line 132) | func NewRangeNode(start IntValueNode, to *KeywordNode, end IntValueNode,...
type ReservedNode (line 219) | type ReservedNode struct
method msgElement (line 241) | func (*ReservedNode) msgElement() {}
method enumElement (line 242) | func (*ReservedNode) enumElement() {}
function NewReservedRangesNode (line 251) | func NewReservedRangesNode(keyword *KeywordNode, ranges []*RangeNode, co...
function NewReservedNamesNode (line 297) | func NewReservedNamesNode(keyword *KeywordNode, names []StringValueNode,...
function NewReservedIdentifiersNode (line 346) | func NewReservedIdentifiersNode(keyword *KeywordNode, names []*IdentNode...
FILE: vendor/github.com/bufbuild/protocompile/ast/service.go
type ServiceNode (line 25) | type ServiceNode struct
method fileElement (line 34) | func (*ServiceNode) fileElement() {}
method RangeOptions (line 79) | func (n *ServiceNode) RangeOptions(fn func(*OptionNode) bool) {
function NewServiceNode (line 42) | func NewServiceNode(keyword *KeywordNode, name *IdentNode, openBrace *Ru...
type ServiceElement (line 91) | type ServiceElement interface
type RPCDeclNode (line 103) | type RPCDeclNode interface
type RPCNode (line 116) | type RPCNode struct
method serviceElement (line 129) | func (n *RPCNode) serviceElement() {}
method GetName (line 232) | func (n *RPCNode) GetName() Node {
method GetInputType (line 236) | func (n *RPCNode) GetInputType() Node {
method GetOutputType (line 240) | func (n *RPCNode) GetOutputType() Node {
method RangeOptions (line 244) | func (n *RPCNode) RangeOptions(fn func(*OptionNode) bool) {
function NewRPCNode (line 138) | func NewRPCNode(keyword *KeywordNode, name *IdentNode, input *RPCTypeNod...
function NewRPCNodeWithBody (line 183) | func NewRPCNodeWithBody(keyword *KeywordNode, name *IdentNode, input *RP...
type RPCElement (line 256) | type RPCElement interface
type RPCTypeNode (line 268) | type RPCTypeNode struct
function NewRPCTypeNode (line 282) | func NewRPCTypeNode(openParen *RuneNode, stream *KeywordNode, msgType Id...
FILE: vendor/github.com/bufbuild/protocompile/ast/values.go
type ValueNode (line 31) | type ValueNode interface
type StringValueNode (line 62) | type StringValueNode interface
type StringLiteralNode (line 73) | type StringLiteralNode struct
method Value (line 87) | func (n *StringLiteralNode) Value() interface{} {
method AsString (line 91) | func (n *StringLiteralNode) AsString() string {
function NewStringLiteralNode (line 80) | func NewStringLiteralNode(val string, tok Token) *StringLiteralNode {
type CompoundStringLiteralNode (line 99) | type CompoundStringLiteralNode struct
method Value (line 125) | func (n *CompoundStringLiteralNode) Value() interface{} {
method AsString (line 129) | func (n *CompoundStringLiteralNode) AsString() string {
function NewCompoundLiteralStringNode (line 107) | func NewCompoundLiteralStringNode(components ...*StringLiteralNode) *Com...
type IntValueNode (line 136) | type IntValueNode interface
function AsInt32 (line 144) | func AsInt32(n IntValueNode, minVal, maxVal int32) (int32, bool) {
type UintLiteralNode (line 159) | type UintLiteralNode struct
method Value (line 173) | func (n *UintLiteralNode) Value() interface{} {
method AsInt64 (line 177) | func (n *UintLiteralNode) AsInt64() (int64, bool) {
method AsUint64 (line 184) | func (n *UintLiteralNode) AsUint64() (uint64, bool) {
method AsFloat (line 188) | func (n *UintLiteralNode) AsFloat() float64 {
function NewUintLiteralNode (line 166) | func NewUintLiteralNode(val uint64, tok Token) *UintLiteralNode {
type NegativeIntLiteralNode (line 193) | type NegativeIntLiteralNode struct
method Value (line 220) | func (n *NegativeIntLiteralNode) Value() interface{} {
method AsInt64 (line 224) | func (n *NegativeIntLiteralNode) AsInt64() (int64, bool) {
method AsUint64 (line 228) | func (n *NegativeIntLiteralNode) AsUint64() (uint64, bool) {
function NewNegativeIntLiteralNode (line 202) | func NewNegativeIntLiteralNode(sign *RuneNode, i *UintLiteralNode) *Nega...
type FloatValueNode (line 238) | type FloatValueNode interface
type FloatLiteralNode (line 248) | type FloatLiteralNode struct
method Value (line 262) | func (n *FloatLiteralNode) Value() interface{} {
method AsFloat (line 266) | func (n *FloatLiteralNode) AsFloat() float64 {
function NewFloatLiteralNode (line 255) | func NewFloatLiteralNode(val float64, tok Token) *FloatLiteralNode {
type SpecialFloatLiteralNode (line 272) | type SpecialFloatLiteralNode struct
method Value (line 294) | func (n *SpecialFloatLiteralNode) Value() interface{} {
method AsFloat (line 298) | func (n *SpecialFloatLiteralNode) AsFloat() float64 {
function NewSpecialFloatLiteralNode (line 280) | func NewSpecialFloatLiteralNode(name *KeywordNode) *SpecialFloatLiteralN...
type SignedFloatLiteralNode (line 303) | type SignedFloatLiteralNode struct
method Value (line 334) | func (n *SignedFloatLiteralNode) Value() interface{} {
method AsFloat (line 338) | func (n *SignedFloatLiteralNode) AsFloat() float64 {
function NewSignedFloatLiteralNode (line 312) | func NewSignedFloatLiteralNode(sign *RuneNode, f FloatValueNode) *Signed...
type ArrayLiteralNode (line 346) | type ArrayLiteralNode struct
method Value (line 403) | func (n *ArrayLiteralNode) Value() interface{} {
function NewArrayLiteralNode (line 363) | func NewArrayLiteralNode(openBracket *RuneNode, vals []ValueNode, commas...
type MessageLiteralNode (line 412) | type MessageLiteralNode struct
method Value (line 472) | func (n *MessageLiteralNode) Value() interface{} {
function NewMessageLiteralNode (line 432) | func NewMessageLiteralNode(openSym *RuneNode, vals []*MessageFieldNode, ...
type MessageFieldNode (line 480) | type MessageFieldNode struct
function NewMessageFieldNode (line 493) | func NewMessageFieldNode(name *FieldReferenceNode, sep *RuneNode, val Va...
FILE: vendor/github.com/bufbuild/protocompile/ast/walk.go
function Walk (line 25) | func Walk(root Node, v Visitor, opts ...WalkOption) error {
type WalkOption (line 36) | type WalkOption
type walkOptions (line 38) | type walkOptions struct
function WithBefore (line 45) | func WithBefore(fn func(Node) error) WalkOption {
function WithAfter (line 60) | func WithAfter(fn func(Node) error) WalkOption {
function walk (line 66) | func walk(root Node, v Visitor, opts walkOptions) (err error) {
function Visit (line 100) | func Visit(n Node, v Visitor) error {
type AncestorTracker (line 188) | type AncestorTracker struct
method AsWalkOptions (line 194) | func (t *AncestorTracker) AsWalkOptions() []WalkOption {
method Path (line 213) | func (t *AncestorTracker) Path() []Node {
method Parent (line 219) | func (t *AncestorTracker) Parent() Node {
function VisitChildren (line 229) | func VisitChildren(n CompositeNode, v Visitor) error {
type Visitor (line 265) | type Visitor interface
type NoOpVisitor (line 353) | type NoOpVisitor struct
method isVisitor (line 357) | func (n NoOpVisitor) isVisitor() {}
method VisitFileNode (line 359) | func (n NoOpVisitor) VisitFileNode(_ *FileNode) error {
method VisitSyntaxNode (line 363) | func (n NoOpVisitor) VisitSyntaxNode(_ *SyntaxNode) error {
method VisitEditionNode (line 367) | func (n NoOpVisitor) VisitEditionNode(_ *EditionNode) error {
method VisitPackageNode (line 371) | func (n NoOpVisitor) VisitPackageNode(_ *PackageNode) error {
method VisitImportNode (line 375) | func (n NoOpVisitor) VisitImportNode(_ *ImportNode) error {
method VisitOptionNode (line 379) | func (n NoOpVisitor) VisitOptionNode(_ *OptionNode) error {
method VisitOptionNameNode (line 383) | func (n NoOpVisitor) VisitOptionNameNode(_ *OptionNameNode) error {
method VisitFieldReferenceNode (line 387) | func (n NoOpVisitor) VisitFieldReferenceNode(_ *FieldReferenceNode) er...
method VisitCompactOptionsNode (line 391) | func (n NoOpVisitor) VisitCompactOptionsNode(_ *CompactOptionsNode) er...
method VisitMessageNode (line 395) | func (n NoOpVisitor) VisitMessageNode(_ *MessageNode) error {
method VisitExtendNode (line 399) | func (n NoOpVisitor) VisitExtendNode(_ *ExtendNode) error {
method VisitExtensionRangeNode (line 403) | func (n NoOpVisitor) VisitExtensionRangeNode(_ *ExtensionRangeNode) er...
method VisitReservedNode (line 407) | func (n NoOpVisitor) VisitReservedNode(_ *ReservedNode) error {
method VisitRangeNode (line 411) | func (n NoOpVisitor) VisitRangeNode(_ *RangeNode) error {
method VisitFieldNode (line 415) | func (n NoOpVisitor) VisitFieldNode(_ *FieldNode) error {
method VisitGroupNode (line 419) | func (n NoOpVisitor) VisitGroupNode(_ *GroupNode) error {
method VisitMapFieldNode (line 423) | func (n NoOpVisitor) VisitMapFieldNode(_ *MapFieldNode) error {
method VisitMapTypeNode (line 427) | func (n NoOpVisitor) VisitMapTypeNode(_ *MapTypeNode) error {
method VisitOneofNode (line 431) | func (n NoOpVisitor) VisitOneofNode(_ *OneofNode) error {
method VisitEnumNode (line 435) | func (n NoOpVisitor) VisitEnumNode(_ *EnumNode) error {
method VisitEnumValueNode (line 439) | func (n NoOpVisitor) VisitEnumValueNode(_ *EnumValueNode) error {
method VisitServiceNode (line 443) | func (n NoOpVisitor) VisitServiceNode(_ *ServiceNode) error {
method VisitRPCNode (line 447) | func (n NoOpVisitor) VisitRPCNode(_ *RPCNode) error {
method VisitRPCTypeNode (line 451) | func (n NoOpVisitor) VisitRPCTypeNode(_ *RPCTypeNode) error {
method VisitIdentNode (line 455) | func (n NoOpVisitor) VisitIdentNode(_ *IdentNode) error {
method VisitCompoundIdentNode (line 459) | func (n NoOpVisitor) VisitCompoundIdentNode(_ *CompoundIdentNode) error {
method VisitStringLiteralNode (line 463) | func (n NoOpVisitor) VisitStringLiteralNode(_ *StringLiteralNode) error {
method VisitCompoundStringLiteralNode (line 467) | func (n NoOpVisitor) VisitCompoundStringLiteralNode(_ *CompoundStringL...
method VisitUintLiteralNode (line 471) | func (n NoOpVisitor) VisitUintLiteralNode(_ *UintLiteralNode) error {
method VisitNegativeIntLiteralNode (line 475) | func (n NoOpVisitor) VisitNegativeIntLiteralNode(_ *NegativeIntLiteral...
method VisitFloatLiteralNode (line 479) | func (n NoOpVisitor) VisitFloatLiteralNode(_ *FloatLiteralNode) error {
method VisitSpecialFloatLiteralNode (line 483) | func (n NoOpVisitor) VisitSpecialFloatLiteralNode(_ *SpecialFloatLiter...
method VisitSignedFloatLiteralNode (line 487) | func (n NoOpVisitor) VisitSignedFloatLiteralNode(_ *SignedFloatLiteral...
method VisitArrayLiteralNode (line 491) | func (n NoOpVisitor) VisitArrayLiteralNode(_ *ArrayLiteralNode) error {
method VisitMessageLiteralNode (line 495) | func (n NoOpVisitor) VisitMessageLiteralNode(_ *MessageLiteralNode) er...
method VisitMessageFieldNode (line 499) | func (n NoOpVisitor) VisitMessageFieldNode(_ *MessageFieldNode) error {
method VisitKeywordNode (line 503) | func (n NoOpVisitor) VisitKeywordNode(_ *KeywordNode) error {
method VisitRuneNode (line 507) | func (n NoOpVisitor) VisitRuneNode(_ *RuneNode) error {
method VisitEmptyDeclNode (line 511) | func (n NoOpVisitor) VisitEmptyDeclNode(_ *EmptyDeclNode) error {
type SimpleVisitor (line 541) | type SimpleVisitor struct
method isVisitor (line 598) | func (v *SimpleVisitor) isVisitor() {}
method visitInterface (line 600) | func (v *SimpleVisitor) visitInterface(node Node) error {
method VisitFileNode (line 660) | func (v *SimpleVisitor) VisitFileNode(node *FileNode) error {
method VisitSyntaxNode (line 667) | func (v *SimpleVisitor) VisitSyntaxNode(node *SyntaxNode) error {
method VisitEditionNode (line 674) | func (v *SimpleVisitor) VisitEditionNode(node *EditionNode) error {
method VisitPackageNode (line 681) | func (v *SimpleVisitor) VisitPackageNode(node *PackageNode) error {
method VisitImportNode (line 688) | func (v *SimpleVisitor) VisitImportNode(node *ImportNode) error {
method VisitOptionNode (line 695) | func (v *SimpleVisitor) VisitOptionNode(node *OptionNode) error {
method VisitOptionNameNode (line 702) | func (v *SimpleVisitor) VisitOptionNameNode(node *OptionNameNode) error {
method VisitFieldReferenceNode (line 709) | func (v *SimpleVisitor) VisitFieldReferenceNode(node *FieldReferenceNo...
method VisitCompactOptionsNode (line 716) | func (v *SimpleVisitor) VisitCompactOptionsNode(node *CompactOptionsNo...
method VisitMessageNode (line 723) | func (v *SimpleVisitor) VisitMessageNode(node *MessageNode) error {
method VisitExtendNode (line 730) | func (v *SimpleVisitor) VisitExtendNode(node *ExtendNode) error {
method VisitExtensionRangeNode (line 737) | func (v *SimpleVisitor) VisitExtensionRangeNode(node *ExtensionRangeNo...
method VisitReservedNode (line 744) | func (v *SimpleVisitor) VisitReservedNode(node *ReservedNode) error {
method VisitRangeNode (line 751) | func (v *SimpleVisitor) VisitRangeNode(node *RangeNode) error {
method VisitFieldNode (line 758) | func (v *SimpleVisitor) VisitFieldNode(node *FieldNode) error {
method VisitGroupNode (line 765) | func (v *SimpleVisitor) VisitGroupNode(node *GroupNode) error {
method VisitMapFieldNode (line 772) | func (v *SimpleVisitor) VisitMapFieldNode(node *MapFieldNode) error {
method VisitMapTypeNode (line 779) | func (v *SimpleVisitor) VisitMapTypeNode(node *MapTypeNode) error {
method VisitOneofNode (line 786) | func (v *SimpleVisitor) VisitOneofNode(node *OneofNode) error {
method VisitEnumNode (line 793) | func (v *SimpleVisitor) VisitEnumNode(node *EnumNode) error {
method VisitEnumValueNode (line 800) | func (v *SimpleVisitor) VisitEnumValueNode(node *EnumValueNode) error {
method VisitServiceNode (line 807) | func (v *SimpleVisitor) VisitServiceNode(node *ServiceNode) error {
method VisitRPCNode (line 814) | func (v *SimpleVisitor) VisitRPCNode(node *RPCNode) error {
method VisitRPCTypeNode (line 821) | func (v *SimpleVisitor) VisitRPCTypeNode(node *RPCTypeNode) error {
method VisitIdentNode (line 828) | func (v *SimpleVisitor) VisitIdentNode(node *IdentNode) error {
method VisitCompoundIdentNode (line 835) | func (v *SimpleVisitor) VisitCompoundIdentNode(node *CompoundIdentNode...
method VisitStringLiteralNode (line 842) | func (v *SimpleVisitor) VisitStringLiteralNode(node *StringLiteralNode...
method VisitCompoundStringLiteralNode (line 849) | func (v *SimpleVisitor) VisitCompoundStringLiteralNode(node *CompoundS...
method VisitUintLiteralNode (line 856) | func (v *SimpleVisitor) VisitUintLiteralNode(node *UintLiteralNode) er...
method VisitNegativeIntLiteralNode (line 863) | func (v *SimpleVisitor) VisitNegativeIntLiteralNode(node *NegativeIntL...
method VisitFloatLiteralNode (line 870) | func (v *SimpleVisitor) VisitFloatLiteralNode(node *FloatLiteralNode) ...
method VisitSpecialFloatLiteralNode (line 877) | func (v *SimpleVisitor) VisitSpecialFloatLiteralNode(node *SpecialFloa...
method VisitSignedFloatLiteralNode (line 884) | func (v *SimpleVisitor) VisitSignedFloatLiteralNode(node *SignedFloatL...
method VisitArrayLiteralNode (line 891) | func (v *SimpleVisitor) VisitArrayLiteralNode(node *ArrayLiteralNode) ...
method VisitMessageLiteralNode (line 898) | func (v *SimpleVisitor) VisitMessageLiteralNode(node *MessageLiteralNo...
method VisitMessageFieldNode (line 905) | func (v *SimpleVisitor) VisitMessageFieldNode(node *MessageFieldNode) ...
method VisitKeywordNode (line 912) | func (v *SimpleVisitor) VisitKeywordNode(node *KeywordNode) error {
method VisitRuneNode (line 919) | func (v *SimpleVisitor) VisitRuneNode(node *RuneNode) error {
method VisitEmptyDeclNode (line 926) | func (v *SimpleVisitor) VisitEmptyDeclNode(node *EmptyDeclNode) error {
FILE: vendor/github.com/bufbuild/protocompile/compiler.go
type Compiler (line 53) | type Compiler struct
method Compile (line 134) | func (c *Compiler) Compile(ctx context.Context, files ...string) (link...
type SourceInfoMode (line 105) | type SourceInfoMode
constant SourceInfoNone (line 109) | SourceInfoNone = SourceInfoMode(0)
constant SourceInfoStandard (line 112) | SourceInfoStandard = SourceInfoMode(1)
constant SourceInfoExtraComments (line 116) | SourceInfoExtraComments = SourceInfoMode(2)
constant SourceInfoExtraOptionLocations (line 121) | SourceInfoExtraOptionLocations = SourceInfoMode(4)
type result (line 207) | type result struct
method fail (line 225) | func (r *result) fail(err error) {
method complete (line 230) | func (r *result) complete(f linker.File) {
method setBlockedOn (line 235) | func (r *result) setBlockedOn(deps []string) {
method getBlockedOn (line 241) | func (r *result) getBlockedOn() []string {
type executor (line 247) | type executor struct
method compile (line 261) | func (e *executor) compile(ctx context.Context, file string) *result {
method compileLocked (line 268) | func (e *executor) compileLocked(ctx context.Context, file string, exp...
method hasOverrideDescriptorProto (line 343) | func (e *executor) hasOverrideDescriptorProto() bool {
method doCompile (line 355) | func (e *executor) doCompile(ctx context.Context, file string, r *resu...
method checkForDependencyCycle (line 530) | func (e *executor) checkForDependencyCycle(res *result, sequence []str...
type PanicError (line 310) | type PanicError struct
method Error (line 321) | func (p PanicError) Error() string {
type errFailedToResolve (line 325) | type errFailedToResolve struct
method Error (line 330) | func (e errFailedToResolve) Error() string {
method Unwrap (line 339) | func (e errFailedToResolve) Unwrap() error {
type task (line 389) | type task struct
method release (line 403) | func (t *task) release() {
method asFile (line 412) | func (t *task) asFile(ctx context.Context, name string, r SearchResult...
method link (line 586) | func (t *task) link(parseRes parser.Result, deps linker.Files, overrid...
method asParseResult (line 642) | func (t *task) asParseResult(name string, r SearchResult) (parser.Resu...
method asAST (line 673) | func (t *task) asAST(name string, r SearchResult) (*ast.FileNode, erro...
constant descriptorProtoPath (line 410) | descriptorProtoPath = "google/protobuf/descriptor.proto"
function handleImportCycle (line 559) | func handleImportCycle(h *reporter.Handler, span ast.SourceSpan, importS...
function findImportSpan (line 570) | func findImportSpan(res parser.Result, dep string) ast.SourceSpan {
function needsSourceInfo (line 638) | func needsSourceInfo(parseRes parser.Result, mode SourceInfoMode) bool {
FILE: vendor/github.com/bufbuild/protocompile/internal/editions/editions.go
constant MinSupportedEdition (line 37) | MinSupportedEdition = descriptorpb.Edition_EDITION_2023
constant MaxSupportedEdition (line 40) | MaxSupportedEdition = descriptorpb.Edition_EDITION_2023
type HasFeatures (line 66) | type HasFeatures interface
function ResolveFeature (line 83) | func ResolveFeature(
type HasEdition (line 133) | type HasEdition interface
function GetEdition (line 146) | func GetEdition(d protoreflect.Descriptor) descriptorpb.Edition {
function GetEditionDefaults (line 176) | func GetEditionDefaults(edition descriptorpb.Edition) *descriptorpb.Feat...
function GetFeatureDefault (line 213) | func GetFeatureDefault(edition descriptorpb.Edition, container protorefl...
function adaptFeatureSet (line 261) | func adaptFeatureSet(msg *descriptorpb.FeatureSet, field protoreflect.Fi...
type resolverForExtension (line 326) | type resolverForExtension struct
method FindMessageByName (line 330) | func (r resolverForExtension) FindMessageByName(_ protoreflect.FullNam...
method FindMessageByURL (line 334) | func (r resolverForExtension) FindMessageByURL(_ string) (protoreflect...
method FindExtensionByName (line 338) | func (r resolverForExtension) FindExtensionByName(field protoreflect.F...
method FindExtensionByNumber (line 345) | func (r resolverForExtension) FindExtensionByNumber(message protorefle...
function asExtensionType (line 352) | func asExtensionType(ext protoreflect.ExtensionDescriptor) protoreflect....
function computeSupportedEditions (line 359) | func computeSupportedEditions(minEdition, maxEdition descriptorpb.Editio...
function actualDescriptor (line 375) | func actualDescriptor(msg protoreflect.Message, ext protoreflect.Extensi...
FILE: vendor/github.com/bufbuild/protocompile/internal/featuresext/featuresext.go
function initDescriptors (line 50) | func initDescriptors() {
function CppFeaturesDescriptor (line 57) | func CppFeaturesDescriptor() (protoreflect.FileDescriptor, error) {
function JavaFeaturesDescriptor (line 62) | func JavaFeaturesDescriptor() (protoreflect.FileDescriptor, error) {
function buildDescriptor (line 67) | func buildDescriptor(name string, data []byte) (protoreflect.FileDescrip...
FILE: vendor/github.com/bufbuild/protocompile/internal/message_context.go
type ParsedFile (line 29) | type ParsedFile interface
type MessageContext (line 39) | type MessageContext struct
method String (line 56) | func (c *MessageContext) String() string {
function writeOptionName (line 77) | func writeOptionName(buf *bytes.Buffer, parts []*descriptorpb.Uninterpre...
FILE: vendor/github.com/bufbuild/protocompile/internal/messageset/messageset.go
function CanSupportMessageSets (line 33) | func CanSupportMessageSets() bool {
FILE: vendor/github.com/bufbuild/protocompile/internal/norace.go
constant IsRace (line 19) | IsRace = false
FILE: vendor/github.com/bufbuild/protocompile/internal/options.go
type hasOptionNode (line 23) | type hasOptionNode interface
type errorHandler (line 28) | type errorHandler
function FindFirstOption (line 30) | func FindFirstOption(res hasOptionNode, handler errorHandler, scope stri...
function FindOption (line 34) | func FindOption(res hasOptionNode, handler errorHandler, scope string, o...
function findOption (line 38) | func findOption(res hasOptionNode, handler errorHandler, scope string, o...
function RemoveOption (line 62) | func RemoveOption(uo []*descriptorpb.UninterpretedOption, indexToRemove ...
FILE: vendor/github.com/bufbuild/protocompile/internal/race.go
constant IsRace (line 19) | IsRace = true
FILE: vendor/github.com/bufbuild/protocompile/internal/tags.go
constant MaxNormalTag (line 21) | MaxNormalTag = 536870911
constant MaxMessageSetTag (line 25) | MaxMessageSetTag = math.MaxInt32 - 1
constant MaxTag (line 29) | MaxTag = MaxMessageSetTag
constant SpecialReservedStart (line 33) | SpecialReservedStart = 19000
constant SpecialReservedEnd (line 36) | SpecialReservedEnd = 19999
constant FilePackageTag (line 45) | FilePackageTag = 2
constant FileDependencyTag (line 48) | FileDependencyTag = 3
constant FileMessagesTag (line 51) | FileMessagesTag = 4
constant FileEnumsTag (line 54) | FileEnumsTag = 5
constant FileServicesTag (line 57) | FileServicesTag = 6
constant FileExtensionsTag (line 60) | FileExtensionsTag = 7
constant FileOptionsTag (line 63) | FileOptionsTag = 8
constant FileOptionsJavaStringCheckUTF8Tag (line 66) | FileOptionsJavaStringCheckUTF8Tag = 27
constant FileOptionsFeaturesTag (line 69) | FileOptionsFeaturesTag = 50
constant FileSourceCodeInfoTag (line 72) | FileSourceCodeInfoTag = 9
constant FilePublicDependencyTag (line 75) | FilePublicDependencyTag = 10
constant FileWeakDependencyTag (line 78) | FileWeakDependencyTag = 11
constant FileSyntaxTag (line 81) | FileSyntaxTag = 12
constant FileEditionTag (line 84) | FileEditionTag = 14
constant MessageNameTag (line 87) | MessageNameTag = 1
constant MessageFieldsTag (line 90) | MessageFieldsTag = 2
constant MessageNestedMessagesTag (line 93) | MessageNestedMessagesTag = 3
constant MessageEnumsTag (line 96) | MessageEnumsTag = 4
constant MessageExtensionRangesTag (line 99) | MessageExtensionRangesTag = 5
constant MessageExtensionsTag (line 102) | MessageExtensionsTag = 6
constant MessageOptionsTag (line 105) | MessageOptionsTag = 7
constant MessageOptionsFeaturesTag (line 108) | MessageOptionsFeaturesTag = 12
constant MessageOneofsTag (line 111) | MessageOneofsTag = 8
constant MessageReservedRangesTag (line 114) | MessageReservedRangesTag = 9
constant MessageReservedNamesTag (line 117) | MessageReservedNamesTag = 10
constant ExtensionRangeStartTag (line 120) | ExtensionRangeStartTag = 1
constant ExtensionRangeEndTag (line 123) | ExtensionRangeEndTag = 2
constant ExtensionRangeOptionsTag (line 126) | ExtensionRangeOptionsTag = 3
constant ExtensionRangeOptionsDeclarationTag (line 129) | ExtensionRangeOptionsDeclarationTag = 2
constant ExtensionRangeOptionsVerificationTag (line 132) | ExtensionRangeOptionsVerificationTag = 3
constant ExtensionRangeOptionsDeclarationNumberTag (line 135) | ExtensionRangeOptionsDeclarationNumberTag = 1
constant ExtensionRangeOptionsDeclarationFullNameTag (line 138) | ExtensionRangeOptionsDeclarationFullNameTag = 2
constant ExtensionRangeOptionsDeclarationTypeTag (line 141) | ExtensionRangeOptionsDeclarationTypeTag = 3
constant ExtensionRangeOptionsDeclarationReservedTag (line 144) | ExtensionRangeOptionsDeclarationReservedTag = 5
constant ExtensionRangeOptionsDeclarationRepeatedTag (line 147) | ExtensionRangeOptionsDeclarationRepeatedTag = 6
constant ExtensionRangeOptionsFeaturesTag (line 150) | ExtensionRangeOptionsFeaturesTag = 50
constant ReservedRangeStartTag (line 154) | ReservedRangeStartTag = 1
constant ReservedRangeEndTag (line 158) | ReservedRangeEndTag = 2
constant FieldNameTag (line 161) | FieldNameTag = 1
constant FieldExtendeeTag (line 164) | FieldExtendeeTag = 2
constant FieldNumberTag (line 167) | FieldNumberTag = 3
constant FieldLabelTag (line 170) | FieldLabelTag = 4
constant FieldTypeTag (line 173) | FieldTypeTag = 5
constant FieldTypeNameTag (line 176) | FieldTypeNameTag = 6
constant FieldDefaultTag (line 179) | FieldDefaultTag = 7
constant FieldOptionsTag (line 182) | FieldOptionsTag = 8
constant FieldOptionsCTypeTag (line 185) | FieldOptionsCTypeTag = 1
constant FieldOptionsPackedTag (line 188) | FieldOptionsPackedTag = 2
constant FieldOptionsLazyTag (line 191) | FieldOptionsLazyTag = 5
constant FieldOptionsJSTypeTag (line 194) | FieldOptionsJSTypeTag = 6
constant FieldOptionsUnverifiedLazyTag (line 197) | FieldOptionsUnverifiedLazyTag = 15
constant FieldOptionsFeaturesTag (line 200) | FieldOptionsFeaturesTag = 21
constant FieldOneofIndexTag (line 203) | FieldOneofIndexTag = 9
constant FieldJSONNameTag (line 206) | FieldJSONNameTag = 10
constant FieldProto3OptionalTag (line 209) | FieldProto3OptionalTag = 17
constant OneofNameTag (line 212) | OneofNameTag = 1
constant OneofOptionsTag (line 215) | OneofOptionsTag = 2
constant OneofOptionsFeaturesTag (line 218) | OneofOptionsFeaturesTag = 1
constant EnumNameTag (line 221) | EnumNameTag = 1
constant EnumValuesTag (line 224) | EnumValuesTag = 2
constant EnumOptionsTag (line 227) | EnumOptionsTag = 3
constant EnumOptionsFeaturesTag (line 230) | EnumOptionsFeaturesTag = 7
constant EnumReservedRangesTag (line 233) | EnumReservedRangesTag = 4
constant EnumReservedNamesTag (line 236) | EnumReservedNamesTag = 5
constant EnumValNameTag (line 239) | EnumValNameTag = 1
constant EnumValNumberTag (line 242) | EnumValNumberTag = 2
constant EnumValOptionsTag (line 245) | EnumValOptionsTag = 3
constant EnumValOptionsFeaturesTag (line 248) | EnumValOptionsFeaturesTag = 2
constant ServiceNameTag (line 251) | ServiceNameTag = 1
constant ServiceMethodsTag (line 254) | ServiceMethodsTag = 2
constant ServiceOptionsTag (line 257) | ServiceOptionsTag = 3
constant ServiceOptionsFeaturesTag (line 260) | ServiceOptionsFeaturesTag = 34
constant MethodNameTag (line 263) | MethodNameTag = 1
constant MethodInputTag (line 266) | MethodInputTag = 2
constant MethodOutputTag (line 269) | MethodOutputTag = 3
constant MethodOptionsTag (line 272) | MethodOptionsTag = 4
constant MethodOptionsFeaturesTag (line 275) | MethodOptionsFeaturesTag = 35
constant MethodInputStreamTag (line 278) | MethodInputStreamTag = 5
constant MethodOutputStreamTag (line 281) | MethodOutputStreamTag = 6
constant UninterpretedOptionsTag (line 286) | UninterpretedOptionsTag = 999
constant UninterpretedNameTag (line 290) | UninterpretedNameTag = 2
constant UninterpretedIdentTag (line 293) | UninterpretedIdentTag = 3
constant UninterpretedPosIntTag (line 296) | UninterpretedPosIntTag = 4
constant UninterpretedNegIntTag (line 299) | UninterpretedNegIntTag = 5
constant UninterpretedDoubleTag (line 302) | UninterpretedDoubleTag = 6
constant UninterpretedStringTag (line 305) | UninterpretedStringTag = 7
constant UninterpretedAggregateTag (line 308) | UninterpretedAggregateTag = 8
constant UninterpretedNameNameTag (line 311) | UninterpretedNameNameTag = 1
constant AnyTypeURLTag (line 314) | AnyTypeURLTag = 1
constant AnyValueTag (line 316) | AnyValueTag = 2
constant FeatureSetFieldPresenceTag (line 320) | FeatureSetFieldPresenceTag = 1
constant FeatureSetEnumTypeTag (line 323) | FeatureSetEnumTypeTag = 2
constant FeatureSetRepeatedFieldEncodingTag (line 326) | FeatureSetRepeatedFieldEncodingTag = 3
constant FeatureSetUTF8ValidationTag (line 329) | FeatureSetUTF8ValidationTag = 4
constant FeatureSetMessageEncodingTag (line 332) | FeatureSetMessageEncodingTag = 5
constant FeatureSetJSONFormatTag (line 335) | FeatureSetJSONFormatTag = 6
FILE: vendor/github.com/bufbuild/protocompile/internal/util.go
function JSONName (line 29) | func JSONName(name string) string {
function InitCap (line 48) | func InitCap(name string) string {
function CreatePrefixList (line 61) | func CreatePrefixList(pkg string) []string {
function WriteEscapedBytes (line 90) | func WriteEscapedBytes(buf *bytes.Buffer, b []byte) {
function IsZeroLocation (line 125) | func IsZeroLocation(loc protoreflect.SourceLocation) bool {
function ComputePath (line 140) | func ComputePath(d protoreflect.Descriptor) (protoreflect.SourcePath, bo...
function CanPack (line 224) | func CanPack(k protoreflect.Kind) bool {
function ClonePath (line 233) | func ClonePath(path protoreflect.SourcePath) protoreflect.SourcePath {
function reverse (line 239) | func reverse(p protoreflect.SourcePath) protoreflect.SourcePath {
FILE: vendor/github.com/bufbuild/protocompile/linker/descriptors.go
function init (line 71) | func init() {
type result (line 149) | type result struct
method RemoveAST (line 182) | func (r *result) RemoveAST() {
method AsProto (line 187) | func (r *result) AsProto() proto.Message {
method ParentFile (line 191) | func (r *result) ParentFile() protoreflect.FileDescriptor {
method Parent (line 195) | func (r *result) Parent() protoreflect.Descriptor {
method Index (line 199) | func (r *result) Index() int {
method Syntax (line 203) | func (r *result) Syntax() protoreflect.Syntax {
method Edition (line 216) | func (r *result) Edition() int32 {
method Name (line 229) | func (r *result) Name() protoreflect.Name {
method FullName (line 233) | func (r *result) FullName() protoreflect.FullName {
method IsPlaceholder (line 237) | func (r *result) IsPlaceholder() bool {
method Options (line 241) | func (r *result) Options() protoreflect.ProtoMessage {
method Path (line 245) | func (r *result) Path() string {
method Package (line 249) | func (r *result) Package() protoreflect.FullName {
method Imports (line 253) | func (r *result) Imports() protoreflect.FileImports {
method Enums (line 257) | func (r *result) Enums() protoreflect.EnumDescriptors {
method Messages (line 261) | func (r *result) Messages() protoreflect.MessageDescriptors {
method Extensions (line 265) | func (r *result) Extensions() protoreflect.ExtensionDescriptors {
method Services (line 269) | func (r *result) Services() protoreflect.ServiceDescriptors {
method PopulateSourceCodeInfo (line 273) | func (r *result) PopulateSourceCodeInfo() {
method SourceLocations (line 279) | func (r *result) SourceLocations() protoreflect.SourceLocations {
method createImports (line 329) | func (r *result) createImports() fileImports {
method createMessages (line 406) | func (r *result) createMessages(prefix string, parent protoreflect.Des...
method createMessageDescriptor (line 454) | func (r *result) createMessageDescriptor(ret *msgDescriptor, md *descr...
method createEnums (line 654) | func (r *result) createEnums(prefix string, parent protoreflect.Descri...
method createEnumDescriptor (line 697) | func (r *result) createEnumDescriptor(ret *enumDescriptor, ed *descrip...
method createEnumValues (line 812) | func (r *result) createEnumValues(prefix string, parent *enumDescripto...
method createEnumValueDescriptor (line 860) | func (r *result) createEnumValueDescriptor(ret *enValDescriptor, ed *d...
method createExtensions (line 919) | func (r *result) createExtensions(prefix string, parent protoreflect.D...
method createExtTypeDescriptor (line 952) | func (r *result) createExtTypeDescriptor(ret *extTypeDescriptor, fd *d...
method createFields (line 977) | func (r *result) createFields(prefix string, parent *msgDescriptor, fl...
method createFieldDescriptor (line 1053) | func (r *result) createFieldDescriptor(ret *fldDescriptor, fd *descrip...
method createOneofs (line 1518) | func (r *result) createOneofs(prefix string, parent *msgDescriptor, oo...
method createOneofDescriptor (line 1558) | func (r *result) createOneofDescriptor(ret *oneofDescriptor, ood *desc...
method createServices (line 1634) | func (r *result) createServices(prefix string, svcProtos []*descriptor...
method createServiceDescriptor (line 1673) | func (r *result) createServiceDescriptor(ret *svcDescriptor, sd *descr...
method createMethods (line 1734) | func (r *result) createMethods(prefix string, parent *svcDescriptor, m...
method createMethodDescriptor (line 1774) | func (r *result) createMethodDescriptor(ret *mtdDescriptor, mtd *descr...
method FindImportByPath (line 1840) | func (r *result) FindImportByPath(path string) File {
method FindExtensionByNumber (line 1844) | func (r *result) FindExtensionByNumber(msg protoreflect.FullName, tag ...
method FindDescriptorByName (line 1848) | func (r *result) FindDescriptorByName(name protoreflect.FullName) prot...
method hasSource (line 1853) | func (r *result) hasSource() bool {
function computeSourceLocIndex (line 283) | func computeSourceLocIndex(locs []protoreflect.SourceLocation) map[inter...
function asSourceLocations (line 293) | func asSourceLocations(srcInfoProtos []*descriptorpb.SourceCodeInfo_Loca...
type fileImports (line 324) | type fileImports struct
method Len (line 359) | func (f *fileImports) Len() int {
method Get (line 363) | func (f *fileImports) Get(i int) protoreflect.FileImport {
function unwrap (line 345) | func unwrap(descriptor protoreflect.FileDescriptor) protoreflect.FileDes...
type srcLocs (line 367) | type srcLocs struct
method Len (line 374) | func (s *srcLocs) Len() int {
method Get (line 378) | func (s *srcLocs) Get(i int) protoreflect.SourceLocation {
method ByPath (line 382) | func (s *srcLocs) ByPath(p protoreflect.SourcePath) protoreflect.Sourc...
method ByDescriptor (line 390) | func (s *srcLocs) ByDescriptor(d protoreflect.Descriptor) protoreflect...
type msgDescriptors (line 401) | type msgDescriptors struct
method Len (line 414) | func (m *msgDescriptors) Len() int {
method Get (line 418) | func (m *msgDescriptors) Get(i int) protoreflect.MessageDescriptor {
method ByName (line 422) | func (m *msgDescriptors) ByName(s protoreflect.Name) protoreflect.Mess...
type msgDescriptor (line 432) | type msgDescriptor struct
method MessageDescriptorProto (line 477) | func (m *msgDescriptor) MessageDescriptorProto() *descriptorpb.Descrip...
method AsProto (line 481) | func (m *msgDescriptor) AsProto() proto.Message {
method ParentFile (line 485) | func (m *msgDescriptor) ParentFile() protoreflect.FileDescriptor {
method Parent (line 489) | func (m *msgDescriptor) Parent() protoreflect.Descriptor {
method Index (line 493) | func (m *msgDescriptor) Index() int {
method Syntax (line 497) | func (m *msgDescriptor) Syntax() protoreflect.Syntax {
method Name (line 501) | func (m *msgDescriptor) Name() protoreflect.Name {
method FullName (line 505) | func (m *msgDescriptor) FullName() protoreflect.FullName {
method IsPlaceholder (line 509) | func (m *msgDescriptor) IsPlaceholder() bool {
method Options (line 513) | func (m *msgDescriptor) Options() protoreflect.ProtoMessage {
method IsMapEntry (line 517) | func (m *msgDescriptor) IsMapEntry() bool {
method Fields (line 521) | func (m *msgDescriptor) Fields() protoreflect.FieldDescriptors {
method Oneofs (line 525) | func (m *msgDescriptor) Oneofs() protoreflect.OneofDescriptors {
method ReservedNames (line 529) | func (m *msgDescriptor) ReservedNames() protoreflect.Names {
method ReservedRanges (line 533) | func (m *msgDescriptor) ReservedRanges() protoreflect.FieldRanges {
method RequiredNumbers (line 537) | func (m *msgDescriptor) RequiredNumbers() protoreflect.FieldNumbers {
method ExtensionRanges (line 547) | func (m *msgDescriptor) ExtensionRanges() protoreflect.FieldRanges {
method ExtensionRangeOptions (line 551) | func (m *msgDescriptor) ExtensionRangeOptions(i int) protoreflect.Prot...
method Enums (line 555) | func (m *msgDescriptor) Enums() protoreflect.EnumDescriptors {
method Messages (line 559) | func (m *msgDescriptor) Messages() protoreflect.MessageDescriptors {
method Extensions (line 563) | func (m *msgDescriptor) Extensions() protoreflect.ExtensionDescriptors {
type names (line 567) | type names struct
method Len (line 572) | func (n names) Len() int {
method Get (line 576) | func (n names) Get(i int) protoreflect.Name {
method Has (line 580) | func (n names) Has(s protoreflect.Name) bool {
type fieldNums (line 589) | type fieldNums struct
method Len (line 594) | func (n fieldNums) Len() int {
method Get (line 598) | func (n fieldNums) Get(i int) protoreflect.FieldNumber {
method Has (line 602) | func (n fieldNums) Has(s protoreflect.FieldNumber) bool {
type fieldRanges (line 611) | type fieldRanges struct
method Len (line 632) | func (f fieldRanges) Len() int {
method Get (line 636) | func (f fieldRanges) Get(i int) [2]protoreflect.FieldNumber {
method Has (line 640) | func (f fieldRanges) Has(n protoreflect.FieldNumber) bool {
type fieldRange (line 616) | type fieldRange interface
function createFieldRanges (line 621) | func createFieldRanges[T fieldRange](rangeProtos []T) fieldRanges {
type enumDescriptors (line 649) | type enumDescriptors struct
method Len (line 662) | func (e *enumDescriptors) Len() int {
method Get (line 666) | func (e *enumDescriptors) Get(i int) protoreflect.EnumDescriptor {
method ByName (line 670) | func (e *enumDescriptors) ByName(s protoreflect.Name) protoreflect.Enu...
type enumDescriptor (line 680) | type enumDescriptor struct
method EnumDescriptorProto (line 717) | func (e *enumDescriptor) EnumDescriptorProto() *descriptorpb.EnumDescr...
method AsProto (line 721) | func (e *enumDescriptor) AsProto() proto.Message {
method ParentFile (line 725) | func (e *enumDescriptor) ParentFile() protoreflect.FileDescriptor {
method Parent (line 729) | func (e *enumDescriptor) Parent() protoreflect.Descriptor {
method Index (line 733) | func (e *enumDescriptor) Index() int {
method Syntax (line 737) | func (e *enumDescriptor) Syntax() protoreflect.Syntax {
method Name (line 741) | func (e *enumDescriptor) Name() protoreflect.Name {
method FullName (line 745) | func (e *enumDescriptor) FullName() protoreflect.FullName {
method IsPlaceholder (line 749) | func (e *enumDescriptor) IsPlaceholder() bool {
method Options (line 753) | func (e *enumDescriptor) Options() protoreflect.ProtoMessage {
method Values (line 757) | func (e *enumDescriptor) Values() protoreflect.EnumValueDescriptors {
method ReservedNames (line 761) | func (e *enumDescriptor) ReservedNames() protoreflect.Names {
method ReservedRanges (line 765) | func (e *enumDescriptor) ReservedRanges() protoreflect.EnumRanges {
method IsClosed (line 769) | func (e *enumDescriptor) IsClosed() bool {
type enumRanges (line 774) | type enumRanges struct
method Len (line 790) | func (e enumRanges) Len() int {
method Get (line 794) | func (e enumRanges) Get(i int) [2]protoreflect.EnumNumber {
method Has (line 798) | func (e enumRanges) Has(n protoreflect.EnumNumber) bool {
function createEnumRanges (line 779) | func createEnumRanges(rangeProtos []*descriptorpb.EnumDescriptorProto_En...
type enValDescriptors (line 807) | type enValDescriptors struct
method Len (line 820) | func (e *enValDescriptors) Len() int {
method Get (line 824) | func (e *enValDescriptors) Get(i int) protoreflect.EnumValueDescriptor {
method ByName (line 828) | func (e *enValDescriptors) ByName(s protoreflect.Name) protoreflect.En...
method ByNumber (line 838) | func (e *enValDescriptors) ByNumber(n protoreflect.EnumNumber) protore...
type enValDescriptor (line 848) | type enValDescriptor struct
method EnumValueDescriptorProto (line 870) | func (e *enValDescriptor) EnumValueDescriptorProto() *descriptorpb.Enu...
method AsProto (line 874) | func (e *enValDescriptor) AsProto() proto.Message {
method ParentFile (line 878) | func (e *enValDescriptor) ParentFile() protoreflect.FileDescriptor {
method Parent (line 882) | func (e *enValDescriptor) Parent() protoreflect.Descriptor {
method Index (line 886) | func (e *enValDescriptor) Index() int {
method Syntax (line 890) | func (e *enValDescriptor) Syntax() protoreflect.Syntax {
method Name (line 894) | func (e *enValDescriptor) Name() protoreflect.Name {
method FullName (line 898) | func (e *enValDescriptor) FullName() protoreflect.FullName {
method IsPlaceholder (line 902) | func (e *enValDescriptor) IsPlaceholder() bool {
method Options (line 906) | func (e *enValDescriptor) Options() protoreflect.ProtoMessage {
method Number (line 910) | func (e *enValDescriptor) Number() protoreflect.EnumNumber {
type extDescriptors (line 914) | type extDescriptors struct
method Len (line 927) | func (e *extDescriptors) Len() int {
method Get (line 931) | func (e *extDescriptors) Get(i int) protoreflect.ExtensionDescriptor {
method ByName (line 935) | func (e *extDescriptors) ByName(s protoreflect.Name) protoreflect.Exte...
type extTypeDescriptor (line 945) | type extTypeDescriptor struct
method FieldDescriptorProto (line 958) | func (e *extTypeDescriptor) FieldDescriptorProto() *descriptorpb.Field...
method AsProto (line 962) | func (e *extTypeDescriptor) AsProto() proto.Message {
type fldDescriptors (line 966) | type fldDescriptors struct
method Len (line 987) | func (f *fldDescriptors) Len() int {
method Get (line 991) | func (f *fldDescriptors) Get(i int) protoreflect.FieldDescriptor {
method ByName (line 995) | func (f *fldDescriptors) ByName(s protoreflect.Name) protoreflect.Fiel...
method ByJSONName (line 1004) | func (f *fldDescriptors) ByJSONName(s string) protoreflect.FieldDescri...
method ByTextName (line 1013) | func (f *fldDescriptors) ByTextName(s string) protoreflect.FieldDescri...
method ByNumber (line 1027) | func (f *fldDescriptors) ByNumber(n protoreflect.FieldNumber) protoref...
type fldDescriptor (line 1036) | type fldDescriptor struct
method FieldDescriptorProto (line 1063) | func (f *fldDescriptor) FieldDescriptorProto() *descriptorpb.FieldDesc...
method AsProto (line 1067) | func (f *fldDescriptor) AsProto() proto.Message {
method ParentFile (line 1071) | func (f *fldDescriptor) ParentFile() protoreflect.FileDescriptor {
method Parent (line 1075) | func (f *fldDescriptor) Parent() protoreflect.Descriptor {
method Index (line 1079) | func (f *fldDescriptor) Index() int {
method Syntax (line 1083) | func (f *fldDescriptor) Syntax() protoreflect.Syntax {
method Name (line 1087) | func (f *fldDescriptor) Name() protoreflect.Name {
method FullName (line 1091) | func (f *fldDescriptor) FullName() protoreflect.FullName {
method IsPlaceholder (line 1095) | func (f *fldDescriptor) IsPlaceholder() bool {
method Options (line 1099) | func (f *fldDescriptor) Options() protoreflect.ProtoMessage {
method Number (line 1103) | func (f *fldDescriptor) Number() protoreflect.FieldNumber {
method Cardinality (line 1107) | func (f *fldDescriptor) Cardinality() protoreflect.Cardinality {
method Kind (line 1128) | func (f *fldDescriptor) Kind() protoreflect.Kind {
method HasJSONName (line 1141) | func (f *fldDescriptor) HasJSONName() bool {
method JSONName (line 1145) | func (f *fldDescriptor) JSONName() string {
method TextName (line 1152) | func (f *fldDescriptor) TextName() string {
method looksLikeGroup (line 1163) | func (f *fldDescriptor) looksLikeGroup() bool {
method HasPresence (line 1171) | func (f *fldDescriptor) HasPresence() bool {
method IsExtension (line 1184) | func (f *fldDescriptor) IsExtension() bool {
method HasOptionalKeyword (line 1188) | func (f *fldDescriptor) HasOptionalKeyword() bool {
method IsWeak (line 1203) | func (f *fldDescriptor) IsWeak() bool {
method IsPacked (line 1207) | func (f *fldDescriptor) IsPacked() bool {
method IsList (line 1220) | func (f *fldDescriptor) IsList() bool {
method IsMap (line 1227) | func (f *fldDescriptor) IsMap() bool {
method isMapEntry (line 1237) | func (f *fldDescriptor) isMapEntry() bool {
method parentIsMap (line 1244) | func (f *fldDescriptor) parentIsMap() bool {
method MapKey (line 1249) | func (f *fldDescriptor) MapKey() protoreflect.FieldDescriptor {
method MapValue (line 1256) | func (f *fldDescriptor) MapValue() protoreflect.FieldDescriptor {
method HasDefault (line 1263) | func (f *fldDescriptor) HasDefault() bool {
method Default (line 1267) | func (f *fldDescriptor) Default() protoreflect.Value {
method parseDefaultValue (line 1311) | func (f *fldDescriptor) parseDefaultValue(val string) protoreflect.Val...
method DefaultEnumValue (line 1480) | func (f *fldDescriptor) DefaultEnumValue() protoreflect.EnumValueDescr...
method ContainingOneof (line 1494) | func (f *fldDescriptor) ContainingOneof() protoreflect.OneofDescriptor {
method ContainingMessage (line 1498) | func (f *fldDescriptor) ContainingMessage() protoreflect.MessageDescri...
method Enum (line 1505) | func (f *fldDescriptor) Enum() protoreflect.EnumDescriptor {
method Message (line 1509) | func (f *fldDescriptor) Message() protoreflect.MessageDescriptor {
function unescape (line 1367) | func unescape(s string) string {
function isOctal (line 1462) | func isOctal(b byte) bool { return b >= '0' && b <= '7' }
function isHex (line 1463) | func isHex(b byte) bool {
function matchPrefix (line 1466) | func matchPrefix(s string, limit int, fn func(byte) bool) int {
type oneofDescriptors (line 1513) | type oneofDescriptors struct
method Len (line 1526) | func (o *oneofDescriptors) Len() int {
method Get (line 1530) | func (o *oneofDescriptors) Get(i int) protoreflect.OneofDescriptor {
method ByName (line 1534) | func (o *oneofDescriptors) ByName(s protoreflect.Name) protoreflect.On...
type oneofDescriptor (line 1544) | type oneofDescriptor struct
method OneofDescriptorProto (line 1576) | func (o *oneofDescriptor) OneofDescriptorProto() *descriptorpb.OneofDe...
method AsProto (line 1580) | func (o *oneofDescriptor) AsProto() proto.Message {
method ParentFile (line 1584) | func (o *oneofDescriptor) ParentFile() protoreflect.FileDescriptor {
method Parent (line 1588) | func (o *oneofDescriptor) Parent() protoreflect.Descriptor {
method Index (line 1592) | func (o *oneofDescriptor) Index() int {
method Syntax (line 1596) | func (o *oneofDescriptor) Syntax() protoreflect.Syntax {
method Name (line 1600) | func (o *oneofDescriptor) Name() protoreflect.Name {
method FullName (line 1604) | func (o *oneofDescriptor) FullName() protoreflect.FullName {
method IsPlaceholder (line 1608) | func (o *oneofDescriptor) IsPlaceholder() bool {
method Options (line 1612) | func (o *oneofDescriptor) Options() protoreflect.ProtoMessage {
method IsSynthetic (line 1616) | func (o *oneofDescriptor) IsSynthetic() bool {
method Fields (line 1625) | func (o *oneofDescriptor) Fields() protoreflect.FieldDescriptors {
type svcDescriptors (line 1629) | type svcDescriptors struct
method Len (line 1642) | func (s *svcDescriptors) Len() int {
method Get (line 1646) | func (s *svcDescriptors) Get(i int) protoreflect.ServiceDescriptor {
method ByName (line 1650) | func (s *svcDescriptors) ByName(n protoreflect.Name) protoreflect.Serv...
type svcDescriptor (line 1660) | type svcDescriptor struct
method ServiceDescriptorProto (line 1685) | func (s *svcDescriptor) ServiceDescriptorProto() *descriptorpb.Service...
method AsProto (line 1689) | func (s *svcDescriptor) AsProto() proto.Message {
method ParentFile (line 1693) | func (s *svcDescriptor) ParentFile() protoreflect.FileDescriptor {
method Parent (line 1697) | func (s *svcDescriptor) Parent() protoreflect.Descriptor {
method Index (line 1701) | func (s *svcDescriptor) Index() int {
method Syntax (line 1705) | func (s *svcDescriptor) Syntax() protoreflect.Syntax {
method Name (line 1709) | func (s *svcDescriptor) Name() protoreflect.Name {
method FullName (line 1713) | func (s *svcDescriptor) FullName() protoreflect.FullName {
method IsPlaceholder (line 1717) | func (s *svcDescriptor) IsPlaceholder() bool {
method Options (line 1721) | func (s *svcDescriptor) Options() protoreflect.ProtoMessage {
method Methods (line 1725) | func (s *svcDescriptor) Methods() protoreflect.MethodDescriptors {
type mtdDescriptors (line 1729) | type mtdDescriptors struct
method Len (line 1742) | func (m *mtdDescriptors) Len() int {
method Get (line 1746) | func (m *mtdDescriptors) Get(i int) protoreflect.MethodDescriptor {
method ByName (line 1750) | func (m *mtdDescriptors) ByName(n protoreflect.Name) protoreflect.Meth...
type mtdDescriptor (line 1760) | type mtdDescriptor struct
method MethodDescriptorProto (line 1784) | func (m *mtdDescriptor) MethodDescriptorProto() *descriptorpb.MethodDe...
method AsProto (line 1788) | func (m *mtdDescriptor) AsProto() proto.Message {
method ParentFile (line 1792) | func (m *mtdDescriptor) ParentFile() protoreflect.FileDescriptor {
method Parent (line 1796) | func (m *mtdDescriptor) Parent() protoreflect.Descriptor {
method Index (line 1800) | func (m *mtdDescriptor) Index() int {
method Syntax (line 1804) | func (m *mtdDescriptor) Syntax() protoreflect.Syntax {
method Name (line 1808) | func (m *mtdDescriptor) Name() protoreflect.Name {
method FullName (line 1812) | func (m *mtdDescriptor) FullName() protoreflect.FullName {
method IsPlaceholder (line 1816) | func (m *mtdDescriptor) IsPlaceholder() bool {
method Options (line 1820) | func (m *mtdDescriptor) Options() protoreflect.ProtoMessage {
method Input (line 1824) | func (m *mtdDescriptor) Input() protoreflect.MessageDescriptor {
method Output (line 1828) | func (m *mtdDescriptor) Output() protoreflect.MessageDescriptor {
method IsStreamingClient (line 1832) | func (m *mtdDescriptor) IsStreamingClient() bool {
method IsStreamingServer (line 1836) | func (m *mtdDescriptor) IsStreamingServer() bool {
function resolveFeature (line 1865) | func resolveFeature(element protoreflect.Descriptor, feature protoreflec...
function isJSONCompliant (line 1881) | func isJSONCompliant(d protoreflect.Descriptor) bool {
FILE: vendor/github.com/bufbuild/protocompile/linker/files.go
type File (line 33) | type File interface
function NewFile (line 49) | func NewFile(f protoreflect.FileDescriptor, deps Files) (File, error) {
function newFile (line 65) | func newFile(f protoreflect.FileDescriptor, deps Files) (File, error) {
function NewFileRecursive (line 89) | func NewFileRecursive(f protoreflect.FileDescriptor) (File, error) {
function newFileRecursive (line 96) | func newFileRecursive(fd protoreflect.FileDescriptor, seen map[protorefl...
type file (line 128) | type file struct
method FindDescriptorByName (line 136) | func (f *file) FindDescriptorByName(name protoreflect.FullName) protor...
method FindImportByPath (line 140) | func (f *file) FindImportByPath(path string) File {
method FindExtensionByNumber (line 144) | func (f *file) FindExtensionByNumber(msg protoreflect.FullName, tag pr...
method Unwrap (line 148) | func (f *file) Unwrap() protoreflect.FileDescriptor {
type Files (line 154) | type Files
method FindFileByPath (line 158) | func (f Files) FindFileByPath(path string) File {
method AsResolver (line 173) | func (f Files) AsResolver() Resolver {
type Resolver (line 180) | type Resolver interface
function ResolverFromFile (line 195) | func ResolverFromFile(f File) Resolver {
type fileResolver (line 199) | type fileResolver struct
method FindFileByPath (line 203) | func (r fileResolver) FindFileByPath(path string) (protoreflect.FileDe...
method FindDescriptorByName (line 212) | func (r fileResolver) FindDescriptorByName(name protoreflect.FullName)...
method FindMessageByName (line 221) | func (r fileResolver) FindMessageByName(message protoreflect.FullName)...
method FindMessageByURL (line 235) | func (r fileResolver) FindMessageByURL(url string) (protoreflect.Messa...
method FindExtensionByName (line 245) | func (r fileResolver) FindExtensionByName(field protoreflect.FullName)...
method FindExtensionByNumber (line 262) | func (r fileResolver) FindExtensionByNumber(message protoreflect.FullN...
function messageNameFromURL (line 240) | func messageNameFromURL(url string) string {
type filesResolver (line 272) | type filesResolver
method FindFileByPath (line 274) | func (r filesResolver) FindFileByPath(path string) (protoreflect.FileD...
method FindDescriptorByName (line 283) | func (r filesResolver) FindDescriptorByName(name protoreflect.FullName...
method FindMessageByName (line 293) | func (r filesResolver) FindMessageByName(message protoreflect.FullName...
method FindMessageByURL (line 306) | func (r filesResolver) FindMessageByURL(url string) (protoreflect.Mess...
method FindExtensionByName (line 311) | func (r filesResolver) FindExtensionByName(field protoreflect.FullName...
method FindExtensionByNumber (line 327) | func (r filesResolver) FindExtensionByNumber(message protoreflect.Full...
type hasExtensionsAndMessages (line 337) | type hasExtensionsAndMessages interface
function findExtension (line 342) | func findExtension(d hasExtensionsAndMessages, message protoreflect.Full...
function isExtensionMatch (line 358) | func isExtensionMatch(ext protoreflect.ExtensionDescriptor, message prot...
FILE: vendor/github.com/bufbuild/protocompile/linker/linker.go
function Link (line 42) | func Link(parsed parser.Result, dependencies Files, symbols *Symbols, ha...
type Result (line 108) | type Result interface
type ErrorUnusedImport (line 140) | type ErrorUnusedImport interface
type errUnusedImport (line 145) | type errUnusedImport
method Error (line 147) | func (e errUnusedImport) Error() string {
method UnusedImport (line 151) | func (e errUnusedImport) UnusedImport() string {
FILE: vendor/github.com/bufbuild/protocompile/linker/pathkey_no_unsafe.go
function pathKey (line 29) | func pathKey(p protoreflect.SourcePath) interface{} {
FILE: vendor/github.com/bufbuild/protocompile/linker/pathkey_unsafe.go
function pathKey (line 32) | func pathKey(p protoreflect.SourcePath) interface{} {
FILE: vendor/github.com/bufbuild/protocompile/linker/pool.go
type allocPool (line 23) | type allocPool struct
method getMessages (line 57) | func (p *allocPool) getMessages(count int) []msgDescriptor {
method getFields (line 63) | func (p *allocPool) getFields(count int) []fldDescriptor {
method getOneofs (line 69) | func (p *allocPool) getOneofs(count int) []oneofDescriptor {
method getEnums (line 75) | func (p *allocPool) getEnums(count int) []enumDescriptor {
method getEnumValues (line 81) | func (p *allocPool) getEnumValues(count int) []enValDescriptor {
method getExtensions (line 87) | func (p *allocPool) getExtensions(count int) []extTypeDescriptor {
method getServices (line 93) | func (p *allocPool) getServices(count int) []svcDescriptor {
method getMethods (line 99) | func (p *allocPool) getMethods(count int) []mtdDescriptor {
method countElements (line 105) | func (p *allocPool) countElements(file *descriptorpb.FileDescriptorPro...
method countElementsInMessages (line 115) | func (p *allocPool) countElementsInMessages(msgs []*descriptorpb.Descr...
method countElementsInEnums (line 126) | func (p *allocPool) countElementsInEnums(enums []*descriptorpb.EnumDes...
function newAllocPool (line 43) | func newAllocPool(file *descriptorpb.FileDescriptorProto) *allocPool {
FILE: vendor/github.com/bufbuild/protocompile/linker/resolve.go
method ResolveMessageLiteralExtensionName (line 33) | func (r *result) ResolveMessageLiteralExtensionName(node ast.IdentValueN...
method resolveElement (line 37) | func (r *result) resolveElement(name protoreflect.FullName, checkedCache...
function resolveInFile (line 51) | func resolveInFile[T any](f File, publicImportsOnly bool, checked []stri...
method markUsed (line 94) | func (r *result) markUsed(importPath string) {
method CheckForUnusedImports (line 98) | func (r *result) CheckForUnusedImports(handler *reporter.Handler) {
function descriptorTypeWithArticle (line 128) | func descriptorTypeWithArticle(d protoreflect.Descriptor) string {
method createDescendants (line 155) | func (r *result) createDescendants() {
method resolveReferences (line 169) | func (r *result) resolveReferences(handler *reporter.Handler, s *Symbols...
function allowedProto3Extendee (line 296) | func allowedProto3Extendee(n string) bool {
function resolveFieldTypes (line 305) | func resolveFieldTypes(f *fldDescriptor, handler *reporter.Handler, exte...
function packageFor (line 454) | func packageFor(dsc protoreflect.Descriptor) protoreflect.FullName {
function isValidMap (line 462) | func isValidMap(mapField protoreflect.FieldDescriptor, mapEntry protoref...
function resolveMethodTypes (line 469) | func resolveMethodTypes(m *mtdDescriptor, handler *reporter.Handler, sco...
method resolveOptions (line 521) | func (r *result) resolveOptions(handler *reporter.Handler, elemType stri...
method resolveOptionValue (line 555) | func (r *result) resolveOptionValue(handler *reporter.Handler, mc *inter...
method resolveExtensionName (line 613) | func (r *result) resolveExtensionName(name string, scopes []scope, check...
method resolve (line 629) | func (r *result) resolve(name string, onlyTypes bool, scopes []scope, ch...
function isType (line 665) | func isType(d protoreflect.Descriptor) bool {
type scope (line 675) | type scope
function fileScope (line 677) | func fileScope(r *result, checkedCache []string) scope {
function messageScope (line 704) | func messageScope(r *result, messageName protoreflect.FullName) scope {
function resolveElementRelative (line 715) | func resolveElementRelative(firstName, fullName string, query func(name ...
function resolveElementInFile (line 735) | func resolveElementInFile(name protoreflect.FullName, f File) protorefle...
function matchesPkgNamespace (line 749) | func matchesPkgNamespace(fqn, pkg protoreflect.FullName) bool {
function isAggregateDescriptor (line 765) | func isAggregateDescriptor(d protoreflect.Descriptor) bool {
function isSentinelDescriptor (line 780) | func isSentinelDescriptor(d protoreflect.Descriptor) bool {
function newSentinelDescriptor (line 785) | func newSentinelDescriptor(name string) protoreflect.Descriptor {
type sentinelDescriptor (line 798) | type sentinelDescriptor struct
method ParentFile (line 803) | func (p *sentinelDescriptor) ParentFile() protoreflect.FileDescriptor {
method Parent (line 807) | func (p *sentinelDescriptor) Parent() protoreflect.Descriptor {
method Index (line 811) | func (p *sentinelDescriptor) Index() int {
method Syntax (line 815) | func (p *sentinelDescriptor) Syntax() protoreflect.Syntax {
method Name (line 819) | func (p *sentinelDescriptor) Name() protoreflect.Name {
method FullName (line 823) | func (p *sentinelDescriptor) FullName() protoreflect.FullName {
method IsPlaceholder (line 827) | func (p *sentinelDescriptor) IsPlaceholder() bool {
method Options (line 831) | func (p *sentinelDescriptor) Options() protoreflect.ProtoMessage {
FILE: vendor/github.com/bufbuild/protocompile/linker/symbols.go
constant unknownFilePath (line 30) | unknownFilePath = ""
type Symbols (line 38) | type Symbols struct
method Import (line 80) | func (s *Symbols) Import(fd protoreflect.FileDescriptor, handler *repo...
method importFileWithExtensions (line 126) | func (s *Symbols) importFileWithExtensions(pkg *packageSymbols, fd pro...
method importPackages (line 171) | func (s *Symbols) importPackages(pkgSpan ast.SourceSpan, pkg protorefl...
method getPackage (line 232) | func (s *Symbols) getPackage(pkg protoreflect.FullName, exact bool) *p...
method importResultWithExtensions (line 424) | func (s *Symbols) importResultWithExtensions(pkg *packageSymbols, r *r...
method importResult (line 447) | func (s *Symbols) importResult(r *result, handler *reporter.Handler) e...
method AddExtension (line 545) | func (s *Symbols) AddExtension(pkg, extendee protoreflect.FullName, ta...
method AddExtensionDeclaration (line 577) | func (s *Symbols) AddExtensionDeclaration(extension, extendee protoref...
method Lookup (line 601) | func (s *Symbols) Lookup(name protoreflect.FullName) ast.SourceSpan {
method LookupExtension (line 612) | func (s *Symbols) LookupExtension(messageName protoreflect.FullName, e...
type packageSymbols (line 50) | type packageSymbols struct
method importFile (line 147) | func (s *packageSymbols) importFile(fd protoreflect.FileDescriptor, ha...
method importPackage (line 194) | func (s *packageSymbols) importPackage(pkgSpan ast.SourceSpan, pkg pro...
method checkFileLocked (line 285) | func (s *packageSymbols) checkFileLocked(f protoreflect.FileDescriptor...
method commitFileLocked (line 403) | func (s *packageSymbols) commitFileLocked(f protoreflect.FileDescripto...
method importResult (line 456) | func (s *packageSymbols) importResult(r *result, handler *reporter.Han...
method checkResultLocked (line 479) | func (s *packageSymbols) checkResultLocked(r *result, handler *reporte...
method addExtension (line 559) | func (s *packageSymbols) addExtension(extendee protoreflect.FullName, ...
type extNumber (line 58) | type extNumber struct
type symbolEntry (line 63) | type symbolEntry struct
type extDecl (line 69) | type extDecl struct
function reportSymbolCollision (line 257) | func reportSymbolCollision(span ast.SourceSpan, fqn protoreflect.FullNam...
function posLess (line 275) | func posLess(a, b ast.SourcePos) bool {
function sourceSpanForPackage (line 298) | func sourceSpanForPackage(fd protoreflect.FileDescriptor) ast.SourceSpan {
function sourceSpanFor (line 317) | func sourceSpanFor(d protoreflect.Descriptor) ast.SourceSpan {
function sourceSpanForNumber (line 371) | func sourceSpanForNumber(fd protoreflect.FieldDescriptor) ast.SourceSpan {
function packageNameSpan (line 509) | func packageNameSpan(r *result) ast.SourceSpan {
function nameSpan (line 520) | func nameSpan(file ast.FileDeclNode, n ast.Node) ast.SourceSpan {
type nameEnumerator (line 618) | type nameEnumerator struct
method next (line 623) | func (e *nameEnumerator) next() (protoreflect.FullName, bool) {
FILE: vendor/github.com/bufbuild/protocompile/linker/validate.go
method ValidateOptions (line 36) | func (r *result) ValidateOptions(handler *reporter.Handler, symbols *Sym...
method validateFile (line 62) | func (r *result) validateFile(handler *reporter.Handler) error {
method validateField (line 101) | func (r *result) validateField(fld protoreflect.FieldDescriptor, handler...
method validateExtension (line 211) | func (r *result) validateExtension(fd *fldDescriptor, handler *reporter....
method validatePacked (line 346) | func (r *result) validatePacked(fd *fldDescriptor, handler *reporter.Han...
method validateFieldFeatures (line 379) | func (r *result) validateFieldFeatures(fld *fldDescriptor, handler *repo...
method validateMessage (line 451) | func (r *result) validateMessage(d protoreflect.MessageDescriptor, handl...
method validateJSONNamesInMessage (line 465) | func (r *result) validateJSONNamesInMessage(md *msgDescriptor, handler *...
method validateEnum (line 475) | func (r *result) validateEnum(d protoreflect.EnumDescriptor, handler *re...
method validateJSONNamesInEnum (line 507) | func (r *result) validateJSONNamesInEnum(ed *enumDescriptor, handler *re...
method validateFieldJSONNames (line 533) | func (r *result) validateFieldJSONNames(md *msgDescriptor, useCustom boo...
method validateExtensionDeclarations (line 586) | func (r *result) validateExtensionDeclarations(md *msgDescriptor, handle...
method hasCustomJSONName (line 726) | func (r *result) hasCustomJSONName(fdProto *descriptorpb.FieldDescriptor...
function canonicalEnumValueName (line 744) | func canonicalEnumValueName(enumValueName, enumName string) string {
function removePrefix (line 757) | func removePrefix(str, prefix string) string {
function enumValCamelCase (line 795) | func enumValCamelCase(name string) string {
function isBuiltinTypeName (line 813) | func isBuiltinTypeName(typeName string) bool {
function getTypeName (line 824) | func getTypeName(fd protoreflect.FieldDescriptor) string {
function findExtensionRangeOptionSpan (line 835) | func findExtensionRangeOptionSpan(
method findScalarOptionSpan (line 902) | func (r *result) findScalarOptionSpan(
method findOptionSpan (line 918) | func (r *result) findOptionSpan(
function findOptionSpan (line 931) | func findOptionSpan(
function findMatchingValueNode (line 996) | func findMatchingValueNode(
function isDescendantPath (line 1106) | func isDescendantPath(descendant, ancestor protoreflect.SourcePath) bool {
function asSpan (line 1118) | func asSpan(file string, srcLoc protoreflect.SourceLocation) ast.SourceS...
method getImportLocation (line 1133) | func (r *result) getImportLocation(path string) ast.SourceSpan {
function isEditions (line 1151) | func isEditions(r *result) bool {
FILE: vendor/github.com/bufbuild/protocompile/options/options.go
type interpreter (line 51) | type interpreter struct
method handleErrorf (line 160) | func (interp *interpreter) handleErrorf(span ast.SourceSpan, msg strin...
method handleErrorWithPos (line 168) | func (interp *interpreter) handleErrorWithPos(span ast.SourceSpan, err...
method handleError (line 176) | func (interp *interpreter) handleError(err error) error {
method interpretFileOptions (line 184) | func (interp *interpreter) interpretFileOptions(file file, customOpts ...
method resolveExtensionType (line 245) | func (interp *interpreter) resolveExtensionType(name string) (protoref...
method resolveOptionsType (line 259) | func (interp *interpreter) resolveOptionsType(name string) protoreflec...
method nodeInfo (line 277) | func (interp *interpreter) nodeInfo(n ast.Node) ast.NodeInfo {
method interpretMessageOptions (line 281) | func (interp *interpreter) interpretMessageOptions(fqn string, md *des...
method interpretFieldOptions (line 364) | func (interp *interpreter) interpretFieldOptions(fqn string, fld *desc...
method interpretFieldPseudoOptions (line 393) | func (interp *interpreter) interpretFieldPseudoOptions(fqn string, fld...
method processDefaultOption (line 439) | func (interp *interpreter) processDefaultOption(scope string, fqn stri...
method defaultValue (line 503) | func (interp *interpreter) defaultValue(mc *internal.MessageContext, f...
method defaultValueFromProto (line 521) | func (interp *interpreter) defaultValueFromProto(mc *internal.MessageC...
method interpretEnumOptions (line 545) | func (interp *interpreter) interpretEnumOptions(fqn string, ed *descri...
method interpretOptions (line 611) | func (interp *interpreter) interpretOptions(
method checkFieldUsage (line 730) | func (interp *interpreter) checkFieldUsage(
method validateRecursive (line 804) | func (interp *interpreter) validateRecursive(
method validateEnumValueFeatureSupport (line 944) | func (interp *interpreter) validateEnumValueFeatureSupport(
method validateFeatureSupport (line 962) | func (interp *interpreter) validateFeatureSupport(
method findOptionNode (line 995) | func (interp *interpreter) findOptionNode(
method interpretField (line 1160) | func (interp *interpreter) interpretField(
method setOptionField (line 1260) | func (interp *interpreter) setOptionField(
method setOptionFieldFromProto (line 1344) | func (interp *interpreter) setOptionFieldFromProto(
method checkFieldUsagesInMessage (line 1427) | func (interp *interpreter) checkFieldUsagesInMessage(
method enableLenience (line 1461) | func (interp *interpreter) enableLenience(enable bool) {
method fieldValue (line 1622) | func (interp *interpreter) fieldValue(
method enumFieldValue (line 1672) | func (interp *interpreter) enumFieldValue(
method enumFieldValueFromProto (line 1720) | func (interp *interpreter) enumFieldValueFromProto(
method scalarFieldValue (line 1744) | func (interp *interpreter) scalarFieldValue(
method scalarFieldValueFromProto (line 1882) | func (interp *interpreter) scalarFieldValueFromProto(
method messageLiteralValue (line 2041) | func (interp *interpreter) messageLiteralValue(
type file (line 68) | type file interface
type noResolveFile (line 73) | type noResolveFile struct
method ResolveMessageLiteralExtensionName (line 77) | func (n noResolveFile) ResolveMessageLiteralExtensionName(ast.IdentVal...
type InterpreterOption (line 83) | type InterpreterOption
function WithOverrideDescriptorProto (line 90) | func WithOverrideDescriptorProto(f linker.File) InterpreterOption {
function InterpretOptions (line 103) | func InterpretOptions(linked linker.Result, handler *reporter.Handler, o...
function InterpretOptionsLenient (line 116) | func InterpretOptionsLenient(linked linker.Result, opts ...InterpreterOp...
function InterpretUnlinkedOptions (line 131) | func InterpretUnlinkedOptions(parsed parser.Result, opts ...InterpreterO...
function interpretOptions (line 135) | func interpretOptions(lenient bool, file file, res linker.Resolver, hand...
function resolveDescriptor (line 229) | func resolveDescriptor[T protoreflect.Descriptor](res linker.Resolver, n...
function encodeDefaultBytes (line 539) | func encodeDefaultBytes(b []byte) string {
function interpretElementOptions (line 560) | func interpretElementOptions[Elem elementType[OptsStruct, Opts], OptsStr...
function targetTypeString (line 766) | func targetTypeString(t descriptorpb.FieldOptions_OptionTargetType) stri...
function editionString (line 770) | func editionString(t descriptorpb.Edition) string {
function cloneInto (line 774) | func cloneInto(dest proto.Message, src proto.Message, res linker.Resolve...
function findOptionNode (line 1017) | func findOptionNode[N ast.Node](
type optionsRanger (line 1051) | type optionsRanger struct
method Range (line 1055) | func (r optionsRanger) Range(f func(*ast.OptionNode, ast.ValueNode) bo...
type valueRanger (line 1061) | type valueRanger
method Range (line 1063) | func (r valueRanger) Range(f func(ast.ValueNode, ast.ValueNode) bool) {
type fieldRanger (line 1071) | type fieldRanger
method Range (line 1073) | func (r fieldRanger) Range(f func(*ast.MessageFieldNode, ast.ValueNode...
function isPathMatch (line 1081) | func isPathMatch(a, b []int32) bool {
function findOptionValueNode (line 1094) | func findOptionValueNode(
function setMapEntry (line 1472) | func setMapEntry(
type msgLiteralResolver (line 1507) | type msgLiteralResolver struct
method FindMessageByName (line 1512) | func (r *msgLiteralResolver) FindMessageByName(message protoreflect.Fu...
method FindMessageByURL (line 1519) | func (r *msgLiteralResolver) FindMessageByURL(url string) (protoreflec...
method FindExtensionByName (line 1532) | func (r *msgLiteralResolver) FindExtensionByName(field protoreflect.Fu...
method FindExtensionByNumber (line 1556) | func (r *msgLiteralResolver) FindExtensionByNumber(message protoreflec...
function fieldName (line 1563) | func fieldName(fld protoreflect.FieldDescriptor) string {
function valueKind (line 1570) | func valueKind(val interface{}) string {
function optionValueKind (line 1596) | func optionValueKind(opt *descriptorpb.UninterpretedOption) string {
function descriptorType (line 2009) | func descriptorType(m proto.Message) string {
function newSrcInfo (line 2262) | func newSrcInfo(path []int32, children sourceinfo.OptionChildrenSourceIn...
FILE: vendor/github.com/bufbuild/protocompile/options/source_retention_options.go
function StripSourceRetentionOptionsFromFile (line 35) | func StripSourceRetentionOptionsFromFile(file *descriptorpb.FileDescript...
type sourcePath (line 101) | type sourcePath
method push (line 103) | func (p sourcePath) push(element int32) sourcePath {
type sourcePathTrie (line 110) | type sourcePathTrie struct
method addPath (line 115) | func (t *sourcePathTrie) addPath(p sourcePath) {
method isRemoved (line 134) | func (t *sourcePathTrie) isRemoved(p []int32) bool {
function stripSourceRetentionOptions (line 151) | func stripSourceRetentionOptions[M proto.Message](
function stripSourceRetentionOptionsFromMessage (line 214) | func stripSourceRetentionOptionsFromMessage(
function stripSourceRetentionOptionsFromField (line 295) | func stripSourceRetentionOptionsFromField(
function stripSourceRetentionOptionsFromOneof (line 316) | func stripSourceRetentionOptionsFromOneof(
function stripSourceRetentionOptionsFromExtensionRange (line 337) | func stripSourceRetentionOptionsFromExtensionRange(
function stripSourceRetentionOptionsFromEnum (line 358) | func stripSourceRetentionOptionsFromEnum(
function stripSourceRetentionOptionsFromEnumValue (line 394) | func stripSourceRetentionOptionsFromEnumValue(
function stripSourceRetentionOptionsFromService (line 415) | func stripSourceRetentionOptionsFromService(
function stripSourceRetentionOptionsFromMethod (line 451) | func stripSourceRetentionOptionsFromMethod(
function stripSourcePathsForSourceRetentionOptions (line 472) | func stripSourcePathsForSourceRetentionOptions(
function shallowCopy (line 493) | func shallowCopy[M proto.Message](msg M) (M, error) {
function stripOptionsFromAll (line 515) | func stripOptionsFromAll[T comparable](
FILE: vendor/github.com/bufbuild/protocompile/options/target_types.go
type optionsType (line 22) | type optionsType interface
type elementType (line 29) | type elementType interface
type targetType (line 34) | type targetType struct
function newTargetType (line 70) | func newTargetType[Elem elementType[OptsStruct, Opts], OptsStruct any, O...
function setUninterpretedFileOptions (line 82) | func setUninterpretedFileOptions(opts *descriptorpb.FileOptions, uninter...
function setUninterpretedMessageOptions (line 86) | func setUninterpretedMessageOptions(opts *descriptorpb.MessageOptions, u...
function setUninterpretedFieldOptions (line 90) | func setUninterpretedFieldOptions(opts *descriptorpb.FieldOptions, unint...
function setUninterpretedOneofOptions (line 94) | func setUninterpretedOneofOptions(opts *descriptorpb.OneofOptions, unint...
function setUninterpretedExtensionRangeOptions (line 98) | func setUninterpretedExtensionRangeOptions(opts *descriptorpb.ExtensionR...
function setUninterpretedEnumOptions (line 102) | func setUninterpretedEnumOptions(opts *descriptorpb.EnumOptions, uninter...
function setUninterpretedEnumValueOptions (line 106) | func setUninterpretedEnumValueOptions(opts *descriptorpb.EnumValueOption...
function setUninterpretedServiceOptions (line 110) | func setUninterpretedServiceOptions(opts *descriptorpb.ServiceOptions, u...
function setUninterpretedMethodOptions (line 114) | func setUninterpretedMethodOptions(opts *descriptorpb.MethodOptions, uni...
function setFileOptions (line 118) | func setFileOptions(desc *descriptorpb.FileDescriptorProto, opts *descri...
function setMessageOptions (line 122) | func setMessageOptions(desc *descriptorpb.DescriptorProto, opts *descrip...
function setFieldOptions (line 126) | func setFieldOptions(desc *descriptorpb.FieldDescriptorProto, opts *desc...
function setOneofOptions (line 130) | func setOneofOptions(desc *descriptorpb.OneofDescriptorProto, opts *desc...
function setExtensionRangeOptions (line 134) | func setExtensionRangeOptions(desc *descriptorpb.DescriptorProto_Extensi...
function setEnumOptions (line 138) | func setEnumOptions(desc *descriptorpb.EnumDescriptorProto, opts *descri...
function setEnumValueOptions (line 142) | func setEnumValueOptions(desc *descriptorpb.EnumValueDescriptorProto, op...
function setServiceOptions (line 146) | func setServiceOptions(desc *descriptorpb.ServiceDescriptorProto, opts *...
function setMethodOptions (line 150) | func setMethodOptions(desc *descriptorpb.MethodDescriptorProto, opts *de...
FILE: vendor/github.com/bufbuild/protocompile/parser/ast.go
type compactOptionSlices (line 24) | type compactOptionSlices struct
function toStringValueNode (line 29) | func toStringValueNode(strs []*ast.StringLiteralNode) ast.StringValueNode {
type nameSlices (line 36) | type nameSlices struct
type rangeSlices (line 43) | type rangeSlices struct
type valueSlices (line 48) | type valueSlices struct
type fieldRefSlices (line 53) | type fieldRefSlices struct
type identSlices (line 58) | type identSlices struct
method toIdentValueNode (line 63) | func (s *identSlices) toIdentValueNode(leadingDot *ast.RuneNode) ast.I...
type messageFieldList (line 71) | type messageFieldList struct
method toNodes (line 77) | func (list *messageFieldList) toNodes() ([]*ast.MessageFieldNode, []*a...
function prependRunes (line 96) | func prependRunes[T ast.Node](convert func(*ast.RuneNode) T, runes []*as...
function toServiceElement (line 105) | func toServiceElement(semi *ast.RuneNode) ast.ServiceElement {
function toMethodElement (line 109) | func toMethodElement(semi *ast.RuneNode) ast.RPCElement {
function toFileElement (line 113) | func toFileElement(semi *ast.RuneNode) ast.FileElement {
function toEnumElement (line 117) | func toEnumElement(semi *ast.RuneNode) ast.EnumElement {
function toMessageElement (line 121) | func toMessageElement(semi *ast.RuneNode) ast.MessageElement {
type nodeWithRunes (line 125) | type nodeWithRunes struct
function newNodeWithRunes (line 130) | func newNodeWithRunes[T ast.Node](node T, trailingRunes ...*ast.RuneNode...
function toElements (line 137) | func toElements[T ast.Node](convert func(*ast.RuneNode) T, node T, runes...
FILE: vendor/github.com/bufbuild/protocompile/parser/clone.go
function Clone (line 41) | func Clone(r Result) Result {
function recreateNodeIndexForFile (line 73) | func recreateNodeIndexForFile(orig, clone *result, origProto, cloneProto...
function recreateNodeIndexForMessage (line 97) | func recreateNodeIndexForMessage(orig, clone *result, origProto, clonePr...
function recreateNodeIndexForEnum (line 130) | func recreateNodeIndexForEnum(orig, clone *result, origProto, cloneProto...
function recreateNodeIndexForOptions (line 142) | func recreateNodeIndexForOptions(orig, clone *result, origProtos, cloneP...
function updateNodeIndex (line 153) | func updateNodeIndex[M proto.Message](orig, clone *result, origProto, cl...
type pointerMessage (line 160) | type pointerMessage interface
type options (line 165) | type options interface
type withOptions (line 171) | type withOptions interface
function updateNodeIndexWithOptions (line 176) | func updateNodeIndexWithOptions[O options[T], M withOptions[O, T], T any...
FILE: vendor/github.com/bufbuild/protocompile/parser/lexer.go
type runeReader (line 32) | type runeReader struct
method readRune (line 42) | func (rr *runeReader) readRune() (r rune, size int, err error) {
method offset (line 59) | func (rr *runeReader) offset() int {
method unreadRune (line 63) | func (rr *runeReader) unreadRune(sz int) {
method setMark (line 71) | func (rr *runeReader) setMark() {
method getMark (line 75) | func (rr *runeReader) getMark() string {
type protoLex (line 79) | type protoLex struct
method maybeNewLine (line 160) | func (l *protoLex) maybeNewLine(r rune) {
method prev (line 166) | func (l *protoLex) prev() ast.SourcePos {
method Lex (line 170) | func (l *protoLex) Lex(lval *protoSymType) int {
method newToken (line 363) | func (l *protoLex) newToken() ast.Token {
method setPrevAndAddComments (line 369) | func (l *protoLex) setPrevAndAddComments(n ast.TerminalNode) {
method setString (line 416) | func (l *protoLex) setString(lval *protoSymType, val string) {
method setIdent (line 421) | func (l *protoLex) setIdent(lval *protoSymType, val string) {
method setInt (line 426) | func (l *protoLex) setInt(lval *protoSymType, val uint64) {
method setFloat (line 431) | func (l *protoLex) setFloat(lval *protoSymType, val float64) {
method setRune (line 436) | func (l *protoLex) setRune(lval *protoSymType, val rune) {
method setError (line 441) | func (l *protoLex) setError(lval *protoSymType, err error) {
method readNumber (line 445) | func (l *protoLex) readNumber() {
method readIdentifier (line 484) | func (l *protoLex) readIdentifier() {
method readStringLiteral (line 497) | func (l *protoLex) readStringLiteral(quote rune) (string, error) {
method skipToEndOfLineComment (line 699) | func (l *protoLex) skipToEndOfLineComment(lval *protoSymType) (hasErr ...
method skipToEndOfBlockComment (line 718) | func (l *protoLex) skipToEndOfBlockComment(lval *protoSymType) (ok, ha...
method addSourceError (line 742) | func (l *protoLex) addSourceError(err error) (reporter.ErrorWithPos, b...
method Error (line 752) | func (l *protoLex) Error(s string) {
method errWithCurrentPos (line 757) | func (l *protoLex) errWithCurrentPos(err error, offset int) reporter.E...
method requireSemicolon (line 765) | func (l *protoLex) requireSemicolon(semicolons []*ast.RuneNode) (*ast....
function newLexer (line 94) | func newLexer(in io.Reader, filename string, handler *reporter.Handler) ...
function parseFloat (line 342) | func parseFloat(token string) (float64, error) {
function numError (line 472) | func numError(err error, kind, s string) error {
FILE: vendor/github.com/bufbuild/protocompile/parser/parser.go
function init (line 31) | func init() {
function setTokenName (line 46) | func setTokenName(token int, text string) {
function Parse (line 94) | func Parse(filename string, r io.Reader, handler *reporter.Handler) (*as...
type Result (line 119) | type Result interface
FILE: vendor/github.com/bufbuild/protocompile/parser/proto.y.go
type protoSymType (line 29) | type protoSymType struct
constant _STRING_LIT (line 89) | _STRING_LIT = 57346
constant _INT_LIT (line 90) | _INT_LIT = 57347
constant _FLOAT_LIT (line 91) | _FLOAT_LIT = 57348
constant _NAME (line 92) | _NAME = 57349
constant _SYNTAX (line 93) | _SYNTAX = 57350
constant _EDITION (line 94) | _EDITION = 57351
constant _IMPORT (line 95) | _IMPORT = 57352
constant _WEAK (line 96) | _WEAK = 57353
constant _PUBLIC (line 97) | _PUBLIC = 57354
constant _PACKAGE (line 98) | _PACKAGE = 57355
constant _OPTION (line 99) | _OPTION = 57356
constant _TRUE (line 100) | _TRUE = 57357
constant _FALSE (line 101) | _FALSE = 57358
constant _INF (line 102) | _INF = 57359
constant _NAN (line 103) | _NAN = 57360
constant _REPEATED (line 104) | _REPEATED = 57361
constant _OPTIONAL (line 105) | _OPTIONAL = 57362
constant _REQUIRED (line 106) | _REQUIRED = 57363
constant _DOUBLE (line 107) | _DOUBLE = 57364
constant _FLOAT (line 108) | _FLOAT = 57365
constant _INT32 (line 109) | _INT32 = 57366
constant _INT64 (line 110) | _INT64 = 57367
constant _UINT32 (line 111) | _UINT32 = 57368
constant _UINT64 (line 112) | _UINT64 = 57369
constant _SINT32 (line 113) | _SINT32 = 57370
constant _SINT64 (line 114) | _SINT64 = 57371
constant _FIXED32 (line 115) | _FIXED32 = 57372
constant _FIXED64 (line 116) | _FIXED64 = 57373
constant _SFIXED32 (line 117) | _SFIXED32 = 57374
constant _SFIXED64 (line 118) | _SFIXED64 = 57375
constant _BOOL (line 119) | _BOOL = 57376
constant _STRING (line 120) | _STRING = 57377
constant _BYTES (line 121) | _BYTES = 57378
constant _GROUP (line 122) | _GROUP = 57379
constant _ONEOF (line 123) | _ONEOF = 57380
constant _MAP (line 124) | _MAP = 57381
constant _EXTENSIONS (line 125) | _EXTENSIONS = 57382
constant _TO (line 126) | _TO = 57383
constant _MAX (line 127) | _MAX = 57384
constant _RESERVED (line 128) | _RESERVED = 57385
constant _ENUM (line 129) | _ENUM = 57386
constant _MESSAGE (line 130) | _MESSAGE = 57387
constant _EXTEND (line 131) | _EXTEND = 57388
constant _SERVICE (line 132) | _SERVICE = 57389
constant _RPC (line 133) | _RPC = 57390
constant _STREAM (line 134) | _STREAM = 57391
constant _RETURNS (line 135) | _RETURNS = 57392
constant _ERROR (line 136) | _ERROR = 57393
constant protoEofCode (line 222) | protoEofCode = 1
constant protoErrCode (line 223) | protoErrCode = 2
constant protoInitialStackSize (line 224) | protoInitialStackSize = 16
constant protoPrivate (line 320) | protoPrivate = 57344
constant protoLast (line 322) | protoLast = 2053
type protoLexer (line 949) | type protoLexer interface
type protoParser (line 954) | type protoParser interface
type protoParserImpl (line 959) | type protoParserImpl struct
method Lookahead (line 965) | func (p *protoParserImpl) Lookahead() int {
method Parse (line 1096) | func (protorcvr *protoParserImpl) Parse(protolex protoLexer) int {
function protoNewParser (line 969) | func protoNewParser() protoParser {
constant protoFlag (line 973) | protoFlag = -1000
function protoTokname (line 975) | func protoTokname(c int) string {
function protoStatname (line 984) | func protoStatname(s int) string {
function protoErrorMessage (line 993) | func protoErrorMessage(state, lookAhead int) string {
function protolex1 (line 1057) | func protolex1(lex protoLexer, lval *protoSymType) (char, token int) {
function protoParse (line 1092) | func protoParse(protolex protoLexer) int {
FILE: vendor/github.com/bufbuild/protocompile/parser/result.go
type result (line 35) | type result struct
method AST (line 78) | func (r *result) AST() *ast.FileNode {
method FileDescriptorProto (line 82) | func (r *result) FileDescriptorProto() *descriptorpb.FileDescriptorPro...
method createFileDescriptor (line 86) | func (r *result) createFileDescriptor(filename string, file *ast.FileN...
method asUninterpretedOptions (line 186) | func (r *result) asUninterpretedOptions(nodes []*ast.OptionNode) []*de...
method asUninterpretedOption (line 197) | func (r *result) asUninterpretedOption(node *ast.OptionNode) *descript...
method asUninterpretedOptionName (line 253) | func (r *result) asUninterpretedOptionName(parts []*ast.FieldReference...
method addExtensions (line 266) | func (r *result) addExtensions(ext *ast.ExtendNode, flds *[]*descripto...
method asFieldDescriptor (line 306) | func (r *result) asFieldDescriptor(node *ast.FieldNode, maxTag int32, ...
method asGroupDescriptors (line 362) | func (r *result) asGroupDescriptors(group *ast.GroupNode, syntax proto...
method asMapDescriptors (line 397) | func (r *result) asMapDescriptors(mapField *ast.MapFieldNode, syntax p...
method asExtensionRanges (line 430) | func (r *result) asExtensionRanges(node *ast.ExtensionRangeNode, maxTa...
method asEnumValue (line 448) | func (r *result) asEnumValue(ev *ast.EnumValueNode, handler *reporter....
method asMethodDescriptor (line 462) | func (r *result) asMethodDescriptor(node *ast.RPCNode) *descriptorpb.M...
method asEnumDescriptor (line 489) | func (r *result) asEnumDescriptor(en *ast.EnumNode, syntax protoreflec...
method asEnumReservedRange (line 512) | func (r *result) asEnumReservedRange(rng *ast.RangeNode, handler *repo...
method asMessageDescriptor (line 522) | func (r *result) asMessageDescriptor(node *ast.MessageNode, syntax pro...
method addReservedNames (line 532) | func (r *result) addReservedNames(names *[]string, node *ast.ReservedN...
method checkDepth (line 567) | func (r *result) checkDepth(depth int, node ast.MessageDeclNode, handl...
method addMessageBody (line 580) | func (r *result) addMessageBody(msgd *descriptorpb.DescriptorProto, bo...
method isMessageSetWireFormat (line 687) | func (r *result) isMessageSetWireFormat(scope string, md *descriptorpb...
method asMessageReservedRange (line 712) | func (r *result) asMessageReservedRange(rng *ast.RangeNode, maxTag int...
method getRangeBounds (line 722) | func (r *result) getRangeBounds(rng *ast.RangeNode, minVal, maxVal int...
method asServiceDescriptor (line 748) | func (r *result) asServiceDescriptor(svc *ast.ServiceNode) *descriptor...
method checkTag (line 765) | func (r *result) checkTag(n ast.Node, v uint64, maxTag int32) error {
method processProto3OptionalFields (line 781) | func (r *result) processProto3OptionalFields(msgd *descriptorpb.Descri...
method Node (line 842) | func (r *result) Node(m proto.Message) ast.Node {
method FileNode (line 849) | func (r *result) FileNode() ast.FileDeclNode {
method OptionNode (line 856) | func (r *result) OptionNode(o *descriptorpb.UninterpretedOption) ast.O...
method OptionNamePartNode (line 863) | func (r *result) OptionNamePartNode(o *descriptorpb.UninterpretedOptio...
method MessageNode (line 870) | func (r *result) MessageNode(m *descriptorpb.DescriptorProto) ast.Mess...
method FieldNode (line 877) | func (r *result) FieldNode(f *descriptorpb.FieldDescriptorProto) ast.F...
method OneofNode (line 884) | func (r *result) OneofNode(o *descriptorpb.OneofDescriptorProto) ast.O...
method ExtensionsNode (line 891) | func (r *result) ExtensionsNode(e *descriptorpb.DescriptorProto_Extens...
method ExtensionRangeNode (line 898) | func (r *result) ExtensionRangeNode(e *descriptorpb.DescriptorProto_Ex...
method MessageReservedRangeNode (line 905) | func (r *result) MessageReservedRangeNode(rr *descriptorpb.DescriptorP...
method EnumNode (line 912) | func (r *result) EnumNode(e *descriptorpb.EnumDescriptorProto) ast.Nod...
method EnumValueNode (line 919) | func (r *result) EnumValueNode(e *descriptorpb.EnumValueDescriptorProt...
method EnumReservedRangeNode (line 926) | func (r *result) EnumReservedRangeNode(rr *descriptorpb.EnumDescriptor...
method ServiceNode (line 933) | func (r *result) ServiceNode(s *descriptorpb.ServiceDescriptorProto) a...
method MethodNode (line 940) | func (r *result) MethodNode(m *descriptorpb.MethodDescriptorProto) ast...
method putFileNode (line 947) | func (r *result) putFileNode(f *descriptorpb.FileDescriptorProto, n *a...
method putOptionNode (line 951) | func (r *result) putOptionNode(o *descriptorpb.UninterpretedOption, n ...
method putOptionNamePartNode (line 955) | func (r *result) putOptionNamePartNode(o *descriptorpb.UninterpretedOp...
method putMessageNode (line 959) | func (r *result) putMessageNode(m *descriptorpb.DescriptorProto, n ast...
method putFieldNode (line 963) | func (r *result) putFieldNode(f *descriptorpb.FieldDescriptorProto, n ...
method putOneofNode (line 967) | func (r *result) putOneofNode(o *descriptorpb.OneofDescriptorProto, n ...
method putExtensionRangeNode (line 971) | func (r *result) putExtensionRangeNode(e *descriptorpb.DescriptorProto...
method putMessageReservedRangeNode (line 976) | func (r *result) putMessageReservedRangeNode(rr *descriptorpb.Descript...
method putEnumNode (line 980) | func (r *result) putEnumNode(e *descriptorpb.EnumDescriptorProto, n *a...
method putEnumValueNode (line 984) | func (r *result) putEnumValueNode(e *descriptorpb.EnumValueDescriptorP...
method putEnumReservedRangeNode (line 988) | func (r *result) putEnumReservedRangeNode(rr *descriptorpb.EnumDescrip...
method putServiceNode (line 992) | func (r *result) putServiceNode(s *descriptorpb.ServiceDescriptorProto...
method putMethodNode (line 996) | func (r *result) putMethodNode(m *descriptorpb.MethodDescriptorProto, ...
function ResultWithoutAST (line 46) | func ResultWithoutAST(proto *descriptorpb.FileDescriptorProto) Result {
function ResultFromAST (line 63) | func ResultFromAST(file *ast.FileNode, validate bool, handler *reporter....
function flattenNode (line 239) | func flattenNode(f *ast.FileNode, n ast.Node, buf *bytes.Buffer) {
function asLabel (line 292) | func asLabel(lbl *ast.FieldLabel) *descriptorpb.FieldDescriptorProto_Lab...
function newFieldDescriptor (line 343) | func newFieldDescriptor(name string, fieldType string, tag *int32, lbl *...
function asExtsNode (line 1003) | func asExtsNode(er *descriptorpb.DescriptorProto_ExtensionRange) proto.M...
type extsParent (line 1010) | type extsParent struct
FILE: vendor/github.com/bufbuild/protocompile/parser/validate.go
function validateBasic (line 31) | func validateBasic(res *result, handler *reporter.Handler) {
function validateImports (line 89) | func validateImports(res *result, handler *reporter.Handler) error {
function validateNoFeatures (line 110) | func validateNoFeatures(res *result, syntax protoreflect.Syntax, scope s...
function validateMessage (line 127) | func validateMessage(res *result, syntax protoreflect.Syntax, name proto...
function isIdentifier (line 263) | func isIdentifier(s string) bool {
function findMessageReservedNameNode (line 285) | func findMessageReservedNameNode(msgNode ast.MessageDeclNode, name strin...
function findReservedNameNode (line 298) | func findReservedNameNode[T ast.Node](parent ast.Node, decls []T, name s...
function validateEnum (line 317) | func validateEnum(res *result, syntax protoreflect.Syntax, name protoref...
function findEnumReservedNameNode (line 441) | func findEnumReservedNameNode(enumNode ast.Node, name string) ast.Node {
function validateField (line 450) | func validateField(res *result, syntax protoreflect.Syntax, name protore...
type tagRange (line 522) | type tagRange struct
type tagRanges (line 528) | type tagRanges
method Len (line 530) | func (r tagRanges) Len() int {
method Less (line 534) | func (r tagRanges) Less(i, j int) bool {
method Swap (line 539) | func (r tagRanges) Swap(i, j int) {
function fillInMissingLabels (line 543) | func fillInMissingLabels(fd *descriptorpb.FileDescriptorProto) {
function fillInMissingLabelsInMsg (line 552) | func fillInMissingLabelsInMsg(md *descriptorpb.DescriptorProto) {
function fillInMissingLabel (line 564) | func fillInMissingLabel(fld *descriptorpb.FieldDescriptorProto) {
FILE: vendor/github.com/bufbuild/protocompile/protoutil/editions.go
function GetFeatureDefault (line 40) | func GetFeatureDefault(edition descriptorpb.Edition, feature protoreflec...
function GetCustomFeatureDefault (line 59) | func GetCustomFeatureDefault(edition descriptorpb.Edition, extension pro...
function ResolveFeature (line 92) | func ResolveFeature(element protoreflect.Descriptor, feature protoreflec...
function ResolveCustomFeature (line 112) | func ResolveCustomFeature(element protoreflect.Descriptor, extension pro...
function resolveFeature (line 121) | func resolveFeature(
FILE: vendor/github.com/bufbuild/protocompile/protoutil/protos.go
type DescriptorProtoWrapper (line 60) | type DescriptorProtoWrapper interface
function ProtoFromDescriptor (line 82) | func ProtoFromDescriptor(d protoreflect.Descriptor) proto.Message {
function ProtoFromFileDescriptor (line 113) | func ProtoFromFileDescriptor(d protoreflect.FileDescriptor) *descriptorp...
function ProtoFromMessageDescriptor (line 135) | func ProtoFromMessageDescriptor(d protoreflect.MessageDescriptor) *descr...
function ProtoFromFieldDescriptor (line 154) | func ProtoFromFieldDescriptor(d protoreflect.FieldDescriptor) *descripto...
function ProtoFromOneofDescriptor (line 173) | func ProtoFromOneofDescriptor(d protoreflect.OneofDescriptor) *descripto...
function ProtoFromEnumDescriptor (line 192) | func ProtoFromEnumDescriptor(d protoreflect.EnumDescriptor) *descriptorp...
function ProtoFromEnumValueDescriptor (line 211) | func ProtoFromEnumValueDescriptor(d protoreflect.EnumValueDescriptor) *d...
function ProtoFromServiceDescriptor (line 230) | func ProtoFromServiceDescriptor(d protoreflect.ServiceDescriptor) *descr...
function ProtoFromMethodDescriptor (line 249) | func ProtoFromMethodDescriptor(d protoreflect.MethodDescriptor) *descrip...
FILE: vendor/github.com/bufbuild/protocompile/reporter/errors.go
type ErrorWithPos (line 31) | type ErrorWithPos interface
function Error (line 41) | func Error(span ast.SourceSpan, err error) ErrorWithPos {
function Errorf (line 52) | func Errorf(span ast.SourceSpan, format string, args ...interface{}) Err...
type errorWithSpan (line 56) | type errorWithSpan struct
method Error (line 61) | func (e *errorWithSpan) Error() string {
method GetPosition (line 66) | func (e *errorWithSpan) GetPosition() ast.SourcePos {
method Unwrap (line 70) | func (e *errorWithSpan) Unwrap() error {
FILE: vendor/github.com/bufbuild/protocompile/reporter/reporter.go
type ErrorReporter (line 30) | type ErrorReporter
type WarningReporter (line 36) | type WarningReporter
type Reporter (line 41) | type Reporter interface
function NewReporter (line 59) | func NewReporter(errs ErrorReporter, warnings WarningReporter) Reporter {
type reporterFuncs (line 63) | type reporterFuncs struct
method Error (line 68) | func (r reporterFuncs) Error(err ErrorWithPos) error {
method Warning (line 75) | func (r reporterFuncs) Warning(err ErrorWithPos) {
type Handler (line 85) | type Handler struct
method SubHandler (line 109) | func (h *Handler) SubHandler() *Handler {
method HandleError (line 121) | func (h *Handler) HandleError(err error) error {
method HandleErrorWithPos (line 155) | func (h *Handler) HandleErrorWithPos(span ast.SourceSpan, err error) e...
method HandleErrorf (line 165) | func (h *Handler) HandleErrorf(span ast.SourceSpan, format string, arg...
method HandleWarning (line 171) | func (h *Handler) HandleWarning(err ErrorWithPos) {
method HandleWarningWithPos (line 187) | func (h *Handler) HandleWarningWithPos(span ast.SourceSpan, err error) {
method HandleWarningf (line 193) | func (h *Handler) HandleWarningf(span ast.SourceSpan, format string, a...
method Error (line 201) | func (h *Handler) Error() error {
method ReporterError (line 214) | func (h *Handler) ReporterError() error {
function NewHandler (line 95) | func NewHandler(rep Reporter) *Handler {
FILE: vendor/github.com/bufbuild/protocompile/resolver.go
type Resolver (line 39) | type Resolver interface
type SearchResult (line 51) | type SearchResult struct
type ResolverFunc (line 79) | type ResolverFunc
method FindFileByPath (line 83) | func (f ResolverFunc) FindFileByPath(path string) (SearchResult, error) {
type CompositeResolver (line 92) | type CompositeResolver
method FindFileByPath (line 96) | func (f CompositeResolver) FindFileByPath(path string) (SearchResult, ...
type SourceResolver (line 116) | type SourceResolver struct
method FindFileByPath (line 133) | func (r *SourceResolver) FindFileByPath(path string) (SearchResult, er...
method accessFile (line 157) | func (r *SourceResolver) accessFile(path string) (io.ReadCloser, error) {
function SourceAccessorFromMap (line 171) | func SourceAccessorFromMap(srcs map[string]string) func(string) (io.Read...
function WithStandardImports (line 204) | func WithStandardImports(r Resolver) Resolver {
FILE: vendor/github.com/bufbuild/protocompile/sourceinfo/source_code_info.go
type OptionIndex (line 40) | type OptionIndex
type OptionSourceInfo (line 44) | type OptionSourceInfo struct
type OptionChildrenSourceInfo (line 69) | type OptionChildrenSourceInfo interface
type ArrayLiteralSourceInfo (line 76) | type ArrayLiteralSourceInfo struct
method isChildSourceInfo (line 80) | func (*ArrayLiteralSourceInfo) isChildSourceInfo() {}
type MessageLiteralSourceInfo (line 84) | type MessageLiteralSourceInfo struct
method isChildSourceInfo (line 88) | func (*MessageLiteralSourceInfo) isChildSourceInfo() {}
function GenerateSourceInfo (line 94) | func GenerateSourceInfo(file *ast.FileNode, opts OptionIndex, genOpts .....
type GenerateOption (line 107) | type GenerateOption interface
function WithExtraComments (line 116) | func WithExtraComments() GenerateOption {
function WithExtraOptionLocations (line 127) | func WithExtraOptionLocations() GenerateOption {
type extraCommentsOption (line 131) | type extraCommentsOption struct
method apply (line 133) | func (e extraCommentsOption) apply(info *sourceCodeInfo) {
type extraOptionLocationsOption (line 137) | type extraOptionLocationsOption struct
method apply (line 139) | func (e extraOptionLocationsOption) apply(info *sourceCodeInfo) {
function generateSourceInfoForFile (line 143) | func generateSourceInfoForFile(opts OptionIndex, sci *sourceCodeInfo, fi...
function generateSourceCodeInfoForOption (line 191) | func generateSourceCodeInfoForOption(opts OptionIndex, sci *sourceCodeIn...
function combinePathsForOption (line 240) | func combinePathsForOption(prefix, optionPath []int32) []int32 {
function generateSourceInfoForOptionChildren (line 253) | func generateSourceInfoForOptionChildren(sci *sourceCodeInfo, n ast.Valu...
function generateSourceCodeInfoForMessage (line 309) | func generateSourceCodeInfoForMessage(opts OptionIndex, sci *sourceCodeI...
function generateSourceCodeInfoForEnum (line 399) | func generateSourceCodeInfoForEnum(opts OptionIndex, sci *sourceCodeInfo...
function generateSourceCodeInfoForEnumValue (line 434) | func generateSourceCodeInfoForEnumValue(opts OptionIndex, sci *sourceCod...
function generateSourceCodeInfoForReservedRange (line 451) | func generateSourceCodeInfoForReservedRange(sci *sourceCodeInfo, n *ast....
function generateSourceCodeInfoForExtensions (line 464) | func generateSourceCodeInfoForExtensions(opts OptionIndex, sci *sourceCo...
function generateSourceCodeInfoForOneof (line 482) | func generateSourceCodeInfoForOneof(opts OptionIndex, sci *sourceCodeInf...
function generateSourceCodeInfoForField (line 505) | func generateSourceCodeInfoForField(opts OptionIndex, sci *sourceCodeInf...
function generateSourceCodeInfoForExtensionRanges (line 557) | func generateSourceCodeInfoForExtensionRanges(opts OptionIndex, sci *sou...
function generateSourceCodeInfoForService (line 590) | func generateSourceCodeInfoForService(opts OptionIndex, sci *sourceCodeI...
function generateSourceCodeInfoForMethod (line 605) | func generateSourceCodeInfoForMethod(opts OptionIndex, sci *sourceCodeIn...
type sourceCodeInfo (line 631) | type sourceCodeInfo struct
method newLocWithoutComments (line 639) | func (sci *sourceCodeInfo) newLocWithoutComments(n ast.Node, path []in...
method newLoc (line 667) | func (sci *sourceCodeInfo) newLoc(n ast.Node, path []int32) {
method newBlockLocWithComments (line 687) | func (sci *sourceCodeInfo) newBlockLocWithComments(n, openBrace ast.No...
method newLocWithComments (line 701) | func (sci *sourceCodeInfo) newLocWithComments(n ast.Node, path []int32) {
method newLocWithGivenComments (line 708) | func (sci *sourceCodeInfo) newLocWithGivenComments(nodeInfo ast.NodeIn...
method getLeadingComments (line 763) | func (sci *sourceCodeInfo) getLeadingComments(n ast.Node) ([]comments,...
method getTrailingComments (line 774) | func (sci *sourceCodeInfo) getTrailingComments(n ast.Node) comments {
method attributeComments (line 786) | func (sci *sourceCodeInfo) attributeComments(prevInfo, info ast.NodeIn...
method maybeDonate (line 801) | func (sci *sourceCodeInfo) maybeDonate(prevInfo ast.NodeInfo, info ast...
method maybeAttach (line 841) | func (sci *sourceCodeInfo) maybeAttach(prevInfo ast.NodeInfo, info ast...
method commentUsed (line 873) | func (sci *sourceCodeInfo) commentUsed(c comments) bool {
method combineComments (line 910) | func (sci *sourceCodeInfo) combineComments(comments comments) string {
function isEOF (line 682) | func isEOF(n ast.Node) bool {
type comments (line 742) | type comments interface
type subComments (line 747) | type subComments struct
method Len (line 752) | func (s subComments) Len() int {
method Index (line 756) | func (s subComments) Index(i int) ast.Comment {
function makeSpan (line 866) | func makeSpan(start, end ast.SourcePos) []int32 {
function groupComments (line 886) | func groupComments(cmts ast.Comments) []comments {
FILE: vendor/github.com/bufbuild/protocompile/std_imports.go
function init (line 41) | func init() {
FILE: vendor/github.com/bufbuild/protocompile/supported_editions.go
function IsEditionSupported (line 26) | func IsEditionSupported(edition descriptorpb.Edition) bool {
FILE: vendor/github.com/bufbuild/protocompile/walk/walk.go
function Descriptors (line 53) | func Descriptors(file protoreflect.FileDescriptor, fn func(protoreflect....
function DescriptorsEnterAndExit (line 67) | func DescriptorsEnterAndExit(file protoreflect.FileDescriptor, enter, ex...
type container (line 98) | type container interface
function walkContainer (line 104) | func walkContainer(container container, enter, exit func(protoreflect.De...
function messageDescriptor (line 134) | func messageDescriptor(msg protoreflect.MessageDescriptor, enter, exit f...
function enumDescriptor (line 173) | func enumDescriptor(en protoreflect.EnumDescriptor, enter, exit func(pro...
function DescriptorProtosWithPath (line 201) | func DescriptorProtosWithPath(file *descriptorpb.FileDescriptorProto, fn...
function DescriptorProtosWithPathEnterAndExit (line 210) | func DescriptorProtosWithPathEnterAndExit(file *descriptorpb.FileDescrip...
function DescriptorProtos (line 223) | func DescriptorProtos(file *descriptorpb.FileDescriptorProto, fn func(pr...
function DescriptorProtosEnterAndExit (line 238) | func DescriptorProtosEnterAndExit(file *descriptorpb.FileDescriptorProto...
type protoWalker (line 255) | type protoWalker struct
method walkDescriptorProtos (line 260) | func (w *protoWalker) walkDescriptorProtos(file *descriptorpb.FileDesc...
method walkDescriptorProto (line 337) | func (w *protoWalker) walkDescriptorProto(prefix string, path protoref...
method walkEnumDescriptorProto (line 419) | func (w *protoWalker) walkEnumDescriptorProto(prefix string, path prot...
FILE: vendor/github.com/cenkalti/backoff/v5/backoff.go
type BackOff (line 16) | type BackOff interface
constant Stop (line 36) | Stop time.Duration = -1
type ZeroBackOff (line 40) | type ZeroBackOff struct
method Reset (line 42) | func (b *ZeroBackOff) Reset() {}
method NextBackOff (line 44) | func (b *ZeroBackOff) NextBackOff() time.Duration { return 0 }
type StopBackOff (line 48) | type StopBackOff struct
method Reset (line 50) | func (b *StopBackOff) Reset() {}
method NextBackOff (line 52) | func (b *StopBackOff) NextBackOff() time.Duration { return Stop }
type ConstantBackOff (line 57) | type ConstantBackOff struct
method Reset (line 61) | func (b *ConstantBackOff) Reset() {}
method NextBackOff (line 62) | func (b *ConstantBackOff) NextBackOff() time.Duration { return b.Inter...
function NewConstantBackOff (line 64) | func NewConstantBackOff(d time.Duration) *ConstantBackOff {
FILE: vendor/github.com/cenkalti/backoff/v5/error.go
type PermanentError (line 9) | type PermanentError struct
method Error (line 24) | func (e *PermanentError) Error() string {
method Unwrap (line 29) | func (e *PermanentError) Unwrap() error {
function Permanent (line 14) | func Permanent(err error) error {
type RetryAfterError (line 34) | type RetryAfterError struct
method Error (line 44) | func (e *RetryAfterError) Error() string {
function RetryAfter (line 39) | func RetryAfter(seconds int) error {
FILE: vendor/github.com/cenkalti/backoff/v5/exponential.go
type ExponentialBackOff (line 47) | type ExponentialBackOff struct
method Reset (line 76) | func (b *ExponentialBackOff) Reset() {
method NextBackOff (line 83) | func (b *ExponentialBackOff) NextBackOff() time.Duration {
method incrementCurrentInterval (line 94) | func (b *ExponentialBackOff) incrementCurrentInterval() {
constant DefaultInitialInterval (line 58) | DefaultInitialInterval = 500 * time.Millisecond
constant DefaultRandomizationFactor (line 59) | DefaultRandomizationFactor = 0.5
constant DefaultMultiplier (line 60) | DefaultMultiplier = 1.5
constant DefaultMaxInterval (line 61) | DefaultMaxInterval = 60 * time.Second
function NewExponentialBackOff (line 65) | func NewExponentialBackOff() *ExponentialBackOff {
function getRandomValueFromInterval (line 106) | func getRandomValueFromInterval(randomizationFactor, random float64, cur...
FILE: vendor/github.com/cenkalti/backoff/v5/retry.go
constant DefaultMaxElapsedTime (line 10) | DefaultMaxElapsedTime = 15 * time.Minute
type Operation (line 13) | type Operation
type Notify (line 16) | type Notify
type retryOptions (line 19) | type retryOptions struct
type RetryOption (line 27) | type RetryOption
function WithBackOff (line 30) | func WithBackOff(b BackOff) RetryOption {
function withTimer (line 37) | func withTimer(t timer) RetryOption {
function WithNotify (line 44) | func WithNotify(n Notify) RetryOption {
function WithMaxTries (line 51) | func WithMaxTries(n uint) RetryOption {
function WithMaxElapsedTime (line 58) | func WithMaxElapsedTime(d time.Duration) RetryOption {
function Retry (line 68) | func Retry[T any](ctx context.Context, operation Operation[T], opts ...R...
FILE: vendor/github.com/cenkalti/backoff/v5/ticker.go
type Ticker (line 12) | type Ticker struct
method Stop (line 42) | func (t *Ticker) Stop() {
method run (line 46) | func (t *Ticker) run() {
method send (line 68) | func (t *Ticker) send(tick time.Time) <-chan time.Time {
function NewTicker (line 27) | func NewTicker(b BackOff) *Ticker {
FILE: vendor/github.com/cenkalti/backoff/v5/timer.go
type timer (line 5) | type timer interface
type defaultTimer (line 12) | type defaultTimer struct
method C (line 17) | func (t *defaultTimer) C() <-chan time.Time {
method Start (line 22) | func (t *defaultTimer) Start(duration time.Duration) {
method Stop (line 31) | func (t *defaultTimer) Stop() {
FILE: vendor/github.com/cespare/xxhash/v2/xxhash.go
constant prime1 (line 12) | prime1 uint64 = 11400714785074694791
constant prime2 (line 13) | prime2 uint64 = 14029467366897019727
constant prime3 (line 14) | prime3 uint64 = 1609587929392839161
constant prime4 (line 15) | prime4 uint64 = 9650029242287828579
constant prime5 (line 16) | prime5 uint64 = 2870177450012600261
type Digest (line 29) | type Digest struct
method Reset (line 53) | func (d *Digest) Reset() {
method ResetWithSeed (line 59) | func (d *Digest) ResetWithSeed(seed uint64) {
method Size (line 69) | func (d *Digest) Size() int { return 8 }
method BlockSize (line 72) | func (d *Digest) BlockSize() int { return 32 }
method Write (line 75) | func (d *Digest) Write(b []byte) (n int, err error) {
method Sum (line 113) | func (d *Digest) Sum(b []byte) []byte {
method Sum64 (line 129) | func (d *Digest) Sum64() uint64 {
method MarshalBinary (line 176) | func (d *Digest) MarshalBinary() ([]byte, error) {
method UnmarshalBinary (line 190) | func (d *Digest) UnmarshalBinary(b []byte) error {
function New (line 40) | func New() *Digest {
function NewWithSeed (line 45) | func NewWithSeed(seed uint64) *Digest {
constant magic (line 171) | magic = "xxh\x06"
constant marshaledSize (line 172) | marshaledSize = len(magic) + 8*5 + 32
function appendUint64 (line 208) | func appendUint64(b []byte, x uint64) []byte {
function consumeUint64 (line 214) | func consumeUint64(b []byte) ([]byte, uint64) {
function u64 (line 219) | func u64(b []byte) uint64 { return binary.LittleEndian.Uint64(b) }
function u32 (line 220) | func u32(b []byte) uint32 { return binary.LittleEndian.Uint32(b) }
function round (line 222) | func round(acc, input uint64) uint64 {
function mergeRound (line 229) | func mergeRound(acc, val uint64) uint64 {
function rol1 (line 236) | func rol1(x uint64) uint64 { return bits.RotateLeft64(x, 1) }
function rol7 (line 237) | func rol7(x uint64) uint64 { return bits.RotateLeft64(x, 7) }
function rol11 (line 238) | func rol11(x uint64) uint64 { return bits.RotateLeft64(x, 11) }
function rol12 (line 239) | func rol12(x uint64) uint64 { return bits.RotateLeft64(x, 12) }
function rol18 (line 240) | func rol18(x uint64) uint64 { return bits.RotateLeft64(x, 18) }
function rol23 (line 241) | func rol23(x uint64) uint64 { return bits.RotateLeft64(x, 23) }
function rol27 (line 242) | func rol27(x uint64) uint64 { return bits.RotateLeft64(x, 27) }
function rol31 (line 243) | func rol31(x uint64) uint64 { return bits.RotateLeft64(x, 31) }
FILE: vendor/github.com/cespare/xxhash/v2/xxhash_asm.go
function Sum64 (line 12) | func Sum64(b []byte) uint64
function writeBlocks (line 15) | func writeBlocks(d *Digest, b []byte) int
FILE: vendor/github.com/cespare/xxhash/v2/xxhash_other.go
function Sum64 (line 7) | func Sum64(b []byte) uint64 {
function writeBlocks (line 64) | func writeBlocks(d *Digest, b []byte) int {
FILE: vendor/github.com/cespare/xxhash/v2/xxhash_safe.go
function Sum64String (line 9) | func Sum64String(s string) uint64 {
method WriteString (line 14) | func (d *Digest) WriteString(s string) (n int, err error) {
FILE: vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go
function Sum64String (line 38) | func Sum64String(s string) uint64 {
method WriteString (line 45) | func (d *Digest) WriteString(s string) (n int, err error) {
type sliceHeader (line 55) | type sliceHeader struct
FILE: vendor/github.com/chromedp/cdproto/accessibility/accessibility.go
type DisableParams (line 17) | type DisableParams struct
method Do (line 27) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 22) | func Disable() *DisableParams {
type EnableParams (line 34) | type EnableParams struct
method Do (line 46) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 41) | func Enable() *EnableParams {
type GetPartialAXTreeParams (line 52) | type GetPartialAXTreeParams struct
method WithNodeID (line 73) | func (p GetPartialAXTreeParams) WithNodeID(nodeID cdp.NodeID) *GetPart...
method WithBackendNodeID (line 80) | func (p GetPartialAXTreeParams) WithBackendNodeID(backendNodeID cdp.Ba...
method WithObjectID (line 87) | func (p GetPartialAXTreeParams) WithObjectID(objectID runtime.RemoteOb...
method WithFetchRelatives (line 94) | func (p GetPartialAXTreeParams) WithFetchRelatives(fetchRelatives bool...
method Do (line 109) | func (p *GetPartialAXTreeParams) Do(ctx context.Context) (nodes []*Nod...
function GetPartialAXTree (line 65) | func GetPartialAXTree() *GetPartialAXTreeParams {
type GetPartialAXTreeReturns (line 100) | type GetPartialAXTreeReturns struct
type GetFullAXTreeParams (line 122) | type GetFullAXTreeParams struct
method WithDepth (line 138) | func (p GetFullAXTreeParams) WithDepth(depth int64) *GetFullAXTreePara...
method WithFrameID (line 145) | func (p GetFullAXTreeParams) WithFrameID(frameID cdp.FrameID) *GetFull...
method Do (line 160) | func (p *GetFullAXTreeParams) Do(ctx context.Context) (nodes []*Node, ...
function GetFullAXTree (line 132) | func GetFullAXTree() *GetFullAXTreeParams {
type GetFullAXTreeReturns (line 151) | type GetFullAXTreeReturns struct
type GetRootAXNodeParams (line 173) | type GetRootAXNodeParams struct
method WithFrameID (line 189) | func (p GetRootAXNodeParams) WithFrameID(frameID cdp.FrameID) *GetRoot...
method Do (line 204) | func (p *GetRootAXNodeParams) Do(ctx context.Context) (node *Node, err...
function GetRootAXNode (line 183) | func GetRootAXNode() *GetRootAXNodeParams {
type GetRootAXNodeReturns (line 195) | type GetRootAXNodeReturns struct
type GetAXNodeAndAncestorsParams (line 217) | type GetAXNodeAndAncestorsParams struct
method WithNodeID (line 234) | func (p GetAXNodeAndAncestorsParams) WithNodeID(nodeID cdp.NodeID) *Ge...
method WithBackendNodeID (line 240) | func (p GetAXNodeAndAncestorsParams) WithBackendNodeID(backendNodeID c...
method WithObjectID (line 246) | func (p GetAXNodeAndAncestorsParams) WithObjectID(objectID runtime.Rem...
method Do (line 261) | func (p *GetAXNodeAndAncestorsParams) Do(ctx context.Context) (nodes [...
function GetAXNodeAndAncestors (line 229) | func GetAXNodeAndAncestors() *GetAXNodeAndAncestorsParams {
type GetAXNodeAndAncestorsReturns (line 252) | type GetAXNodeAndAncestorsReturns struct
type GetChildAXNodesParams (line 274) | type GetChildAXNodesParams struct
method WithFrameID (line 295) | func (p GetChildAXNodesParams) WithFrameID(frameID cdp.FrameID) *GetCh...
method Do (line 310) | func (p *GetChildAXNodesParams) Do(ctx context.Context) (nodes []*Node...
function GetChildAXNodes (line 287) | func GetChildAXNodes(id NodeID) *GetChildAXNodesParams {
type GetChildAXNodesReturns (line 301) | type GetChildAXNodesReturns struct
type QueryAXTreeParams (line 328) | type QueryAXTreeParams struct
method WithNodeID (line 352) | func (p QueryAXTreeParams) WithNodeID(nodeID cdp.NodeID) *QueryAXTreeP...
method WithBackendNodeID (line 358) | func (p QueryAXTreeParams) WithBackendNodeID(backendNodeID cdp.Backend...
method WithObjectID (line 365) | func (p QueryAXTreeParams) WithObjectID(objectID runtime.RemoteObjectI...
method WithAccessibleName (line 371) | func (p QueryAXTreeParams) WithAccessibleName(accessibleName string) *...
method WithRole (line 377) | func (p QueryAXTreeParams) WithRole(role string) *QueryAXTreeParams {
method Do (line 392) | func (p *QueryAXTreeParams) Do(ctx context.Context) (nodes []*Node, er...
function QueryAXTree (line 347) | func QueryAXTree() *QueryAXTreeParams {
type QueryAXTreeReturns (line 383) | type QueryAXTreeReturns struct
constant CommandDisable (line 405) | CommandDisable = "Accessibility.disable"
constant CommandEnable (line 406) | CommandEnable = "Accessibility.enable"
constant CommandGetPartialAXTree (line 407) | CommandGetPartialAXTree = "Accessibility.getPartialAXTree"
constant CommandGetFullAXTree (line 408) | CommandGetFullAXTree = "Accessibility.getFullAXTree"
constant CommandGetRootAXNode (line 409) | CommandGetRootAXNode = "Accessibility.getRootAXNode"
constant CommandGetAXNodeAndAncestors (line 410) | CommandGetAXNodeAndAncestors = "Accessibility.getAXNodeAndAncestors"
constant CommandGetChildAXNodes (line 411) | CommandGetChildAXNodes = "Accessibility.getChildAXNodes"
constant CommandQueryAXTree (line 412) | CommandQueryAXTree = "Accessibility.queryAXTree"
FILE: vendor/github.com/chromedp/cdproto/accessibility/events.go
type EventLoadComplete (line 10) | type EventLoadComplete struct
type EventNodesUpdated (line 18) | type EventNodesUpdated struct
FILE: vendor/github.com/chromedp/cdproto/accessibility/types.go
type NodeID (line 16) | type NodeID
method String (line 19) | func (t NodeID) String() string {
type ValueType (line 26) | type ValueType
method String (line 29) | func (t ValueType) String() string {
method UnmarshalJSON (line 55) | func (t *ValueType) UnmarshalJSON(buf []byte) error {
constant ValueTypeBoolean (line 35) | ValueTypeBoolean ValueType = "boolean"
constant ValueTypeTristate (line 36) | ValueTypeTristate ValueType = "tristate"
constant ValueTypeBooleanOrUndefined (line 37) | ValueTypeBooleanOrUndefined ValueType = "booleanOrUndefined"
constant ValueTypeIdref (line 38) | ValueTypeIdref ValueType = "idref"
constant ValueTypeIdrefList (line 39) | ValueTypeIdrefList ValueType = "idrefList"
constant ValueTypeInteger (line 40) | ValueTypeInteger ValueType = "integer"
constant ValueTypeNode (line 41) | ValueTypeNode ValueType = "node"
constant ValueTypeNodeList (line 42) | ValueTypeNodeList ValueType = "nodeList"
constant ValueTypeNumber (line 43) | ValueTypeNumber ValueType = "number"
constant ValueTypeString (line 44) | ValueTypeString ValueType = "string"
constant ValueTypeComputedString (line 45) | ValueTypeComputedString ValueType = "computedString"
constant ValueTypeToken (line 46) | ValueTypeToken ValueType = "token"
constant ValueTypeTokenList (line 47) | ValueTypeTokenList ValueType = "tokenList"
constant ValueTypeDomRelation (line 48) | ValueTypeDomRelation ValueType = "domRelation"
constant ValueTypeRole (line 49) | ValueTypeRole ValueType = "role"
constant ValueTypeInternalRole (line 50) | ValueTypeInternalRole ValueType = "internalRole"
constant ValueTypeValueUndefined (line 51) | ValueTypeValueUndefined ValueType = "valueUndefined"
type ValueSourceType (line 103) | type ValueSourceType
method String (line 106) | func (t ValueSourceType) String() string {
method UnmarshalJSON (line 121) | func (t *ValueSourceType) UnmarshalJSON(buf []byte) error {
constant ValueSourceTypeAttribute (line 112) | ValueSourceTypeAttribute ValueSourceType = "attribute"
constant ValueSourceTypeImplicit (line 113) | ValueSourceTypeImplicit ValueSourceType = "implicit"
constant ValueSourceTypeStyle (line 114) | ValueSourceTypeStyle ValueSourceType = "style"
constant ValueSourceTypeContents (line 115) | ValueSourceTypeContents ValueSourceType = "contents"
constant ValueSourceTypePlaceholder (line 116) | ValueSourceTypePlaceholder ValueSourceType = "placeholder"
constant ValueSourceTypeRelatedElement (line 117) | ValueSourceTypeRelatedElement ValueSourceType = "relatedElement"
type ValueNativeSourceType (line 148) | type ValueNativeSourceType
method String (line 151) | func (t ValueNativeSourceType) String() string {
method UnmarshalJSON (line 170) | func (t *ValueNativeSourceType) UnmarshalJSON(buf []byte) error {
constant ValueNativeSourceTypeDescription (line 157) | ValueNativeSourceTypeDescription ValueNativeSourceType = "description"
constant ValueNativeSourceTypeFigcaption (line 158) | ValueNativeSourceTypeFigcaption ValueNativeSourceType = "figcaption"
constant ValueNativeSourceTypeLabel (line 159) | ValueNativeSourceTypeLabel ValueNativeSourceType = "label"
constant ValueNativeSourceTypeLabelfor (line 160) | ValueNativeSourceTypeLabelfor ValueNativeSourceType = "labelfor"
constant ValueNativeSourceTypeLabelwrapped (line 161) | ValueNativeSourceTypeLabelwrapped ValueNativeSourceType = "labelwrapped"
constant ValueNativeSourceTypeLegend (line 162) | ValueNativeSourceTypeLegend ValueNativeSourceType = "legend"
constant ValueNativeSourceTypeRubyannotation (line 163) | ValueNativeSourceTypeRubyannotation ValueNativeSourceType = "rubyannotat...
constant ValueNativeSourceTypeTablecaption (line 164) | ValueNativeSourceTypeTablecaption ValueNativeSourceType = "tablecaption"
constant ValueNativeSourceTypeTitle (line 165) | ValueNativeSourceTypeTitle ValueNativeSourceType = "title"
constant ValueNativeSourceTypeOther (line 166) | ValueNativeSourceTypeOther ValueNativeSourceType = "other"
type ValueSource (line 204) | type ValueSource struct
type RelatedNode (line 219) | type RelatedNode struct
type Property (line 228) | type Property struct
type Value (line 236) | type Value struct
type PropertyName (line 251) | type PropertyName
method String (line 254) | func (t PropertyName) String() string {
method UnmarshalJSON (line 304) | func (t *PropertyName) UnmarshalJSON(buf []byte) error {
constant PropertyNameActions (line 260) | PropertyNameActions PropertyName = "actions"
constant PropertyNameBusy (line 261) | PropertyNameBusy PropertyName = "busy"
constant PropertyNameDisabled (line 262) | PropertyNameDisabled PropertyName = "disabled"
constant PropertyNameEditable (line 263) | PropertyNameEditable PropertyName = "editable"
constant PropertyNameFocusable (line 264) | PropertyNameFocusable PropertyName = "focusable"
constant PropertyNameFocused (line 265) | PropertyNameFocused PropertyName = "focused"
constant PropertyNameHidden (line 266) | PropertyNameHidden PropertyName = "hidden"
constant PropertyNameHiddenRoot (line 267) | PropertyNameHiddenRoot PropertyName = "hiddenRoot"
constant PropertyNameInvalid (line 268) | PropertyNameInvalid PropertyName = "invalid"
constant PropertyNameKeyshortcuts (line 269) | PropertyNameKeyshortcuts PropertyName = "keyshortcuts"
constant PropertyNameSettable (line 270) | PropertyNameSettable PropertyName = "settable"
constant PropertyNameRoledescription (line 271) | PropertyNameRoledescription PropertyName = "roledescription"
constant PropertyNameLive (line 272) | PropertyNameLive PropertyName = "live"
constant PropertyNameAtomic (line 273) | PropertyNameAtomic PropertyName = "atomic"
constant PropertyNameRelevant (line 274) | PropertyNameRelevant PropertyName = "relevant"
constant PropertyNameRoot (line 275) | PropertyNameRoot PropertyName = "root"
constant PropertyNameAutocomplete (line 276) | PropertyNameAutocomplete PropertyName = "autocomplete"
constant PropertyNameHasPopup (line 277) | PropertyNameHasPopup PropertyName = "hasPopup"
constant PropertyNameLevel (line 278) | PropertyNameLevel PropertyName = "level"
constant PropertyNameMultiselectable (line 279) | PropertyNameMultiselectable PropertyName = "multiselectable"
constant PropertyNameOrientation (line 280) | PropertyNameOrientation PropertyName = "orientation"
constant PropertyNameMultiline (line 281) | PropertyNameMultiline PropertyName = "multiline"
constant PropertyNameReadonly (line 282) | PropertyNameReadonly PropertyName = "readonly"
constant PropertyNameRequired (line 283) | PropertyNameRequired PropertyName = "required"
constant PropertyNameValuemin (line 284) | PropertyNameValuemin PropertyName = "valuemin"
constant PropertyNameValuemax (line 285) | PropertyNameValuemax PropertyName = "valuemax"
constant PropertyNameValuetext (line 286) | PropertyNameValuetext PropertyName = "valuetext"
constant PropertyNameChecked (line 287) | PropertyNameChecked PropertyName = "checked"
constant PropertyNameExpanded (line 288) | PropertyNameExpanded PropertyName = "expanded"
constant PropertyNameModal (line 289) | PropertyNameModal PropertyName = "modal"
constant PropertyNamePressed (line 290) | PropertyNamePressed PropertyName = "pressed"
constant PropertyNameSelected (line 291) | PropertyNameSelected PropertyName = "selected"
constant PropertyNameActivedescendant (line 292) | PropertyNameActivedescendant PropertyName = "activedescendant"
constant PropertyNameControls (line 293) | PropertyNameControls PropertyName = "controls"
constant PropertyNameDescribedby (line 294) | PropertyNameDescribedby PropertyName = "describedby"
constant PropertyNameDetails (line 295) | PropertyNameDetails PropertyName = "details"
constant PropertyNameErrormessage (line 296) | PropertyNameErrormessage PropertyName = "errormessage"
constant PropertyNameFlowto (line 297) | PropertyNameFlowto PropertyName = "flowto"
constant PropertyNameLabelledby (line 298) | PropertyNameLabelledby PropertyName = "labelledby"
constant PropertyNameOwns (line 299) | PropertyNameOwns PropertyName = "owns"
constant PropertyNameURL (line 300) | PropertyNameURL PropertyName = "url"
type Node (line 400) | type Node struct
FILE: vendor/github.com/chromedp/cdproto/animation/animation.go
type DisableParams (line 17) | type DisableParams struct
method Do (line 27) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 22) | func Disable() *DisableParams {
type EnableParams (line 32) | type EnableParams struct
method Do (line 42) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 37) | func Enable() *EnableParams {
type GetCurrentTimeParams (line 47) | type GetCurrentTimeParams struct
method Do (line 74) | func (p *GetCurrentTimeParams) Do(ctx context.Context) (currentTime fl...
function GetCurrentTime (line 58) | func GetCurrentTime(id string) *GetCurrentTimeParams {
type GetCurrentTimeReturns (line 65) | type GetCurrentTimeReturns struct
type GetPlaybackRateParams (line 86) | type GetPlaybackRateParams struct
method Do (line 105) | func (p *GetPlaybackRateParams) Do(ctx context.Context) (playbackRate ...
function GetPlaybackRate (line 91) | func GetPlaybackRate() *GetPlaybackRateParams {
type GetPlaybackRateReturns (line 96) | type GetPlaybackRateReturns struct
type ReleaseAnimationsParams (line 118) | type ReleaseAnimationsParams struct
method Do (line 137) | func (p *ReleaseAnimationsParams) Do(ctx context.Context) (err error) {
function ReleaseAnimations (line 130) | func ReleaseAnimations(animations []string) *ReleaseAnimationsParams {
type ResolveAnimationParams (line 142) | type ResolveAnimationParams struct
method Do (line 169) | func (p *ResolveAnimationParams) Do(ctx context.Context) (remoteObject...
function ResolveAnimation (line 153) | func ResolveAnimation(animationID string) *ResolveAnimationParams {
type ResolveAnimationReturns (line 160) | type ResolveAnimationReturns struct
type SeekAnimationsParams (line 182) | type SeekAnimationsParams struct
method Do (line 204) | func (p *SeekAnimationsParams) Do(ctx context.Context) (err error) {
function SeekAnimations (line 196) | func SeekAnimations(animations []string, currentTime float64) *SeekAnima...
type SetPausedParams (line 209) | type SetPausedParams struct
method Do (line 230) | func (p *SetPausedParams) Do(ctx context.Context) (err error) {
function SetPaused (line 222) | func SetPaused(animations []string, paused bool) *SetPausedParams {
type SetPlaybackRateParams (line 235) | type SetPlaybackRateParams struct
method Do (line 253) | func (p *SetPlaybackRateParams) Do(ctx context.Context) (err error) {
function SetPlaybackRate (line 246) | func SetPlaybackRate(playbackRate float64) *SetPlaybackRateParams {
type SetTimingParams (line 258) | type SetTimingParams struct
method Do (line 282) | func (p *SetTimingParams) Do(ctx context.Context) (err error) {
function SetTiming (line 273) | func SetTiming(animationID string, duration float64, delay float64) *Set...
constant CommandDisable (line 288) | CommandDisable = "Animation.disable"
constant CommandEnable (line 289) | CommandEnable = "Animation.enable"
constant CommandGetCurrentTime (line 290) | CommandGetCurrentTime = "Animation.getCurrentTime"
constant CommandGetPlaybackRate (line 291) | CommandGetPlaybackRate = "Animation.getPlaybackRate"
constant CommandReleaseAnimations (line 292) | CommandReleaseAnimations = "Animation.releaseAnimations"
constant CommandResolveAnimation (line 293) | CommandResolveAnimation = "Animation.resolveAnimation"
constant CommandSeekAnimations (line 294) | CommandSeekAnimations = "Animation.seekAnimations"
constant CommandSetPaused (line 295) | CommandSetPaused = "Animation.setPaused"
constant CommandSetPlaybackRate (line 296) | CommandSetPlaybackRate = "Animation.setPlaybackRate"
constant CommandSetTiming (line 297) | CommandSetTiming = "Animation.setTiming"
FILE: vendor/github.com/chromedp/cdproto/animation/events.go
type EventAnimationCanceled (line 8) | type EventAnimationCanceled struct
type EventAnimationCreated (line 15) | type EventAnimationCreated struct
type EventAnimationStarted (line 22) | type EventAnimationStarted struct
type EventAnimationUpdated (line 29) | type EventAnimationUpdated struct
FILE: vendor/github.com/chromedp/cdproto/animation/types.go
type Animation (line 16) | type Animation struct
type ViewOrScrollTimeline (line 33) | type ViewOrScrollTimeline struct
type Effect (line 44) | type Effect struct
type KeyframesRule (line 60) | type KeyframesRule struct
type KeyframeStyle (line 68) | type KeyframeStyle struct
type Type (line 76) | type Type
method String (line 79) | func (t Type) String() string {
method UnmarshalJSON (line 91) | func (t *Type) UnmarshalJSON(buf []byte) error {
constant TypeCSSTransition (line 85) | TypeCSSTransition Type = "CSSTransition"
constant TypeCSSAnimation (line 86) | TypeCSSAnimation Type = "CSSAnimation"
constant TypeWebAnimation (line 87) | TypeWebAnimation Type = "WebAnimation"
FILE: vendor/github.com/chromedp/cdproto/audits/audits.go
type GetEncodedResponseParams (line 22) | type GetEncodedResponseParams struct
method WithQuality (line 47) | func (p GetEncodedResponseParams) WithQuality(quality float64) *GetEnc...
method WithSizeOnly (line 54) | func (p GetEncodedResponseParams) WithSizeOnly(sizeOnly bool) *GetEnco...
method Do (line 73) | func (p *GetEncodedResponseParams) Do(ctx context.Context) (body []byt...
function GetEncodedResponse (line 38) | func GetEncodedResponse(requestID network.RequestID, encoding GetEncoded...
type GetEncodedResponseReturns (line 60) | type GetEncodedResponseReturns struct
type DisableParams (line 92) | type DisableParams struct
method Do (line 103) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 98) | func Disable() *DisableParams {
type EnableParams (line 109) | type EnableParams struct
method Do (line 120) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 115) | func Enable() *EnableParams {
type CheckContrastParams (line 126) | type CheckContrastParams struct
method WithReportAAA (line 143) | func (p CheckContrastParams) WithReportAAA(reportAAA bool) *CheckContr...
method Do (line 149) | func (p *CheckContrastParams) Do(ctx context.Context) (err error) {
function CheckContrast (line 136) | func CheckContrast() *CheckContrastParams {
type CheckFormsIssuesParams (line 155) | type CheckFormsIssuesParams struct
method Do (line 175) | func (p *CheckFormsIssuesParams) Do(ctx context.Context) (formIssues [...
function CheckFormsIssues (line 161) | func CheckFormsIssues() *CheckFormsIssuesParams {
type CheckFormsIssuesReturns (line 166) | type CheckFormsIssuesReturns struct
constant CommandGetEncodedResponse (line 188) | CommandGetEncodedResponse = "Audits.getEncodedResponse"
constant CommandDisable (line 189) | CommandDisable = "Audits.disable"
constant CommandEnable (line 190) | CommandEnable = "Audits.enable"
constant CommandCheckContrast (line 191) | CommandCheckContrast = "Audits.checkContrast"
constant CommandCheckFormsIssues (line 192) | CommandCheckFormsIssues = "Audits.checkFormsIssues"
FILE: vendor/github.com/chromedp/cdproto/audits/events.go
type EventIssueAdded (line 8) | type EventIssueAdded struct
FILE: vendor/github.com/chromedp/cdproto/audits/types.go
type AffectedCookie (line 18) | type AffectedCookie struct
type AffectedRequest (line 28) | type AffectedRequest struct
type AffectedFrame (line 36) | type AffectedFrame struct
type CookieExclusionReason (line 43) | type CookieExclusionReason
method String (line 46) | func (t CookieExclusionReason) String() string {
method UnmarshalJSON (line 66) | func (t *CookieExclusionReason) UnmarshalJSON(buf []byte) error {
constant CookieExclusionReasonExcludeSameSiteUnspecifiedTreatedAsLax (line 52) | CookieExclusionReasonExcludeSameSiteUnspecifiedTreatedAsLax Cooki...
constant CookieExclusionReasonExcludeSameSiteNoneInsecure (line 53) | CookieExclusionReasonExcludeSameSiteNoneInsecure Cooki...
constant CookieExclusionReasonExcludeSameSiteLax (line 54) | CookieExclusionReasonExcludeSameSiteLax Cooki...
constant CookieExclusionReasonExcludeSameSiteStrict (line 55) | CookieExclusionReasonExcludeSameSiteStrict Cooki...
constant CookieExclusionReasonExcludeInvalidSameParty (line 56) | CookieExclusionReasonExcludeInvalidSameParty Cooki...
constant CookieExclusionReasonExcludeSamePartyCrossPartyContext (line 57) | CookieExclusionReasonExcludeSamePartyCrossPartyContext Cooki...
constant CookieExclusionReasonExcludeDomainNonASCII (line 58) | CookieExclusionReasonExcludeDomainNonASCII Cooki...
constant CookieExclusionReasonExcludeThirdPartyCookieBlockedInFirstPartySet (line 59) | CookieExclusionReasonExcludeThirdPartyCookieBlockedInFirstPartySet Cooki...
constant CookieExclusionReasonExcludeThirdPartyPhaseout (line 60) | CookieExclusionReasonExcludeThirdPartyPhaseout Cooki...
constant CookieExclusionReasonExcludePortMismatch (line 61) | CookieExclusionReasonExcludePortMismatch Cooki...
constant CookieExclusionReasonExcludeSchemeMismatch (line 62) | CookieExclusionReasonExcludeSchemeMismatch Cooki...
type CookieWarningReason (line 102) | type CookieWarningReason
method String (line 105) | func (t CookieWarningReason) String() string {
method UnmarshalJSON (line 128) | func (t *CookieWarningReason) UnmarshalJSON(buf []byte) error {
constant CookieWarningReasonWarnSameSiteUnspecifiedCrossSiteContext (line 111) | CookieWarningReasonWarnSameSiteUnspecifiedCrossSiteContext Cookie...
constant CookieWarningReasonWarnSameSiteNoneInsecure (line 112) | CookieWarningReasonWarnSameSiteNoneInsecure Cookie...
constant CookieWarningReasonWarnSameSiteUnspecifiedLaxAllowUnsafe (line 113) | CookieWarningReasonWarnSameSiteUnspecifiedLaxAllowUnsafe Cookie...
constant CookieWarningReasonWarnSameSiteStrictLaxDowngradeStrict (line 114) | CookieWarningReasonWarnSameSiteStrictLaxDowngradeStrict Cookie...
constant CookieWarningReasonWarnSameSiteStrictCrossDowngradeStrict (line 115) | CookieWarningReasonWarnSameSiteStrictCrossDowngradeStrict Cookie...
constant CookieWarningReasonWarnSameSiteStrictCrossDowngradeLax (line 116) | CookieWarningReasonWarnSameSiteStrictCrossDowngradeLax Cookie...
constant CookieWarningReasonWarnSameSiteLaxCrossDowngradeStrict (line 117) | CookieWarningReasonWarnSameSiteLaxCrossDowngradeStrict Cookie...
constant CookieWarningReasonWarnSameSiteLaxCrossDowngradeLax (line 118) | CookieWarningReasonWarnSameSiteLaxCrossDowngradeLax Cookie...
constant CookieWarningReasonWarnAttributeValueExceedsMaxSize (line 119) | CookieWarningReasonWarnAttributeValueExceedsMaxSize Cookie...
constant CookieWarningReasonWarnDomainNonASCII (line 120) | CookieWarningReasonWarnDomainNonASCII Cookie...
constant CookieWarningReasonWarnThirdPartyPhaseout (line 121) | CookieWarningReasonWarnThirdPartyPhaseout Cookie...
constant CookieWarningReasonWarnCrossSiteRedirectDowngradeChangesInclusion (line 122) | CookieWarningReasonWarnCrossSiteRedirectDowngradeChangesInclusion Cookie...
constant CookieWarningReasonWarnDeprecationTrialMetadata (line 123) | CookieWarningReasonWarnDeprecationTrialMetadata Cookie...
constant CookieWarningReasonWarnThirdPartyCookieHeuristic (line 124) | CookieWarningReasonWarnThirdPartyCookieHeuristic Cookie...
type CookieOperation (line 170) | type CookieOperation
method String (line 173) | func (t CookieOperation) String() string {
method UnmarshalJSON (line 184) | func (t *CookieOperation) UnmarshalJSON(buf []byte) error {
constant CookieOperationSetCookie (line 179) | CookieOperationSetCookie CookieOperation = "SetCookie"
constant CookieOperationReadCookie (line 180) | CookieOperationReadCookie CookieOperation = "ReadCookie"
type InsightType (line 203) | type InsightType
method String (line 206) | func (t InsightType) String() string {
method UnmarshalJSON (line 218) | func (t *InsightType) UnmarshalJSON(buf []byte) error {
constant InsightTypeGitHubResource (line 212) | InsightTypeGitHubResource InsightType = "GitHubResource"
constant InsightTypeGracePeriod (line 213) | InsightTypeGracePeriod InsightType = "GracePeriod"
constant InsightTypeHeuristics (line 214) | InsightTypeHeuristics InsightType = "Heuristics"
type CookieIssueInsight (line 239) | type CookieIssueInsight struct
type CookieIssueDetails (line 249) | type CookieIssueDetails struct
type MixedContentResolutionStatus (line 264) | type MixedContentResolutionStatus
method String (line 267) | func (t MixedContentResolutionStatus) String() string {
method UnmarshalJSON (line 279) | func (t *MixedContentResolutionStatus) UnmarshalJSON(buf []byte) error {
constant MixedContentResolutionStatusMixedContentBlocked (line 273) | MixedContentResolutionStatusMixedContentBlocked MixedConte...
constant MixedContentResolutionStatusMixedContentAutomaticallyUpgraded (line 274) | MixedContentResolutionStatusMixedContentAutomaticallyUpgraded MixedConte...
constant MixedContentResolutionStatusMixedContentWarning (line 275) | MixedContentResolutionStatusMixedContentWarning MixedConte...
type MixedContentResourceType (line 299) | type MixedContentResourceType
method String (line 302) | func (t MixedContentResourceType) String() string {
method UnmarshalJSON (line 340) | func (t *MixedContentResourceType) UnmarshalJSON(buf []byte) error {
constant MixedContentResourceTypeAttributionSrc (line 308) | MixedContentResourceTypeAttributionSrc MixedContentResourceType = "Att...
constant MixedContentResourceTypeAudio (line 309) | MixedContentResourceTypeAudio MixedContentResourceType = "Audio"
constant MixedContentResourceTypeBeacon (line 310) | MixedContentResourceTypeBeacon MixedContentResourceType = "Bea...
constant MixedContentResourceTypeCSPReport (line 311) | MixedContentResourceTypeCSPReport MixedContentResourceType = "CSP...
constant MixedContentResourceTypeDownload (line 312) | MixedContentResourceTypeDownload MixedContentResourceType = "Dow...
constant MixedContentResourceTypeEventSource (line 313) | MixedContentResourceTypeEventSource MixedContentResourceType = "Eve...
constant MixedContentResourceTypeFavicon (line 314) | MixedContentResourceTypeFavicon MixedContentResourceType = "Fav...
constant MixedContentResourceTypeFont (line 315) | MixedContentResourceTypeFont MixedContentResourceType = "Font"
constant MixedContentResourceTypeForm (line 316) | MixedContentResourceTypeForm MixedContentResourceType = "Form"
constant MixedContentResourceTypeFrame (line 317) | MixedContentResourceTypeFrame MixedContentResourceType = "Frame"
constant MixedContentResourceTypeImage (line 318) | MixedContentResourceTypeImage MixedContentResourceType = "Image"
constant MixedContentResourceTypeImport (line 319) | MixedContentResourceTypeImport MixedContentResourceType = "Imp...
constant MixedContentResourceTypeJSON (line 320) | MixedContentResourceTypeJSON MixedContentResourceType = "JSON"
constant MixedContentResourceTypeManifest (line 321) | MixedContentResourceTypeManifest MixedContentResourceType = "Man...
constant MixedContentResourceTypePing (line 322) | MixedContentResourceTypePing MixedContentResourceType = "Ping"
constant MixedContentResourceTypePluginData (line 323) | MixedContentResourceTypePluginData MixedContentResourceType = "Plu...
constant MixedContentResourceTypePluginResource (line 324) | MixedContentResourceTypePluginResource MixedContentResourceType = "Plu...
constant MixedContentResourceTypePrefetch (line 325) | MixedContentResourceTypePrefetch MixedContentResourceType = "Pre...
constant MixedContentResourceTypeResource (line 326) | MixedContentResourceTypeResource MixedContentResourceType = "Res...
constant MixedContentResourceTypeScript (line 327) | MixedContentResourceTypeScript MixedContentResourceType = "Scr...
constant MixedContentResourceTypeServiceWorker (line 328) | MixedContentResourceTypeServiceWorker MixedContentResourceType = "Ser...
constant MixedContentResourceTypeSharedWorker (line 329) | MixedContentResourceTypeSharedWorker MixedContentResourceType = "Sha...
constant MixedContentResourceTypeSpeculationRules (line 330) | MixedContentResourceTypeSpeculationRules MixedContentResourceType = "Spe...
constant MixedContentResourceTypeStylesheet (line 331) | MixedContentResourceTypeStylesheet MixedContentResourceType = "Sty...
constant MixedContentResourceTypeTrack (line 332) | MixedContentResourceTypeTrack MixedContentResourceType = "Track"
constant MixedContentResourceTypeVideo (line 333) | MixedContentResourceTypeVideo MixedContentResourceType = "Video"
constant MixedContentResourceTypeWorker (line 334) | MixedContentResourceTypeWorker MixedContentResourceType = "Wor...
constant MixedContentResourceTypeXMLHTTPRequest (line 335) | MixedContentResourceTypeXMLHTTPRequest MixedContentResourceType = "XML...
constant MixedContentResourceTypeXSLT (line 336) | MixedContentResourceTypeXSLT MixedContentResourceType = "XSLT"
type MixedContentIssueDetails (line 412) | type MixedContentIssueDetails struct
type BlockedByResponseReason (line 425) | type BlockedByResponseReason
method String (line 428) | func (t BlockedByResponseReason) String() string {
method UnmarshalJSON (line 445) | func (t *BlockedByResponseReason) UnmarshalJSON(buf []byte) error {
constant BlockedByResponseReasonCoepFrameResourceNeedsCoepHeader (line 434) | BlockedByResponseReasonCoepFrameResourceNeedsCoepHeader ...
constant BlockedByResponseReasonCoopSandboxedIFrameCannotNavigateToCoopPage (line 435) | BlockedByResponseReasonCoopSandboxedIFrameCannotNavigateToCoopPage ...
constant BlockedByResponseReasonCorpNotSameOrigin (line 436) | BlockedByResponseReasonCorpNotSameOrigin ...
constant BlockedByResponseReasonCorpNotSameOriginAfterDefaultedToSameOriginByCoep (line 437) | BlockedByResponseReasonCorpNotSameOriginAfterDefaultedToSameOriginByCoep...
constant BlockedByResponseReasonCorpNotSameOriginAfterDefaultedToSameOriginByDip (line 438) | BlockedByResponseReasonCorpNotSameOriginAfterDefaultedToSameOriginByDip ...
constant BlockedByResponseReasonCorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip (line 439) | BlockedByResponseReasonCorpNotSameOriginAfterDefaultedToSameOriginByCoep...
constant BlockedByResponseReasonCorpNotSameSite (line 440) | BlockedByResponseReasonCorpNotSameSite ...
constant BlockedByResponseReasonSRIMessageSignatureMismatch (line 441) | BlockedByResponseReasonSRIMessageSignatureMismatch ...
type BlockedByResponseIssueDetails (line 477) | type BlockedByResponseIssueDetails struct
type HeavyAdResolutionStatus (line 487) | type HeavyAdResolutionStatus
method String (line 490) | func (t HeavyAdResolutionStatus) String() string {
method UnmarshalJSON (line 501) | func (t *HeavyAdResolutionStatus) UnmarshalJSON(buf []byte) error {
constant HeavyAdResolutionStatusHeavyAdBlocked (line 496) | HeavyAdResolutionStatusHeavyAdBlocked HeavyAdResolutionStatus = "HeavyAd...
constant HeavyAdResolutionStatusHeavyAdWarning (line 497) | HeavyAdResolutionStatusHeavyAdWarning HeavyAdResolutionStatus = "HeavyAd...
type HeavyAdReason (line 519) | type HeavyAdReason
method String (line 522) | func (t HeavyAdReason) String() string {
method UnmarshalJSON (line 534) | func (t *HeavyAdReason) UnmarshalJSON(buf []byte) error {
constant HeavyAdReasonNetworkTotalLimit (line 528) | HeavyAdReasonNetworkTotalLimit HeavyAdReason = "NetworkTotalLimit"
constant HeavyAdReasonCPUTotalLimit (line 529) | HeavyAdReasonCPUTotalLimit HeavyAdReason = "CpuTotalLimit"
constant HeavyAdReasonCPUPeakLimit (line 530) | HeavyAdReasonCPUPeakLimit HeavyAdReason = "CpuPeakLimit"
type HeavyAdIssueDetails (line 554) | type HeavyAdIssueDetails struct
type ContentSecurityPolicyViolationType (line 563) | type ContentSecurityPolicyViolationType
method String (line 566) | func (t ContentSecurityPolicyViolationType) String() string {
method UnmarshalJSON (line 582) | func (t *ContentSecurityPolicyViolationType) UnmarshalJSON(buf []byte)...
constant ContentSecurityPolicyViolationTypeKInlineViolation (line 572) | ContentSecurityPolicyViolationTypeKInlineViolation ContentSe...
constant ContentSecurityPolicyViolationTypeKEvalViolation (line 573) | ContentSecurityPolicyViolationTypeKEvalViolation ContentSe...
constant ContentSecurityPolicyViolationTypeKURLViolation (line 574) | ContentSecurityPolicyViolationTypeKURLViolation ContentSe...
constant ContentSecurityPolicyViolationTypeKSRIViolation (line 575) | ContentSecurityPolicyViolationTypeKSRIViolation ContentSe...
constant ContentSecurityPolicyViolationTypeKTrustedTypesSinkViolation (line 576) | ContentSecurityPolicyViolationTypeKTrustedTypesSinkViolation ContentSe...
constant ContentSecurityPolicyViolationTypeKTrustedTypesPolicyViolation (line 577) | ContentSecurityPolicyViolationTypeKTrustedTypesPolicyViolation ContentSe...
constant ContentSecurityPolicyViolationTypeKWasmEvalViolation (line 578) | ContentSecurityPolicyViolationTypeKWasmEvalViolation ContentSe...
type SourceCodeLocation (line 610) | type SourceCodeLocation struct
type ContentSecurityPolicyIssueDetails (line 620) | type ContentSecurityPolicyIssueDetails struct
type SharedArrayBufferIssueType (line 633) | type SharedArrayBufferIssueType
method String (line 636) | func (t SharedArrayBufferIssueType) String() string {
method UnmarshalJSON (line 647) | func (t *SharedArrayBufferIssueType) UnmarshalJSON(buf []byte) error {
constant SharedArrayBufferIssueTypeTransferIssue (line 642) | SharedArrayBufferIssueTypeTransferIssue SharedArrayBufferIssueType = "Tr...
constant SharedArrayBufferIssueTypeCreationIssue (line 643) | SharedArrayBufferIssueTypeCreationIssue SharedArrayBufferIssueType = "Cr...
type SharedArrayBufferIssueDetails (line 667) | type SharedArrayBufferIssueDetails struct
type LowTextContrastIssueDetails (line 676) | type LowTextContrastIssueDetails struct
type CorsIssueDetails (line 690) | type CorsIssueDetails struct
type AttributionReportingIssueType (line 703) | type AttributionReportingIssueType
method String (line 706) | func (t AttributionReportingIssueType) String() string {
method UnmarshalJSON (line 736) | func (t *AttributionReportingIssueType) UnmarshalJSON(buf []byte) error {
constant AttributionReportingIssueTypePermissionPolicyDisabled (line 712) | AttributionReportingIssueTypePermissionPolicyDisabled ...
constant AttributionReportingIssueTypeUntrustworthyReportingOrigin (line 713) | AttributionReportingIssueTypeUntrustworthyReportingOrigin ...
constant AttributionReportingIssueTypeInsecureContext (line 714) | AttributionReportingIssueTypeInsecureContext ...
constant AttributionReportingIssueTypeInvalidHeader (line 715) | AttributionReportingIssueTypeInvalidHeader ...
constant AttributionReportingIssueTypeInvalidRegisterTriggerHeader (line 716) | AttributionReportingIssueTypeInvalidRegisterTriggerHeader ...
constant AttributionReportingIssueTypeSourceAndTriggerHeaders (line 717) | AttributionReportingIssueTypeSourceAndTriggerHeaders ...
constant AttributionReportingIssueTypeSourceIgnored (line 718) | AttributionReportingIssueTypeSourceIgnored ...
constant AttributionReportingIssueTypeTriggerIgnored (line 719) | AttributionReportingIssueTypeTriggerIgnored ...
constant AttributionReportingIssueTypeOsSourceIgnored (line 720) | AttributionReportingIssueTypeOsSourceIgnored ...
constant AttributionReportingIssueTypeOsTriggerIgnored (line 721) | AttributionReportingIssueTypeOsTriggerIgnored ...
constant AttributionReportingIssueTypeInvalidRegisterOsSourceHeader (line 722) | AttributionReportingIssueTypeInvalidRegisterOsSourceHeader ...
constant AttributionReportingIssueTypeInvalidRegisterOsTriggerHeader (line 723) | AttributionReportingIssueTypeInvalidRegisterOsTriggerHeader ...
constant AttributionReportingIssueTypeWebAndOsHeaders (line 724) | AttributionReportingIssueTypeWebAndOsHeaders ...
constant AttributionReportingIssueTypeNoWebOrOsSupport (line 725) | AttributionReportingIssueTypeNoWebOrOsSupport ...
constant AttributionReportingIssueTypeNavigationRegistrationWithoutTransientUserActivation (line 726) | AttributionReportingIssueTypeNavigationRegistrationWithoutTransientUserA...
constant AttributionReportingIssueTypeInvalidInfoHeader (line 727) | AttributionReportingIssueTypeInvalidInfoHeader ...
constant AttributionReportingIssueTypeNoRegisterSourceHeader (line 728) | AttributionReportingIssueTypeNoRegisterSourceHeader ...
constant AttributionReportingIssueTypeNoRegisterTriggerHeader (line 729) | AttributionReportingIssueTypeNoRegisterTriggerHeader ...
constant AttributionReportingIssueTypeNoRegisterOsSourceHeader (line 730) | AttributionReportingIssueTypeNoRegisterOsSourceHeader ...
constant AttributionReportingIssueTypeNoRegisterOsTriggerHeader (line 731) | AttributionReportingIssueTypeNoRegisterOsTriggerHeader ...
constant AttributionReportingIssueTypeNavigationRegistrationUniqueScopeAlreadySet (line 732) | AttributionReportingIssueTypeNavigationRegistrationUniqueScopeAlreadySet...
type SharedDictionaryError (line 792) | type SharedDictionaryError
method String (line 795) | func (t SharedDictionaryError) String() string {
method UnmarshalJSON (line 827) | func (t *SharedDictionaryError) UnmarshalJSON(buf []byte) error {
constant SharedDictionaryErrorUseErrorCrossOriginNoCorsRequest (line 801) | SharedDictionaryErrorUseErrorCrossOriginNoCorsRequest SharedDic...
constant SharedDictionaryErrorUseErrorDictionaryLoadFailure (line 802) | SharedDictionaryErrorUseErrorDictionaryLoadFailure SharedDic...
constant SharedDictionaryErrorUseErrorMatchingDictionaryNotUsed (line 803) | SharedDictionaryErrorUseErrorMatchingDictionaryNotUsed SharedDic...
constant SharedDictionaryErrorUseErrorUnexpectedContentDictionaryHeader (line 804) | SharedDictionaryErrorUseErrorUnexpectedContentDictionaryHeader SharedDic...
constant SharedDictionaryErrorWriteErrorCossOriginNoCorsRequest (line 805) | SharedDictionaryErrorWriteErrorCossOriginNoCorsRequest SharedDic...
constant SharedDictionaryErrorWriteErrorDisallowedBySettings (line 806) | SharedDictionaryErrorWriteErrorDisallowedBySettings SharedDic...
constant SharedDictionaryErrorWriteErrorExpiredResponse (line 807) | SharedDictionaryErrorWriteErrorExpiredResponse SharedDic...
constant SharedDictionaryErrorWriteErrorFeatureDisabled (line 808) | SharedDictionaryErrorWriteErrorFeatureDisabled SharedDic...
constant SharedDictionaryErrorWriteErrorInsufficientResources (line 809) | SharedDictionaryErrorWriteErrorInsufficientResources SharedDic...
constant SharedDictionaryErrorWriteErrorInvalidMatchField (line 810) | SharedDictionaryErrorWriteErrorInvalidMatchField SharedDic...
constant SharedDictionaryErrorWriteErrorInvalidStructuredHeader (line 811) | SharedDictionaryErrorWriteErrorInvalidStructuredHeader SharedDic...
constant SharedDictionaryErrorWriteErrorNavigationRequest (line 812) | SharedDictionaryErrorWriteErrorNavigationRequest SharedDic...
constant SharedDictionaryErrorWriteErrorNoMatchField (line 813) | SharedDictionaryErrorWriteErrorNoMatchField SharedDic...
constant SharedDictionaryErrorWriteErrorNonListMatchDestField (line 814) | SharedDictionaryErrorWriteErrorNonListMatchDestField SharedDic...
constant SharedDictionaryErrorWriteErrorNonSecureContext (line 815) | SharedDictionaryErrorWriteErrorNonSecureContext SharedDic...
constant SharedDictionaryErrorWriteErrorNonStringIDField (line 816) | SharedDictionaryErrorWriteErrorNonStringIDField SharedDic...
constant SharedDictionaryErrorWriteErrorNonStringInMatchDestList (line 817) | SharedDictionaryErrorWriteErrorNonStringInMatchDestList SharedDic...
constant SharedDictionaryErrorWriteErrorNonStringMatchField (line 818) | SharedDictionaryErrorWriteErrorNonStringMatchField SharedDic...
constant SharedDictionaryErrorWriteErrorNonTokenTypeField (line 819) | SharedDictionaryErrorWriteErrorNonTokenTypeField SharedDic...
constant SharedDictionaryErrorWriteErrorRequestAborted (line 820) | SharedDictionaryErrorWriteErrorRequestAborted SharedDic...
constant SharedDictionaryErrorWriteErrorShuttingDown (line 821) | SharedDictionaryErrorWriteErrorShuttingDown SharedDic...
constant SharedDictionaryErrorWriteErrorTooLongIDField (line 822) | SharedDictionaryErrorWriteErrorTooLongIDField SharedDic...
constant SharedDictionaryErrorWriteErrorUnsupportedType (line 823) | SharedDictionaryErrorWriteErrorUnsupportedType SharedDic...
type SRIMessageSignatureError (line 887) | type SRIMessageSignatureError
method String (line 890) | func (t SRIMessageSignatureError) String() string {
method UnmarshalJSON (line 920) | func (t *SRIMessageSignatureError) UnmarshalJSON(buf []byte) error {
constant SRIMessageSignatureErrorMissingSignatureHeader (line 896) | SRIMessageSignatureErrorMissingSignatureHeader ...
constant SRIMessageSignatureErrorMissingSignatureInputHeader (line 897) | SRIMessageSignatureErrorMissingSignatureInputHeader ...
constant SRIMessageSignatureErrorInvalidSignatureHeader (line 898) | SRIMessageSignatureErrorInvalidSignatureHeader ...
constant SRIMessageSignatureErrorInvalidSignatureInputHeader (line 899) | SRIMessageSignatureErrorInvalidSignatureInputHeader ...
constant SRIMessageSignatureErrorSignatureHeaderValueIsNotByteSequence (line 900) | SRIMessageSignatureErrorSignatureHeaderValueIsNotByteSequence ...
constant SRIMessageSignatureErrorSignatureHeaderValueIsParameterized (line 901) | SRIMessageSignatureErrorSignatureHeaderValueIsParameterized ...
constant SRIMessageSignatureErrorSignatureHeaderValueIsIncorrectLength (line 902) | SRIMessageSignatureErrorSignatureHeaderValueIsIncorrectLength ...
constant SRIMessageSignatureErrorSignatureInputHeaderMissingLabel (line 903) | SRIMessageSignatureErrorSignatureInputHeaderMissingLabel ...
constant SRIMessageSignatureErrorSignatureInputHeaderValueNotInnerList (line 904) | SRIMessageSignatureErrorSignatureInputHeaderValueNotInnerList ...
constant SRIMessageSignatureErrorSignatureInputHeaderValueMissingComponents (line 905) | SRIMessageSignatureErrorSignatureInputHeaderValueMissingComponents ...
constant SRIMessageSignatureErrorSignatureInputHeaderInvalidComponentType (line 906) | SRIMessageSignatureErrorSignatureInputHeaderInvalidComponentType ...
constant SRIMessageSignatureErrorSignatureInputHeaderInvalidComponentName (line 907) | SRIMessageSignatureErrorSignatureInputHeaderInvalidComponentName ...
constant SRIMessageSignatureErrorSignatureInputHeaderInvalidHeaderComponentParameter (line 908) | SRIMessageSignatureErrorSignatureInputHeaderInvalidHeaderComponentParame...
constant SRIMessageSignatureErrorSignatureInputHeaderInvalidDerivedComponentParameter (line 909) | SRIMessageSignatureErrorSignatureInputHeaderInvalidDerivedComponentParam...
constant SRIMessageSignatureErrorSignatureInputHeaderKeyIDLength (line 910) | SRIMessageSignatureErrorSignatureInputHeaderKeyIDLength ...
constant SRIMessageSignatureErrorSignatureInputHeaderInvalidParameter (line 911) | SRIMessageSignatureErrorSignatureInputHeaderInvalidParameter ...
constant SRIMessageSignatureErrorSignatureInputHeaderMissingRequiredParameters (line 912) | SRIMessageSignatureErrorSignatureInputHeaderMissingRequiredParameters ...
constant SRIMessageSignatureErrorValidationFailedSignatureExpired (line 913) | SRIMessageSignatureErrorValidationFailedSignatureExpired ...
constant SRIMessageSignatureErrorValidationFailedInvalidLength (line 914) | SRIMessageSignatureErrorValidationFailedInvalidLength ...
constant SRIMessageSignatureErrorValidationFailedSignatureMismatch (line 915) | SRIMessageSignatureErrorValidationFailedSignatureMismatch ...
constant SRIMessageSignatureErrorValidationFailedIntegrityMismatch (line 916) | SRIMessageSignatureErrorValidationFailedIntegrityMismatch ...
type UnencodedDigestError (line 976) | type UnencodedDigestError
method String (line 979) | func (t UnencodedDigestError) String() string {
method UnmarshalJSON (line 992) | func (t *UnencodedDigestError) UnmarshalJSON(buf []byte) error {
constant UnencodedDigestErrorMalformedDictionary (line 985) | UnencodedDigestErrorMalformedDictionary UnencodedDigestError = "Malfor...
constant UnencodedDigestErrorUnknownAlgorithm (line 986) | UnencodedDigestErrorUnknownAlgorithm UnencodedDigestError = "Unknow...
constant UnencodedDigestErrorIncorrectDigestType (line 987) | UnencodedDigestErrorIncorrectDigestType UnencodedDigestError = "Incorr...
constant UnencodedDigestErrorIncorrectDigestLength (line 988) | UnencodedDigestErrorIncorrectDigestLength UnencodedDigestError = "Incorr...
type AttributionReportingIssueDetails (line 1016) | type AttributionReportingIssueDetails struct
type QuirksModeIssueDetails (line 1027) | type QuirksModeIssueDetails struct
type SharedDictionaryIssueDetails (line 1038) | type SharedDictionaryIssueDetails struct
type SRIMessageSignatureIssueDetails (line 1046) | type SRIMessageSignatureIssueDetails struct
type UnencodedDigestIssueDetails (line 1056) | type UnencodedDigestIssueDetails struct
type GenericIssueErrorType (line 1064) | type GenericIssueErrorType
method String (line 1067) | func (t GenericIssueErrorType) String() string {
method UnmarshalJSON (line 1087) | func (t *GenericIssueErrorType) UnmarshalJSON(buf []byte) error {
constant GenericIssueErrorTypeFormLabelForNameError (line 1073) | GenericIssueErrorTypeFormLabelForNameError ...
constant GenericIssueErrorTypeFormDuplicateIDForInputError (line 1074) | GenericIssueErrorTypeFormDuplicateIDForInputError ...
constant GenericIssueErrorTypeFormInputWithNoLabelError (line 1075) | GenericIssueErrorTypeFormInputWithNoLabelError ...
constant GenericIssueErrorTypeFormAutocompleteAttributeEmptyError (line 1076) | GenericIssueErrorTypeFormAutocompleteAttributeEmptyError ...
constant GenericIssueErrorTypeFormEmptyIDAndNameAttributesForInputError (line 1077) | GenericIssueErrorTypeFormEmptyIDAndNameAttributesForInputError ...
constant GenericIssueErrorTypeFormAriaLabelledByToNonExistingID (line 1078) | GenericIssueErrorTypeFormAriaLabelledByToNonExistingID ...
constant GenericIssueErrorTypeFormInputAssignedAutocompleteValueToIDOrNameAttributeError (line 1079) | GenericIssueErrorTypeFormInputAssignedAutocompleteValueToIDOrNameAttribu...
constant GenericIssueErrorTypeFormLabelHasNeitherForNorNestedInput (line 1080) | GenericIssueErrorTypeFormLabelHasNeitherForNorNestedInput ...
constant GenericIssueErrorTypeFormLabelForMatchesNonExistingIDError (line 1081) | GenericIssueErrorTypeFormLabelForMatchesNonExistingIDError ...
constant GenericIssueErrorTypeFormInputHasWrongButWellIntendedAutocompleteValueError (line 1082) | GenericIssueErrorTypeFormInputHasWrongButWellIntendedAutocompleteValueEr...
constant GenericIssueErrorTypeResponseWasBlockedByORB (line 1083) | GenericIssueErrorTypeResponseWasBlockedByORB ...
type GenericIssueDetails (line 1124) | type GenericIssueDetails struct
type DeprecationIssueDetails (line 1137) | type DeprecationIssueDetails struct
type BounceTrackingIssueDetails (line 1151) | type BounceTrackingIssueDetails struct
type CookieDeprecationMetadataIssueDetails (line 1162) | type CookieDeprecationMetadataIssueDetails struct
type ClientHintIssueReason (line 1172) | type ClientHintIssueReason
method String (line 1175) | func (t ClientHintIssueReason) String() string {
method UnmarshalJSON (line 1186) | func (t *ClientHintIssueReason) UnmarshalJSON(buf []byte) error {
constant ClientHintIssueReasonMetaTagAllowListInvalidOrigin (line 1181) | ClientHintIssueReasonMetaTagAllowListInvalidOrigin ClientHintIssueReason...
constant ClientHintIssueReasonMetaTagModifiedHTML (line 1182) | ClientHintIssueReasonMetaTagModifiedHTML ClientHintIssueReason...
type FederatedAuthRequestIssueDetails (line 1204) | type FederatedAuthRequestIssueDetails struct
type FederatedAuthRequestIssueReason (line 1215) | type FederatedAuthRequestIssueReason
method String (line 1218) | func (t FederatedAuthRequestIssueReason) String() string {
method UnmarshalJSON (line 1275) | func (t *FederatedAuthRequestIssueReason) UnmarshalJSON(buf []byte) er...
constant FederatedAuthRequestIssueReasonShouldEmbargo (line 1224) | FederatedAuthRequestIssueReasonShouldEmbargo Federate...
constant FederatedAuthRequestIssueReasonTooManyRequests (line 1225) | FederatedAuthRequestIssueReasonTooManyRequests Federate...
constant FederatedAuthRequestIssueReasonWellKnownHTTPNotFound (line 1226) | FederatedAuthRequestIssueReasonWellKnownHTTPNotFound Federate...
constant FederatedAuthRequestIssueReasonWellKnownNoResponse (line 1227) | FederatedAuthRequestIssueReasonWellKnownNoResponse Federate...
constant FederatedAuthRequestIssueReasonWellKnownInvalidResponse (line 1228) | FederatedAuthRequestIssueReasonWellKnownInvalidResponse Federate...
constant FederatedAuthRequestIssueReasonWellKnownListEmpty (line 1229) | FederatedAuthRequestIssueReasonWellKnownListEmpty Federate...
constant FederatedAuthRequestIssueReasonWellKnownInvalidContentType (line 1230) | FederatedAuthRequestIssueReasonWellKnownInvalidContentType Federate...
constant FederatedAuthRequestIssueReasonConfigNotInWellKnown (line 1231) | FederatedAuthRequestIssueReasonConfigNotInWellKnown Federate...
constant FederatedAuthRequestIssueReasonWellKnownTooBig (line 1232) | FederatedAuthRequestIssueReasonWellKnownTooBig Federate...
constant FederatedAuthRequestIssueReasonConfigHTTPNotFound (line 1233) | FederatedAuthRequestIssueReasonConfigHTTPNotFound Federate...
constant FederatedAuthRequestIssueReasonConfigNoResponse (line 1234) | FederatedAuthRequestIssueReasonConfigNoResponse Federate...
constant FederatedAuthRequestIssueReasonConfigInvalidResponse (line 1235) | FederatedAuthRequestIssueReasonConfigInvalidResponse Federate...
constant FederatedAuthRequestIssueReasonConfigInvalidContentType (line 1236) | FederatedAuthRequestIssueReasonConfigInvalidContentType Federate...
constant FederatedAuthRequestIssueReasonClientMetadataHTTPNotFound (line 1237) | FederatedAuthRequestIssueReasonClientMetadataHTTPNotFound Federate...
constant FederatedAuthRequestIssueReasonClientMetadataNoResponse (line 1238) | FederatedAuthRequestIssueReasonClientMetadataNoResponse Federate...
constant FederatedAuthRequestIssueReasonClientMetadataInvalidResponse (line 1239) | FederatedAuthRequestIssueReasonClientMetadataInvalidResponse Federate...
constant FederatedAuthRequestIssueReasonClientMetadataInvalidContentType (line 1240) | FederatedAuthRequestIssueReasonClientMetadataInvalidContentType Federate...
constant FederatedAuthRequestIssueReasonIdpNotPotentiallyTrustworthy (line 1241) | FederatedAuthRequestIssueReasonIdpNotPotentiallyTrustworthy Federate...
constant FederatedAuthRequestIssueReasonDisabledInSettings (line 1242) | FederatedAuthRequestIssueReasonDisabledInSettings Federate...
constant FederatedAuthRequestIssueReasonDisabledInFlags (line 1243) | FederatedAuthRequestIssueReasonDisabledInFlags Federate...
constant FederatedAuthRequestIssueReasonErrorFetchingSignin (line 1244) | FederatedAuthRequestIssueReasonErrorFetchingSignin Federate...
constant FederatedAuthRequestIssueReasonInvalidSigninResponse (line 1245) | FederatedAuthRequestIssueReasonInvalidSigninResponse Federate...
constant FederatedAuthRequestIssueReasonAccountsHTTPNotFound (line 1246) | FederatedAuthRequestIssueReasonAccountsHTTPNotFound Federate...
constant FederatedAuthRequestIssueReasonAccountsNoResponse (line 1247) | FederatedAuthRequestIssueReasonAccountsNoResponse Federate...
constant FederatedAuthRequestIssueReasonAccountsInvalidResponse (line 1248) | FederatedAuthRequestIssueReasonAccountsInvalidResponse Federate...
constant FederatedAuthRequestIssueReasonAccountsListEmpty (line 1249) | FederatedAuthRequestIssueReasonAccountsListEmpty Federate...
constant FederatedAuthRequestIssueReasonAccountsInvalidContentType (line 1250) | FederatedAuthRequestIssueReasonAccountsInvalidContentType Federate...
constant FederatedAuthRequestIssueReasonIDTokenHTTPNotFound (line 1251) | FederatedAuthRequestIssueReasonIDTokenHTTPNotFound Federate...
constant FederatedAuthRequestIssueReasonIDTokenNoResponse (line 1252) | FederatedAuthRequestIssueReasonIDTokenNoResponse Federate...
constant FederatedAuthRequestIssueReasonIDTokenInvalidResponse (line 1253) | FederatedAuthRequestIssueReasonIDTokenInvalidResponse Federate...
constant FederatedAuthRequestIssueReasonIDTokenIdpErrorResponse (line 1254) | FederatedAuthRequestIssueReasonIDTokenIdpErrorResponse Federate...
constant FederatedAuthRequestIssueReasonIDTokenCrossSiteIdpErrorResponse (line 1255) | FederatedAuthRequestIssueReasonIDTokenCrossSiteIdpErrorResponse Federate...
constant FederatedAuthRequestIssueReasonIDTokenInvalidRequest (line 1256) | FederatedAuthRequestIssueReasonIDTokenInvalidRequest Federate...
constant FederatedAuthRequestIssueReasonIDTokenInvalidContentType (line 1257) | FederatedAuthRequestIssueReasonIDTokenInvalidContentType Federate...
constant FederatedAuthRequestIssueReasonErrorIDToken (line 1258) | FederatedAuthRequestIssueReasonErrorIDToken Federate...
constant FederatedAuthRequestIssueReasonCanceled (line 1259) | FederatedAuthRequestIssueReasonCanceled Federate...
constant FederatedAuthRequestIssueReasonRpPageNotVisible (line 1260) | FederatedAuthRequestIssueReasonRpPageNotVisible Federate...
constant FederatedAuthRequestIssueReasonSilentMediationFailure (line 1261) | FederatedAuthRequestIssueReasonSilentMediationFailure Federate...
constant FederatedAuthRequestIssueReasonThirdPartyCookiesBlocked (line 1262) | FederatedAuthRequestIssueReasonThirdPartyCookiesBlocked Federate...
constant FederatedAuthRequestIssueReasonNotSignedInWithIdp (line 1263) | FederatedAuthRequestIssueReasonNotSignedInWithIdp Federate...
constant FederatedAuthRequestIssueReasonMissingTransientUserActivation (line 1264) | FederatedAuthRequestIssueReasonMissingTransientUserActivation Federate...
constant FederatedAuthRequestIssueReasonReplacedByActiveMode (line 1265) | FederatedAuthRequestIssueReasonReplacedByActiveMode Federate...
constant FederatedAuthRequestIssueReasonInvalidFieldsSpecified (line 1266) | FederatedAuthRequestIssueReasonInvalidFieldsSpecified Federate...
constant FederatedAuthRequestIssueReasonRelyingPartyOriginIsOpaque (line 1267) | FederatedAuthRequestIssueReasonRelyingPartyOriginIsOpaque Federate...
constant FederatedAuthRequestIssueReasonTypeNotMatching (line 1268) | FederatedAuthRequestIssueReasonTypeNotMatching Federate...
constant FederatedAuthRequestIssueReasonUIDismissedNoEmbargo (line 1269) | FederatedAuthRequestIssueReasonUIDismissedNoEmbargo Federate...
constant FederatedAuthRequestIssueReasonCorsError (line 1270) | FederatedAuthRequestIssueReasonCorsError Federate...
constant FederatedAuthRequestIssueReasonSuppressedBySegmentationPlatform (line 1271) | FederatedAuthRequestIssueReasonSuppressedBySegmentationPlatform Federate...
type FederatedAuthUserInfoRequestIssueDetails (line 1385) | type FederatedAuthUserInfoRequestIssueDetails struct
type FederatedAuthUserInfoRequestIssueReason (line 1395) | type FederatedAuthUserInfoRequestIssueReason
method String (line 1398) | func (t FederatedAuthUserInfoRequestIssueReason) String() string {
method UnmarshalJSON (line 1416) | func (t *FederatedAuthUserInfoRequestIssueReason) UnmarshalJSON(buf []...
constant FederatedAuthUserInfoRequestIssueReasonNotSameOrigin (line 1404) | FederatedAuthUserInfoRequestIssueReasonNotSameOrigin ...
constant FederatedAuthUserInfoRequestIssueReasonNotIframe (line 1405) | FederatedAuthUserInfoRequestIssueReasonNotIframe ...
constant FederatedAuthUserInfoRequestIssueReasonNotPotentiallyTrustworthy (line 1406) | FederatedAuthUserInfoRequestIssueReasonNotPotentiallyTrustworthy ...
constant FederatedAuthUserInfoRequestIssueReasonNoAPIPermission (line 1407) | FederatedAuthUserInfoRequestIssueReasonNoAPIPermission ...
constant FederatedAuthUserInfoRequestIssueReasonNotSignedInWithIdp (line 1408) | FederatedAuthUserInfoRequestIssueReasonNotSignedInWithIdp ...
constant FederatedAuthUserInfoRequestIssueReasonNoAccountSharingPermission (line 1409) | FederatedAuthUserInfoRequestIssueReasonNoAccountSharingPermission ...
constant FederatedAuthUserInfoRequestIssueReasonInvalidConfigOrWellKnown (line 1410) | FederatedAuthUserInfoRequestIssueReasonInvalidConfigOrWellKnown ...
constant FederatedAuthUserInfoRequestIssueReasonInvalidAccountsResponse (line 1411) | FederatedAuthUserInfoRequestIssueReasonInvalidAccountsResponse ...
constant FederatedAuthUserInfoRequestIssueReasonNoReturningUserFromFetchedAccounts (line 1412) | FederatedAuthUserInfoRequestIssueReasonNoReturningUserFromFetchedAccount...
type ClientHintIssueDetails (line 1450) | type ClientHintIssueDetails struct
type FailedRequestInfo (line 1458) | type FailedRequestInfo struct
type PartitioningBlobURLInfo (line 1467) | type PartitioningBlobURLInfo
method String (line 1470) | func (t PartitioningBlobURLInfo) String() string {
method UnmarshalJSON (line 1481) | func (t *PartitioningBlobURLInfo) UnmarshalJSON(buf []byte) error {
constant PartitioningBlobURLInfoBlockedCrossPartitionFetching (line 1476) | PartitioningBlobURLInfoBlockedCrossPartitionFetching PartitioningBlobURL...
constant PartitioningBlobURLInfoEnforceNoopenerForNavigation (line 1477) | PartitioningBlobURLInfoEnforceNoopenerForNavigation PartitioningBlobURL...
type PartitioningBlobURLIssueDetails (line 1499) | type PartitioningBlobURLIssueDetails struct
type ElementAccessibilityIssueReason (line 1507) | type ElementAccessibilityIssueReason
method String (line 1510) | func (t ElementAccessibilityIssueReason) String() string {
method UnmarshalJSON (line 1525) | func (t *ElementAccessibilityIssueReason) UnmarshalJSON(buf []byte) er...
constant ElementAccessibilityIssueReasonDisallowedSelectChild (line 1516) | ElementAccessibilityIssueReasonDisallowedSelectChild Eleme...
constant ElementAccessibilityIssueReasonDisallowedOptGroupChild (line 1517) | ElementAccessibilityIssueReasonDisallowedOptGroupChild Eleme...
constant ElementAccessibilityIssueReasonNonPhrasingContentOptionChild (line 1518) | ElementAccessibilityIssueReasonNonPhrasingContentOptionChild Eleme...
constant ElementAccessibilityIssueReasonInteractiveContentOptionChild (line 1519) | ElementAccessibilityIssueReasonInteractiveContentOptionChild Eleme...
constant ElementAccessibilityIssueReasonInteractiveContentLegendChild (line 1520) | ElementAccessibilityIssueReasonInteractiveContentLegendChild Eleme...
constant ElementAccessibilityIssueReasonInteractiveContentSummaryDescendant (line 1521) | ElementAccessibilityIssueReasonInteractiveContentSummaryDescendant Eleme...
type ElementAccessibilityIssueDetails (line 1552) | type ElementAccessibilityIssueDetails struct
type StyleSheetLoadingIssueReason (line 1561) | type StyleSheetLoadingIssueReason
method String (line 1564) | func (t StyleSheetLoadingIssueReason) String() string {
method UnmarshalJSON (line 1575) | func (t *StyleSheetLoadingIssueReason) UnmarshalJSON(buf []byte) error {
constant StyleSheetLoadingIssueReasonLateImportRule (line 1570) | StyleSheetLoadingIssueReasonLateImportRule StyleSheetLoadingIssueReason ...
constant StyleSheetLoadingIssueReasonRequestFailed (line 1571) | StyleSheetLoadingIssueReasonRequestFailed StyleSheetLoadingIssueReason ...
type StylesheetLoadingIssueDetails (line 1594) | type StylesheetLoadingIssueDetails struct
type PropertyRuleIssueReason (line 1603) | type PropertyRuleIssueReason
method String (line 1606) | func (t PropertyRuleIssueReason) String() string {
method UnmarshalJSON (line 1619) | func (t *PropertyRuleIssueReason) UnmarshalJSON(buf []byte) error {
constant PropertyRuleIssueReasonInvalidSyntax (line 1612) | PropertyRuleIssueReasonInvalidSyntax PropertyRuleIssueReason = "In...
constant PropertyRuleIssueReasonInvalidInitialValue (line 1613) | PropertyRuleIssueReasonInvalidInitialValue PropertyRuleIssueReason = "In...
constant PropertyRuleIssueReasonInvalidInherits (line 1614) | PropertyRuleIssueReasonInvalidInherits PropertyRuleIssueReason = "In...
constant PropertyRuleIssueReasonInvalidName (line 1615) | PropertyRuleIssueReasonInvalidName PropertyRuleIssueReason = "In...
type PropertyRuleIssueDetails (line 1642) | type PropertyRuleIssueDetails struct
type UserReidentificationIssueType (line 1651) | type UserReidentificationIssueType
method String (line 1654) | func (t UserReidentificationIssueType) String() string {
method UnmarshalJSON (line 1665) | func (t *UserReidentificationIssueType) UnmarshalJSON(buf []byte) error {
constant UserReidentificationIssueTypeBlockedFrameNavigation (line 1660) | UserReidentificationIssueTypeBlockedFrameNavigation UserReidentification...
constant UserReidentificationIssueTypeBlockedSubresource (line 1661) | UserReidentificationIssueTypeBlockedSubresource UserReidentification...
type UserReidentificationIssueDetails (line 1684) | type UserReidentificationIssueDetails struct
type InspectorIssueCode (line 1694) | type InspectorIssueCode
method String (line 1697) | func (t InspectorIssueCode) String() string {
method UnmarshalJSON (line 1732) | func (t *InspectorIssueCode) UnmarshalJSON(buf []byte) error {
constant InspectorIssueCodeCookieIssue (line 1703) | InspectorIssueCodeCookieIssue InspectorIssueCode =...
constant InspectorIssueCodeMixedContentIssue (line 1704) | InspectorIssueCodeMixedContentIssue InspectorIssueCode =...
constant InspectorIssueCodeBlockedByResponseIssue (line 1705) | InspectorIssueCodeBlockedByResponseIssue InspectorIssueCode =...
constant InspectorIssueCodeHeavyAdIssue (line 1706) | InspectorIssueCodeHeavyAdIssue InspectorIssueCode =...
constant InspectorIssueCodeContentSecurityPolicyIssue (line 1707) | InspectorIssueCodeContentSecurityPolicyIssue InspectorIssueCode =...
constant InspectorIssueCodeSharedArrayBufferIssue (line 1708) | InspectorIssueCodeSharedArrayBufferIssue InspectorIssueCode =...
constant InspectorIssueCodeLowTextContrastIssue (line 1709) | InspectorIssueCodeLowTextContrastIssue InspectorIssueCode =...
constant InspectorIssueCodeCorsIssue (line 1710) | InspectorIssueCodeCorsIssue InspectorIssueCode =...
constant InspectorIssueCodeAttributionReportingIssue (line 1711) | InspectorIssueCodeAttributionReportingIssue InspectorIssueCode =...
constant InspectorIssueCodeQuirksModeIssue (line 1712) | InspectorIssueCodeQuirksModeIssue InspectorIssueCode =...
constant InspectorIssueCodePartitioningBlobURLIssue (line 1713) | InspectorIssueCodePartitioningBlobURLIssue InspectorIssueCode =...
constant InspectorIssueCodeNavigatorUserAgentIssue (line 1714) | InspectorIssueCodeNavigatorUserAgentIssue InspectorIssueCode =...
constant InspectorIssueCodeGenericIssue (line 1715) | InspectorIssueCodeGenericIssue InspectorIssueCode =...
constant InspectorIssueCodeDeprecationIssue (line 1716) | InspectorIssueCodeDeprecationIssue InspectorIssueCode =...
constant InspectorIssueCodeClientHintIssue (line 1717) | InspectorIssueCodeClientHintIssue InspectorIssueCode =...
constant InspectorIssueCodeFederatedAuthRequestIssue (line 1718) | InspectorIssueCodeFederatedAuthRequestIssue InspectorIssueCode =...
constant InspectorIssueCodeBounceTrackingIssue (line 1719) | InspectorIssueCodeBounceTrackingIssue InspectorIssueCode =...
constant InspectorIssueCodeCookieDeprecationMetadataIssue (line 1720) | InspectorIssueCodeCookieDeprecationMetadataIssue InspectorIssueCode =...
constant InspectorIssueCodeStylesheetLoadingIssue (line 1721) | InspectorIssueCodeStylesheetLoadingIssue InspectorIssueCode =...
constant InspectorIssueCodeFederatedAuthUserInfoRequestIssue (line 1722) | InspectorIssueCodeFederatedAuthUserInfoRequestIssue InspectorIssueCode =...
constant InspectorIssueCodePropertyRuleIssue (line 1723) | InspectorIssueCodePropertyRuleIssue InspectorIssueCode =...
constant InspectorIssueCodeSharedDictionaryIssue (line 1724) | InspectorIssueCodeSharedDictionaryIssue InspectorIssueCode =...
constant InspectorIssueCodeElementAccessibilityIssue (line 1725) | InspectorIssueCodeElementAccessibilityIssue InspectorIssueCode =...
constant InspectorIssueCodeSRIMessageSignatureIssue (line 1726) | InspectorIssueCodeSRIMessageSignatureIssue InspectorIssueCode =...
constant InspectorIssueCodeUnencodedDigestIssue (line 1727) | InspectorIssueCodeUnencodedDigestIssue InspectorIssueCode =...
constant InspectorIssueCodeUserReidentificationIssue (line 1728) | InspectorIssueCodeUserReidentificationIssue InspectorIssueCode =...
type InspectorIssueDetails (line 1800) | type InspectorIssueDetails struct
type IssueID (line 1832) | type IssueID
method String (line 1835) | func (t IssueID) String() string {
type InspectorIssue (line 1842) | type InspectorIssue struct
type GetEncodedResponseEncoding (line 1851) | type GetEncodedResponseEncoding
method String (line 1854) | func (t GetEncodedResponseEncoding) String() string {
method UnmarshalJSON (line 1866) | func (t *GetEncodedResponseEncoding) UnmarshalJSON(buf []byte) error {
constant GetEncodedResponseEncodingWebp (line 1860) | GetEncodedResponseEncodingWebp GetEncodedResponseEncoding = "webp"
constant GetEncodedResponseEncodingJpeg (line 1861) | GetEncodedResponseEncodingJpeg GetEncodedResponseEncoding = "jpeg"
constant GetEncodedResponseEncodingPng (line 1862) | GetEncodedResponseEncodingPng GetEncodedResponseEncoding = "png"
FILE: vendor/github.com/chromedp/cdproto/autofill/autofill.go
type TriggerParams (line 19) | type TriggerParams struct
method WithFrameID (line 42) | func (p TriggerParams) WithFrameID(frameID cdp.FrameID) *TriggerParams {
method Do (line 48) | func (p *TriggerParams) Do(ctx context.Context) (err error) {
function Trigger (line 34) | func Trigger(fieldID cdp.BackendNodeID, card *CreditCard) *TriggerParams {
type SetAddressesParams (line 54) | type SetAddressesParams struct
method Do (line 73) | func (p *SetAddressesParams) Do(ctx context.Context) (err error) {
function SetAddresses (line 66) | func SetAddresses(addresses []*Address) *SetAddressesParams {
type DisableParams (line 78) | type DisableParams struct
method Do (line 88) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 83) | func Disable() *DisableParams {
type EnableParams (line 93) | type EnableParams struct
method Do (line 103) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 98) | func Enable() *EnableParams {
constant CommandTrigger (line 109) | CommandTrigger = "Autofill.trigger"
constant CommandSetAddresses (line 110) | CommandSetAddresses = "Autofill.setAddresses"
constant CommandDisable (line 111) | CommandDisable = "Autofill.disable"
constant CommandEnable (line 112) | CommandEnable = "Autofill.enable"
FILE: vendor/github.com/chromedp/cdproto/autofill/events.go
type EventAddressFormFilled (line 8) | type EventAddressFormFilled struct
FILE: vendor/github.com/chromedp/cdproto/autofill/types.go
type CreditCard (line 15) | type CreditCard struct
type AddressField (line 26) | type AddressField struct
type AddressFields (line 34) | type AddressFields struct
type Address (line 41) | type Address struct
type AddressUI (line 54) | type AddressUI struct
type FillingStrategy (line 62) | type FillingStrategy
method String (line 65) | func (t FillingStrategy) String() string {
method UnmarshalJSON (line 76) | func (t *FillingStrategy) UnmarshalJSON(buf []byte) error {
constant FillingStrategyAutocompleteAttribute (line 71) | FillingStrategyAutocompleteAttribute FillingStrategy = "autocompleteAttr...
constant FillingStrategyAutofillInferred (line 72) | FillingStrategyAutofillInferred FillingStrategy = "autofillInferred"
type FilledField (line 94) | type FilledField struct
FILE: vendor/github.com/chromedp/cdproto/backgroundservice/backgroundservice.go
type StartObservingParams (line 18) | type StartObservingParams struct
method Do (line 36) | func (p *StartObservingParams) Do(ctx context.Context) (err error) {
function StartObserving (line 29) | func StartObserving(service ServiceName) *StartObservingParams {
type StopObservingParams (line 41) | type StopObservingParams struct
method Do (line 59) | func (p *StopObservingParams) Do(ctx context.Context) (err error) {
function StopObserving (line 52) | func StopObserving(service ServiceName) *StopObservingParams {
type SetRecordingParams (line 64) | type SetRecordingParams struct
method Do (line 85) | func (p *SetRecordingParams) Do(ctx context.Context) (err error) {
function SetRecording (line 77) | func SetRecording(shouldRecord bool, service ServiceName) *SetRecordingP...
type ClearEventsParams (line 90) | type ClearEventsParams struct
method Do (line 108) | func (p *ClearEventsParams) Do(ctx context.Context) (err error) {
function ClearEvents (line 101) | func ClearEvents(service ServiceName) *ClearEventsParams {
constant CommandStartObserving (line 114) | CommandStartObserving = "BackgroundService.startObserving"
constant CommandStopObserving (line 115) | CommandStopObserving = "BackgroundService.stopObserving"
constant CommandSetRecording (line 116) | CommandSetRecording = "BackgroundService.setRecording"
constant CommandClearEvents (line 117) | CommandClearEvents = "BackgroundService.clearEvents"
FILE: vendor/github.com/chromedp/cdproto/backgroundservice/events.go
type EventRecordingStateChanged (line 9) | type EventRecordingStateChanged struct
type EventBackgroundServiceEventReceived (line 19) | type EventBackgroundServiceEventReceived struct
FILE: vendor/github.com/chromedp/cdproto/backgroundservice/types.go
type ServiceName (line 18) | type ServiceName
method String (line 21) | func (t ServiceName) String() string {
method UnmarshalJSON (line 36) | func (t *ServiceName) UnmarshalJSON(buf []byte) error {
constant ServiceNameBackgroundFetch (line 27) | ServiceNameBackgroundFetch ServiceName = "backgroundFetch"
constant ServiceNameBackgroundSync (line 28) | ServiceNameBackgroundSync ServiceName = "backgroundSync"
constant ServiceNamePushMessaging (line 29) | ServiceNamePushMessaging ServiceName = "pushMessaging"
constant ServiceNameNotifications (line 30) | ServiceNameNotifications ServiceName = "notifications"
constant ServiceNamePaymentHandler (line 31) | ServiceNamePaymentHandler ServiceName = "paymentHandler"
constant ServiceNamePeriodicBackgroundSync (line 32) | ServiceNamePeriodicBackgroundSync ServiceName = "periodicBackgroundSync"
type EventMetadata (line 63) | type EventMetadata struct
type Event (line 71) | type Event struct
FILE: vendor/github.com/chromedp/cdproto/bluetoothemulation/bluetoothemulation.go
type EnableParams (line 19) | type EnableParams struct
method Do (line 40) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 32) | func Enable(state CentralState, leSupported bool) *EnableParams {
type SetSimulatedCentralStateParams (line 45) | type SetSimulatedCentralStateParams struct
method Do (line 63) | func (p *SetSimulatedCentralStateParams) Do(ctx context.Context) (err ...
function SetSimulatedCentralState (line 56) | func SetSimulatedCentralState(state CentralState) *SetSimulatedCentralSt...
type DisableParams (line 68) | type DisableParams struct
method Do (line 78) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 73) | func Disable() *DisableParams {
type SimulatePreconnectedPeripheralParams (line 85) | type SimulatePreconnectedPeripheralParams struct
method Do (line 113) | func (p *SimulatePreconnectedPeripheralParams) Do(ctx context.Context)...
function SimulatePreconnectedPeripheral (line 103) | func SimulatePreconnectedPeripheral(address string, name string, manufac...
type SimulateAdvertisementParams (line 119) | type SimulateAdvertisementParams struct
method Do (line 138) | func (p *SimulateAdvertisementParams) Do(ctx context.Context) (err err...
function SimulateAdvertisement (line 131) | func SimulateAdvertisement(entry *ScanEntry) *SimulateAdvertisementParams {
type SimulateGATTOperationResponseParams (line 146) | type SimulateGATTOperationResponseParams struct
method Do (line 173) | func (p *SimulateGATTOperationResponseParams) Do(ctx context.Context) ...
function SimulateGATTOperationResponse (line 164) | func SimulateGATTOperationResponse(address string, typeVal GATTOperation...
type SimulateCharacteristicOperationResponseParams (line 182) | type SimulateCharacteristicOperationResponseParams struct
method WithData (line 211) | func (p SimulateCharacteristicOperationResponseParams) WithData(data s...
method Do (line 217) | func (p *SimulateCharacteristicOperationResponseParams) Do(ctx context...
function SimulateCharacteristicOperationResponse (line 202) | func SimulateCharacteristicOperationResponse(characteristicID string, ty...
type SimulateDescriptorOperationResponseParams (line 226) | type SimulateDescriptorOperationResponseParams struct
method WithData (line 255) | func (p SimulateDescriptorOperationResponseParams) WithData(data strin...
method Do (line 261) | func (p *SimulateDescriptorOperationResponseParams) Do(ctx context.Con...
function SimulateDescriptorOperationResponse (line 246) | func SimulateDescriptorOperationResponse(descriptorID string, typeVal De...
type AddServiceParams (line 267) | type AddServiceParams struct
method Do (line 298) | func (p *AddServiceParams) Do(ctx context.Context) (serviceID string, ...
function AddService (line 281) | func AddService(address string, serviceUUID string) *AddServiceParams {
type AddServiceReturns (line 289) | type AddServiceReturns struct
type RemoveServiceParams (line 311) | type RemoveServiceParams struct
method Do (line 330) | func (p *RemoveServiceParams) Do(ctx context.Context) (err error) {
function RemoveService (line 323) | func RemoveService(serviceID string) *RemoveServiceParams {
type AddCharacteristicParams (line 336) | type AddCharacteristicParams struct
method Do (line 370) | func (p *AddCharacteristicParams) Do(ctx context.Context) (characteris...
function AddCharacteristic (line 352) | func AddCharacteristic(serviceID string, characteristicUUID string, prop...
type AddCharacteristicReturns (line 361) | type AddCharacteristicReturns struct
type RemoveCharacteristicParams (line 383) | type RemoveCharacteristicParams struct
method Do (line 402) | func (p *RemoveCharacteristicParams) Do(ctx context.Context) (err erro...
function RemoveCharacteristic (line 395) | func RemoveCharacteristic(characteristicID string) *RemoveCharacteristic...
type AddDescriptorParams (line 408) | type AddDescriptorParams struct
method Do (line 439) | func (p *AddDescriptorParams) Do(ctx context.Context) (descriptorID st...
function AddDescriptor (line 422) | func AddDescriptor(characteristicID string, descriptorUUID string) *AddD...
type AddDescriptorReturns (line 430) | type AddDescriptorReturns struct
type RemoveDescriptorParams (line 452) | type RemoveDescriptorParams struct
method Do (line 471) | func (p *RemoveDescriptorParams) Do(ctx context.Context) (err error) {
function RemoveDescriptor (line 464) | func RemoveDescriptor(descriptorID string) *RemoveDescriptorParams {
type SimulateGATTDisconnectionParams (line 477) | type SimulateGATTDisconnectionParams struct
method Do (line 496) | func (p *SimulateGATTDisconnectionParams) Do(ctx context.Context) (err...
function SimulateGATTDisconnection (line 489) | func SimulateGATTDisconnection(address string) *SimulateGATTDisconnectio...
constant CommandEnable (line 502) | CommandEnable = "BluetoothEmulation.ena...
constant CommandSetSimulatedCentralState (line 503) | CommandSetSimulatedCentralState = "BluetoothEmulation.set...
constant CommandDisable (line 504) | CommandDisable = "BluetoothEmulation.dis...
constant CommandSimulatePreconnectedPeripheral (line 505) | CommandSimulatePreconnectedPeripheral = "BluetoothEmulation.sim...
constant CommandSimulateAdvertisement (line 506) | CommandSimulateAdvertisement = "BluetoothEmulation.sim...
constant CommandSimulateGATTOperationResponse (line 507) | CommandSimulateGATTOperationResponse = "BluetoothEmulation.sim...
constant CommandSimulateCharacteristicOperationResponse (line 508) | CommandSimulateCharacteristicOperationResponse = "BluetoothEmulation.sim...
constant CommandSimulateDescriptorOperationResponse (line 509) | CommandSimulateDescriptorOperationResponse = "BluetoothEmulation.sim...
constant CommandAddService (line 510) | CommandAddService = "BluetoothEmulation.add...
constant CommandRemoveService (line 511) | CommandRemoveService = "BluetoothEmulation.rem...
constant CommandAddCharacteristic (line 512) | CommandAddCharacteristic = "BluetoothEmulation.add...
constant CommandRemoveCharacteristic (line 513) | CommandRemoveCharacteristic = "BluetoothEmulation.rem...
constant CommandAddDescriptor (line 514) | CommandAddDescriptor = "BluetoothEmulation.add...
constant CommandRemoveDescriptor (line 515) | CommandRemoveDescriptor = "BluetoothEmulation.rem...
constant CommandSimulateGATTDisconnection (line 516) | CommandSimulateGATTDisconnection = "BluetoothEmulation.sim...
FILE: vendor/github.com/chromedp/cdproto/bluetoothemulation/events.go
type EventGattOperationReceived (line 9) | type EventGattOperationReceived struct
type EventCharacteristicOperationReceived (line 19) | type EventCharacteristicOperationReceived struct
type EventDescriptorOperationReceived (line 31) | type EventDescriptorOperationReceived struct
FILE: vendor/github.com/chromedp/cdproto/bluetoothemulation/types.go
type CentralState (line 13) | type CentralState
method String (line 16) | func (t CentralState) String() string {
method UnmarshalJSON (line 28) | func (t *CentralState) UnmarshalJSON(buf []byte) error {
constant CentralStateAbsent (line 22) | CentralStateAbsent CentralState = "absent"
constant CentralStatePoweredOff (line 23) | CentralStatePoweredOff CentralState = "powered-off"
constant CentralStatePoweredOn (line 24) | CentralStatePoweredOn CentralState = "powered-on"
type GATTOperationType (line 48) | type GATTOperationType
method String (line 51) | func (t GATTOperationType) String() string {
method UnmarshalJSON (line 62) | func (t *GATTOperationType) UnmarshalJSON(buf []byte) error {
constant GATTOperationTypeConnection (line 57) | GATTOperationTypeConnection GATTOperationType = "connection"
constant GATTOperationTypeDiscovery (line 58) | GATTOperationTypeDiscovery GATTOperationType = "discovery"
type CharacteristicWriteType (line 81) | type CharacteristicWriteType
method String (line 84) | func (t CharacteristicWriteType) String() string {
method UnmarshalJSON (line 96) | func (t *CharacteristicWriteType) UnmarshalJSON(buf []byte) error {
constant CharacteristicWriteTypeWriteDefaultDeprecated (line 90) | CharacteristicWriteTypeWriteDefaultDeprecated CharacteristicWriteType = ...
constant CharacteristicWriteTypeWriteWithResponse (line 91) | CharacteristicWriteTypeWriteWithResponse CharacteristicWriteType = ...
constant CharacteristicWriteTypeWriteWithoutResponse (line 92) | CharacteristicWriteTypeWriteWithoutResponse CharacteristicWriteType = ...
type CharacteristicOperationType (line 117) | type CharacteristicOperationType
method String (line 120) | func (t CharacteristicOperationType) String() string {
method UnmarshalJSON (line 133) | func (t *CharacteristicOperationType) UnmarshalJSON(buf []byte) error {
constant CharacteristicOperationTypeRead (line 126) | CharacteristicOperationTypeRead CharacteristicOp...
constant CharacteristicOperationTypeWrite (line 127) | CharacteristicOperationTypeWrite CharacteristicOp...
constant CharacteristicOperationTypeSubscribeToNotifications (line 128) | CharacteristicOperationTypeSubscribeToNotifications CharacteristicOp...
constant CharacteristicOperationTypeUnsubscribeFromNotifications (line 129) | CharacteristicOperationTypeUnsubscribeFromNotifications CharacteristicOp...
type DescriptorOperationType (line 156) | type DescriptorOperationType
method String (line 159) | func (t DescriptorOperationType) String() string {
method UnmarshalJSON (line 170) | func (t *DescriptorOperationType) UnmarshalJSON(buf []byte) error {
constant DescriptorOperationTypeRead (line 165) | DescriptorOperationTypeRead DescriptorOperationType = "read"
constant DescriptorOperationTypeWrite (line 166) | DescriptorOperationTypeWrite DescriptorOperationType = "write"
type ManufacturerData (line 188) | type ManufacturerData struct
type ScanRecord (line 197) | type ScanRecord struct
type ScanEntry (line 209) | type ScanEntry struct
type CharacteristicProperties (line 220) | type CharacteristicProperties struct
FILE: vendor/github.com/chromedp/cdproto/browser/browser.go
type SetPermissionParams (line 19) | type SetPermissionParams struct
method WithOrigin (line 42) | func (p SetPermissionParams) WithOrigin(origin string) *SetPermissionP...
method WithBrowserContextID (line 49) | func (p SetPermissionParams) WithBrowserContextID(browserContextID cdp...
method Do (line 55) | func (p *SetPermissionParams) Do(ctx context.Context) (err error) {
function SetPermission (line 34) | func SetPermission(permission *PermissionDescriptor, setting PermissionS...
type GrantPermissionsParams (line 61) | type GrantPermissionsParams struct
method WithOrigin (line 82) | func (p GrantPermissionsParams) WithOrigin(origin string) *GrantPermis...
method WithBrowserContextID (line 89) | func (p GrantPermissionsParams) WithBrowserContextID(browserContextID ...
method Do (line 95) | func (p *GrantPermissionsParams) Do(ctx context.Context) (err error) {
function GrantPermissions (line 75) | func GrantPermissions(permissions []PermissionType) *GrantPermissionsPar...
type ResetPermissionsParams (line 100) | type ResetPermissionsParams struct
method WithBrowserContextID (line 115) | func (p ResetPermissionsParams) WithBrowserContextID(browserContextID ...
method Do (line 121) | func (p *ResetPermissionsParams) Do(ctx context.Context) (err error) {
function ResetPermissions (line 109) | func ResetPermissions() *ResetPermissionsParams {
type SetDownloadBehaviorParams (line 126) | type SetDownloadBehaviorParams struct
method WithBrowserContextID (line 149) | func (p SetDownloadBehaviorParams) WithBrowserContextID(browserContext...
method WithDownloadPath (line 156) | func (p SetDownloadBehaviorParams) WithDownloadPath(downloadPath strin...
method WithEventsEnabled (line 162) | func (p SetDownloadBehaviorParams) WithEventsEnabled(eventsEnabled boo...
method Do (line 168) | func (p *SetDownloadBehaviorParams) Do(ctx context.Context) (err error) {
function SetDownloadBehavior (line 140) | func SetDownloadBehavior(behavior SetDownloadBehaviorBehavior) *SetDownl...
type CancelDownloadParams (line 173) | type CancelDownloadParams struct
method WithBrowserContextID (line 193) | func (p CancelDownloadParams) WithBrowserContextID(browserContextID cd...
method Do (line 199) | func (p *CancelDownloadParams) Do(ctx context.Context) (err error) {
function CancelDownload (line 185) | func CancelDownload(guid string) *CancelDownloadParams {
type CloseParams (line 204) | type CloseParams struct
method Do (line 214) | func (p *CloseParams) Do(ctx context.Context) (err error) {
function Close (line 209) | func Close() *CloseParams {
type CrashParams (line 219) | type CrashParams struct
method Do (line 229) | func (p *CrashParams) Do(ctx context.Context) (err error) {
function Crash (line 224) | func Crash() *CrashParams {
type CrashGPUProcessParams (line 234) | type CrashGPUProcessParams struct
method Do (line 244) | func (p *CrashGPUProcessParams) Do(ctx context.Context) (err error) {
function CrashGPUProcess (line 239) | func CrashGPUProcess() *CrashGPUProcessParams {
type GetVersionParams (line 249) | type GetVersionParams struct
method Do (line 276) | func (p *GetVersionParams) Do(ctx context.Context) (protocolVersion st...
function GetVersion (line 254) | func GetVersion() *GetVersionParams {
type GetVersionReturns (line 259) | type GetVersionReturns struct
type GetBrowserCommandLineParams (line 289) | type GetBrowserCommandLineParams struct
method Do (line 309) | func (p *GetBrowserCommandLineParams) Do(ctx context.Context) (argumen...
function GetBrowserCommandLine (line 295) | func GetBrowserCommandLine() *GetBrowserCommandLineParams {
type GetBrowserCommandLineReturns (line 300) | type GetBrowserCommandLineReturns struct
type GetHistogramsParams (line 321) | type GetHistogramsParams struct
method WithQuery (line 340) | func (p GetHistogramsParams) WithQuery(query string) *GetHistogramsPar...
method WithDelta (line 346) | func (p GetHistogramsParams) WithDelta(delta bool) *GetHistogramsParams {
method Do (line 361) | func (p *GetHistogramsParams) Do(ctx context.Context) (histograms []*H...
function GetHistograms (line 331) | func GetHistograms() *GetHistogramsParams {
type GetHistogramsReturns (line 352) | type GetHistogramsReturns struct
type GetHistogramParams (line 373) | type GetHistogramParams struct
method WithDelta (line 393) | func (p GetHistogramParams) WithDelta(delta bool) *GetHistogramParams {
method Do (line 408) | func (p *GetHistogramParams) Do(ctx context.Context) (histogram *Histo...
function GetHistogram (line 385) | func GetHistogram(name string) *GetHistogramParams {
type GetHistogramReturns (line 399) | type GetHistogramReturns struct
type GetWindowBoundsParams (line 420) | type GetWindowBoundsParams struct
method Do (line 447) | func (p *GetWindowBoundsParams) Do(ctx context.Context) (bounds *Bound...
function GetWindowBounds (line 431) | func GetWindowBounds(windowID WindowID) *GetWindowBoundsParams {
type GetWindowBoundsReturns (line 438) | type GetWindowBoundsReturns struct
type GetWindowForTargetParams (line 460) | type GetWindowForTargetParams struct
method WithTargetID (line 476) | func (p GetWindowForTargetParams) WithTargetID(targetID target.ID) *Ge...
method Do (line 493) | func (p *GetWindowForTargetParams) Do(ctx context.Context) (windowID W...
function GetWindowForTarget (line 470) | func GetWindowForTarget() *GetWindowForTargetParams {
type GetWindowForTargetReturns (line 482) | type GetWindowForTargetReturns struct
type SetWindowBoundsParams (line 505) | type SetWindowBoundsParams struct
method Do (line 526) | func (p *SetWindowBoundsParams) Do(ctx context.Context) (err error) {
function SetWindowBounds (line 518) | func SetWindowBounds(windowID WindowID, bounds *Bounds) *SetWindowBounds...
type SetContentsSizeParams (line 532) | type SetContentsSizeParams struct
method WithWidth (line 554) | func (p SetContentsSizeParams) WithWidth(width int64) *SetContentsSize...
method WithHeight (line 561) | func (p SetContentsSizeParams) WithHeight(height int64) *SetContentsSi...
method Do (line 567) | func (p *SetContentsSizeParams) Do(ctx context.Context) (err error) {
function SetContentsSize (line 546) | func SetContentsSize(windowID WindowID) *SetContentsSizeParams {
type SetDockTileParams (line 572) | type SetDockTileParams struct
method WithBadgeLabel (line 587) | func (p SetDockTileParams) WithBadgeLabel(badgeLabel string) *SetDockT...
method WithImage (line 593) | func (p SetDockTileParams) WithImage(image string) *SetDockTileParams {
method Do (line 599) | func (p *SetDockTileParams) Do(ctx context.Context) (err error) {
function SetDockTile (line 582) | func SetDockTile() *SetDockTileParams {
type ExecuteBrowserCommandParams (line 605) | type ExecuteBrowserCommandParams struct
method Do (line 623) | func (p *ExecuteBrowserCommandParams) Do(ctx context.Context) (err err...
function ExecuteBrowserCommand (line 616) | func ExecuteBrowserCommand(commandID CommandID) *ExecuteBrowserCommandPa...
type AddPrivacySandboxEnrollmentOverrideParams (line 630) | type AddPrivacySandboxEnrollmentOverrideParams struct
method Do (line 650) | func (p *AddPrivacySandboxEnrollmentOverrideParams) Do(ctx context.Con...
function AddPrivacySandboxEnrollmentOverride (line 643) | func AddPrivacySandboxEnrollmentOverride(url string) *AddPrivacySandboxE...
type AddPrivacySandboxCoordinatorKeyConfigParams (line 658) | type AddPrivacySandboxCoordinatorKeyConfigParams struct
method WithBrowserContextID (line 687) | func (p AddPrivacySandboxCoordinatorKeyConfigParams) WithBrowserContex...
method Do (line 693) | func (p *AddPrivacySandboxCoordinatorKeyConfigParams) Do(ctx context.C...
function AddPrivacySandboxCoordinatorKeyConfig (line 677) | func AddPrivacySandboxCoordinatorKeyConfig(api PrivacySandboxAPI, coordi...
constant CommandSetPermission (line 699) | CommandSetPermission = "Browser.setPermission"
constant CommandGrantPermissions (line 700) | CommandGrantPermissions = "Browser.grantPermissions"
constant CommandResetPermissions (line 701) | CommandResetPermissions = "Browser.resetPermissions"
constant CommandSetDownloadBehavior (line 702) | CommandSetDownloadBehavior = "Browser.setDownloadBehav...
constant CommandCancelDownload (line 703) | CommandCancelDownload = "Browser.cancelDownload"
constant CommandClose (line 704) | CommandClose = "Browser.close"
constant CommandCrash (line 705) | CommandCrash = "Browser.crash"
constant CommandCrashGPUProcess (line 706) | CommandCrashGPUProcess = "Browser.crashGpuProcess"
constant CommandGetVersion (line 707) | CommandGetVersion = "Browser.getVersion"
constant CommandGetBrowserCommandLine (line 708) | CommandGetBrowserCommandLine = "Browser.getBrowserComman...
constant CommandGetHistograms (line 709) | CommandGetHistograms = "Browser.getHistograms"
constant CommandGetHistogram (line 710) | CommandGetHistogram = "Browser.getHistogram"
constant CommandGetWindowBounds (line 711) | CommandGetWindowBounds = "Browser.getWindowBounds"
constant CommandGetWindowForTarget (line 712) | CommandGetWindowForTarget = "Browser.getWindowForTarget"
constant CommandSetWindowBounds (line 713) | CommandSetWindowBounds = "Browser.setWindowBounds"
constant CommandSetContentsSize (line 714) | CommandSetContentsSize = "Browser.setContentsSize"
constant CommandSetDockTile (line 715) | CommandSetDockTile = "Browser.setDockTile"
constant CommandExecuteBrowserCommand (line 716) | CommandExecuteBrowserCommand = "Browser.executeBrowserCo...
constant CommandAddPrivacySandboxEnrollmentOverride (line 717) | CommandAddPrivacySandboxEnrollmentOverride = "Browser.addPrivacySandbo...
constant CommandAddPrivacySandboxCoordinatorKeyConfig (line 718) | CommandAddPrivacySandboxCoordinatorKeyConfig = "Browser.addPrivacySandbo...
FILE: vendor/github.com/chromedp/cdproto/browser/events.go
type EventDownloadWillBegin (line 12) | type EventDownloadWillBegin struct
type EventDownloadProgress (line 23) | type EventDownloadProgress struct
FILE: vendor/github.com/chromedp/cdproto/browser/types.go
type WindowID (line 13) | type WindowID
method Int64 (line 16) | func (t WindowID) Int64() int64 {
type WindowState (line 23) | type WindowState
method String (line 26) | func (t WindowState) String() string {
method UnmarshalJSON (line 39) | func (t *WindowState) UnmarshalJSON(buf []byte) error {
constant WindowStateNormal (line 32) | WindowStateNormal WindowState = "normal"
constant WindowStateMinimized (line 33) | WindowStateMinimized WindowState = "minimized"
constant WindowStateMaximized (line 34) | WindowStateMaximized WindowState = "maximized"
constant WindowStateFullscreen (line 35) | WindowStateFullscreen WindowState = "fullscreen"
type Bounds (line 61) | type Bounds struct
type PermissionType (line 72) | type PermissionType
method String (line 75) | func (t PermissionType) String() string {
method UnmarshalJSON (line 121) | func (t *PermissionType) UnmarshalJSON(buf []byte) error {
constant PermissionTypeAr (line 81) | PermissionTypeAr PermissionType = "ar"
constant PermissionTypeAudioCapture (line 82) | PermissionTypeAudioCapture PermissionType = "audioCapture"
constant PermissionTypeAutomaticFullscreen (line 83) | PermissionTypeAutomaticFullscreen PermissionType = "automaticFullsc...
constant PermissionTypeBackgroundFetch (line 84) | PermissionTypeBackgroundFetch PermissionType = "backgroundFetch"
constant PermissionTypeBackgroundSync (line 85) | PermissionTypeBackgroundSync PermissionType = "backgroundSync"
constant PermissionTypeCameraPanTiltZoom (line 86) | PermissionTypeCameraPanTiltZoom PermissionType = "cameraPanTiltZoom"
constant PermissionTypeCapturedSurfaceControl (line 87) | PermissionTypeCapturedSurfaceControl PermissionType = "capturedSurface...
constant PermissionTypeClipboardReadWrite (line 88) | PermissionTypeClipboardReadWrite PermissionType = "clipboardReadWr...
constant PermissionTypeClipboardSanitizedWrite (line 89) | PermissionTypeClipboardSanitizedWrite PermissionType = "clipboardSaniti...
constant PermissionTypeDisplayCapture (line 90) | PermissionTypeDisplayCapture PermissionType = "displayCapture"
constant PermissionTypeDurableStorage (line 91) | PermissionTypeDurableStorage PermissionType = "durableStorage"
constant PermissionTypeGeolocation (line 92) | PermissionTypeGeolocation PermissionType = "geolocation"
constant PermissionTypeHandTracking (line 93) | PermissionTypeHandTracking PermissionType = "handTracking"
constant PermissionTypeIdleDetection (line 94) | PermissionTypeIdleDetection PermissionType = "idleDetection"
constant PermissionTypeKeyboardLock (line 95) | PermissionTypeKeyboardLock PermissionType = "keyboardLock"
constant PermissionTypeLocalFonts (line 96) | PermissionTypeLocalFonts PermissionType = "localFonts"
constant PermissionTypeLocalNetworkAccess (line 97) | PermissionTypeLocalNetworkAccess PermissionType = "localNetworkAcc...
constant PermissionTypeMidi (line 98) | PermissionTypeMidi PermissionType = "midi"
constant PermissionTypeMidiSysex (line 99) | PermissionTypeMidiSysex PermissionType = "midiSysex"
constant PermissionTypeNfc (line 100) | PermissionTypeNfc PermissionType = "nfc"
constant PermissionTypeNotifications (line 101) | PermissionTypeNotifications PermissionType = "notifications"
constant PermissionTypePaymentHandler (line 102) | PermissionTypePaymentHandler PermissionType = "paymentHandler"
constant PermissionTypePeriodicBackgroundSync (line 103) | PermissionTypePeriodicBackgroundSync PermissionType = "periodicBackgro...
constant PermissionTypePointerLock (line 104) | PermissionTypePointerLock PermissionType = "pointerLock"
constant PermissionTypeProtectedMediaIdentifier (line 105) | PermissionTypeProtectedMediaIdentifier PermissionType = "protectedMediaI...
constant PermissionTypeSensors (line 106) | PermissionTypeSensors PermissionType = "sensors"
constant PermissionTypeSmartCard (line 107) | PermissionTypeSmartCard PermissionType = "smartCard"
constant PermissionTypeSpeakerSelection (line 108) | PermissionTypeSpeakerSelection PermissionType = "speakerSelection"
constant PermissionTypeStorageAccess (line 109) | PermissionTypeStorageAccess PermissionType = "storageAccess"
constant PermissionTypeTopLevelStorageAccess (line 110) | PermissionTypeTopLevelStorageAccess PermissionType = "topLevelStorage...
constant PermissionTypeVideoCapture (line 111) | PermissionTypeVideoCapture PermissionType = "videoCapture"
constant PermissionTypeVr (line 112) | PermissionTypeVr PermissionType = "vr"
constant PermissionTypeWakeLockScreen (line 113) | PermissionTypeWakeLockScreen PermissionType = "wakeLockScreen"
constant PermissionTypeWakeLockSystem (line 114) | PermissionTypeWakeLockSystem PermissionType = "wakeLockSystem"
constant PermissionTypeWebAppInstallation (line 115) | PermissionTypeWebAppInstallation PermissionType = "webAppInstallat...
constant PermissionTypeWebPrinting (line 116) | PermissionTypeWebPrinting PermissionType = "webPrinting"
constant PermissionTypeWindowManagement (line 117) | PermissionTypeWindowManagement PermissionType = "windowManagement"
type PermissionSetting (line 209) | type PermissionSetting
method String (line 212) | func (t PermissionSetting) String() string {
method UnmarshalJSON (line 224) | func (t *PermissionSetting) UnmarshalJSON(buf []byte) error {
constant PermissionSettingGranted (line 218) | PermissionSettingGranted PermissionSetting = "granted"
constant PermissionSettingDenied (line 219) | PermissionSettingDenied PermissionSetting = "denied"
constant PermissionSettingPrompt (line 220) | PermissionSettingPrompt PermissionSetting = "prompt"
type PermissionDescriptor (line 245) | type PermissionDescriptor struct
type CommandID (line 257) | type CommandID
method String (line 260) | func (t CommandID) String() string {
method UnmarshalJSON (line 272) | func (t *CommandID) UnmarshalJSON(buf []byte) error {
constant CommandIDOpenTabSearch (line 266) | CommandIDOpenTabSearch CommandID = "openTabSearch"
constant CommandIDCloseTabSearch (line 267) | CommandIDCloseTabSearch CommandID = "closeTabSearch"
constant CommandIDOpenGlic (line 268) | CommandIDOpenGlic CommandID = "openGlic"
type Bucket (line 292) | type Bucket struct
type Histogram (line 301) | type Histogram struct
type PrivacySandboxAPI (line 311) | type PrivacySandboxAPI
method String (line 314) | func (t PrivacySandboxAPI) String() string {
method UnmarshalJSON (line 325) | func (t *PrivacySandboxAPI) UnmarshalJSON(buf []byte) error {
constant PrivacySandboxAPIBiddingAndAuctionServices (line 320) | PrivacySandboxAPIBiddingAndAuctionServices PrivacySandboxAPI = "BiddingA...
constant PrivacySandboxAPITrustedKeyValue (line 321) | PrivacySandboxAPITrustedKeyValue PrivacySandboxAPI = "TrustedK...
type DownloadProgressState (line 343) | type DownloadProgressState
method String (line 346) | func (t DownloadProgressState) String() string {
method UnmarshalJSON (line 358) | func (t *DownloadProgressState) UnmarshalJSON(buf []byte) error {
constant DownloadProgressStateInProgress (line 352) | DownloadProgressStateInProgress DownloadProgressState = "inProgress"
constant DownloadProgressStateCompleted (line 353) | DownloadProgressStateCompleted DownloadProgressState = "completed"
constant DownloadProgressStateCanceled (line 354) | DownloadProgressStateCanceled DownloadProgressState = "canceled"
type SetDownloadBehaviorBehavior (line 381) | type SetDownloadBehaviorBehavior
method String (line 384) | func (t SetDownloadBehaviorBehavior) String() string {
method UnmarshalJSON (line 397) | func (t *SetDownloadBehaviorBehavior) UnmarshalJSON(buf []byte) error {
constant SetDownloadBehaviorBehaviorDeny (line 390) | SetDownloadBehaviorBehaviorDeny SetDownloadBehaviorBehavior = "d...
constant SetDownloadBehaviorBehaviorAllow (line 391) | SetDownloadBehaviorBehaviorAllow SetDownloadBehaviorBehavior = "a...
constant SetDownloadBehaviorBehaviorAllowAndName (line 392) | SetDownloadBehaviorBehaviorAllowAndName SetDownloadBehaviorBehavior = "a...
constant SetDownloadBehaviorBehaviorDefault (line 393) | SetDownloadBehaviorBehaviorDefault SetDownloadBehaviorBehavior = "d...
FILE: vendor/github.com/chromedp/cdproto/cachestorage/cachestorage.go
type DeleteCacheParams (line 17) | type DeleteCacheParams struct
method Do (line 35) | func (p *DeleteCacheParams) Do(ctx context.Context) (err error) {
function DeleteCache (line 28) | func DeleteCache(cacheID CacheID) *DeleteCacheParams {
type DeleteEntryParams (line 40) | type DeleteEntryParams struct
method Do (line 61) | func (p *DeleteEntryParams) Do(ctx context.Context) (err error) {
function DeleteEntry (line 53) | func DeleteEntry(cacheID CacheID, request string) *DeleteEntryParams {
type RequestCacheNamesParams (line 66) | type RequestCacheNamesParams struct
method WithSecurityOrigin (line 83) | func (p RequestCacheNamesParams) WithSecurityOrigin(securityOrigin str...
method WithStorageKey (line 89) | func (p RequestCacheNamesParams) WithStorageKey(storageKey string) *Re...
method WithStorageBucket (line 96) | func (p RequestCacheNamesParams) WithStorageBucket(storageBucket *stor...
method Do (line 111) | func (p *RequestCacheNamesParams) Do(ctx context.Context) (caches []*C...
function RequestCacheNames (line 77) | func RequestCacheNames() *RequestCacheNamesParams {
type RequestCacheNamesReturns (line 102) | type RequestCacheNamesReturns struct
type RequestCachedResponseParams (line 123) | type RequestCachedResponseParams struct
method Do (line 156) | func (p *RequestCachedResponseParams) Do(ctx context.Context) (respons...
function RequestCachedResponse (line 138) | func RequestCachedResponse(cacheID CacheID, requestURL string, requestHe...
type RequestCachedResponseReturns (line 147) | type RequestCachedResponseReturns struct
type RequestEntriesParams (line 168) | type RequestEntriesParams struct
method WithSkipCount (line 189) | func (p RequestEntriesParams) WithSkipCount(skipCount int64) *RequestE...
method WithPageSize (line 195) | func (p RequestEntriesParams) WithPageSize(pageSize int64) *RequestEnt...
method WithPathFilter (line 202) | func (p RequestEntriesParams) WithPathFilter(pathFilter string) *Reque...
method Do (line 219) | func (p *RequestEntriesParams) Do(ctx context.Context) (cacheDataEntri...
function RequestEntries (line 182) | func RequestEntries(cacheID CacheID) *RequestEntriesParams {
type RequestEntriesReturns (line 208) | type RequestEntriesReturns struct
constant CommandDeleteCache (line 232) | CommandDeleteCache = "CacheStorage.deleteCache"
constant CommandDeleteEntry (line 233) | CommandDeleteEntry = "CacheStorage.deleteEntry"
constant CommandRequestCacheNames (line 234) | CommandRequestCacheNames = "CacheStorage.requestCacheNames"
constant CommandRequestCachedResponse (line 235) | CommandRequestCachedResponse = "CacheStorage.requestCachedResponse"
constant CommandRequestEntries (line 236) | CommandRequestEntries = "CacheStorage.requestEntries"
FILE: vendor/github.com/chromedp/cdproto/cachestorage/types.go
type CacheID (line 15) | type CacheID
method String (line 18) | func (t CacheID) String() string {
type CachedResponseType (line 25) | type CachedResponseType
method String (line 28) | func (t CachedResponseType) String() string {
method UnmarshalJSON (line 43) | func (t *CachedResponseType) UnmarshalJSON(buf []byte) error {
constant CachedResponseTypeBasic (line 34) | CachedResponseTypeBasic CachedResponseType = "basic"
constant CachedResponseTypeCors (line 35) | CachedResponseTypeCors CachedResponseType = "cors"
constant CachedResponseTypeDefault (line 36) | CachedResponseTypeDefault CachedResponseType = "default"
constant CachedResponseTypeError (line 37) | CachedResponseTypeError CachedResponseType = "error"
constant CachedResponseTypeOpaqueResponse (line 38) | CachedResponseTypeOpaqueResponse CachedResponseType = "opaqueResponse"
constant CachedResponseTypeOpaqueRedirect (line 39) | CachedResponseTypeOpaqueRedirect CachedResponseType = "opaqueRedirect"
type DataEntry (line 69) | type DataEntry struct
type Cache (line 83) | type Cache struct
type Header (line 94) | type Header struct
type CachedResponse (line 102) | type CachedResponse struct
FILE: vendor/github.com/chromedp/cdproto/cast/cast.go
type EnableParams (line 23) | type EnableParams struct
method WithPresentationURL (line 41) | func (p EnableParams) WithPresentationURL(presentationURL string) *Ena...
method Do (line 47) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 36) | func Enable() *EnableParams {
type DisableParams (line 52) | type DisableParams struct
method Do (line 62) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 57) | func Disable() *DisableParams {
type SetSinkToUseParams (line 69) | type SetSinkToUseParams struct
method Do (line 88) | func (p *SetSinkToUseParams) Do(ctx context.Context) (err error) {
function SetSinkToUse (line 81) | func SetSinkToUse(sinkName string) *SetSinkToUseParams {
type StartDesktopMirroringParams (line 93) | type StartDesktopMirroringParams struct
method Do (line 111) | func (p *StartDesktopMirroringParams) Do(ctx context.Context) (err err...
function StartDesktopMirroring (line 104) | func StartDesktopMirroring(sinkName string) *StartDesktopMirroringParams {
type StartTabMirroringParams (line 116) | type StartTabMirroringParams struct
method Do (line 134) | func (p *StartTabMirroringParams) Do(ctx context.Context) (err error) {
function StartTabMirroring (line 127) | func StartTabMirroring(sinkName string) *StartTabMirroringParams {
type StopCastingParams (line 139) | type StopCastingParams struct
method Do (line 157) | func (p *StopCastingParams) Do(ctx context.Context) (err error) {
function StopCasting (line 150) | func StopCasting(sinkName string) *StopCastingParams {
constant CommandEnable (line 163) | CommandEnable = "Cast.enable"
constant CommandDisable (line 164) | CommandDisable = "Cast.disable"
constant CommandSetSinkToUse (line 165) | CommandSetSinkToUse = "Cast.setSinkToUse"
constant CommandStartDesktopMirroring (line 166) | CommandStartDesktopMirroring = "Cast.startDesktopMirroring"
constant CommandStartTabMirroring (line 167) | CommandStartTabMirroring = "Cast.startTabMirroring"
constant CommandStopCasting (line 168) | CommandStopCasting = "Cast.stopCasting"
FILE: vendor/github.com/chromedp/cdproto/cast/events.go
type EventSinksUpdated (line 9) | type EventSinksUpdated struct
type EventIssueUpdated (line 17) | type EventIssueUpdated struct
FILE: vendor/github.com/chromedp/cdproto/cast/types.go
type Sink (line 8) | type Sink struct
FILE: vendor/github.com/chromedp/cdproto/cdp/types.go
type Executor (line 19) | type Executor interface
type contextKey (line 25) | type contextKey
constant executorKey (line 29) | executorKey contextKey = iota
function WithExecutor (line 33) | func WithExecutor(parent context.Context, executor Executor) context.Con...
function ExecutorFromContext (line 38) | func ExecutorFromContext(ctx context.Context) Executor {
function Execute (line 44) | func Execute(ctx context.Context, method string, params, res any) error {
type Error (line 52) | type Error
method Error (line 64) | func (err Error) Error() string {
constant ErrInvalidContext (line 57) | ErrInvalidContext Error = "invalid context"
constant ErrMsgMissingParamsOrResult (line 60) | ErrMsgMissingParamsOrResult Error = "msg missing params or result"
type ErrUnknownCommandOrEvent (line 69) | type ErrUnknownCommandOrEvent
method Error (line 72) | func (err ErrUnknownCommandOrEvent) Error() string {
type BrowserContextID (line 79) | type BrowserContextID
method String (line 82) | func (t BrowserContextID) String() string {
type NodeID (line 89) | type NodeID
method Int64 (line 92) | func (t NodeID) Int64() int64 {
method UnmarshalJSON (line 97) | func (t *NodeID) UnmarshalJSON(buf []byte) error {
type BackendNodeID (line 115) | type BackendNodeID
method Int64 (line 118) | func (t BackendNodeID) Int64() int64 {
method UnmarshalJSON (line 123) | func (t *BackendNodeID) UnmarshalJSON(buf []byte) error {
type BackendNode (line 140) | type BackendNode struct
type PseudoType (line 149) | type PseudoType
method String (line 152) | func (t PseudoType) String() string {
method UnmarshalJSON (line 199) | func (t *PseudoType) UnmarshalJSON(buf []byte) error {
constant PseudoTypeFirstLine (line 158) | PseudoTypeFirstLine PseudoType = "first-line"
constant PseudoTypeFirstLetter (line 159) | PseudoTypeFirstLetter PseudoType = "first-letter"
constant PseudoTypeCheckmark (line 160) | PseudoTypeCheckmark PseudoType = "checkmark"
constant PseudoTypeBefore (line 161) | PseudoTypeBefore PseudoType = "before"
constant PseudoTypeAfter (line 162) | PseudoTypeAfter PseudoType = "after"
constant PseudoTypePickerIcon (line 163) | PseudoTypePickerIcon PseudoType = "picker-icon"
constant PseudoTypeMarker (line 164) | PseudoTypeMarker PseudoType = "marker"
constant PseudoTypeBackdrop (line 165) | PseudoTypeBackdrop PseudoType = "backdrop"
constant PseudoTypeColumn (line 166) | PseudoTypeColumn PseudoType = "column"
constant PseudoTypeSelection (line 167) | PseudoTypeSelection PseudoType = "selection"
constant PseudoTypeSearchText (line 168) | PseudoTypeSearchText PseudoType = "search-text"
constant PseudoTypeTargetText (line 169) | PseudoTypeTargetText PseudoType = "target-text"
constant PseudoTypeSpellingError (line 170) | PseudoTypeSpellingError PseudoType = "spelling-error"
constant PseudoTypeGrammarError (line 171) | PseudoTypeGrammarError PseudoType = "grammar-error"
constant PseudoTypeHighlight (line 172) | PseudoTypeHighlight PseudoType = "highlight"
constant PseudoTypeFirstLineInherited (line 173) | PseudoTypeFirstLineInherited PseudoType = "first-line-inherited"
constant PseudoTypeScrollMarker (line 174) | PseudoTypeScrollMarker PseudoType = "scroll-marker"
constant PseudoTypeScrollMarkerGroup (line 175) | PseudoTypeScrollMarkerGroup PseudoType = "scroll-marker-group"
constant PseudoTypeScrollButton (line 176) | PseudoTypeScrollButton PseudoType = "scroll-button"
constant PseudoTypeScrollbar (line 177) | PseudoTypeScrollbar PseudoType = "scrollbar"
constant PseudoTypeScrollbarThumb (line 178) | PseudoTypeScrollbarThumb PseudoType = "scrollbar-thumb"
constant PseudoTypeScrollbarButton (line 179) | PseudoTypeScrollbarButton PseudoType = "scrollbar-button"
constant PseudoTypeScrollbarTrack (line 180) | PseudoTypeScrollbarTrack PseudoType = "scrollbar-track"
constant PseudoTypeScrollbarTrackPiece (line 181) | PseudoTypeScrollbarTrackPiece PseudoType = "scrollbar-track-piece"
constant PseudoTypeScrollbarCorner (line 182) | PseudoTypeScrollbarCorner PseudoType = "scrollbar-corner"
constant PseudoTypeResizer (line 183) | PseudoTypeResizer PseudoType = "resizer"
constant PseudoTypeInputListButton (line 184) | PseudoTypeInputListButton PseudoType = "input-list-button"
constant PseudoTypeViewTransition (line 185) | PseudoTypeViewTransition PseudoType = "view-transition"
constant PseudoTypeViewTransitionGroup (line 186) | PseudoTypeViewTransitionGroup PseudoType = "view-transition-group"
constant PseudoTypeViewTransitionImagePair (line 187) | PseudoTypeViewTransitionImagePair PseudoType = "view-transition-imag...
constant PseudoTypeViewTransitionGroupChildren (line 188) | PseudoTypeViewTransitionGroupChildren PseudoType = "view-transition-grou...
constant PseudoTypeViewTransitionOld (line 189) | PseudoTypeViewTransitionOld PseudoType = "view-transition-old"
constant PseudoTypeViewTransitionNew (line 190) | PseudoTypeViewTransitionNew PseudoType = "view-transition-new"
constant PseudoTypePlaceholder (line 191) | PseudoTypePlaceholder PseudoType = "placeholder"
constant PseudoTypeFileSelectorButton (line 192) | PseudoTypeFileSelectorButton PseudoType = "file-selector-button"
constant PseudoTypeDetailsContent (line 193) | PseudoTypeDetailsContent PseudoType = "details-content"
constant PseudoTypePicker (line 194) | PseudoTypePicker PseudoType = "picker"
constant PseudoTypePermissionIcon (line 195) | PseudoTypePermissionIcon PseudoType = "permission-icon"
type ShadowRootType (line 289) | type ShadowRootType
method String (line 292) | func (t ShadowRootType) String() string {
method UnmarshalJSON (line 304) | func (t *ShadowRootType) UnmarshalJSON(buf []byte) error {
constant ShadowRootTypeUserAgent (line 298) | ShadowRootTypeUserAgent ShadowRootType = "user-agent"
constant ShadowRootTypeOpen (line 299) | ShadowRootTypeOpen ShadowRootType = "open"
constant ShadowRootTypeClosed (line 300) | ShadowRootTypeClosed ShadowRootType = "closed"
type CompatibilityMode (line 324) | type CompatibilityMode
method String (line 327) | func (t CompatibilityMode) String() string {
method UnmarshalJSON (line 339) | func (t *CompatibilityMode) UnmarshalJSON(buf []byte) error {
constant CompatibilityModeQuirksMode (line 333) | CompatibilityModeQuirksMode CompatibilityMode = "QuirksMode"
constant CompatibilityModeLimitedQuirksMode (line 334) | CompatibilityModeLimitedQuirksMode CompatibilityMode = "LimitedQuirksMode"
constant CompatibilityModeNoQuirksMode (line 335) | CompatibilityModeNoQuirksMode CompatibilityMode = "NoQuirksMode"
type Node (line 360) | type Node struct
method AttributeValue (line 399) | func (n *Node) AttributeValue(name string) string {
method Attribute (line 405) | func (n *Node) Attribute(name string) (string, bool) {
method xpath (line 419) | func (n *Node) xpath(stopAtDocument, stopAtID bool) string {
method PartialXPathByID (line 467) | func (n *Node) PartialXPathByID() string {
method PartialXPath (line 473) | func (n *Node) PartialXPath() string {
method FullXPathByID (line 479) | func (n *Node) FullXPathByID() string {
method FullXPath (line 485) | func (n *Node) FullXPath() string {
method WriteTo (line 490) | func (n *Node) WriteTo(w io.Writer, prefix, indent string, nodeIDs boo...
method Dump (line 600) | func (n *Node) Dump(prefix, indent string, nodeIDs bool) string {
type NodeState (line 607) | type NodeState
method String (line 624) | func (ns NodeState) String() string {
constant NodeReady (line 611) | NodeReady NodeState = 1 << (7 - iota)
constant NodeVisible (line 612) | NodeVisible
constant NodeHighlighted (line 613) | NodeHighlighted
constant EmptyNodeID (line 635) | EmptyNodeID = NodeID(0)
type RGBA (line 640) | type RGBA struct
type NodeType (line 650) | type NodeType
method Int64 (line 653) | func (t NodeType) Int64() int64 {
method String (line 674) | func (t NodeType) String() string {
method UnmarshalJSON (line 705) | func (t *NodeType) UnmarshalJSON(buf []byte) error {
constant NodeTypeElement (line 659) | NodeTypeElement NodeType = 1
constant NodeTypeAttribute (line 660) | NodeTypeAttribute NodeType = 2
constant NodeTypeText (line 661) | NodeTypeText NodeType = 3
constant NodeTypeCDATA (line 662) | NodeTypeCDATA NodeType = 4
constant NodeTypeEntityReference (line 663) | NodeTypeEntityReference NodeType = 5
constant NodeTypeEntity (line 664) | NodeTypeEntity NodeType = 6
constant NodeTypeProcessingInstruction (line 665) | NodeTypeProcessingInstruction NodeType = 7
constant NodeTypeComment (line 666) | NodeTypeComment NodeType = 8
constant NodeTypeDocument (line 667) | NodeTypeDocument NodeType = 9
constant NodeTypeDocumentType (line 668) | NodeTypeDocumentType NodeType = 10
constant NodeTypeDocumentFragment (line 669) | NodeTypeDocumentFragment NodeType = 11
constant NodeTypeNotation (line 670) | NodeTypeNotation NodeType = 12
type LoaderID (line 745) | type LoaderID
method String (line 748) | func (t LoaderID) String() string {
type TimeSinceEpoch (line 755) | type TimeSinceEpoch
method Time (line 758) | func (t TimeSinceEpoch) Time() time.Time {
method MarshalJSON (line 763) | func (t TimeSinceEpoch) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 769) | func (t *TimeSinceEpoch) UnmarshalJSON(buf []byte) error {
type MonotonicTime (line 782) | type MonotonicTime
method Time (line 785) | func (t MonotonicTime) Time() time.Time {
method MarshalJSON (line 799) | func (t MonotonicTime) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 805) | func (t *MonotonicTime) UnmarshalJSON(buf []byte) error {
function init (line 792) | func init() {
type TimeSinceEpochMilli (line 818) | type TimeSinceEpochMilli
method Time (line 821) | func (t TimeSinceEpochMilli) Time() time.Time {
method MarshalJSON (line 826) | func (t TimeSinceEpochMilli) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 832) | func (t *TimeSinceEpochMilli) UnmarshalJSON(buf []byte) error {
type FrameID (line 844) | type FrameID
method String (line 847) | func (t FrameID) String() string {
method UnmarshalJSON (line 852) | func (t *FrameID) UnmarshalJSON(buf []byte) error {
type AdFrameType (line 864) | type AdFrameType
method String (line 867) | func (t AdFrameType) String() string {
method UnmarshalJSON (line 879) | func (t *AdFrameType) UnmarshalJSON(buf []byte) error {
constant AdFrameTypeNone (line 873) | AdFrameTypeNone AdFrameType = "none"
constant AdFrameTypeChild (line 874) | AdFrameTypeChild AdFrameType = "child"
constant AdFrameTypeRoot (line 875) | AdFrameTypeRoot AdFrameType = "root"
type AdFrameExplanation (line 899) | type AdFrameExplanation
method String (line 902) | func (t AdFrameExplanation) String() string {
method UnmarshalJSON (line 914) | func (t *AdFrameExplanation) UnmarshalJSON(buf []byte) error {
constant AdFrameExplanationParentIsAd (line 908) | AdFrameExplanationParentIsAd AdFrameExplanation = "ParentIsAd"
constant AdFrameExplanationCreatedByAdScript (line 909) | AdFrameExplanationCreatedByAdScript AdFrameExplanation = "CreatedByAdS...
constant AdFrameExplanationMatchedBlockingRule (line 910) | AdFrameExplanationMatchedBlockingRule AdFrameExplanation = "MatchedBlock...
type AdFrameStatus (line 935) | type AdFrameStatus struct
type SecureContextType (line 944) | type SecureContextType
method String (line 947) | func (t SecureContextType) String() string {
method UnmarshalJSON (line 960) | func (t *SecureContextType) UnmarshalJSON(buf []byte) error {
constant SecureContextTypeSecure (line 953) | SecureContextTypeSecure SecureContextType = "Secure"
constant SecureContextTypeSecureLocalhost (line 954) | SecureContextTypeSecureLocalhost SecureContextType = "SecureLocalhost"
constant SecureContextTypeInsecureScheme (line 955) | SecureContextTypeInsecureScheme SecureContextType = "InsecureScheme"
constant SecureContextTypeInsecureAncestor (line 956) | SecureContextTypeInsecureAncestor SecureContextType = "InsecureAncestor"
type CrossOriginIsolatedContextType (line 983) | type CrossOriginIsolatedContextType
method String (line 986) | func (t CrossOriginIsolatedContextType) String() string {
method UnmarshalJSON (line 998) | func (t *CrossOriginIsolatedContextType) UnmarshalJSON(buf []byte) err...
constant CrossOriginIsolatedContextTypeIsolated (line 992) | CrossOriginIsolatedContextTypeIsolated CrossOriginIsol...
constant CrossOriginIsolatedContextTypeNotIsolated (line 993) | CrossOriginIsolatedContextTypeNotIsolated CrossOriginIsol...
constant CrossOriginIsolatedContextTypeNotIsolatedFeatureDisabled (line 994) | CrossOriginIsolatedContextTypeNotIsolatedFeatureDisabled CrossOriginIsol...
type GatedAPIFeatures (line 1018) | type GatedAPIFeatures
method String (line 1021) | func (t GatedAPIFeatures) String() string {
method UnmarshalJSON (line 1034) | func (t *GatedAPIFeatures) UnmarshalJSON(buf []byte) error {
constant GatedAPIFeaturesSharedArrayBuffers (line 1027) | GatedAPIFeaturesSharedArrayBuffers GatedAPIFeatures = "Sh...
constant GatedAPIFeaturesSharedArrayBuffersTransferAllowed (line 1028) | GatedAPIFeaturesSharedArrayBuffersTransferAllowed GatedAPIFeatures = "Sh...
constant GatedAPIFeaturesPerformanceMeasureMemory (line 1029) | GatedAPIFeaturesPerformanceMeasureMemory GatedAPIFeatures = "Pe...
constant GatedAPIFeaturesPerformanceProfile (line 1030) | GatedAPIFeaturesPerformanceProfile GatedAPIFeatures = "Pe...
type OriginTrialTokenStatus (line 1058) | type OriginTrialTokenStatus
method String (line 1061) | func (t OriginTrialTokenStatus) String() string {
method UnmarshalJSON (line 1082) | func (t *OriginTrialTokenStatus) UnmarshalJSON(buf []byte) error {
constant OriginTrialTokenStatusSuccess (line 1067) | OriginTrialTokenStatusSuccess OriginTrialTokenStatus = "S...
constant OriginTrialTokenStatusNotSupported (line 1068) | OriginTrialTokenStatusNotSupported OriginTrialTokenStatus = "N...
constant OriginTrialTokenStatusInsecure (line 1069) | OriginTrialTokenStatusInsecure OriginTrialTokenStatus = "I...
constant OriginTrialTokenStatusExpired (line 1070) | OriginTrialTokenStatusExpired OriginTrialTokenStatus = "E...
constant OriginTrialTokenStatusWrongOrigin (line 1071) | OriginTrialTokenStatusWrongOrigin OriginTrialTokenStatus = "W...
constant OriginTrialTokenStatusInvalidSignature (line 1072) | OriginTrialTokenStatusInvalidSignature OriginTrialTokenStatus = "I...
constant OriginTrialTokenStatusMalformed (line 1073) | OriginTrialTokenStatusMalformed OriginTrialTokenStatus = "M...
constant OriginTrialTokenStatusWrongVersion (line 1074) | OriginTrialTokenStatusWrongVersion OriginTrialTokenStatus = "W...
constant OriginTrialTokenStatusFeatureDisabled (line 1075) | OriginTrialTokenStatusFeatureDisabled OriginTrialTokenStatus = "F...
constant OriginTrialTokenStatusTokenDisabled (line 1076) | OriginTrialTokenStatusTokenDisabled OriginTrialTokenStatus = "T...
constant OriginTrialTokenStatusFeatureDisabledForUser (line 1077) | OriginTrialTokenStatusFeatureDisabledForUser OriginTrialTokenStatus = "F...
constant OriginTrialTokenStatusUnknownTrial (line 1078) | OriginTrialTokenStatusUnknownTrial OriginTrialTokenStatus = "U...
type OriginTrialStatus (line 1120) | type OriginTrialStatus
method String (line 1123) | func (t OriginTrialStatus) String() string {
method UnmarshalJSON (line 1136) | func (t *OriginTrialStatus) UnmarshalJSON(buf []byte) error {
constant OriginTrialStatusEnabled (line 1129) | OriginTrialStatusEnabled OriginTrialStatus = "Enabled"
constant OriginTrialStatusValidTokenNotProvided (line 1130) | OriginTrialStatusValidTokenNotProvided OriginTrialStatus = "ValidTokenNo...
constant OriginTrialStatusOSNotSupported (line 1131) | OriginTrialStatusOSNotSupported OriginTrialStatus = "OSNotSupported"
constant OriginTrialStatusTrialNotAllowed (line 1132) | OriginTrialStatusTrialNotAllowed OriginTrialStatus = "TrialNotAllo...
type OriginTrialUsageRestriction (line 1158) | type OriginTrialUsageRestriction
method String (line 1161) | func (t OriginTrialUsageRestriction) String() string {
method UnmarshalJSON (line 1172) | func (t *OriginTrialUsageRestriction) UnmarshalJSON(buf []byte) error {
constant OriginTrialUsageRestrictionNone (line 1167) | OriginTrialUsageRestrictionNone OriginTrialUsageRestriction = "None"
constant OriginTrialUsageRestrictionSubset (line 1168) | OriginTrialUsageRestrictionSubset OriginTrialUsageRestriction = "Subset"
type OriginTrialToken (line 1190) | type OriginTrialToken struct
type OriginTrialTokenWithStatus (line 1202) | type OriginTrialTokenWithStatus struct
type OriginTrial (line 1211) | type OriginTrial struct
type SecurityOriginDetails (line 1221) | type SecurityOriginDetails struct
type Frame (line 1228) | type Frame struct
type FrameState (line 1251) | type FrameState
method String (line 1274) | func (fs FrameState) String() string {
constant FrameDOMContentEventFired (line 1255) | FrameDOMContentEventFired FrameState = 1 << (15 - iota)
constant FrameLoadEventFired (line 1256) | FrameLoadEventFired
constant FrameAttached (line 1257) | FrameAttached
constant FrameNavigated (line 1258) | FrameNavigated
constant FrameLoading (line 1259) | FrameLoading
constant FrameScheduledNavigation (line 1260) | FrameScheduledNavigation
constant EmptyFrameID (line 1285) | EmptyFrameID = FrameID("")
FILE: vendor/github.com/chromedp/cdproto/cdproto.go
type MethodType (line 73) | type MethodType
method String (line 76) | func (t MethodType) String() string {
method Domain (line 81) | func (t MethodType) Domain() string {
constant CommandAccessibilityDisable (line 87) | CommandAccessibilityDisable = acces...
constant CommandAccessibilityEnable (line 88) | CommandAccessibilityEnable = acces...
constant CommandAccessibilityGetPartialAXTree (line 89) | CommandAccessibilityGetPartialAXTree = acces...
constant CommandAccessibilityGetFullAXTree (line 90) | CommandAccessibilityGetFullAXTree = acces...
constant CommandAccessibilityGetRootAXNode (line 91) | CommandAccessibilityGetRootAXNode = acces...
constant CommandAccessibilityGetAXNodeAndAncestors (line 92) | CommandAccessibilityGetAXNodeAndAncestors = acces...
constant CommandAccessibilityGetChildAXNodes (line 93) | CommandAccessibilityGetChildAXNodes = acces...
constant CommandAccessibilityQueryAXTree (line 94) | CommandAccessibilityQueryAXTree = acces...
constant EventAccessibilityLoadComplete (line 95) | EventAccessibilityLoadComplete = "Acce...
constant EventAccessibilityNodesUpdated (line 96) | EventAccessibilityNodesUpdated = "Acce...
constant CommandAnimationDisable (line 97) | CommandAnimationDisable = anima...
constant CommandAnimationEnable (line 98) | CommandAnimationEnable = anima...
constant CommandAnimationGetCurrentTime (line 99) | CommandAnimationGetCurrentTime = anima...
constant CommandAnimationGetPlaybackRate (line 100) | CommandAnimationGetPlaybackRate = anima...
constant CommandAnimationReleaseAnimations (line 101) | CommandAnimationReleaseAnimations = anima...
constant CommandAnimationResolveAnimation (line 102) | CommandAnimationResolveAnimation = anima...
constant CommandAnimationSeekAnimations (line 103) | CommandAnimationSeekAnimations = anima...
constant CommandAnimationSetPaused (line 104) | CommandAnimationSetPaused = anima...
constant CommandAnimationSetPlaybackRate (line 105) | CommandAnimationSetPlaybackRate = anima...
constant CommandAnimationSetTiming (line 106) | CommandAnimationSetTiming = anima...
constant EventAnimationAnimationCanceled (line 107) | EventAnimationAnimationCanceled = "Anim...
constant EventAnimationAnimationCreated (line 108) | EventAnimationAnimationCreated = "Anim...
constant EventAnimationAnimationStarted (line 109) | EventAnimationAnimationStarted = "Anim...
constant EventAnimationAnimationUpdated (line 110) | EventAnimationAnimationUpdated = "Anim...
constant CommandAuditsGetEncodedResponse (line 111) | CommandAuditsGetEncodedResponse = audit...
constant CommandAuditsDisable (line 112) | CommandAuditsDisable = audit...
constant CommandAuditsEnable (line 113) | CommandAuditsEnable = audit...
constant CommandAuditsCheckContrast (line 114) | CommandAuditsCheckContrast = audit...
constant CommandAuditsCheckFormsIssues (line 115) | CommandAuditsCheckFormsIssues = audit...
constant EventAuditsIssueAdded (line 116) | EventAuditsIssueAdded = "Audi...
constant CommandAutofillTrigger (line 117) | CommandAutofillTrigger = autof...
constant CommandAutofillSetAddresses (line 118) | CommandAutofillSetAddresses = autof...
constant CommandAutofillDisable (line 119) | CommandAutofillDisable = autof...
constant CommandAutofillEnable (line 120) | CommandAutofillEnable = autof...
constant EventAutofillAddressFormFilled (line 121) | EventAutofillAddressFormFilled = "Auto...
constant CommandBackgroundServiceStartObserving (line 122) | CommandBackgroundServiceStartObserving = backg...
constant CommandBackgroundServiceStopObserving (line 123) | CommandBackgroundServiceStopObserving = backg...
constant CommandBackgroundServiceSetRecording (line 124) | CommandBackgroundServiceSetRecording = backg...
constant CommandBackgroundServiceClearEvents (line 125) | CommandBackgroundServiceClearEvents = backg...
constant EventBackgroundServiceRecordingStateChanged (line 126) | EventBackgroundServiceRecordingStateChanged = "Back...
constant EventBackgroundServiceBackgroundServiceEventReceived (line 127) | EventBackgroundServiceBackgroundServiceEventReceived = "Back...
constant CommandBluetoothEmulationEnable (line 128) | CommandBluetoothEmulationEnable = bluet...
constant CommandBluetoothEmulationSetSimulatedCentralState (line 129) | CommandBluetoothEmulationSetSimulatedCentralState = bluet...
constant CommandBluetoothEmulationDisable (line 130) | CommandBluetoothEmulationDisable = bluet...
constant CommandBluetoothEmulationSimulatePreconnectedPeripheral (line 131) | CommandBluetoothEmulationSimulatePreconnectedPeripheral = bluet...
constant CommandBluetoothEmulationSimulateAdvertisement (line 132) | CommandBluetoothEmulationSimulateAdvertisement = bluet...
constant CommandBluetoothEmulationSimulateGATTOperationResponse (line 133) | CommandBluetoothEmulationSimulateGATTOperationResponse = bluet...
constant CommandBluetoothEmulationSimulateCharacteristicOperationResponse (line 134) | CommandBluetoothEmulationSimulateCharacteristicOperationResponse = bluet...
constant CommandBluetoothEmulationSimulateDescriptorOperationResponse (line 135) | CommandBluetoothEmulationSimulateDescriptorOperationResponse = bluet...
constant CommandBluetoothEmulationAddService (line 136) | CommandBluetoothEmulationAddService = bluet...
constant CommandBluetoothEmulationRemoveService (line 137) | CommandBluetoothEmulationRemoveService = bluet...
constant CommandBluetoothEmulationAddCharacteristic (line 138) | CommandBluetoothEmulationAddCharacteristic = bluet...
constant CommandBluetoothEmulationRemoveCharacteristic (line 139) | CommandBluetoothEmulationRemoveCharacteristic = bluet...
constant CommandBluetoothEmulationAddDescriptor (line 140) | CommandBluetoothEmulationAddDescriptor = bluet...
constant CommandBluetoothEmulationRemoveDescriptor (line 141) | CommandBluetoothEmulationRemoveDescriptor = bluet...
constant CommandBluetoothEmulationSimulateGATTDisconnection (line 142) | CommandBluetoothEmulationSimulateGATTDisconnection = bluet...
constant EventBluetoothEmulationGattOperationReceived (line 143) | EventBluetoothEmulationGattOperationReceived = "Blue...
constant EventBluetoothEmulationCharacteristicOperationReceived (line 144) | EventBluetoothEmulationCharacteristicOperationReceived = "Blue...
constant EventBluetoothEmulationDescriptorOperationReceived (line 145) | EventBluetoothEmulationDescriptorOperationReceived = "Blue...
constant CommandBrowserSetPermission (line 146) | CommandBrowserSetPermission = brows...
constant CommandBrowserGrantPermissions (line 147) | CommandBrowserGrantPermissions = brows...
constant CommandBrowserResetPermissions (line 148) | CommandBrowserResetPermissions = brows...
constant CommandBrowserSetDownloadBehavior (line 149) | CommandBrowserSetDownloadBehavior = brows...
constant CommandBrowserCancelDownload (line 150) | CommandBrowserCancelDownload = brows...
constant CommandBrowserClose (line 151) | CommandBrowserClose = brows...
constant CommandBrowserCrash (line 152) | CommandBrowserCrash = brows...
constant CommandBrowserCrashGPUProcess (line 153) | CommandBrowserCrashGPUProcess = brows...
constant CommandBrowserGetVersion (line 154) | CommandBrowserGetVersion = brows...
constant CommandBrowserGetBrowserCommandLine (line 155) | CommandBrowserGetBrowserCommandLine = brows...
constant CommandBrowserGetHistograms (line 156) | CommandBrowserGetHistograms = brows...
constant CommandBrowserGetHistogram (line 157) | CommandBrowserGetHistogram = brows...
constant CommandBrowserGetWindowBounds (line 158) | CommandBrowserGetWindowBounds = brows...
constant CommandBrowserGetWindowForTarget (line 159) | CommandBrowserGetWindowForTarget = brows...
constant CommandBrowserSetWindowBounds (line 160) | CommandBrowserSetWindowBounds = brows...
constant CommandBrowserSetContentsSize (line 161) | CommandBrowserSetContentsSize = brows...
constant CommandBrowserSetDockTile (line 162) | CommandBrowserSetDockTile = brows...
constant CommandBrowserExecuteBrowserCommand (line 163) | CommandBrowserExecuteBrowserCommand = brows...
constant CommandBrowserAddPrivacySandboxEnrollmentOverride (line 164) | CommandBrowserAddPrivacySandboxEnrollmentOverride = brows...
constant CommandBrowserAddPrivacySandboxCoordinatorKeyConfig (line 165) | CommandBrowserAddPrivacySandboxCoordinatorKeyConfig = brows...
constant EventBrowserDownloadWillBegin (line 166) | EventBrowserDownloadWillBegin = "Brow...
constant EventBrowserDownloadProgress (line 167) | EventBrowserDownloadProgress = "Brow...
constant CommandCSSAddRule (line 168) | CommandCSSAddRule = css.C...
constant CommandCSSCollectClassNames (line 169) | CommandCSSCollectClassNames = css.C...
constant CommandCSSCreateStyleSheet (line 170) | CommandCSSCreateStyleSheet = css.C...
constant CommandCSSDisable (line 171) | CommandCSSDisable = css.C...
constant CommandCSSEnable (line 172) | CommandCSSEnable = css.C...
constant CommandCSSForcePseudoState (line 173) | CommandCSSForcePseudoState = css.C...
constant CommandCSSForceStartingStyle (line 174) | CommandCSSForceStartingStyle = css.C...
constant CommandCSSGetBackgroundColors (line 175) | CommandCSSGetBackgroundColors = css.C...
constant CommandCSSGetComputedStyleForNode (line 176) | CommandCSSGetComputedStyleForNode = css.C...
constant CommandCSSResolveValues (line 177) | CommandCSSResolveValues = css.C...
constant CommandCSSGetLonghandProperties (line 178) | CommandCSSGetLonghandProperties = css.C...
constant CommandCSSGetInlineStylesForNode (line 179) | CommandCSSGetInlineStylesForNode = css.C...
constant CommandCSSGetAnimatedStylesForNode (line 180) | CommandCSSGetAnimatedStylesForNode = css.C...
constant CommandCSSGetMatchedStylesForNode (line 181) | CommandCSSGetMatchedStylesForNode = css.C...
constant CommandCSSGetEnvironmentVariables (line 182) | CommandCSSGetEnvironmentVariables = css.C...
constant CommandCSSGetMediaQueries (line 183) | CommandCSSGetMediaQueries = css.C...
constant CommandCSSGetPlatformFontsForNode (line 184) | CommandCSSGetPlatformFontsForNode = css.C...
constant CommandCSSGetStyleSheetText (line 185) | CommandCSSGetStyleSheetText = css.C...
constant CommandCSSGetLayersForNode (line 186) | CommandCSSGetLayersForNode = css.C...
constant CommandCSSGetLocationForSelector (line 187) | CommandCSSGetLocationForSelector = css.C...
constant CommandCSSTrackComputedStyleUpdatesForNode (line 188) | CommandCSSTrackComputedStyleUpdatesForNode = css.C...
constant CommandCSSTrackComputedStyleUpdates (line 189) | CommandCSSTrackComputedStyleUpdates = css.C...
constant CommandCSSTakeComputedStyleUpdates (line 190) | CommandCSSTakeComputedStyleUpdates = css.C...
constant CommandCSSSetEffectivePropertyValueForNode (line 191) | CommandCSSSetEffectivePropertyValueForNode = css.C...
constant CommandCSSSetPropertyRulePropertyName (line 192) | CommandCSSSetPropertyRulePropertyName = css.C...
constant CommandCSSSetKeyframeKey (line 193) | CommandCSSSetKeyframeKey = css.C...
constant CommandCSSSetMediaText (line 194) | CommandCSSSetMediaText = css.C...
constant CommandCSSSetContainerQueryText (line 195) | CommandCSSSetContainerQueryText = css.C...
constant CommandCSSSetSupportsText (line 196) | CommandCSSSetSupportsText = css.C...
constant CommandCSSSetScopeText (line 197) | CommandCSSSetScopeText = css.C...
constant CommandCSSSetRuleSelector (line 198) | CommandCSSSetRuleSelector = css.C...
constant CommandCSSSetStyleSheetText (line 199) | CommandCSSSetStyleSheetText = css.C...
constant CommandCSSSetStyleTexts (line 200) | CommandCSSSetStyleTexts = css.C...
constant CommandCSSStartRuleUsageTracking (line 201) | CommandCSSStartRuleUsageTracking = css.C...
constant CommandCSSStopRuleUsageTracking (line 202) | CommandCSSStopRuleUsageTracking = css.C...
constant CommandCSSTakeCoverageDelta (line 203) | CommandCSSTakeCoverageDelta = css.C...
constant CommandCSSSetLocalFontsEnabled (line 204) | CommandCSSSetLocalFontsEnabled = css.C...
constant EventCSSFontsUpdated (line 205) | EventCSSFontsUpdated = "CSS....
constant EventCSSMediaQueryResultChanged (line 206) | EventCSSMediaQueryResultChanged = "CSS....
constant EventCSSStyleSheetAdded (line 207) | EventCSSStyleSheetAdded = "CSS....
constant EventCSSStyleSheetChanged (line 208) | EventCSSStyleSheetChanged = "CSS....
constant EventCSSStyleSheetRemoved (line 209) | EventCSSStyleSheetRemoved = "CSS....
constant EventCSSComputedStyleUpdated (line 210) | EventCSSComputedStyleUpdated = "CSS....
constant CommandCacheStorageDeleteCache (line 211) | CommandCacheStorageDeleteCache = cache...
constant CommandCacheStorageDeleteEntry (line 212) | CommandCacheStorageDeleteEntry = cache...
constant CommandCacheStorageRequestCacheNames (line 213) | CommandCacheStorageRequestCacheNames = cache...
constant CommandCacheStorageRequestCachedResponse (line 214) | CommandCacheStorageRequestCachedResponse = cache...
constant CommandCacheStorageRequestEntries (line 215) | CommandCacheStorageRequestEntries = cache...
constant CommandCastEnable (line 216) | CommandCastEnable = cast....
constant CommandCastDisable (line 217) | CommandCastDisable = cast....
constant CommandCastSetSinkToUse (line 218) | CommandCastSetSinkToUse = cast....
constant CommandCastStartDesktopMirroring (line 219) | CommandCastStartDesktopMirroring = cast....
constant CommandCastStartTabMirroring (line 220) | CommandCastStartTabMirroring = cast....
constant CommandCastStopCasting (line 221) | CommandCastStopCasting = cast....
constant EventCastSinksUpdated (line 222) | EventCastSinksUpdated = "Cast...
constant EventCastIssueUpdated (line 223) | EventCastIssueUpdated = "Cast...
constant CommandDOMCollectClassNamesFromSubtree (line 224) | CommandDOMCollectClassNamesFromSubtree = dom.C...
constant CommandDOMCopyTo (line 225) | CommandDOMCopyTo = dom.C...
constant CommandDOMDescribeNode (line 226) | CommandDOMDescribeNode = dom.C...
constant CommandDOMScrollIntoViewIfNeeded (line 227) | CommandDOMScrollIntoViewIfNeeded = dom.C...
constant CommandDOMDisable (line 228) | CommandDOMDisable = dom.C...
constant CommandDOMDiscardSearchResults (line 229) | CommandDOMDiscardSearchResults = dom.C...
constant CommandDOMEnable (line 230) | CommandDOMEnable = dom.C...
constant CommandDOMFocus (line 231) | CommandDOMFocus = dom.C...
constant CommandDOMGetAttributes (line 232) | CommandDOMGetAttributes = dom.C...
constant CommandDOMGetBoxModel (line 233) | CommandDOMGetBoxModel = dom.C...
constant CommandDOMGetContentQuads (line 234) | CommandDOMGetContentQuads = dom.C...
constant CommandDOMGetDocument (line 235) | CommandDOMGetDocument = dom.C...
constant CommandDOMGetNodesForSubtreeByStyle (line 236) | CommandDOMGetNodesForSubtreeByStyle = dom.C...
constant CommandDOMGetNodeForLocation (line 237) | CommandDOMGetNodeForLocation = dom.C...
constant CommandDOMGetOuterHTML (line 238) | CommandDOMGetOuterHTML = dom.C...
constant CommandDOMGetRelayoutBoundary (line 239) | CommandDOMGetRelayoutBoundary = dom.C...
constant CommandDOMGetSearchResults (line 240) | CommandDOMGetSearchResults = dom.C...
constant CommandDOMMarkUndoableState (line 241) | CommandDOMMarkUndoableState = dom.C...
constant CommandDOMMoveTo (line 242) | CommandDOMMoveTo = dom.C...
constant CommandDOMPerformSearch (line 243) | CommandDOMPerformSearch = dom.C...
constant CommandDOMPushNodeByPathToFrontend (line 244) | CommandDOMPushNodeByPathToFrontend = dom.C...
constant CommandDOMPushNodesByBackendIDsToFrontend (line 245) | CommandDOMPushNodesByBackendIDsToFrontend = dom.C...
constant CommandDOMQuerySelector (line 246) | CommandDOMQuerySelector = dom.C...
constant CommandDOMQuerySelectorAll (line 247) | CommandDOMQuerySelectorAll = dom.C...
constant CommandDOMGetTopLayerElements (line 248) | CommandDOMGetTopLayerElements = dom.C...
constant CommandDOMGetElementByRelation (line 249) | CommandDOMGetElementByRelation = dom.C...
constant CommandDOMRedo (line 250) | CommandDOMRedo = dom.C...
constant CommandDOMRemoveAttribute (line 251) | CommandDOMRemoveAttribute = dom.C...
constant CommandDOMRemoveNode (line 252) | CommandDOMRemoveNode = dom.C...
constant CommandDOMRequestChildNodes (line 253) | CommandDOMRequestChildNodes = dom.C...
constant CommandDOMRequestNode (line 254) | CommandDOMRequestNode = dom.C...
constant CommandDOMResolveNode (line 255) | CommandDOMResolveNode = dom.C...
constant CommandDOMSetAttributeValue (line 256) | CommandDOMSetAttributeValue = dom.C...
constant CommandDOMSetAttributesAsText (line 257) | CommandDOMSetAttributesAsText = dom.C...
constant CommandDOMSetFileInputFiles (line 258) | CommandDOMSetFileInputFiles = dom.C...
constant CommandDOMSetNodeStackTracesEnabled (line 259) | CommandDOMSetNodeStackTracesEnabled = dom.C...
constant CommandDOMGetNodeStackTraces (line 260) | CommandDOMGetNodeStackTraces = dom.C...
constant CommandDOMGetFileInfo (line 261) | CommandDOMGetFileInfo = dom.C...
constant CommandDOMGetDetachedDomNodes (line 262) | CommandDOMGetDetachedDomNodes = dom.C...
constant CommandDOMSetInspectedNode (line 263) | CommandDOMSetInspectedNode = dom.C...
constant CommandDOMSetNodeName (line 264) | CommandDOMSetNodeName = dom.C...
constant CommandDOMSetNodeValue (line 265) | CommandDOMSetNodeValue = dom.C...
constant CommandDOMSetOuterHTML (line 266) | CommandDOMSetOuterHTML = dom.C...
constant CommandDOMUndo (line 267) | CommandDOMUndo = dom.C...
constant CommandDOMGetFrameOwner (line 268) | CommandDOMGetFrameOwner = dom.C...
constant CommandDOMGetContainerForNode (line 269) | CommandDOMGetContainerForNode = dom.C...
constant CommandDOMGetQueryingDescendantsForContainer (line 270) | CommandDOMGetQueryingDescendantsForContainer = dom.C...
constant CommandDOMGetAnchorElement (line 271) | CommandDOMGetAnchorElement = dom.C...
constant CommandDOMForceShowPopover (line 272) | CommandDOMForceShowPopover = dom.C...
constant EventDOMAttributeModified (line 273) | EventDOMAttributeModified = "DOM....
constant EventDOMAttributeRemoved (line 274) | EventDOMAttributeRemoved = "DOM....
constant EventDOMCharacterDataModified (line 275) | EventDOMCharacterDataModified = "DOM....
constant EventDOMChildNodeCountUpdated (line 276) | EventDOMChildNodeCountUpdated = "DOM....
constant EventDOMChildNodeInserted (line 277) | EventDOMChildNodeInserted = "DOM....
constant EventDOMChildNodeRemoved (line 278) | EventDOMChildNodeRemoved = "DOM....
constant EventDOMDistributedNodesUpdated (line 279) | EventDOMDistributedNodesUpdated = "DOM....
constant EventDOMDocumentUpdated (line 280) | EventDOMDocumentUpdated = "DOM....
constant EventDOMInlineStyleInvalidated (line 281) | EventDOMInlineStyleInvalidated = "DOM....
constant EventDOMPseudoElementAdded (line 282) | EventDOMPseudoElementAdded = "DOM....
constant EventDOMTopLayerElementsUpdated (line 283) | EventDOMTopLayerElementsUpdated = "DOM....
constant EventDOMScrollableFlagUpdated (line 284) | EventDOMScrollableFlagUpdated = "DOM....
constant EventDOMPseudoElementRemoved (line 285) | EventDOMPseudoElementRemoved = "DOM....
constant EventDOMSetChildNodes (line 286) | EventDOMSetChildNodes = "DOM....
constant EventDOMShadowRootPopped (line 287) | EventDOMShadowRootPopped = "DOM....
constant EventDOMShadowRootPushed (line 288) | EventDOMShadowRootPushed = "DOM....
constant CommandDOMDebuggerGetEventListeners (line 289) | CommandDOMDebuggerGetEventListeners = domde...
constant CommandDOMDebuggerRemoveDOMBreakpoint (line 290) | CommandDOMDebuggerRemoveDOMBreakpoint = domde...
constant CommandDOMDebuggerRemoveEventListenerBreakpoint (line 291) | CommandDOMDebuggerRemoveEventListenerBreakpoint = domde...
constant CommandDOMDebuggerRemoveXHRBreakpoint (line 292) | CommandDOMDebuggerRemoveXHRBreakpoint = domde...
constant CommandDOMDebuggerSetBreakOnCSPViolation (line 293) | CommandDOMDebuggerSetBreakOnCSPViolation = domde...
constant CommandDOMDebuggerSetDOMBreakpoint (line 294) | CommandDOMDebuggerSetDOMBreakpoint = domde...
constant CommandDOMDebuggerSetEventListenerBreakpoint (line 295) | CommandDOMDebuggerSetEventListenerBreakpoint = domde...
constant CommandDOMDebuggerSetXHRBreakpoint (line 296) | CommandDOMDebuggerSetXHRBreakpoint = domde...
constant CommandDOMSnapshotDisable (line 297) | CommandDOMSnapshotDisable = domsn...
constant CommandDOMSnapshotEnable (line 298) | CommandDOMSnapshotEnable = domsn...
constant CommandDOMSnapshotCaptureSnapshot (line 299) | CommandDOMSnapshotCaptureSnapshot = domsn...
constant CommandDOMStorageClear (line 300) | CommandDOMStorageClear = domst...
constant CommandDOMStorageDisable (line 301) | CommandDOMStorageDisable = domst...
constant CommandDOMStorageEnable (line 302) | CommandDOMStorageEnable = domst...
constant CommandDOMStorageGetDOMStorageItems (line 303) | CommandDOMStorageGetDOMStorageItems = domst...
constant CommandDOMStorageRemoveDOMStorageItem (line 304) | CommandDOMStorageRemoveDOMStorageItem = domst...
constant CommandDOMStorageSetDOMStorageItem (line 305) | CommandDOMStorageSetDOMStorageItem = domst...
constant EventDOMStorageDomStorageItemAdded (line 306) | EventDOMStorageDomStorageItemAdded = "DOMS...
constant EventDOMStorageDomStorageItemRemoved (line 307) | EventDOMStorageDomStorageItemRemoved = "DOMS...
constant EventDOMStorageDomStorageItemUpdated (line 308) | EventDOMStorageDomStorageItemUpdated = "DOMS...
constant EventDOMStorageDomStorageItemsCleared (line 309) | EventDOMStorageDomStorageItemsCleared = "DOMS...
constant CommandDebuggerContinueToLocation (line 310) | CommandDebuggerContinueToLocation = debug...
constant CommandDebuggerDisable (line 311) | CommandDebuggerDisable = debug...
constant CommandDebuggerEnable (line 312) | CommandDebuggerEnable = debug...
constant CommandDebuggerEvaluateOnCallFrame (line 313) | CommandDebuggerEvaluateOnCallFrame = debug...
constant CommandDebuggerGetPossibleBreakpoints (line 314) | CommandDebuggerGetPossibleBreakpoints = debug...
constant CommandDebuggerGetScriptSource (line 315) | CommandDebuggerGetScriptSource = debug...
constant CommandDebuggerDisassembleWasmModule (line 316) | CommandDebuggerDisassembleWasmModule = debug...
constant CommandDebuggerNextWasmDisassemblyChunk (line 317) | CommandDebuggerNextWasmDisassemblyChunk = debug...
constant CommandDebuggerGetStackTrace (line 318) | CommandDebuggerGetStackTrace = debug...
constant CommandDebuggerPause (line 319) | CommandDebuggerPause = debug...
constant CommandDebuggerRemoveBreakpoint (line 320) | CommandDebuggerRemoveBreakpoint = debug...
constant CommandDebuggerRestartFrame (line 321) | CommandDebuggerRestartFrame = debug...
constant CommandDebuggerResume (line 322) | CommandDebuggerResume = debug...
constant CommandDebuggerSearchInContent (line 323) | CommandDebuggerSearchInContent = debug...
constant CommandDebuggerSetAsyncCallStackDepth (line 324) | CommandDebuggerSetAsyncCallStackDepth = debug...
constant CommandDebuggerSetBlackboxExecutionContexts (line 325) | CommandDebuggerSetBlackboxExecutionContexts = debug...
constant CommandDebuggerSetBlackboxPatterns (line 326) | CommandDebuggerSetBlackboxPatterns = debug...
constant CommandDebuggerSetBlackboxedRanges (line 327) | CommandDebuggerSetBlackboxedRanges = debug...
constant CommandDebuggerSetBreakpoint (line 328) | CommandDebuggerSetBreakpoint = debug...
constant CommandDebuggerSetInstrumentationBreakpoint (line 329) | CommandDebuggerSetInstrumentationBreakpoint = debug...
constant CommandDebuggerSetBreakpointByURL (line 330) | CommandDebuggerSetBreakpointByURL = debug...
constant CommandDebuggerSetBreakpointOnFunctionCall (line 331) | CommandDebuggerSetBreakpointOnFunctionCall = debug...
constant CommandDebuggerSetBreakpointsActive (line 332) | CommandDebuggerSetBreakpointsActive = debug...
constant CommandDebuggerSetPauseOnExceptions (line 333) | CommandDebuggerSetPauseOnExceptions = debug...
constant CommandDebuggerSetReturnValue (line 334) | CommandDebuggerSetReturnValue = debug...
constant CommandDebuggerSetScriptSource (line 335) | CommandDebuggerSetScriptSource = debug...
constant CommandDebuggerSetSkipAllPauses (line 336) | CommandDebuggerSetSkipAllPauses = debug...
constant CommandDebuggerSetVariableValue (line 337) | CommandDebuggerSetVariableValue = debug...
constant CommandDebuggerStepInto (line 338) | CommandDebuggerStepInto = debug...
constant CommandDebuggerStepOut (line 339) | CommandDebuggerStepOut = debug...
constant CommandDebuggerStepOver (line 340) | CommandDebuggerStepOver = debug...
constant EventDebuggerPaused (line 341) | EventDebuggerPaused = "Debu...
constant EventDebuggerResumed (line 342) | EventDebuggerResumed = "Debu...
constant EventDebuggerScriptFailedToParse (line 343) | EventDebuggerScriptFailedToParse = "Debu...
constant EventDebuggerScriptParsed (line 344) | EventDebuggerScriptParsed = "Debu...
constant CommandDeviceAccessEnable (line 345) | CommandDeviceAccessEnable = devic...
constant CommandDeviceAccessDisable (line 346) | CommandDeviceAccessDisable = devic...
constant CommandDeviceAccessSelectPrompt (line 347) | CommandDeviceAccessSelectPrompt = devic...
constant CommandDeviceAccessCancelPrompt (line 348) | CommandDeviceAccessCancelPrompt = devic...
constant EventDeviceAccessDeviceRequestPrompted (line 349) | EventDeviceAccessDeviceRequestPrompted = "Devi...
constant CommandDeviceOrientationClearDeviceOrientationOverride (line 350) | CommandDeviceOrientationClearDeviceOrientationOverride = devic...
constant CommandDeviceOrientationSetDeviceOrientationOverride (line 351) | CommandDeviceOrientationSetDeviceOrientationOverride = devic...
constant CommandEmulationClearDeviceMetricsOverride (line 352) | CommandEmulationClearDeviceMetricsOverride = emula...
constant CommandEmulationClearGeolocationOverride (line 353) | CommandEmulationClearGeolocationOverride = emula...
constant CommandEmulationResetPageScaleFactor (line 354) | CommandEmulationResetPageScaleFactor = emula...
constant CommandEmulationSetFocusEmulationEnabled (line 355) | CommandEmulationSetFocusEmulationEnabled = emula...
constant CommandEmulationSetAutoDarkModeOverride (line 356) | CommandEmulationSetAutoDarkModeOverride = emula...
constant CommandEmulationSetCPUThrottlingRate (line 357) | CommandEmulationSetCPUThrottlingRate = emula...
constant CommandEmulationSetDefaultBackgroundColorOverride (line 358) | CommandEmulationSetDefaultBackgroundColorOverride = emula...
constant CommandEmulationSetSafeAreaInsetsOverride (line 359) | CommandEmulationSetSafeAreaInsetsOverride = emula...
constant CommandEmulationSetDeviceMetricsOverride (line 360) | CommandEmulationSetDeviceMetricsOverride = emula...
constant CommandEmulationSetDevicePostureOverride (line 361) | CommandEmulationSetDevicePostureOverride = emula...
constant CommandEmulationClearDevicePostureOverride (line 362) | CommandEmulationClearDevicePostureOverride = emula...
constant CommandEmulationSetDisplayFeaturesOverride (line 363) | CommandEmulationSetDisplayFeaturesOverride = emula...
constant CommandEmulationClearDisplayFeaturesOverride (line 364) | CommandEmulationClearDisplayFeaturesOverride = emula...
constant CommandEmulationSetScrollbarsHidden (line 365) | CommandEmulationSetScrollbarsHidden = emula...
constant CommandEmulationSetDocumentCookieDisabled (line 366) | CommandEmulationSetDocumentCookieDisabled = emula...
constant CommandEmulationSetEmitTouchEventsForMouse (line 367) | CommandEmulationSetEmitTouchEventsForMouse = emula...
constant CommandEmulationSetEmulatedMedia (line 368) | CommandEmulationSetEmulatedMedia = emula...
constant CommandEmulationSetEmulatedVisionDeficiency (line 369) | CommandEmulationSetEmulatedVisionDeficiency = emula...
constant CommandEmulationSetEmulatedOSTextScale (line 370) | CommandEmulationSetEmulatedOSTextScale = emula...
constant CommandEmulationSetGeolocationOverride (line 371) | CommandEmulationSetGeolocationOverride = emula...
constant CommandEmulationGetOverriddenSensorInformation (line 372) | CommandEmulationGetOverriddenSensorInformation = emula...
constant CommandEmulationSetSensorOverrideEnabled (line 373) | CommandEmulationSetSensorOverrideEnabled = emula...
constant CommandEmulationSetSensorOverrideReadings (line 374) | CommandEmulationSetSensorOverrideReadings = emula...
constant CommandEmulationSetPressureSourceOverrideEnabled (line 375) | CommandEmulationSetPressureSourceOverrideEnabled = emula...
constant CommandEmulationSetPressureStateOverride (line 376) | CommandEmulationSetPressureStateOverride = emula...
constant CommandEmulationSetPressureDataOverride (line 377) | CommandEmulationSetPressureDataOverride = emula...
constant CommandEmulationSetIdleOverride (line 378) | CommandEmulationSetIdleOverride = emula...
constant CommandEmulationClearIdleOverride (line 379) | CommandEmulationClearIdleOverride = emula...
constant CommandEmulationSetPageScaleFactor (line 380) | CommandEmulationSetPageScaleFactor = emula...
constant CommandEmulationSetScriptExecutionDisabled (line 381) | CommandEmulationSetScriptExecutionDisabled = emula...
constant CommandEmulationSetTouchEmulationEnabled (line 382) | CommandEmulationSetTouchEmulationEnabled = emula...
constant CommandEmulationSetVirtualTimePolicy (line 383) | CommandEmulationSetVirtualTimePolicy = emula...
constant CommandEmulationSetLocaleOverride (line 384) | CommandEmulationSetLocaleOverride = emula...
constant CommandEmulationSetTimezoneOverride (line 385) | CommandEmulationSetTimezoneOverride = emula...
constant CommandEmulationSetDisabledImageTypes (line 386) | CommandEmulationSetDisabledImageTypes = emula...
constant CommandEmulationSetDataSaverOverride (line 387) | CommandEmulationSetDataSaverOverride = emula...
constant CommandEmulationSetHardwareConcurrencyOverride (line 388) | CommandEmulationSetHardwareConcurrencyOverride = emula...
constant CommandEmulationSetUserAgentOverride (line 389) | CommandEmulationSetUserAgentOverride = emula...
constant CommandEmulationSetAutomationOverride (line 390) | CommandEmulationSetAutomationOverride = emula...
constant CommandEmulationSetSmallViewportHeightDifferenceOverride (line 391) | CommandEmulationSetSmallViewportHeightDifferenceOverride = emula...
constant EventEmulationVirtualTimeBudgetExpired (line 392) | EventEmulationVirtualTimeBudgetExpired = "Emul...
constant CommandEventBreakpointsSetInstrumentationBreakpoint (line 393) | CommandEventBreakpointsSetInstrumentationBreakpoint = event...
constant CommandEventBreakpointsRemoveInstrumentationBreakpoint (line 394) | CommandEventBreakpointsRemoveInstrumentationBreakpoint = event...
constant CommandEventBreakpointsDisable (line 395) | CommandEventBreakpointsDisable = event...
constant CommandExtensionsLoadUnpacked (line 396) | CommandExtensionsLoadUnpacked = exten...
constant CommandExtensionsUninstall (line 397) | CommandExtensionsUninstall = exten...
constant CommandExtensionsGetStorageItems (line 398) | CommandExtensionsGetStorageItems = exten...
constant CommandExtensionsRemoveStorageItems (line 399) | CommandExtensionsRemoveStorageItems = exten...
constant CommandExtensionsClearStorageItems (line 400) | CommandExtensionsClearStorageItems = exten...
constant CommandExtensionsSetStorageItems (line 401) | CommandExtensionsSetStorageItems = exten...
constant CommandFedCmEnable (line 402) | CommandFedCmEnable = fedcm...
constant CommandFedCmDisable (line 403) | CommandFedCmDisable = fedcm...
constant CommandFedCmSelectAccount (line 404) | CommandFedCmSelectAccount = fedcm...
constant CommandFedCmClickDialogButton (line 405) | CommandFedCmClickDialogButton = fedcm...
constant CommandFedCmOpenURL (line 406) | CommandFedCmOpenURL = fedcm...
constant CommandFedCmDismissDialog (line 407) | CommandFedCmDismissDialog = fedcm...
constant CommandFedCmResetCooldown (line 408) | CommandFedCmResetCooldown = fedcm...
constant EventFedCmDialogShown (line 409) | EventFedCmDialogShown = "FedC...
constant EventFedCmDialogClosed (line 410) | EventFedCmDialogClosed = "FedC...
constant CommandFetchDisable (line 411) | CommandFetchDisable = fetch...
constant CommandFetchEnable (line 412) | CommandFetchEnable = fetch...
constant CommandFetchFailRequest (line 413) | CommandFetchFailRequest = fetch...
constant CommandFetchFulfillRequest (line 414) | CommandFetchFulfillRequest = fetch...
constant CommandFetchContinueRequest (line 415) | CommandFetchContinueRequest = fetch...
constant CommandFetchContinueWithAuth (line 416) | CommandFetchContinueWithAuth = fetch...
constant CommandFetchContinueResponse (line 417) | CommandFetchContinueResponse = fetch...
constant CommandFetchGetResponseBody (line 418) | CommandFetchGetResponseBody = fetch...
constant CommandFetchTakeResponseBodyAsStream (line 419) | CommandFetchTakeResponseBodyAsStream = fetch...
constant EventFetchRequestPaused (line 420) | EventFetchRequestPaused = "Fetc...
constant EventFetchAuthRequired (line 421) | EventFetchAuthRequired = "Fetc...
constant CommandFileSystemGetDirectory (line 422) | CommandFileSystemGetDirectory = files...
constant CommandHeadlessExperimentalBeginFrame (line 423) | CommandHeadlessExperimentalBeginFrame = headl...
constant CommandHeapProfilerAddInspectedHeapObject (line 424) | CommandHeapProfilerAddInspectedHeapObject = heapp...
constant CommandHeapProfilerCollectGarbage (line 425) | CommandHeapProfilerCollectGarbage = heapp...
constant CommandHeapProfilerDisable (line 426) | CommandHeapProfilerDisable = heapp...
constant CommandHeapProfilerEnable (line 427) | CommandHeapProfilerEnable = heapp...
constant CommandHeapProfilerGetHeapObjectID (line 428) | CommandHeapProfilerGetHeapObjectID = heapp...
constant CommandHeapProfilerGetObjectByHeapObjectID (line 429) | CommandHeapProfilerGetObjectByHeapObjectID = heapp...
constant CommandHeapProfilerGetSamplingProfile (line 430) | CommandHeapProfilerGetSamplingProfile = heapp...
constant CommandHeapProfilerStartSampling (line 431) | CommandHeapProfilerStartSampling = heapp...
constant CommandHeapProfilerStartTrackingHeapObjects (line 432) | CommandHeapProfilerStartTrackingHeapObjects = heapp...
constant CommandHeapProfilerStopSampling (line 433) | CommandHeapProfilerStopSampling = heapp...
constant CommandHeapProfilerStopTrackingHeapObjects (line 434) | CommandHeapProfilerStopTrackingHeapObjects = heapp...
constant CommandHeapProfilerTakeHeapSnapshot (line 435) | CommandHeapProfilerTakeHeapSnapshot = heapp...
constant EventHeapProfilerAddHeapSnapshotChunk (line 436) | EventHeapProfilerAddHeapSnapshotChunk = "Heap...
constant EventHeapProfilerHeapStatsUpdate (line 437) | EventHeapProfilerHeapStatsUpdate = "Heap...
constant EventHeapProfilerLastSeenObjectID (line 438) | EventHeapProfilerLastSeenObjectID = "Heap...
constant EventHeapProfilerReportHeapSnapshotProgress (line 439) | EventHeapProfilerReportHeapSnapshotProgress = "Heap...
constant EventHeapProfilerResetProfiles (line 440) | EventHeapProfilerResetProfiles = "Heap...
constant CommandIOClose (line 441) | CommandIOClose = io.Co...
constant CommandIORead (line 442) | CommandIORead = io.Co...
constant CommandIOResolveBlob (line 443) | CommandIOResolveBlob = io.Co...
constant CommandIndexedDBClearObjectStore (line 444) | CommandIndexedDBClearObjectStore = index...
constant CommandIndexedDBDeleteDatabase (line 445) | CommandIndexedDBDeleteDatabase = index...
constant CommandIndexedDBDeleteObjectStoreEntries (line 446) | CommandIndexedDBDeleteObjectStoreEntries = index...
constant CommandIndexedDBDisable (line 447) | CommandIndexedDBDisable = index...
constant CommandIndexedDBEnable (line 448) | CommandIndexedDBEnable = index...
constant CommandIndexedDBRequestData (line 449) | CommandIndexedDBRequestData = index...
constant CommandIndexedDBGetMetadata (line 450) | CommandIndexedDBGetMetadata = index...
constant CommandIndexedDBRequestDatabase (line 451) | CommandIndexedDBRequestDatabase = index...
constant CommandIndexedDBRequestDatabaseNames (line 452) | CommandIndexedDBRequestDatabaseNames = index...
constant CommandInputDispatchDragEvent (line 453) | CommandInputDispatchDragEvent = input...
constant CommandInputDispatchKeyEvent (line 454) | CommandInputDispatchKeyEvent = input...
constant CommandInputInsertText (line 455) | CommandInputInsertText = input...
constant CommandInputImeSetComposition (line 456) | CommandInputImeSetComposition = input...
constant CommandInputDispatchMouseEvent (line 457) | CommandInputDispatchMouseEvent = input...
constant CommandInputDispatchTouchEvent (line 458) | CommandInputDispatchTouchEvent = input...
constant CommandInputCancelDragging (line 459) | CommandInputCancelDragging = input...
constant CommandInputEmulateTouchFromMouseEvent (line 460) | CommandInputEmulateTouchFromMouseEvent = input...
constant CommandInputSetIgnoreInputEvents (line 461) | CommandInputSetIgnoreInputEvents = input...
constant CommandInputSetInterceptDrags (line 462) | CommandInputSetInterceptDrags = input...
constant CommandInputSynthesizePinchGesture (line 463) | CommandInputSynthesizePinchGesture = input...
constant CommandInputSynthesizeScrollGesture (line 464) | CommandInputSynthesizeScrollGesture = input...
constant CommandInputSynthesizeTapGesture (line 465) | CommandInputSynthesizeTapGesture = input...
constant EventInputDragIntercepted (line 466) | EventInputDragIntercepted = "Inpu...
constant CommandInspectorDisable (line 467) | CommandInspectorDisable = inspe...
constant CommandInspectorEnable (line 468) | CommandInspectorEnable = inspe...
constant EventInspectorDetached (line 469) | EventInspectorDetached = "Insp...
constant EventInspectorTargetCrashed (line 470) | EventInspectorTargetCrashed = "Insp...
constant EventInspectorTargetReloadedAfterCrash (line 471) | EventInspectorTargetReloadedAfterCrash = "Insp...
constant CommandLayerTreeCompositingReasons (line 472) | CommandLayerTreeCompositingReasons = layer...
constant CommandLayerTreeDisable (line 473) | CommandLayerTreeDisable = layer...
constant CommandLayerTreeEnable (line 474) | CommandLayerTreeEnable = layer...
constant CommandLayerTreeLoadSnapshot (line 475) | CommandLayerTreeLoadSnapshot = layer...
constant CommandLayerTreeMakeSnapshot (line 476) | CommandLayerTreeMakeSnapshot = layer...
constant CommandLayerTreeProfileSnapshot (line 477) | CommandLayerTreeProfileSnapshot = layer...
constant CommandLayerTreeReleaseSnapshot (line 478) | CommandLayerTreeReleaseSnapshot = layer...
constant CommandLayerTreeReplaySnapshot (line 479) | CommandLayerTreeReplaySnapshot = layer...
constant CommandLayerTreeSnapshotCommandLog (line 480) | CommandLayerTreeSnapshotCommandLog = layer...
constant EventLayerTreeLayerPainted (line 481) | EventLayerTreeLayerPainted = "Laye...
constant EventLayerTreeLayerTreeDidChange (line 482) | EventLayerTreeLayerTreeDidChange = "Laye...
constant CommandLogClear (line 483) | CommandLogClear = log.C...
constant CommandLogDisable (line 484) | CommandLogDisable = log.C...
constant CommandLogEnable (line 485) | CommandLogEnable = log.C...
constant CommandLogStartViolationsReport (line 486) | CommandLogStartViolationsReport = log.C...
constant CommandLogStopViolationsReport (line 487) | CommandLogStopViolationsReport = log.C...
constant EventLogEntryAdded (line 488) | EventLogEntryAdded = "Log....
constant CommandMediaEnable (line 489) | CommandMediaEnable = media...
constant CommandMediaDisable (line 490) | CommandMediaDisable = media...
constant EventMediaPlayerPropertiesChanged (line 491) | EventMediaPlayerPropertiesChanged = "Medi...
constant EventMediaPlayerEventsAdded (line 492) | EventMediaPlayerEventsAdded = "Medi...
constant EventMediaPlayerMessagesLogged (line 493) | EventMediaPlayerMessagesLogged = "Medi...
constant EventMediaPlayerErrorsRaised (line 494) | EventMediaPlayerErrorsRaised = "Medi...
constant EventMediaPlayersCreated (line 495) | EventMediaPlayersCreated = "Medi...
constant CommandMemoryGetDOMCounters (line 496) | CommandMemoryGetDOMCounters = memor...
constant CommandMemoryGetDOMCountersForLeakDetection (line 497) | CommandMemoryGetDOMCountersForLeakDetection = memor...
constant CommandMemoryPrepareForLeakDetection (line 498) | CommandMemoryPrepareForLeakDetection = memor...
constant CommandMemoryForciblyPurgeJavaScriptMemory (line 499) | CommandMemoryForciblyPurgeJavaScriptMemory = memor...
constant CommandMemorySetPressureNotificationsSuppressed (line 500) | CommandMemorySetPressureNotificationsSuppressed = memor...
constant CommandMemorySimulatePressureNotification (line 501) | CommandMemorySimulatePressureNotification = memor...
constant CommandMemoryStartSampling (line 502) | CommandMemoryStartSampling = memor...
constant CommandMemoryStopSampling (line 503) | CommandMemoryStopSampling = memor...
constant CommandMemoryGetAllTimeSamplingProfile (line 504) | CommandMemoryGetAllTimeSamplingProfile = memor...
constant CommandMemoryGetBrowserSamplingProfile (line 505) | CommandMemoryGetBrowserSamplingProfile = memor...
constant CommandMemoryGetSamplingProfile (line 506) | CommandMemoryGetSamplingProfile = memor...
constant CommandNetworkSetAcceptedEncodings (line 507) | CommandNetworkSetAcceptedEncodings = netwo...
constant CommandNetworkClearAcceptedEncodingsOverride (line 508) | CommandNetworkClearAcceptedEncodingsOverride = netwo...
constant CommandNetworkClearBrowserCache (line 509) | CommandNetworkClearBrowserCache = netwo...
constant CommandNetworkClearBrowserCookies (line 510) | CommandNetworkClearBrowserCookies = netwo...
constant CommandNetworkDeleteCookies (line 511) | CommandNetworkDeleteCookies = netwo...
constant CommandNetworkDisable (line 512) | CommandNetworkDisable = netwo...
constant CommandNetworkEmulateNetworkConditions (line 513) | CommandNetworkEmulateNetworkConditions = netwo...
constant CommandNetworkEnable (line 514) | CommandNetworkEnable = netwo...
constant CommandNetworkGetCertificate (line 515) | CommandNetworkGetCertificate = netwo...
constant CommandNetworkGetCookies (line 516) | CommandNetworkGetCookies = netwo...
constant CommandNetworkGetResponseBody (line 517) | CommandNetworkGetResponseBody = netwo...
constant CommandNetworkGetRequestPostData (line 518) | CommandNetworkGetRequestPostData = netwo...
constant CommandNetworkGetResponseBodyForInterception (line 519) | CommandNetworkGetResponseBodyForInterception = netwo...
constant CommandNetworkTakeResponseBodyForInterceptionAsStream (line 520) | CommandNetworkTakeResponseBodyForInterceptionAsStream = netwo...
constant CommandNetworkReplayXHR (line 521) | CommandNetworkReplayXHR = netwo...
constant CommandNetworkSearchInResponseBody (line 522) | CommandNetworkSearchInResponseBody = netwo...
constant CommandNetworkSetBlockedURLs (line 523) | CommandNetworkSetBlockedURLs = netwo...
constant CommandNetworkSetBypassServiceWorker (line 524) | CommandNetworkSetBypassServiceWorker = netwo...
constant CommandNetworkSetCacheDisabled (line 525) | CommandNetworkSetCacheDisabled = netwo...
constant CommandNetworkSetCookie (line 526) | CommandNetworkSetCookie = netwo...
constant CommandNetworkSetCookies (line 527) | CommandNetworkSetCookies = netwo...
constant CommandNetworkSetExtraHTTPHeaders (line 528) | CommandNetworkSetExtraHTTPHeaders = netwo...
constant CommandNetworkSetAttachDebugStack (line 529) | CommandNetworkSetAttachDebugStack = netwo...
constant CommandNetworkStreamResourceContent (line 530) | CommandNetworkStreamResourceContent = netwo...
constant CommandNetworkGetSecurityIsolationStatus (line 531) | CommandNetworkGetSecurityIsolationStatus = netwo...
constant CommandNetworkEnableReportingAPI (line 532) | CommandNetworkEnableReportingAPI = netwo...
constant CommandNetworkLoadNetworkResource (line 533) | CommandNetworkLoadNetworkResource = netwo...
constant CommandNetworkSetCookieControls (line 534) | CommandNetworkSetCookieControls = netwo...
constant EventNetworkDataReceived (line 535) | EventNetworkDataReceived = "Netw...
constant EventNetworkEventSourceMessageReceived (line 536) | EventNetworkEventSourceMessageReceived = "Netw...
constant EventNetworkLoadingFailed (line 537) | EventNetworkLoadingFailed = "Netw...
constant EventNetworkLoadingFinished (line 538) | EventNetworkLoadingFinished = "Netw...
constant EventNetworkRequestServedFromCache (line 539) | EventNetworkRequestServedFromCache = "Netw...
constant EventNetworkRequestWillBeSent (line 540) | EventNetworkRequestWillBeSent = "Netw...
constant EventNetworkResourceChangedPriority (line 541) | EventNetworkResourceChangedPriority = "Netw...
constant EventNetworkSignedExchangeReceived (line 542) | EventNetworkSignedExchangeReceived = "Netw...
constant EventNetworkResponseReceived (line 543) | EventNetworkResponseReceived = "Netw...
constant EventNetworkWebSocketClosed (line 544) | EventNetworkWebSocketClosed = "Netw...
constant EventNetworkWebSocketCreated (line 545) | EventNetworkWebSocketCreated = "Netw...
constant EventNetworkWebSocketFrameError (line 546) | EventNetworkWebSocketFrameError = "Netw...
constant EventNetworkWebSocketFrameReceived (line 547) | EventNetworkWebSocketFrameReceived = "Netw...
constant EventNetworkWebSocketFrameSent (line 548) | EventNetworkWebSocketFrameSent = "Netw...
constant EventNetworkWebSocketHandshakeResponseReceived (line 549) | EventNetworkWebSocketHandshakeResponseReceived = "Netw...
constant EventNetworkWebSocketWillSendHandshakeRequest (line 550) | EventNetworkWebSocketWillSendHandshakeRequest = "Netw...
constant EventNetworkWebTransportCreated (line 551) | EventNetworkWebTransportCreated = "Netw...
constant EventNetworkWebTransportConnectionEstablished (line 552) | EventNetworkWebTransportConnectionEstablished = "Netw...
constant EventNetworkWebTransportClosed (line 553) | EventNetworkWebTransportClosed = "Netw...
constant EventNetworkDirectTCPSocketCreated (line 554) | EventNetworkDirectTCPSocketCreated = "Netw...
constant EventNetworkDirectTCPSocketOpened (line 555) | EventNetworkDirectTCPSocketOpened = "Netw...
constant EventNetworkDirectTCPSocketAborted (line 556) | EventNetworkDirectTCPSocketAborted = "Netw...
constant EventNetworkDirectTCPSocketClosed (line 557) | EventNetworkDirectTCPSocketClosed = "Netw...
constant EventNetworkDirectTCPSocketChunkSent (line 558) | EventNetworkDirectTCPSocketChunkSent = "Netw...
constant EventNetworkDirectTCPSocketChunkReceived (line 559) | EventNetworkDirectTCPSocketChunkReceived = "Netw...
constant EventNetworkDirectUDPSocketCreated (line 560) | EventNetworkDirectUDPSocketCreated = "Netw...
constant EventNetworkDirectUDPSocketOpened (line 561) | EventNetworkDirectUDPSocketOpened = "Netw...
constant EventNetworkDirectUDPSocketAborted (line 562) | EventNetworkDirectUDPSocketAborted = "Netw...
constant EventNetworkDirectUDPSocketClosed (line 563) | EventNetworkDirectUDPSocketClosed = "Netw...
constant EventNetworkDirectUDPSocketChunkSent (line 564) | EventNetworkDirectUDPSocketChunkSent = "Netw...
constant EventNetworkDirectUDPSocketChunkReceived (line 565) | EventNetworkDirectUDPSocketChunkReceived = "Netw...
constant EventNetworkRequestWillBeSentExtraInfo (line 566) | EventNetworkRequestWillBeSentExtraInfo = "Netw...
constant EventNetworkResponseReceivedExtraInfo (line 567) | EventNetworkResponseReceivedExtraInfo = "Netw...
constant EventNetworkResponseReceivedEarlyHints (line 568) | EventNetworkResponseReceivedEarlyHints = "Netw...
constant EventNetworkTrustTokenOperationDone (line 569) | EventNetworkTrustTokenOperationDone = "Netw...
constant EventNetworkPolicyUpdated (line 570) | EventNetworkPolicyUpdated = "Netw...
constant EventNetworkSubresourceWebBundleMetadataReceived (line 571) | EventNetworkSubresourceWebBundleMetadataReceived = "Netw...
constant EventNetworkSubresourceWebBundleMetadataError (line 572) | EventNetworkSubresourceWebBundleMetadataError = "Netw...
constant EventNetworkSubresourceWebBundleInnerResponseParsed (line 573) | EventNetworkSubresourceWebBundleInnerResponseParsed = "Netw...
constant EventNetworkSubresourceWebBundleInnerResponseError (line 574) | EventNetworkSubresourceWebBundleInnerResponseError = "Netw...
constant EventNetworkReportingAPIReportAdded (line 575) | EventNetworkReportingAPIReportAdded = "Netw...
constant EventNetworkReportingAPIReportUpdated (line 576) | EventNetworkReportingAPIReportUpdated = "Netw...
constant EventNetworkReportingAPIEndpointsChangedForOrigin (line 577) | EventNetworkReportingAPIEndpointsChangedForOrigin = "Netw...
constant CommandOverlayDisable (line 578) | CommandOverlayDisable = overl...
constant CommandOverlayEnable (line 579) | CommandOverlayEnable = overl...
constant CommandOverlayGetHighlightObjectForTest (line 580) | CommandOverlayGetHighlightObjectForTest = overl...
constant CommandOverlayGetGridHighlightObjectsForTest (line 581) | CommandOverlayGetGridHighlightObjectsForTest = overl...
constant CommandOverlayGetSourceOrderHighlightObjectForTest (line 582) | CommandOverlayGetSourceOrderHighlightObjectForTest = overl...
constant CommandOverlayHideHighlight (line 583) | CommandOverlayHideHighlight = overl...
constant CommandOverlayHighlightNode (line 584) | CommandOverlayHighlightNode = overl...
constant CommandOverlayHighlightQuad (line 585) | CommandOverlayHighlightQuad = overl...
constant CommandOverlayHighlightRect (line 586) | CommandOverlayHighlightRect = overl...
constant CommandOverlayHighlightSourceOrder (line 587) | CommandOverlayHighlightSourceOrder = overl...
constant CommandOverlaySetInspectMode (line 588) | CommandOverlaySetInspectMode = overl...
constant CommandOverlaySetShowAdHighlights (line 589) | CommandOverlaySetShowAdHighlights = overl...
constant CommandOverlaySetPausedInDebuggerMessage (line 590) | CommandOverlaySetPausedInDebuggerMessage = overl...
constant CommandOverlaySetShowDebugBorders (line 591) | CommandOverlaySetShowDebugBorders = overl...
constant CommandOverlaySetShowFPSCounter (line 592) | CommandOverlaySetShowFPSCounter = overl...
constant CommandOverlaySetShowGridOverlays (line 593) | CommandOverlaySetShowGridOverlays = overl...
constant CommandOverlaySetShowFlexOverlays (line 594) | CommandOverlaySetShowFlexOverlays = overl...
constant CommandOverlaySetShowScrollSnapOverlays (line 595) | CommandOverlaySetShowScrollSnapOverlays = overl...
constant CommandOverlaySetShowContainerQueryOverlays (line 596) | CommandOverlaySetShowContainerQueryOverlays = overl...
constant CommandOverlaySetShowPaintRects (line 597) | CommandOverlaySetShowPaintRects = overl...
constant CommandOverlaySetShowLayoutShiftRegions (line 598) | CommandOverlaySetShowLayoutShiftRegions = overl...
constant CommandOverlaySetShowScrollBottleneckRects (line 599) | CommandOverlaySetShowScrollBottleneckRects = overl...
constant CommandOverlaySetShowViewportSizeOnResize (line 600) | CommandOverlaySetShowViewportSizeOnResize = overl...
constant CommandOverlaySetShowHinge (line 601) | CommandOverlaySetShowHinge = overl...
constant CommandOverlaySetShowIsolatedElements (line 602) | CommandOverlaySetShowIsolatedElements = overl...
constant CommandOverlaySetShowWindowControlsOverlay (line 603) | CommandOverlaySetShowWindowControlsOverlay = overl...
constant EventOverlayInspectNodeRequested (line 604) | EventOverlayInspectNodeRequested = "Over...
constant EventOverlayNodeHighlightRequested (line 605) | EventOverlayNodeHighlightRequested = "Over...
constant EventOverlayScreenshotRequested (line 606) | EventOverlayScreenshotRequested = "Over...
constant EventOverlayInspectModeCanceled (line 607) | EventOverlayInspectModeCanceled = "Over...
constant CommandPWAGetOsAppState (line 608) | CommandPWAGetOsAppState = pwa.C...
constant CommandPWAInstall (line 609) | CommandPWAInstall = pwa.C...
constant CommandPWAUninstall (line 610) | CommandPWAUninstall = pwa.C...
constant CommandPWALaunch (line 611) | CommandPWALaunch = pwa.C...
constant CommandPWALaunchFilesInApp (line 612) | CommandPWALaunchFilesInApp = pwa.C...
constant CommandPWAOpenCurrentPageInApp (line 613) | CommandPWAOpenCurrentPageInApp = pwa.C...
constant CommandPWAChangeAppUserSettings (line 614) | CommandPWAChangeAppUserSettings = pwa.C...
constant CommandPageAddScriptToEvaluateOnNewDocument (line 615) | CommandPageAddScriptToEvaluateOnNewDocument = page....
constant CommandPageBringToFront (line 616) | CommandPageBringToFront = page....
constant CommandPageCaptureScreenshot (line 617) | CommandPageCaptureScreenshot = page....
constant CommandPageCaptureSnapshot (line 618) | CommandPageCaptureSnapshot = page....
constant CommandPageCreateIsolatedWorld (line 619) | CommandPageCreateIsolatedWorld = page....
constant CommandPageDisable (line 620) | CommandPageDisable = page....
constant CommandPageEnable (line 621) | CommandPageEnable = page....
constant CommandPageGetAppManifest (line 622) | CommandPageGetAppManifest = page....
constant CommandPageGetInstallabilityErrors (line 623) | CommandPageGetInstallabilityErrors = page....
constant CommandPageGetAppID (line 624) | CommandPageGetAppID = page....
constant CommandPageGetAdScriptAncestry (line 625) | CommandPageGetAdScriptAncestry = page....
constant CommandPageGetFrameTree (line 626) | CommandPageGetFrameTree = page....
constant CommandPageGetLayoutMetrics (line 627) | CommandPageGetLayoutMetrics = page....
constant CommandPageGetNavigationHistory (line 628) | CommandPageGetNavigationHistory = page....
constant CommandPageResetNavigationHistory (line 629) | CommandPageResetNavigationHistory = page....
constant CommandPageGetResourceContent (line 630) | CommandPageGetResourceContent = page....
constant CommandPageGetResourceTree (line 631) | CommandPageGetResourceTree = page....
constant CommandPageHandleJavaScriptDialog (line 632) | CommandPageHandleJavaScriptDialog = page....
constant CommandPageNavigate (line 633) | CommandPageNavigate = page....
constant CommandPageNavigateToHistoryEntry (line 634) | CommandPageNavigateToHistoryEntry = page....
constant CommandPagePrintToPDF (line 635) | CommandPagePrintToPDF = page....
constant CommandPageReload (line 636) | CommandPageReload = page....
constant CommandPageRemoveScriptToEvaluateOnNewDocument (line 637) | CommandPageRemoveScriptToEvaluateOnNewDocument = page....
constant CommandPageScreencastFrameAck (line 638) | CommandPageScreencastFrameAck = page....
constant CommandPageSearchInResource (line 639) | CommandPageSearchInResource = page....
constant CommandPageSetAdBlockingEnabled (line 640) | CommandPageSetAdBlockingEnabled = page....
constant CommandPageSetBypassCSP (line 641) | CommandPageSetBypassCSP = page....
constant CommandPageGetPermissionsPolicyState (line 642) | CommandPageGetPermissionsPolicyState = page....
constant CommandPageGetOriginTrials (line 643) | CommandPageGetOriginTrials = page....
constant CommandPageSetFontFamilies (line 644) | CommandPageSetFontFamilies = page....
constant CommandPageSetFontSizes (line 645) | CommandPageSetFontSizes = page....
constant CommandPageSetDocumentContent (line 646) | CommandPageSetDocumentContent = page....
constant CommandPageSetLifecycleEventsEnabled (line 647) | CommandPageSetLifecycleEventsEnabled = page....
constant CommandPageStartScreencast (line 648) | CommandPageStartScreencast = page....
constant CommandPageStopLoading (line 649) | CommandPageStopLoading = page....
constant CommandPageCrash (line 650) | CommandPageCrash = page....
constant CommandPageClose (line 651) | CommandPageClose = page....
constant CommandPageSetWebLifecycleState (line 652) | CommandPageSetWebLifecycleState = page....
constant CommandPageStopScreencast (line 653) | CommandPageStopScreencast = page....
constant CommandPageProduceCompilationCache (line 654) | CommandPageProduceCompilationCache = page....
constant CommandPageAddCompilationCache (line 655) | CommandPageAddCompilationCache = page....
constant CommandPageClearCompilationCache (line 656) | CommandPageClearCompilationCache = page....
constant CommandPageSetSPCTransactionMode (line 657) | CommandPageSetSPCTransactionMode = page....
constant CommandPageSetRPHRegistrationMode (line 658) | CommandPageSetRPHRegistrationMode = page....
constant CommandPageGenerateTestReport (line 659) | CommandPageGenerateTestReport = page....
constant CommandPageWaitForDebugger (line 660) | CommandPageWaitForDebugger = page....
constant CommandPageSetInterceptFileChooserDialog (line 661) | CommandPageSetInterceptFileChooserDialog = page....
constant CommandPageSetPrerenderingAllowed (line 662) | CommandPageSetPrerenderingAllowed = page....
constant EventPageDomContentEventFired (line 663) | EventPageDomContentEventFired = "Page...
constant EventPageFileChooserOpened (line 664) | EventPageFileChooserOpened = "Page...
constant EventPageFrameAttached (line 665) | EventPageFrameAttached = "Page...
constant EventPageFrameDetached (line 666) | EventPageFrameDetached = "Page...
constant EventPageFrameSubtreeWillBeDetached (line 667) | EventPageFrameSubtreeWillBeDetached = "Page...
constant EventPageFrameNavigated (line 668) | EventPageFrameNavigated = "Page...
constant EventPageDocumentOpened (line 669) | EventPageDocumentOpened = "Page...
constant EventPageFrameResized (line 670) | EventPageFrameResized = "Page...
constant EventPageFrameStartedNavigating (line 671) | EventPageFrameStartedNavigating = "Page...
constant EventPageFrameRequestedNavigation (line 672) | EventPageFrameRequestedNavigation = "Page...
constant EventPageFrameStartedLoading (line 673) | EventPageFrameStartedLoading = "Page...
constant EventPageFrameStoppedLoading (line 674) | EventPageFrameStoppedLoading = "Page...
constant EventPageInterstitialHidden (line 675) | EventPageInterstitialHidden = "Page...
constant EventPageInterstitialShown (line 676) | EventPageInterstitialShown = "Page...
constant EventPageJavascriptDialogClosed (line 677) | EventPageJavascriptDialogClosed = "Page...
constant EventPageJavascriptDialogOpening (line 678) | EventPageJavascriptDialogOpening = "Page...
constant EventPageLifecycleEvent (line 679) | EventPageLifecycleEvent = "Page...
constant EventPageBackForwardCacheNotUsed (line 680) | EventPageBackForwardCacheNotUsed = "Page...
constant EventPageLoadEventFired (line 681) | EventPageLoadEventFired = "Page...
constant EventPageNavigatedWithinDocument (line 682) | EventPageNavigatedWithinDocument = "Page...
constant EventPageScreencastFrame (line 683) | EventPageScreencastFrame = "Page...
constant EventPageScreencastVisibilityChanged (line 684) | EventPageScreencastVisibilityChanged = "Page...
constant EventPageWindowOpen (line 685) | EventPageWindowOpen = "Page...
constant EventPageCompilationCacheProduced (line 686) | EventPageCompilationCacheProduced = "Page...
constant CommandPerformanceDisable (line 687) | CommandPerformanceDisable = perfo...
constant CommandPerformanceEnable (line 688) | CommandPerformanceEnable = perfo...
constant CommandPerformanceGetMetrics (line 689) | CommandPerformanceGetMetrics = perfo...
constant EventPerformanceMetrics (line 690) | EventPerformanceMetrics = "Perf...
constant CommandPerformanceTimelineEnable (line 691) | CommandPerformanceTimelineEnable = perfo...
constant EventPerformanceTimelineTimelineEventAdded (line 692) | EventPerformanceTimelineTimelineEventAdded = "Perf...
constant CommandPreloadEnable (line 693) | CommandPreloadEnable = prelo...
constant CommandPreloadDisable (line 694) | CommandPreloadDisable = prelo...
constant EventPreloadRuleSetUpdated (line 695) | EventPreloadRuleSetUpdated = "Prel...
constant EventPreloadRuleSetRemoved (line 696) | EventPreloadRuleSetRemoved = "Prel...
constant EventPreloadPreloadEnabledStateUpdated (line 697) | EventPreloadPreloadEnabledStateUpdated = "Prel...
constant EventPreloadPrefetchStatusUpdated (line 698) | EventPreloadPrefetchStatusUpdated = "Prel...
constant EventPreloadPrerenderStatusUpdated (line 699) | EventPreloadPrerenderStatusUpdated = "Prel...
constant EventPreloadPreloadingAttemptSourcesUpdated (line 700) | EventPreloadPreloadingAttemptSourcesUpdated = "Prel...
constant CommandProfilerDisable (line 701) | CommandProfilerDisable = profi...
constant CommandProfilerEnable (line 702) | CommandProfilerEnable = profi...
constant CommandProfilerGetBestEffortCoverage (line 703) | CommandProfilerGetBestEffortCoverage = profi...
constant CommandProfilerSetSamplingInterval (line 704) | CommandProfilerSetSamplingInterval = profi...
constant CommandProfilerStart (line 705) | CommandProfilerStart = profi...
constant CommandProfilerStartPreciseCoverage (line 706) | CommandProfilerStartPreciseCoverage = profi...
constant CommandProfilerStop (line 707) | CommandProfilerStop = profi...
constant CommandProfilerStopPreciseCoverage (line 708) | CommandProfilerStopPreciseCoverage = profi...
constant CommandProfilerTakePreciseCoverage (line 709) | CommandProfilerTakePreciseCoverage = profi...
constant EventProfilerConsoleProfileFinished (line 710) | EventProfilerConsoleProfileFinished = "Prof...
constant EventProfilerConsoleProfileStarted (line 711) | EventProfilerConsoleProfileStarted = "Prof...
constant EventProfilerPreciseCoverageDeltaUpdate (line 712) | EventProfilerPreciseCoverageDeltaUpdate = "Prof...
constant CommandRuntimeAwaitPromise (line 713) | CommandRuntimeAwaitPromise = runti...
constant CommandRuntimeCallFunctionOn (line 714) | CommandRuntimeCallFunctionOn = runti...
constant CommandRuntimeCompileScript (line 715) | CommandRuntimeCompileScript = runti...
constant CommandRuntimeDisable (line 716) | CommandRuntimeDisable = runti...
constant CommandRuntimeDiscardConsoleEntries (line 717) | CommandRuntimeDiscardConsoleEntries = runti...
constant CommandRuntimeEnable (line 718) | CommandRuntimeEnable = runti...
constant CommandRuntimeEvaluate (line 719) | CommandRuntimeEvaluate = runti...
constant CommandRuntimeGetIsolateID (line 720) | CommandRuntimeGetIsolateID = runti...
constant CommandRuntimeGetHeapUsage (line 721) | CommandRuntimeGetHeapUsage = runti...
constant CommandRuntimeGetProperties (line 722) | CommandRuntimeGetProperties = runti...
constant CommandRuntimeGlobalLexicalScopeNames (line 723) | CommandRuntimeGlobalLexicalScopeNames = runti...
constant CommandRuntimeQueryObjects (line 724) | CommandRuntimeQueryObjects = runti...
constant CommandRuntimeReleaseObject (line 725) | CommandRuntimeReleaseObject = runti...
constant CommandRuntimeReleaseObjectGroup (line 726) | CommandRuntimeReleaseObjectGroup = runti...
constant CommandRuntimeRunIfWaitingForDebugger (line 727) | CommandRuntimeRunIfWaitingForDebugger = runti...
constant CommandRuntimeRunScript (line 728) | CommandRuntimeRunScript = runti...
constant CommandRuntimeSetCustomObjectFormatterEnabled (line 729) | CommandRuntimeSetCustomObjectFormatterEnabled = runti...
constant CommandRuntimeSetMaxCallStackSizeToCapture (line 730) | CommandRuntimeSetMaxCallStackSizeToCapture = runti...
constant CommandRuntimeTerminateExecution (line 731) | CommandRuntimeTerminateExecution = runti...
constant CommandRuntimeAddBinding (line 732) | CommandRuntimeAddBinding = runti...
constant CommandRuntimeRemoveBinding (line 733) | CommandRuntimeRemoveBinding = runti...
constant CommandRuntimeGetExceptionDetails (line 734) | CommandRuntimeGetExceptionDetails = runti...
constant EventRuntimeBindingCalled (line 735) | EventRuntimeBindingCalled = "Runt...
constant EventRuntimeConsoleAPICalled (line 736) | EventRuntimeConsoleAPICalled = "Runt...
constant EventRuntimeExceptionRevoked (line 737) | EventRuntimeExceptionRevoked = "Runt...
constant EventRuntimeExceptionThrown (line 738) | EventRuntimeExceptionThrown = "Runt...
constant EventRuntimeExecutionContextCreated (line 739) | EventRuntimeExecutionContextCreated = "Runt...
constant EventRuntimeExecutionContextDestroyed (line 740) | EventRuntimeExecutionContextDestroyed = "Runt...
constant EventRuntimeExecutionContextsCleared (line 741) | EventRuntimeExecutionContextsCleared = "Runt...
constant EventRuntimeInspectRequested (line 742) | EventRuntimeInspectRequested = "Runt...
constant CommandSecurityDisable (line 743) | CommandSecurityDisable = secur...
constant CommandSecurityEnable (line 744) | CommandSecurityEnable = secur...
constant CommandSecuritySetIgnoreCertificateErrors (line 745) | CommandSecuritySetIgnoreCertificateErrors = secur...
constant EventSecurityVisibleSecurityStateChanged (line 746) | EventSecurityVisibleSecurityStateChanged = "Secu...
constant CommandServiceWorkerDeliverPushMessage (line 747) | CommandServiceWorkerDeliverPushMessage = servi...
constant CommandServiceWorkerDisable (line 748) | CommandServiceWorkerDisable = servi...
constant CommandServiceWorkerDispatchSyncEvent (line 749) | CommandServiceWorkerDispatchSyncEvent = servi...
constant CommandServiceWorkerDispatchPeriodicSyncEvent (line 750) | CommandServiceWorkerDispatchPeriodicSyncEvent = servi...
constant CommandServiceWorkerEnable (line 751) | CommandServiceWorkerEnable = servi...
constant CommandServiceWorkerSetForceUpdateOnPageLoad (line 752) | CommandServiceWorkerSetForceUpdateOnPageLoad = servi...
constant CommandServiceWorkerSkipWaiting (line 753) | CommandServiceWorkerSkipWaiting = servi...
constant CommandServiceWorkerStartWorker (line 754) | CommandServiceWorkerStartWorker = servi...
constant CommandServiceWorkerStopAllWorkers (line 755) | CommandServiceWorkerStopAllWorkers = servi...
constant CommandServiceWorkerStopWorker (line 756) | CommandServiceWorkerStopWorker = servi...
constant CommandServiceWorkerUnregister (line 757) | CommandServiceWorkerUnregister = servi...
constant CommandServiceWorkerUpdateRegistration (line 758) | CommandServiceWorkerUpdateRegistration = servi...
constant EventServiceWorkerWorkerErrorReported (line 759) | EventServiceWorkerWorkerErrorReported = "Serv...
constant EventServiceWorkerWorkerRegistrationUpdated (line 760) | EventServiceWorkerWorkerRegistrationUpdated = "Serv...
constant EventServiceWorkerWorkerVersionUpdated (line 761) | EventServiceWorkerWorkerVersionUpdated = "Serv...
constant CommandStorageGetStorageKeyForFrame (line 762) | CommandStorageGetStorageKeyForFrame = stora...
constant CommandStorageClearDataForOrigin (line 763) | CommandStorageClearDataForOrigin = stora...
constant CommandStorageClearDataForStorageKey (line 764) | CommandStorageClearDataForStorageKey = stora...
constant CommandStorageGetCookies (line 765) | CommandStorageGetCookies = stora...
constant CommandStorageSetCookies (line 766) | CommandStorageSetCookies = stora...
constant CommandStorageClearCookies (line 767) | CommandStorageClearCookies = stora...
constant CommandStorageGetUsageAndQuota (line 768) | CommandStorageGetUsageAndQuota = stora...
constant CommandStorageOverrideQuotaForOrigin (line 769) | CommandStorageOverrideQuotaForOrigin = stora...
constant CommandStorageTrackCacheStorageForOrigin (line 770) | CommandStorageTrackCacheStorageForOrigin = stora...
constant CommandStorageTrackCacheStorageForStorageKey (line 771) | CommandStorageTrackCacheStorageForStorageKey = stora...
constant CommandStorageTrackIndexedDBForOrigin (line 772) | CommandStorageTrackIndexedDBForOrigin = stora...
constant CommandStorageTrackIndexedDBForStorageKey (line 773) | CommandStorageTrackIndexedDBForStorageKey = stora...
constant CommandStorageUntrackCacheStorageForOrigin (line 774) | CommandStorageUntrackCacheStorageForOrigin = stora...
constant CommandStorageUntrackCacheStorageForStorageKey (line 775) | CommandStorageUntrackCacheStorageForStorageKey = stora...
constant CommandStorageUntrackIndexedDBForOrigin (line 776) | CommandStorageUntrackIndexedDBForOrigin = stora...
constant CommandStorageUntrackIndexedDBForStorageKey (line 777) | CommandStorageUntrackIndexedDBForStorageKey = stora...
constant CommandStorageGetTrustTokens (line 778) | CommandStorageGetTrustTokens = stora...
constant CommandStorageClearTrustTokens (line 779) | CommandStorageClearTrustTokens = stora...
constant CommandStorageGetInterestGroupDetails (line 780) | CommandStorageGetInterestGroupDetails = stora...
constant CommandStorageSetInterestGroupTracking (line 781) | CommandStorageSetInterestGroupTracking = stora...
constant CommandStorageSetInterestGroupAuctionTracking (line 782) | CommandStorageSetInterestGroupAuctionTracking = stora...
constant CommandStorageGetSharedStorageMetadata (line 783) | CommandStorageGetSharedStorageMetadata = stora...
constant CommandStorageGetSharedStorageEntries (line 784) | CommandStorageGetSharedStorageEntries = stora...
constant CommandStorageSetSharedStorageEntry (line 785) | CommandStorageSetSharedStorageEntry = stora...
constant CommandStorageDeleteSharedStorageEntry (line 786) | CommandStorageDeleteSharedStorageEntry = stora...
constant CommandStorageClearSharedStorageEntries (line 787) | CommandStorageClearSharedStorageEntries = stora...
constant CommandStorageResetSharedStorageBudget (line 788) | CommandStorageResetSharedStorageBudget = stora...
constant CommandStorageSetSharedStorageTracking (line 789) | CommandStorageSetSharedStorageTracking = stora...
constant CommandStorageSetStorageBucketTracking (line 790) | CommandStorageSetStorageBucketTracking = stora...
constant CommandStorageDeleteStorageBucket (line 791) | CommandStorageDeleteStorageBucket = stora...
constant CommandStorageRunBounceTrackingMitigations (line 792) | CommandStorageRunBounceTrackingMitigations = stora...
constant CommandStorageSetAttributionReportingLocalTestingMode (line 793) | CommandStorageSetAttributionReportingLocalTestingMode = stora...
constant CommandStorageSetAttributionReportingTracking (line 794) | CommandStorageSetAttributionReportingTracking = stora...
constant CommandStorageSendPendingAttributionReports (line 795) | CommandStorageSendPendingAttributionReports = stora...
constant CommandStorageGetRelatedWebsiteSets (line 796) | CommandStorageGetRelatedWebsiteSets = stora...
constant CommandStorageGetAffectedURLsForThirdPartyCookieMetadata (line 797) | CommandStorageGetAffectedURLsForThirdPartyCookieMetadata = stora...
constant CommandStorageSetProtectedAudienceKAnonymity (line 798) | CommandStorageSetProtectedAudienceKAnonymity = stora...
constant EventStorageCacheStorageContentUpdated (line 799) | EventStorageCacheStorageContentUpdated = "Stor...
constant EventStorageCacheStorageListUpdated (line 800) | EventStorageCacheStorageListUpdated = "Stor...
constant EventStorageIndexedDBContentUpdated (line 801) | EventStorageIndexedDBContentUpdated = "Stor...
constant EventStorageIndexedDBListUpdated (line 802) | EventStorageIndexedDBListUpdated = "Stor...
constant EventStorageInterestGroupAccessed (line 803) | EventStorageInterestGroupAccessed = "Stor...
constant EventStorageInterestGroupAuctionEventOccurred (line 804) | EventStorageInterestGroupAuctionEventOccurred = "Stor...
constant EventStorageInterestGroupAuctionNetworkRequestCreated (line 805) | EventStorageInterestGroupAuctionNetworkRequestCreated = "Stor...
constant EventStorageSharedStorageAccessed (line 806) | EventStorageSharedStorageAccessed = "Stor...
constant EventStorageSharedStorageWorkletOperationExecutionFinished (line 807) | EventStorageSharedStorageWorkletOperationExecutionFinished = "Stor...
constant EventStorageStorageBucketCreatedOrUpdated (line 808) | EventStorageStorageBucketCreatedOrUpdated = "Stor...
constant EventStorageStorageBucketDeleted (line 809) | EventStorageStorageBucketDeleted = "Stor...
constant EventStorageAttributionReportingSourceRegistered (line 810) | EventStorageAttributionReportingSourceRegistered = "Stor...
constant EventStorageAttributionReportingTriggerRegistered (line 811) | EventStorageAttributionReportingTriggerRegistered = "Stor...
constant EventStorageAttributionReportingReportSent (line 812) | EventStorageAttributionReportingReportSent = "Stor...
constant EventStorageAttributionReportingVerboseDebugReportSent (line 813) | EventStorageAttributionReportingVerboseDebugReportSent = "Stor...
constant CommandSystemInfoGetInfo (line 814) | CommandSystemInfoGetInfo = syste...
constant CommandSystemInfoGetFeatureState (line 815) | CommandSystemInfoGetFeatureState = syste...
constant CommandSystemInfoGetProcessInfo (line 816) | CommandSystemInfoGetProcessInfo = syste...
constant CommandTargetActivateTarget (line 817) | CommandTargetActivateTarget = targe...
constant CommandTargetAttachToTarget (line 818) | CommandTargetAttachToTarget = targe...
constant CommandTargetAttachToBrowserTarget (line 819) | CommandTargetAttachToBrowserTarget = targe...
constant CommandTargetCloseTarget (line 820) | CommandTargetCloseTarget = targe...
constant CommandTargetExposeDevToolsProtocol (line 821) | CommandTargetExposeDevToolsProtocol = targe...
constant CommandTargetCreateBrowserContext (line 822) | CommandTargetCreateBrowserContext = targe...
constant CommandTargetGetBrowserContexts (line 823) | CommandTargetGetBrowserContexts = targe...
constant CommandTargetCreateTarget (line 824) | CommandTargetCreateTarget = targe...
constant CommandTargetDetachFromTarget (line 825) | CommandTargetDetachFromTarget = targe...
constant CommandTargetDisposeBrowserContext (line 826) | CommandTargetDisposeBrowserContext = targe...
constant CommandTargetGetTargetInfo (line 827) | CommandTargetGetTargetInfo = targe...
constant CommandTargetGetTargets (line 828) | CommandTargetGetTargets = targe...
constant CommandTargetSetAutoAttach (line 829) | CommandTargetSetAutoAttach = targe...
constant CommandTargetAutoAttachRelated (line 830) | CommandTargetAutoAttachRelated = targe...
constant CommandTargetSetDiscoverTargets (line 831) | CommandTargetSetDiscoverTargets = targe...
constant CommandTargetSetRemoteLocations (line 832) | CommandTargetSetRemoteLocations = targe...
constant CommandTargetOpenDevTools (line 833) | CommandTargetOpenDevTools = targe...
constant EventTargetAttachedToTarget (line 834) | EventTargetAttachedToTarget = "Targ...
constant EventTargetDetachedFromTarget (line 835) | EventTargetDetachedFromTarget = "Targ...
constant EventTargetReceivedMessageFromTarget (line 836) | EventTargetReceivedMessageFromTarget = "Targ...
constant EventTargetTargetCreated (line 837) | EventTargetTargetCreated = "Targ...
constant EventTargetTargetDestroyed (line 838) | EventTargetTargetDestroyed = "Targ...
constant EventTargetTargetCrashed (line 839) | EventTargetTargetCrashed = "Targ...
constant EventTargetTargetInfoChanged (line 840) | EventTargetTargetInfoChanged = "Targ...
constant CommandTetheringBind (line 841) | CommandTetheringBind = tethe...
constant CommandTetheringUnbind (line 842) | CommandTetheringUnbind = tethe...
constant EventTetheringAccepted (line 843) | EventTetheringAccepted = "Teth...
constant CommandTracingEnd (line 844) | CommandTracingEnd = traci...
constant CommandTracingGetCategories (line 845) | CommandTracingGetCategories = traci...
constant CommandTracingRecordClockSyncMarker (line 846) | CommandTracingRecordClockSyncMarker = traci...
constant CommandTracingRequestMemoryDump (line 847) | CommandTracingRequestMemoryDump = traci...
constant CommandTracingStart (line 848) | CommandTracingStart = traci...
constant EventTracingBufferUsage (line 849) | EventTracingBufferUsage = "Trac...
constant EventTracingDataCollected (line 850) | EventTracingDataCollected = "Trac...
constant EventTracingTracingComplete (line 851) | EventTracingTracingComplete = "Trac...
constant CommandWebAudioEnable (line 852) | CommandWebAudioEnable = webau...
constant CommandWebAudioDisable (line 853) | CommandWebAudioDisable = webau...
constant CommandWebAudioGetRealtimeData (line 854) | CommandWebAudioGetRealtimeData = webau...
constant EventWebAudioContextCreated (line 855) | EventWebAudioContextCreated = "WebA...
constant EventWebAudioContextWillBeDestroyed (line 856) | EventWebAudioContextWillBeDestroyed = "WebA...
constant EventWebAudioContextChanged (line 857) | EventWebAudioContextChanged = "WebA...
constant EventWebAudioAudioListenerCreated (line 858) | EventWebAudioAudioListenerCreated = "WebA...
constant EventWebAudioAudioListenerWillBeDestroyed (line 859) | EventWebAudioAudioListenerWillBeDestroyed = "WebA...
constant EventWebAudioAudioNodeCreated (line 860) | EventWebAudioAudioNodeCreated = "WebA...
constant EventWebAudioAudioNodeWillBeDestroyed (line 861) | EventWebAudioAudioNodeWillBeDestroyed = "WebA...
constant EventWebAudioAudioParamCreated (line 862) | EventWebAudioAudioParamCreated = "WebA...
constant EventWebAudioAudioParamWillBeDestroyed (line 863) | EventWebAudioAudioParamWillBeDestroyed = "WebA...
constant EventWebAudioNodesConnected (line 864) | EventWebAudioNodesConnected = "WebA...
constant EventWebAudioNodesDisconnected (line 865) | EventWebAudioNodesDisconnected = "WebA...
constant EventWebAudioNodeParamConnected (line 866) | EventWebAudioNodeParamConnected = "WebA...
constant EventWebAudioNodeParamDisconnected (line 867) | EventWebAudioNodeParamDisconnected = "WebA...
constant CommandWebAuthnEnable (line 868) | CommandWebAuthnEnable = webau...
constant CommandWebAuthnDisable (line 869) | CommandWebAuthnDisable = webau...
constant CommandWebAuthnAddVirtualAuthenticator (line 870) | CommandWebAuthnAddVirtualAuthenticator = webau...
constant CommandWebAuthnSetResponseOverrideBits (line 871) | CommandWebAuthnSetResponseOverrideBits = webau...
constant CommandWebAuthnRemoveVirtualAuthenticator (line 872) | CommandWebAuthnRemoveVirtualAuthenticator = webau...
constant CommandWebAuthnAddCredential (line 873) | CommandWebAuthnAddCredential = webau...
constant CommandWebAuthnGetCredential (line 874) | CommandWebAuthnGetCredential = webau...
constant CommandWebAuthnGetCredentials (line 875) | CommandWebAuthnGetCredentials = webau...
constant CommandWebAuthnRemoveCredential (line 876) | CommandWebAuthnRemoveCredential = webau...
constant CommandWebAuthnClearCredentials (line 877) | CommandWebAuthnClearCredentials = webau...
constant CommandWebAuthnSetUserVerified (line 878) | CommandWebAuthnSetUserVerified = webau...
constant CommandWebAuthnSetAutomaticPresenceSimulation (line 879) | CommandWebAuthnSetAutomaticPresenceSimulation = webau...
constant CommandWebAuthnSetCredentialProperties (line 880) | CommandWebAuthnSetCredentialProperties = webau...
constant EventWebAuthnCredentialAdded (line 881) | EventWebAuthnCredentialAdded = "WebA...
constant EventWebAuthnCredentialDeleted (line 882) | EventWebAuthnCredentialDeleted = "WebA...
constant EventWebAuthnCredentialUpdated (line 883) | EventWebAuthnCredentialUpdated = "WebA...
constant EventWebAuthnCredentialAsserted (line 884) | EventWebAuthnCredentialAsserted = "WebA...
type Error (line 888) | type Error struct
method Error (line 894) | func (e *Error) Error() string {
type Message (line 900) | type Message struct
type empty (line 909) | type empty struct
function UnmarshalMessage (line 914) | func UnmarshalMessage(msg *Message, opts ...jsonv2.Options) (any, error) {
FILE: vendor/github.com/chromedp/cdproto/css/css.go
type AddRuleParams (line 27) | type AddRuleParams struct
method WithNodeForPropertySyntaxValidation (line 57) | func (p AddRuleParams) WithNodeForPropertySyntaxValidation(nodeForProp...
method Do (line 72) | func (p *AddRuleParams) Do(ctx context.Context) (rule *Rule, err error) {
function AddRule (line 44) | func AddRule(styleSheetID StyleSheetID, ruleText string, location *Sourc...
type AddRuleReturns (line 63) | type AddRuleReturns struct
type CollectClassNamesParams (line 84) | type CollectClassNamesParams struct
method Do (line 111) | func (p *CollectClassNamesParams) Do(ctx context.Context) (classNames ...
function CollectClassNames (line 95) | func CollectClassNames(styleSheetID StyleSheetID) *CollectClassNamesPara...
type CollectClassNamesReturns (line 102) | type CollectClassNamesReturns struct
type CreateStyleSheetParams (line 124) | type CreateStyleSheetParams struct
method WithForce (line 147) | func (p CreateStyleSheetParams) WithForce(force bool) *CreateStyleShee...
method Do (line 162) | func (p *CreateStyleSheetParams) Do(ctx context.Context) (styleSheetID...
function CreateStyleSheet (line 137) | func CreateStyleSheet(frameID cdp.FrameID) *CreateStyleSheetParams {
type CreateStyleSheetReturns (line 153) | type CreateStyleSheetReturns struct
type DisableParams (line 174) | type DisableParams struct
method Do (line 184) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 179) | func Disable() *DisableParams {
type EnableParams (line 191) | type EnableParams struct
method Do (line 203) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 198) | func Enable() *EnableParams {
type ForcePseudoStateParams (line 209) | type ForcePseudoStateParams struct
method Do (line 231) | func (p *ForcePseudoStateParams) Do(ctx context.Context) (err error) {
function ForcePseudoState (line 223) | func ForcePseudoState(nodeID cdp.NodeID, forcedPseudoClasses []string) *...
type ForceStartingStyleParams (line 237) | type ForceStartingStyleParams struct
method Do (line 259) | func (p *ForceStartingStyleParams) Do(ctx context.Context) (err error) {
function ForceStartingStyle (line 251) | func ForceStartingStyle(nodeID cdp.NodeID, forced bool) *ForceStartingSt...
type GetBackgroundColorsParams (line 264) | type GetBackgroundColorsParams struct
method Do (line 295) | func (p *GetBackgroundColorsParams) Do(ctx context.Context) (backgroun...
function GetBackgroundColors (line 275) | func GetBackgroundColors(nodeID cdp.NodeID) *GetBackgroundColorsParams {
type GetBackgroundColorsReturns (line 282) | type GetBackgroundColorsReturns struct
type GetComputedStyleForNodeParams (line 308) | type GetComputedStyleForNodeParams struct
method Do (line 336) | func (p *GetComputedStyleForNodeParams) Do(ctx context.Context) (compu...
function GetComputedStyleForNode (line 320) | func GetComputedStyleForNode(nodeID cdp.NodeID) *GetComputedStyleForNode...
type GetComputedStyleForNodeReturns (line 327) | type GetComputedStyleForNodeReturns struct
type ResolveValuesParams (line 355) | type ResolveValuesParams struct
method WithPropertyName (line 386) | func (p ResolveValuesParams) WithPropertyName(propertyName string) *Re...
method WithPseudoType (line 393) | func (p ResolveValuesParams) WithPseudoType(pseudoType cdp.PseudoType)...
method WithPseudoIdentifier (line 399) | func (p ResolveValuesParams) WithPseudoIdentifier(pseudoIdentifier str...
method Do (line 414) | func (p *ResolveValuesParams) Do(ctx context.Context) (results []strin...
function ResolveValues (line 378) | func ResolveValues(values []string, nodeID cdp.NodeID) *ResolveValuesPar...
type ResolveValuesReturns (line 405) | type ResolveValuesReturns struct
type GetLonghandPropertiesParams (line 426) | type GetLonghandPropertiesParams struct
method Do (line 456) | func (p *GetLonghandPropertiesParams) Do(ctx context.Context) (longhan...
function GetLonghandProperties (line 439) | func GetLonghandProperties(shorthandName string, value string) *GetLongh...
type GetLonghandPropertiesReturns (line 447) | type GetLonghandPropertiesReturns struct
type GetInlineStylesForNodeParams (line 470) | type GetInlineStylesForNodeParams struct
method Do (line 501) | func (p *GetInlineStylesForNodeParams) Do(ctx context.Context) (inline...
function GetInlineStylesForNode (line 483) | func GetInlineStylesForNode(nodeID cdp.NodeID) *GetInlineStylesForNodePa...
type GetInlineStylesForNodeReturns (line 490) | type GetInlineStylesForNodeReturns struct
type GetAnimatedStylesForNodeParams (line 515) | type GetAnimatedStylesForNodeParams struct
method Do (line 548) | func (p *GetAnimatedStylesForNodeParams) Do(ctx context.Context) (anim...
function GetAnimatedStylesForNode (line 528) | func GetAnimatedStylesForNode(nodeID cdp.NodeID) *GetAnimatedStylesForNo...
type GetAnimatedStylesForNodeReturns (line 535) | type GetAnimatedStylesForNodeReturns struct
type GetMatchedStylesForNodeParams (line 561) | type GetMatchedStylesForNodeParams struct
method Do (line 615) | func (p *GetMatchedStylesForNodeParams) Do(ctx context.Context) (inlin...
function GetMatchedStylesForNode (line 573) | func GetMatchedStylesForNode(nodeID cdp.NodeID) *GetMatchedStylesForNode...
type GetMatchedStylesForNodeReturns (line 580) | type GetMatchedStylesForNodeReturns struct
type GetEnvironmentVariablesParams (line 628) | type GetEnvironmentVariablesParams struct
method Do (line 648) | func (p *GetEnvironmentVariablesParams) Do(ctx context.Context) (envir...
function GetEnvironmentVariables (line 634) | func GetEnvironmentVariables() *GetEnvironmentVariablesParams {
type GetEnvironmentVariablesReturns (line 639) | type GetEnvironmentVariablesReturns struct
type GetMediaQueriesParams (line 661) | type GetMediaQueriesParams struct
method Do (line 680) | func (p *GetMediaQueriesParams) Do(ctx context.Context) (medias []*Med...
function GetMediaQueries (line 666) | func GetMediaQueries() *GetMediaQueriesParams {
type GetMediaQueriesReturns (line 671) | type GetMediaQueriesReturns struct
type GetPlatformFontsForNodeParams (line 693) | type GetPlatformFontsForNodeParams struct
method Do (line 721) | func (p *GetPlatformFontsForNodeParams) Do(ctx context.Context) (fonts...
function GetPlatformFontsForNode (line 705) | func GetPlatformFontsForNode(nodeID cdp.NodeID) *GetPlatformFontsForNode...
type GetPlatformFontsForNodeReturns (line 712) | type GetPlatformFontsForNodeReturns struct
type GetStyleSheetTextParams (line 734) | type GetStyleSheetTextParams struct
method Do (line 761) | func (p *GetStyleSheetTextParams) Do(ctx context.Context) (text string...
function GetStyleSheetText (line 745) | func GetStyleSheetText(styleSheetID StyleSheetID) *GetStyleSheetTextPara...
type GetStyleSheetTextReturns (line 752) | type GetStyleSheetTextReturns struct
type GetLayersForNodeParams (line 777) | type GetLayersForNodeParams struct
method Do (line 808) | func (p *GetLayersForNodeParams) Do(ctx context.Context) (rootLayer *L...
function GetLayersForNode (line 792) | func GetLayersForNode(nodeID cdp.NodeID) *GetLayersForNodeParams {
type GetLayersForNodeReturns (line 799) | type GetLayersForNodeReturns struct
type GetLocationForSelectorParams (line 822) | type GetLocationForSelectorParams struct
method Do (line 854) | func (p *GetLocationForSelectorParams) Do(ctx context.Context) (ranges...
function GetLocationForSelector (line 837) | func GetLocationForSelector(styleSheetID StyleSheetID, selectorText stri...
type GetLocationForSelectorReturns (line 845) | type GetLocationForSelectorReturns struct
type TrackComputedStyleUpdatesForNodeParams (line 870) | type TrackComputedStyleUpdatesForNodeParams struct
method WithNodeID (line 888) | func (p TrackComputedStyleUpdatesForNodeParams) WithNodeID(nodeID cdp....
method Do (line 894) | func (p *TrackComputedStyleUpdatesForNodeParams) Do(ctx context.Contex...
function TrackComputedStyleUpdatesForNode (line 883) | func TrackComputedStyleUpdatesForNode() *TrackComputedStyleUpdatesForNod...
type TrackComputedStyleUpdatesParams (line 906) | type TrackComputedStyleUpdatesParams struct
method Do (line 931) | func (p *TrackComputedStyleUpdatesParams) Do(ctx context.Context) (err...
function TrackComputedStyleUpdates (line 924) | func TrackComputedStyleUpdates(propertiesToTrack []*ComputedStylePropert...
type TakeComputedStyleUpdatesParams (line 937) | type TakeComputedStyleUpdatesParams struct
method Do (line 956) | func (p *TakeComputedStyleUpdatesParams) Do(ctx context.Context) (node...
function TakeComputedStyleUpdates (line 942) | func TakeComputedStyleUpdates() *TakeComputedStyleUpdatesParams {
type TakeComputedStyleUpdatesReturns (line 947) | type TakeComputedStyleUpdatesReturns struct
type SetEffectivePropertyValueForNodeParams (line 969) | type SetEffectivePropertyValueForNodeParams struct
method Do (line 994) | func (p *SetEffectivePropertyValueForNodeParams) Do(ctx context.Contex...
function SetEffectivePropertyValueForNode (line 985) | func SetEffectivePropertyValueForNode(nodeID cdp.NodeID, propertyName st...
type SetPropertyRulePropertyNameParams (line 1000) | type SetPropertyRulePropertyNameParams struct
method Do (line 1033) | func (p *SetPropertyRulePropertyNameParams) Do(ctx context.Context) (p...
function SetPropertyRulePropertyName (line 1015) | func SetPropertyRulePropertyName(styleSheetID StyleSheetID, rangeVal *So...
type SetPropertyRulePropertyNameReturns (line 1024) | type SetPropertyRulePropertyNameReturns struct
type SetKeyframeKeyParams (line 1045) | type SetKeyframeKeyParams struct
method Do (line 1078) | func (p *SetKeyframeKeyParams) Do(ctx context.Context) (keyText *Value...
function SetKeyframeKey (line 1060) | func SetKeyframeKey(styleSheetID StyleSheetID, rangeVal *SourceRange, ke...
type SetKeyframeKeyReturns (line 1069) | type SetKeyframeKeyReturns struct
type SetMediaTextParams (line 1090) | type SetMediaTextParams struct
method Do (line 1123) | func (p *SetMediaTextParams) Do(ctx context.Context) (media *Media, er...
function SetMediaText (line 1105) | func SetMediaText(styleSheetID StyleSheetID, rangeVal *SourceRange, text...
type SetMediaTextReturns (line 1114) | type SetMediaTextReturns struct
type SetContainerQueryTextParams (line 1135) | type SetContainerQueryTextParams struct
method Do (line 1168) | func (p *SetContainerQueryTextParams) Do(ctx context.Context) (contain...
function SetContainerQueryText (line 1150) | func SetContainerQueryText(styleSheetID StyleSheetID, rangeVal *SourceRa...
type SetContainerQueryTextReturns (line 1159) | type SetContainerQueryTextReturns struct
type SetSupportsTextParams (line 1180) | type SetSupportsTextParams struct
method Do (line 1213) | func (p *SetSupportsTextParams) Do(ctx context.Context) (supports *Sup...
function SetSupportsText (line 1195) | func SetSupportsText(styleSheetID StyleSheetID, rangeVal *SourceRange, t...
type SetSupportsTextReturns (line 1204) | type SetSupportsTextReturns struct
type SetScopeTextParams (line 1225) | type SetScopeTextParams struct
method Do (line 1258) | func (p *SetScopeTextParams) Do(ctx context.Context) (scope *Scope, er...
function SetScopeText (line 1240) | func SetScopeText(styleSheetID StyleSheetID, rangeVal *SourceRange, text...
type SetScopeTextReturns (line 1249) | type SetScopeTextReturns struct
type SetRuleSelectorParams (line 1270) | type SetRuleSelectorParams struct
method Do (line 1303) | func (p *SetRuleSelectorParams) Do(ctx context.Context) (selectorList ...
function SetRuleSelector (line 1285) | func SetRuleSelector(styleSheetID StyleSheetID, rangeVal *SourceRange, s...
type SetRuleSelectorReturns (line 1294) | type SetRuleSelectorReturns struct
type SetStyleSheetTextParams (line 1315) | type SetStyleSheetTextParams struct
method Do (line 1345) | func (p *SetStyleSheetTextParams) Do(ctx context.Context) (sourceMapUR...
function SetStyleSheetText (line 1328) | func SetStyleSheetText(styleSheetID StyleSheetID, text string) *SetStyle...
type SetStyleSheetTextReturns (line 1336) | type SetStyleSheetTextReturns struct
type SetStyleTextsParams (line 1358) | type SetStyleTextsParams struct
method WithNodeForPropertySyntaxValidation (line 1382) | func (p SetStyleTextsParams) WithNodeForPropertySyntaxValidation(nodeF...
method Do (line 1397) | func (p *SetStyleTextsParams) Do(ctx context.Context) (styles []*Style...
function SetStyleTexts (line 1371) | func SetStyleTexts(edits []*StyleDeclarationEdit) *SetStyleTextsParams {
type SetStyleTextsReturns (line 1388) | type SetStyleTextsReturns struct
type StartRuleUsageTrackingParams (line 1409) | type StartRuleUsageTrackingParams struct
method Do (line 1419) | func (p *StartRuleUsageTrackingParams) Do(ctx context.Context) (err er...
function StartRuleUsageTracking (line 1414) | func StartRuleUsageTracking() *StartRuleUsageTrackingParams {
type StopRuleUsageTrackingParams (line 1426) | type StopRuleUsageTrackingParams struct
method Do (line 1447) | func (p *StopRuleUsageTrackingParams) Do(ctx context.Context) (ruleUsa...
function StopRuleUsageTracking (line 1433) | func StopRuleUsageTracking() *StopRuleUsageTrackingParams {
type StopRuleUsageTrackingReturns (line 1438) | type StopRuleUsageTrackingReturns struct
type TakeCoverageDeltaParams (line 1460) | type TakeCoverageDeltaParams struct
method Do (line 1482) | func (p *TakeCoverageDeltaParams) Do(ctx context.Context) (coverage []...
function TakeCoverageDelta (line 1466) | func TakeCoverageDelta() *TakeCoverageDeltaParams {
type TakeCoverageDeltaReturns (line 1471) | type TakeCoverageDeltaReturns struct
type SetLocalFontsEnabledParams (line 1495) | type SetLocalFontsEnabledParams struct
method Do (line 1514) | func (p *SetLocalFontsEnabledParams) Do(ctx context.Context) (err erro...
function SetLocalFontsEnabled (line 1507) | func SetLocalFontsEnabled(enabled bool) *SetLocalFontsEnabledParams {
constant CommandAddRule (line 1520) | CommandAddRule = "CSS.addRule"
constant CommandCollectClassNames (line 1521) | CommandCollectClassNames = "CSS.collectClassNames"
constant CommandCreateStyleSheet (line 1522) | CommandCreateStyleSheet = "CSS.createStyleSheet"
constant CommandDisable (line 1523) | CommandDisable = "CSS.disable"
constant CommandEnable (line 1524) | CommandEnable = "CSS.enable"
constant CommandForcePseudoState (line 1525) | CommandForcePseudoState = "CSS.forcePseudoState"
constant CommandForceStartingStyle (line 1526) | CommandForceStartingStyle = "CSS.forceStartingStyle"
constant CommandGetBackgroundColors (line 1527) | CommandGetBackgroundColors = "CSS.getBackgroundColors"
constant CommandGetComputedStyleForNode (line 1528) | CommandGetComputedStyleForNode = "CSS.getComputedStyleForNode"
constant CommandResolveValues (line 1529) | CommandResolveValues = "CSS.resolveValues"
constant CommandGetLonghandProperties (line 1530) | CommandGetLonghandProperties = "CSS.getLonghandProperties"
constant CommandGetInlineStylesForNode (line 1531) | CommandGetInlineStylesForNode = "CSS.getInlineStylesForNode"
constant CommandGetAnimatedStylesForNode (line 1532) | CommandGetAnimatedStylesForNode = "CSS.getAnimatedStylesForNode"
constant CommandGetMatchedStylesForNode (line 1533) | CommandGetMatchedStylesForNode = "CSS.getMatchedStylesForNode"
constant CommandGetEnvironmentVariables (line 1534) | CommandGetEnvironmentVariables = "CSS.getEnvironmentVariables"
constant CommandGetMediaQueries (line 1535) | CommandGetMediaQueries = "CSS.getMediaQueries"
constant CommandGetPlatformFontsForNode (line 1536) | CommandGetPlatformFontsForNode = "CSS.getPlatformFontsForNode"
constant CommandGetStyleSheetText (line 1537) | CommandGetStyleSheetText = "CSS.getStyleSheetText"
constant CommandGetLayersForNode (line 1538) | CommandGetLayersForNode = "CSS.getLayersForNode"
constant CommandGetLocationForSelector (line 1539) | CommandGetLocationForSelector = "CSS.getLocationForSelector"
constant CommandTrackComputedStyleUpdatesForNode (line 1540) | CommandTrackComputedStyleUpdatesForNode = "CSS.trackComputedStyleUpdates...
constant CommandTrackComputedStyleUpdates (line 1541) | CommandTrackComputedStyleUpdates = "CSS.trackComputedStyleUpdates"
constant CommandTakeComputedStyleUpdates (line 1542) | CommandTakeComputedStyleUpdates = "CSS.takeComputedStyleUpdates"
constant CommandSetEffectivePropertyValueForNode (line 1543) | CommandSetEffectivePropertyValueForNode = "CSS.setEffectivePropertyValue...
constant CommandSetPropertyRulePropertyName (line 1544) | CommandSetPropertyRulePropertyName = "CSS.setPropertyRulePropertyName"
constant CommandSetKeyframeKey (line 1545) | CommandSetKeyframeKey = "CSS.setKeyframeKey"
constant CommandSetMediaText (line 1546) | CommandSetMediaText = "CSS.setMediaText"
constant CommandSetContainerQueryText (line 1547) | CommandSetContainerQueryText = "CSS.setContainerQueryText"
constant CommandSetSupportsText (line 1548) | CommandSetSupportsText = "CSS.setSupportsText"
constant CommandSetScopeText (line 1549) | CommandSetScopeText = "CSS.setScopeText"
constant CommandSetRuleSelector (line 1550) | CommandSetRuleSelector = "CSS.setRuleSelector"
constant CommandSetStyleSheetText (line 1551) | CommandSetStyleSheetText = "CSS.setStyleSheetText"
constant CommandSetStyleTexts (line 1552) | CommandSetStyleTexts = "CSS.setStyleTexts"
constant CommandStartRuleUsageTracking (line 1553) | CommandStartRuleUsageTracking = "CSS.startRuleUsageTracking"
constant CommandStopRuleUsageTracking (line 1554) | CommandStopRuleUsageTracking = "CSS.stopRuleUsageTracking"
constant CommandTakeCoverageDelta (line 1555) | CommandTakeCoverageDelta = "CSS.takeCoverageDelta"
constant CommandSetLocalFontsEnabled (line 1556) | CommandSetLocalFontsEnabled = "CSS.setLocalFontsEnabled"
FILE: vendor/github.com/chromedp/cdproto/css/events.go
type EventFontsUpdated (line 13) | type EventFontsUpdated struct
type EventMediaQueryResultChanged (line 22) | type EventMediaQueryResultChanged struct
type EventStyleSheetAdded (line 28) | type EventStyleSheetAdded struct
type EventStyleSheetChanged (line 36) | type EventStyleSheetChanged struct
type EventStyleSheetRemoved (line 44) | type EventStyleSheetRemoved struct
type EventComputedStyleUpdated (line 51) | type EventComputedStyleUpdated struct
FILE: vendor/github.com/chromedp/cdproto/css/types.go
type StyleSheetID (line 16) | type StyleSheetID
method String (line 19) | func (t StyleSheetID) String() string {
type StyleSheetOrigin (line 29) | type StyleSheetOrigin
method String (line 32) | func (t StyleSheetOrigin) String() string {
method UnmarshalJSON (line 45) | func (t *StyleSheetOrigin) UnmarshalJSON(buf []byte) error {
constant StyleSheetOriginInjected (line 38) | StyleSheetOriginInjected StyleSheetOrigin = "injected"
constant StyleSheetOriginUserAgent (line 39) | StyleSheetOriginUserAgent StyleSheetOrigin = "user-agent"
constant StyleSheetOriginInspector (line 40) | StyleSheetOriginInspector StyleSheetOrigin = "inspector"
constant StyleSheetOriginRegular (line 41) | StyleSheetOriginRegular StyleSheetOrigin = "regular"
type PseudoElementMatches (line 67) | type PseudoElementMatches struct
type AnimationStyle (line 77) | type AnimationStyle struct
type InheritedStyleEntry (line 85) | type InheritedStyleEntry struct
type InheritedAnimatedStyleEntry (line 94) | type InheritedAnimatedStyleEntry struct
type InheritedPseudoElementMatches (line 103) | type InheritedPseudoElementMatches struct
type RuleMatch (line 110) | type RuleMatch struct
type Value (line 119) | type Value struct
type Specificity (line 129) | type Specificity struct
type SelectorList (line 138) | type SelectorList struct
type StyleSheetHeader (line 146) | type StyleSheetHeader struct
type Rule (line 170) | type Rule struct
type RuleType (line 190) | type RuleType
method String (line 193) | func (t RuleType) String() string {
method UnmarshalJSON (line 209) | func (t *RuleType) UnmarshalJSON(buf []byte) error {
constant RuleTypeMediaRule (line 199) | RuleTypeMediaRule RuleType = "MediaRule"
constant RuleTypeSupportsRule (line 200) | RuleTypeSupportsRule RuleType = "SupportsRule"
constant RuleTypeContainerRule (line 201) | RuleTypeContainerRule RuleType = "ContainerRule"
constant RuleTypeLayerRule (line 202) | RuleTypeLayerRule RuleType = "LayerRule"
constant RuleTypeScopeRule (line 203) | RuleTypeScopeRule RuleType = "ScopeRule"
constant RuleTypeStyleRule (line 204) | RuleTypeStyleRule RuleType = "StyleRule"
constant RuleTypeStartingStyleRule (line 205) | RuleTypeStartingStyleRule RuleType = "StartingStyleRule"
type RuleUsage (line 237) | type RuleUsage struct
type SourceRange (line 247) | type SourceRange struct
type ShorthandEntry (line 257) | type ShorthandEntry struct
type ComputedStyleProperty (line 266) | type ComputedStyleProperty struct
type Style (line 274) | type Style struct
type Property (line 285) | type Property struct
type Media (line 300) | type Media struct
type MediaQuery (line 312) | type MediaQuery struct
type MediaQueryExpression (line 320) | type MediaQueryExpression struct
type ContainerQuery (line 331) | type ContainerQuery struct
type Supports (line 345) | type Supports struct
type Scope (line 355) | type Scope struct
type Layer (line 364) | type Layer struct
type StartingStyle (line 373) | type StartingStyle struct
type LayerData (line 381) | type LayerData struct
type PlatformFontUsage (line 391) | type PlatformFontUsage struct
type FontVariationAxis (line 402) | type FontVariationAxis struct
type FontFace (line 415) | type FontFace struct
type TryRule (line 431) | type TryRule struct
type PositionTryRule (line 440) | type PositionTryRule struct
type KeyframesRule (line 451) | type KeyframesRule struct
type PropertyRegistration (line 460) | type PropertyRegistration struct
type FontPaletteValuesRule (line 470) | type FontPaletteValuesRule struct
type PropertyRule (line 480) | type PropertyRule struct
type FunctionParameter (line 490) | type FunctionParameter struct
type FunctionConditionNode (line 498) | type FunctionConditionNode struct
type FunctionNode (line 509) | type FunctionNode struct
type FunctionRule (line 517) | type FunctionRule struct
type KeyframeRule (line 528) | type KeyframeRule struct
type StyleDeclarationEdit (line 539) | type StyleDeclarationEdit struct
type MediaSource (line 552) | type MediaSource
method String (line 555) | func (t MediaSource) String() string {
method UnmarshalJSON (line 568) | func (t *MediaSource) UnmarshalJSON(buf []byte) error {
constant MediaSourceMediaRule (line 561) | MediaSourceMediaRule MediaSource = "mediaRule"
constant MediaSourceImportRule (line 562) | MediaSourceImportRule MediaSource = "importRule"
constant MediaSourceLinkedSheet (line 563) | MediaSourceLinkedSheet MediaSource = "linkedSheet"
constant MediaSourceInlineSheet (line 564) | MediaSourceInlineSheet MediaSource = "inlineSheet"
FILE: vendor/github.com/chromedp/cdproto/debugger/debugger.go
type ContinueToLocationParams (line 23) | type ContinueToLocationParams struct
method WithTargetCallFrames (line 42) | func (p ContinueToLocationParams) WithTargetCallFrames(targetCallFrame...
method Do (line 48) | func (p *ContinueToLocationParams) Do(ctx context.Context) (err error) {
function ContinueToLocation (line 35) | func ContinueToLocation(location *Location) *ContinueToLocationParams {
type DisableParams (line 53) | type DisableParams struct
method Do (line 63) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 58) | func Disable() *DisableParams {
type EnableParams (line 70) | type EnableParams struct
method WithMaxScriptsCacheSize (line 87) | func (p EnableParams) WithMaxScriptsCacheSize(maxScriptsCacheSize floa...
method Do (line 102) | func (p *EnableParams) Do(ctx context.Context) (debuggerID runtime.Uni...
function Enable (line 80) | func Enable() *EnableParams {
type EnableReturns (line 93) | type EnableReturns struct
type EvaluateOnCallFrameParams (line 114) | type EvaluateOnCallFrameParams struct
method WithObjectGroup (line 148) | func (p EvaluateOnCallFrameParams) WithObjectGroup(objectGroup string)...
method WithIncludeCommandLineAPI (line 155) | func (p EvaluateOnCallFrameParams) WithIncludeCommandLineAPI(includeCo...
method WithSilent (line 162) | func (p EvaluateOnCallFrameParams) WithSilent(silent bool) *EvaluateOn...
method WithReturnByValue (line 169) | func (p EvaluateOnCallFrameParams) WithReturnByValue(returnByValue boo...
method WithGeneratePreview (line 175) | func (p EvaluateOnCallFrameParams) WithGeneratePreview(generatePreview...
method WithThrowOnSideEffect (line 182) | func (p EvaluateOnCallFrameParams) WithThrowOnSideEffect(throwOnSideEf...
method WithTimeout (line 188) | func (p EvaluateOnCallFrameParams) WithTimeout(timeout runtime.TimeDel...
method Do (line 205) | func (p *EvaluateOnCallFrameParams) Do(ctx context.Context) (result *r...
function EvaluateOnCallFrame (line 134) | func EvaluateOnCallFrame(callFrameID CallFrameID, expression string) *Ev...
type EvaluateOnCallFrameReturns (line 194) | type EvaluateOnCallFrameReturns struct
type GetPossibleBreakpointsParams (line 218) | type GetPossibleBreakpointsParams struct
method WithEnd (line 241) | func (p GetPossibleBreakpointsParams) WithEnd(end *Location) *GetPossi...
method WithRestrictToFunction (line 248) | func (p GetPossibleBreakpointsParams) WithRestrictToFunction(restrictT...
method Do (line 263) | func (p *GetPossibleBreakpointsParams) Do(ctx context.Context) (locati...
function GetPossibleBreakpoints (line 232) | func GetPossibleBreakpoints(start *Location) *GetPossibleBreakpointsPara...
type GetPossibleBreakpointsReturns (line 254) | type GetPossibleBreakpointsReturns struct
type GetScriptSourceParams (line 275) | type GetScriptSourceParams struct
method Do (line 304) | func (p *GetScriptSourceParams) Do(ctx context.Context) (scriptSource ...
function GetScriptSource (line 286) | func GetScriptSource(scriptID runtime.ScriptID) *GetScriptSourceParams {
type GetScriptSourceReturns (line 293) | type GetScriptSourceReturns struct
type DisassembleWasmModuleParams (line 322) | type DisassembleWasmModuleParams struct
method Do (line 355) | func (p *DisassembleWasmModuleParams) Do(ctx context.Context) (streamI...
function DisassembleWasmModule (line 333) | func DisassembleWasmModule(scriptID runtime.ScriptID) *DisassembleWasmMo...
type DisassembleWasmModuleReturns (line 340) | type DisassembleWasmModuleReturns struct
type NextWasmDisassemblyChunkParams (line 370) | type NextWasmDisassemblyChunkParams struct
method Do (line 400) | func (p *NextWasmDisassemblyChunkParams) Do(ctx context.Context) (chun...
function NextWasmDisassemblyChunk (line 384) | func NextWasmDisassemblyChunk(streamID string) *NextWasmDisassemblyChunk...
type NextWasmDisassemblyChunkReturns (line 391) | type NextWasmDisassemblyChunkReturns struct
type GetStackTraceParams (line 412) | type GetStackTraceParams struct
method Do (line 439) | func (p *GetStackTraceParams) Do(ctx context.Context) (stackTrace *run...
function GetStackTrace (line 423) | func GetStackTrace(stackTraceID *runtime.StackTraceID) *GetStackTracePar...
type GetStackTraceReturns (line 430) | type GetStackTraceReturns struct
type PauseParams (line 451) | type PauseParams struct
method Do (line 461) | func (p *PauseParams) Do(ctx context.Context) (err error) {
function Pause (line 456) | func Pause() *PauseParams {
type RemoveBreakpointParams (line 466) | type RemoveBreakpointParams struct
method Do (line 484) | func (p *RemoveBreakpointParams) Do(ctx context.Context) (err error) {
function RemoveBreakpoint (line 477) | func RemoveBreakpoint(breakpointID BreakpointID) *RemoveBreakpointParams {
type RestartFrameParams (line 498) | type RestartFrameParams struct
method WithMode (line 527) | func (p RestartFrameParams) WithMode(mode RestartFrameMode) *RestartFr...
method Do (line 533) | func (p *RestartFrameParams) Do(ctx context.Context) (err error) {
function RestartFrame (line 519) | func RestartFrame(callFrameID CallFrameID) *RestartFrameParams {
type ResumeParams (line 538) | type ResumeParams struct
method WithTerminateOnResume (line 558) | func (p ResumeParams) WithTerminateOnResume(terminateOnResume bool) *R...
method Do (line 564) | func (p *ResumeParams) Do(ctx context.Context) (err error) {
function Resume (line 547) | func Resume() *ResumeParams {
type SearchInContentParams (line 569) | type SearchInContentParams struct
method WithCaseSensitive (line 594) | func (p SearchInContentParams) WithCaseSensitive(caseSensitive bool) *...
method WithIsRegex (line 600) | func (p SearchInContentParams) WithIsRegex(isRegex bool) *SearchInCont...
method Do (line 615) | func (p *SearchInContentParams) Do(ctx context.Context) (result []*Sea...
function SearchInContent (line 584) | func SearchInContent(scriptID runtime.ScriptID, query string) *SearchInC...
type SearchInContentReturns (line 606) | type SearchInContentReturns struct
type SetAsyncCallStackDepthParams (line 628) | type SetAsyncCallStackDepthParams struct
method Do (line 646) | func (p *SetAsyncCallStackDepthParams) Do(ctx context.Context) (err er...
function SetAsyncCallStackDepth (line 639) | func SetAsyncCallStackDepth(maxDepth int64) *SetAsyncCallStackDepthParams {
type SetBlackboxExecutionContextsParams (line 655) | type SetBlackboxExecutionContextsParams struct
method Do (line 676) | func (p *SetBlackboxExecutionContextsParams) Do(ctx context.Context) (...
function SetBlackboxExecutionContexts (line 669) | func SetBlackboxExecutionContexts(uniqueIDs []string) *SetBlackboxExecut...
type SetBlackboxPatternsParams (line 684) | type SetBlackboxPatternsParams struct
method WithSkipAnonymous (line 707) | func (p SetBlackboxPatternsParams) WithSkipAnonymous(skipAnonymous boo...
method Do (line 713) | func (p *SetBlackboxPatternsParams) Do(ctx context.Context) (err error) {
function SetBlackboxPatterns (line 699) | func SetBlackboxPatterns(patterns []string) *SetBlackboxPatternsParams {
type SetBlackboxedRangesParams (line 722) | type SetBlackboxedRangesParams struct
method Do (line 747) | func (p *SetBlackboxedRangesParams) Do(ctx context.Context) (err error) {
function SetBlackboxedRanges (line 739) | func SetBlackboxedRanges(scriptID runtime.ScriptID, positions []*ScriptP...
type SetBreakpointParams (line 752) | type SetBreakpointParams struct
method WithCondition (line 773) | func (p SetBreakpointParams) WithCondition(condition string) *SetBreak...
method Do (line 790) | func (p *SetBreakpointParams) Do(ctx context.Context) (breakpointID Br...
function SetBreakpoint (line 764) | func SetBreakpoint(location *Location) *SetBreakpointParams {
type SetBreakpointReturns (line 779) | type SetBreakpointReturns struct
type SetInstrumentationBreakpointParams (line 802) | type SetInstrumentationBreakpointParams struct
method Do (line 829) | func (p *SetInstrumentationBreakpointParams) Do(ctx context.Context) (...
function SetInstrumentationBreakpoint (line 813) | func SetInstrumentationBreakpoint(instrumentation SetInstrumentationBrea...
type SetInstrumentationBreakpointReturns (line 820) | type SetInstrumentationBreakpointReturns struct
type SetBreakpointByURLParams (line 846) | type SetBreakpointByURLParams struct
method WithURL (line 873) | func (p SetBreakpointByURLParams) WithURL(url string) *SetBreakpointBy...
method WithURLRegex (line 880) | func (p SetBreakpointByURLParams) WithURLRegex(urlRegex string) *SetBr...
method WithScriptHash (line 886) | func (p SetBreakpointByURLParams) WithScriptHash(scriptHash string) *S...
method WithColumnNumber (line 892) | func (p SetBreakpointByURLParams) WithColumnNumber(columnNumber int64)...
method WithCondition (line 900) | func (p SetBreakpointByURLParams) WithCondition(condition string) *Set...
method Do (line 917) | func (p *SetBreakpointByURLParams) Do(ctx context.Context) (breakpoint...
function SetBreakpointByURL (line 866) | func SetBreakpointByURL(lineNumber int64) *SetBreakpointByURLParams {
type SetBreakpointByURLReturns (line 906) | type SetBreakpointByURLReturns struct
type SetBreakpointOnFunctionCallParams (line 931) | type SetBreakpointOnFunctionCallParams struct
method WithCondition (line 953) | func (p SetBreakpointOnFunctionCallParams) WithCondition(condition str...
method Do (line 968) | func (p *SetBreakpointOnFunctionCallParams) Do(ctx context.Context) (b...
function SetBreakpointOnFunctionCall (line 945) | func SetBreakpointOnFunctionCall(objectID runtime.RemoteObjectID) *SetBr...
type SetBreakpointOnFunctionCallReturns (line 959) | type SetBreakpointOnFunctionCallReturns struct
type SetBreakpointsActiveParams (line 981) | type SetBreakpointsActiveParams struct
method Do (line 999) | func (p *SetBreakpointsActiveParams) Do(ctx context.Context) (err erro...
function SetBreakpointsActive (line 992) | func SetBreakpointsActive(active bool) *SetBreakpointsActiveParams {
type SetPauseOnExceptionsParams (line 1006) | type SetPauseOnExceptionsParams struct
method Do (line 1026) | func (p *SetPauseOnExceptionsParams) Do(ctx context.Context) (err erro...
function SetPauseOnExceptions (line 1019) | func SetPauseOnExceptions(state ExceptionsState) *SetPauseOnExceptionsPa...
type SetReturnValueParams (line 1032) | type SetReturnValueParams struct
method Do (line 1051) | func (p *SetReturnValueParams) Do(ctx context.Context) (err error) {
function SetReturnValue (line 1044) | func SetReturnValue(newValue *runtime.CallArgument) *SetReturnValueParams {
type SetScriptSourceParams (line 1061) | type SetScriptSourceParams struct
method WithDryRun (line 1092) | func (p SetScriptSourceParams) WithDryRun(dryRun bool) *SetScriptSourc...
method WithAllowTopFrameEditing (line 1100) | func (p SetScriptSourceParams) WithAllowTopFrameEditing(allowTopFrameE...
method Do (line 1117) | func (p *SetScriptSourceParams) Do(ctx context.Context) (status SetScr...
function SetScriptSource (line 1081) | func SetScriptSource(scriptID runtime.ScriptID, scriptSource string) *Se...
type SetScriptSourceReturns (line 1106) | type SetScriptSourceReturns struct
type SetSkipAllPausesParams (line 1130) | type SetSkipAllPausesParams struct
method Do (line 1149) | func (p *SetSkipAllPausesParams) Do(ctx context.Context) (err error) {
function SetSkipAllPauses (line 1142) | func SetSkipAllPauses(skip bool) *SetSkipAllPausesParams {
type SetVariableValueParams (line 1155) | type SetVariableValueParams struct
method Do (line 1183) | func (p *SetVariableValueParams) Do(ctx context.Context) (err error) {
function SetVariableValue (line 1173) | func SetVariableValue(scopeNumber int64, variableName string, newValue *...
type StepIntoParams (line 1188) | type StepIntoParams struct
method WithBreakOnAsyncCall (line 1206) | func (p StepIntoParams) WithBreakOnAsyncCall(breakOnAsyncCall bool) *S...
method WithSkipList (line 1213) | func (p StepIntoParams) WithSkipList(skipList []*LocationRange) *StepI...
method Do (line 1219) | func (p *StepIntoParams) Do(ctx context.Context) (err error) {
function StepInto (line 1198) | func StepInto() *StepIntoParams {
type StepOutParams (line 1224) | type StepOutParams struct
method Do (line 1234) | func (p *StepOutParams) Do(ctx context.Context) (err error) {
function StepOut (line 1229) | func StepOut() *StepOutParams {
type StepOverParams (line 1239) | type StepOverParams struct
method WithSkipList (line 1254) | func (p StepOverParams) WithSkipList(skipList []*LocationRange) *StepO...
method Do (line 1260) | func (p *StepOverParams) Do(ctx context.Context) (err error) {
function StepOver (line 1248) | func StepOver() *StepOverParams {
constant CommandContinueToLocation (line 1266) | CommandContinueToLocation = "Debugger.continueToLocation"
constant CommandDisable (line 1267) | CommandDisable = "Debugger.disable"
constant CommandEnable (line 1268) | CommandEnable = "Debugger.enable"
constant CommandEvaluateOnCallFrame (line 1269) | CommandEvaluateOnCallFrame = "Debugger.evaluateOnCallFrame"
constant CommandGetPossibleBreakpoints (line 1270) | CommandGetPossibleBreakpoints = "Debugger.getPossibleBreakpoints"
constant CommandGetScriptSource (line 1271) | CommandGetScriptSource = "Debugger.getScriptSource"
constant CommandDisassembleWasmModule (line 1272) | CommandDisassembleWasmModule = "Debugger.disassembleWasmModule"
constant CommandNextWasmDisassemblyChunk (line 1273) | CommandNextWasmDisassemblyChunk = "Debugger.nextWasmDisassemblyChunk"
constant CommandGetStackTrace (line 1274) | CommandGetStackTrace = "Debugger.getStackTrace"
constant CommandPause (line 1275) | CommandPause = "Debugger.pause"
constant CommandRemoveBreakpoint (line 1276) | CommandRemoveBreakpoint = "Debugger.removeBreakpoint"
constant CommandRestartFrame (line 1277) | CommandRestartFrame = "Debugger.restartFrame"
constant CommandResume (line 1278) | CommandResume = "Debugger.resume"
constant CommandSearchInContent (line 1279) | CommandSearchInContent = "Debugger.searchInContent"
constant CommandSetAsyncCallStackDepth (line 1280) | CommandSetAsyncCallStackDepth = "Debugger.setAsyncCallStackDepth"
constant CommandSetBlackboxExecutionContexts (line 1281) | CommandSetBlackboxExecutionContexts = "Debugger.setBlackboxExecutionCont...
constant CommandSetBlackboxPatterns (line 1282) | CommandSetBlackboxPatterns = "Debugger.setBlackboxPatterns"
constant CommandSetBlackboxedRanges (line 1283) | CommandSetBlackboxedRanges = "Debugger.setBlackboxedRanges"
constant CommandSetBreakpoint (line 1284) | CommandSetBreakpoint = "Debugger.setBreakpoint"
constant CommandSetInstrumentationBreakpoint (line 1285) | CommandSetInstrumentationBreakpoint = "Debugger.setInstrumentationBreakp...
constant CommandSetBreakpointByURL (line 1286) | CommandSetBreakpointByURL = "Debugger.setBreakpointByUrl"
constant CommandSetBreakpointOnFunctionCall (line 1287) | CommandSetBreakpointOnFunctionCall = "Debugger.setBreakpointOnFunctionC...
constant CommandSetBreakpointsActive (line 1288) | CommandSetBreakpointsActive = "Debugger.setBreakpointsActive"
constant CommandSetPauseOnExceptions (line 1289) | CommandSetPauseOnExceptions = "Debugger.setPauseOnExceptions"
constant CommandSetReturnValue (line 1290) | CommandSetReturnValue = "Debugger.setReturnValue"
constant CommandSetScriptSource (line 1291) | CommandSetScriptSource = "Debugger.setScriptSource"
constant CommandSetSkipAllPauses (line 1292) | CommandSetSkipAllPauses = "Debugger.setSkipAllPauses"
constant CommandSetVariableValue (line 1293) | CommandSetVariableValue = "Debugger.setVariableValue"
constant CommandStepInto (line 1294) | CommandStepInto = "Debugger.stepInto"
constant CommandStepOut (line 1295) | CommandStepOut = "Debugger.stepOut"
constant CommandStepOver (line 1296) | CommandStepOver = "Debugger.stepOver"
FILE: vendor/github.com/chromedp/cdproto/debugger/events.go
type EventPaused (line 14) | type EventPaused struct
type EventResumed (line 26) | type EventResumed struct
type EventScriptFailedToParse (line 32) | type EventScriptFailedToParse struct
type EventScriptParsed (line 57) | type EventScriptParsed struct
FILE: vendor/github.com/chromedp/cdproto/debugger/types.go
type BreakpointID (line 15) | type BreakpointID
method String (line 18) | func (t BreakpointID) String() string {
type CallFrameID (line 25) | type CallFrameID
method String (line 28) | func (t CallFrameID) String() string {
type Location (line 35) | type Location struct
type ScriptPosition (line 44) | type ScriptPosition struct
type LocationRange (line 52) | type LocationRange struct
type CallFrame (line 61) | type CallFrame struct
type Scope (line 75) | type Scope struct
type SearchMatch (line 86) | type SearchMatch struct
type BreakLocation (line 94) | type BreakLocation struct
type WasmDisassemblyChunk (line 104) | type WasmDisassemblyChunk struct
type ScriptLanguage (line 112) | type ScriptLanguage
method String (line 115) | func (t ScriptLanguage) String() string {
method UnmarshalJSON (line 126) | func (t *ScriptLanguage) UnmarshalJSON(buf []byte) error {
constant ScriptLanguageJavaScript (line 121) | ScriptLanguageJavaScript ScriptLanguage = "JavaScript"
constant ScriptLanguageWebAssembly (line 122) | ScriptLanguageWebAssembly ScriptLanguage = "WebAssembly"
type DebugSymbols (line 144) | type DebugSymbols struct
type ResolvedBreakpoint (line 152) | type ResolvedBreakpoint struct
type ScopeType (line 160) | type ScopeType
method String (line 163) | func (t ScopeType) String() string {
method UnmarshalJSON (line 182) | func (t *ScopeType) UnmarshalJSON(buf []byte) error {
constant ScopeTypeGlobal (line 169) | ScopeTypeGlobal ScopeType = "global"
constant ScopeTypeLocal (line 170) | ScopeTypeLocal ScopeType = "local"
constant ScopeTypeWith (line 171) | ScopeTypeWith ScopeType = "with"
constant ScopeTypeClosure (line 172) | ScopeTypeClosure ScopeType = "closure"
constant ScopeTypeCatch (line 173) | ScopeTypeCatch ScopeType = "catch"
constant ScopeTypeBlock (line 174) | ScopeTypeBlock ScopeType = "block"
constant ScopeTypeScript (line 175) | ScopeTypeScript ScopeType = "script"
constant ScopeTypeEval (line 176) | ScopeTypeEval ScopeType = "eval"
constant ScopeTypeModule (line 177) | ScopeTypeModule ScopeType = "module"
constant ScopeTypeWasmExpressionStack (line 178) | ScopeTypeWasmExpressionStack ScopeType = "wasm-expression-stack"
type BreakLocationType (line 216) | type BreakLocationType
method String (line 219) | func (t BreakLocationType) String() string {
method UnmarshalJSON (line 231) | func (t *BreakLocationType) UnmarshalJSON(buf []byte) error {
constant BreakLocationTypeDebuggerStatement (line 225) | BreakLocationTypeDebuggerStatement BreakLocationType = "debuggerStatement"
constant BreakLocationTypeCall (line 226) | BreakLocationTypeCall BreakLocationType = "call"
constant BreakLocationTypeReturn (line 227) | BreakLocationTypeReturn BreakLocationType = "return"
type DebugSymbolsType (line 251) | type DebugSymbolsType
method String (line 254) | func (t DebugSymbolsType) String() string {
method UnmarshalJSON (line 266) | func (t *DebugSymbolsType) UnmarshalJSON(buf []byte) error {
constant DebugSymbolsTypeSourceMap (line 260) | DebugSymbolsTypeSourceMap DebugSymbolsType = "SourceMap"
constant DebugSymbolsTypeEmbeddedDWARF (line 261) | DebugSymbolsTypeEmbeddedDWARF DebugSymbolsType = "EmbeddedDWARF"
constant DebugSymbolsTypeExternalDWARF (line 262) | DebugSymbolsTypeExternalDWARF DebugSymbolsType = "ExternalDWARF"
type PausedReason (line 286) | type PausedReason
method String (line 289) | func (t PausedReason) String() string {
method UnmarshalJSON (line 311) | func (t *PausedReason) UnmarshalJSON(buf []byte) error {
constant PausedReasonAmbiguous (line 295) | PausedReasonAmbiguous PausedReason = "ambiguous"
constant PausedReasonAssert (line 296) | PausedReasonAssert PausedReason = "assert"
constant PausedReasonCSPViolation (line 297) | PausedReasonCSPViolation PausedReason = "CSPViolation"
constant PausedReasonDebugCommand (line 298) | PausedReasonDebugCommand PausedReason = "debugCommand"
constant PausedReasonDOM (line 299) | PausedReasonDOM PausedReason = "DOM"
constant PausedReasonEventListener (line 300) | PausedReasonEventListener PausedReason = "EventListener"
constant PausedReasonException (line 301) | PausedReasonException PausedReason = "exception"
constant PausedReasonInstrumentation (line 302) | PausedReasonInstrumentation PausedReason = "instrumentation"
constant PausedReasonOOM (line 303) | PausedReasonOOM PausedReason = "OOM"
constant PausedReasonOther (line 304) | PausedReasonOther PausedReason = "other"
constant PausedReasonPromiseRejection (line 305) | PausedReasonPromiseRejection PausedReason = "promiseRejection"
constant PausedReasonXHR (line 306) | PausedReasonXHR PausedReason = "XHR"
constant PausedReasonStep (line 307) | PausedReasonStep PausedReason = "step"
type ContinueToLocationTargetCallFrames (line 351) | type ContinueToLocationTargetCallFrames
method String (line 354) | func (t ContinueToLocationTargetCallFrames) String() string {
method UnmarshalJSON (line 365) | func (t *ContinueToLocationTargetCallFrames) UnmarshalJSON(buf []byte)...
constant ContinueToLocationTargetCallFramesAny (line 360) | ContinueToLocationTargetCallFramesAny ContinueToLocationTargetCallFr...
constant ContinueToLocationTargetCallFramesCurrent (line 361) | ContinueToLocationTargetCallFramesCurrent ContinueToLocationTargetCallFr...
type RestartFrameMode (line 384) | type RestartFrameMode
method String (line 387) | func (t RestartFrameMode) String() string {
method UnmarshalJSON (line 397) | func (t *RestartFrameMode) UnmarshalJSON(buf []byte) error {
constant RestartFrameModeStepInto (line 393) | RestartFrameModeStepInto RestartFrameMode = "StepInto"
type SetInstrumentationBreakpointInstrumentation (line 413) | type SetInstrumentationBreakpointInstrumentation
method String (line 416) | func (t SetInstrumentationBreakpointInstrumentation) String() string {
method UnmarshalJSON (line 427) | func (t *SetInstrumentationBreakpointInstrumentation) UnmarshalJSON(bu...
constant SetInstrumentationBreakpointInstrumentationBeforeScriptExecution (line 422) | SetInstrumentationBreakpointInstrumentationBeforeScriptExecution ...
constant SetInstrumentationBreakpointInstrumentationBeforeScriptWithSourceMapExecution (line 423) | SetInstrumentationBreakpointInstrumentationBeforeScriptWithSourceMapExec...
type ExceptionsState (line 445) | type ExceptionsState
method String (line 448) | func (t ExceptionsState) String() string {
method UnmarshalJSON (line 461) | func (t *ExceptionsState) UnmarshalJSON(buf []byte) error {
constant ExceptionsStateNone (line 454) | ExceptionsStateNone ExceptionsState = "none"
constant ExceptionsStateCaught (line 455) | ExceptionsStateCaught ExceptionsState = "caught"
constant ExceptionsStateUncaught (line 456) | ExceptionsStateUncaught ExceptionsState = "uncaught"
constant ExceptionsStateAll (line 457) | ExceptionsStateAll ExceptionsState = "all"
type SetScriptSourceStatus (line 485) | type SetScriptSourceStatus
method String (line 488) | func (t SetScriptSourceStatus) String() string {
method UnmarshalJSON (line 502) | func (t *SetScriptSourceStatus) UnmarshalJSON(buf []byte) error {
constant SetScriptSourceStatusOk (line 494) | SetScriptSourceStatusOk SetScriptSourceStat...
constant SetScriptSourceStatusCompileError (line 495) | SetScriptSourceStatusCompileError SetScriptSourceStat...
constant SetScriptSourceStatusBlockedByActiveGenerator (line 496) | SetScriptSourceStatusBlockedByActiveGenerator SetScriptSourceStat...
constant SetScriptSourceStatusBlockedByActiveFunction (line 497) | SetScriptSourceStatusBlockedByActiveFunction SetScriptSourceStat...
constant SetScriptSourceStatusBlockedByTopLevelEsModuleChange (line 498) | SetScriptSourceStatusBlockedByTopLevelEsModuleChange SetScriptSourceStat...
FILE: vendor/github.com/chromedp/cdproto/deviceaccess/deviceaccess.go
type EnableParams (line 16) | type EnableParams struct
method Do (line 26) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 21) | func Enable() *EnableParams {
type DisableParams (line 31) | type DisableParams struct
method Do (line 41) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 36) | func Disable() *DisableParams {
type SelectPromptParams (line 47) | type SelectPromptParams struct
method Do (line 69) | func (p *SelectPromptParams) Do(ctx context.Context) (err error) {
function SelectPrompt (line 61) | func SelectPrompt(id RequestID, deviceID DeviceID) *SelectPromptParams {
type CancelPromptParams (line 75) | type CancelPromptParams struct
method Do (line 94) | func (p *CancelPromptParams) Do(ctx context.Context) (err error) {
function CancelPrompt (line 87) | func CancelPrompt(id RequestID) *CancelPromptParams {
constant CommandEnable (line 100) | CommandEnable = "DeviceAccess.enable"
constant CommandDisable (line 101) | CommandDisable = "DeviceAccess.disable"
constant CommandSelectPrompt (line 102) | CommandSelectPrompt = "DeviceAccess.selectPrompt"
constant CommandCancelPrompt (line 103) | CommandCancelPrompt = "DeviceAccess.cancelPrompt"
FILE: vendor/github.com/chromedp/cdproto/deviceaccess/events.go
type EventDeviceRequestPrompted (line 9) | type EventDeviceRequestPrompted struct
FILE: vendor/github.com/chromedp/cdproto/deviceaccess/types.go
type RequestID (line 8) | type RequestID
method String (line 11) | func (t RequestID) String() string {
type DeviceID (line 18) | type DeviceID
method String (line 21) | func (t DeviceID) String() string {
type PromptDevice (line 29) | type PromptDevice struct
FILE: vendor/github.com/chromedp/cdproto/deviceorientation/deviceorientation.go
type ClearDeviceOrientationOverrideParams (line 17) | type ClearDeviceOrientationOverrideParams struct
method Do (line 27) | func (p *ClearDeviceOrientationOverrideParams) Do(ctx context.Context)...
function ClearDeviceOrientationOverride (line 22) | func ClearDeviceOrientationOverride() *ClearDeviceOrientationOverridePar...
type SetDeviceOrientationOverrideParams (line 32) | type SetDeviceOrientationOverrideParams struct
method Do (line 56) | func (p *SetDeviceOrientationOverrideParams) Do(ctx context.Context) (...
function SetDeviceOrientationOverride (line 47) | func SetDeviceOrientationOverride(alpha float64, beta float64, gamma flo...
constant CommandClearDeviceOrientationOverride (line 62) | CommandClearDeviceOrientationOverride = "DeviceOrientation.clearDeviceOr...
constant CommandSetDeviceOrientationOverride (line 63) | CommandSetDeviceOrientationOverride = "DeviceOrientation.setDeviceOrie...
FILE: vendor/github.com/chromedp/cdproto/dom/dom.go
type CollectClassNamesFromSubtreeParams (line 28) | type CollectClassNamesFromSubtreeParams struct
method Do (line 56) | func (p *CollectClassNamesFromSubtreeParams) Do(ctx context.Context) (...
function CollectClassNamesFromSubtree (line 40) | func CollectClassNamesFromSubtree(nodeID cdp.NodeID) *CollectClassNamesF...
type CollectClassNamesFromSubtreeReturns (line 47) | type CollectClassNamesFromSubtreeReturns struct
type CopyToParams (line 69) | type CopyToParams struct
method WithInsertBeforeNodeID (line 93) | func (p CopyToParams) WithInsertBeforeNodeID(insertBeforeNodeID cdp.No...
method Do (line 108) | func (p *CopyToParams) Do(ctx context.Context) (nodeID cdp.NodeID, err...
function CopyTo (line 84) | func CopyTo(nodeID cdp.NodeID, targetNodeID cdp.NodeID) *CopyToParams {
type CopyToReturns (line 99) | type CopyToReturns struct
type DescribeNodeParams (line 121) | type DescribeNodeParams struct
method WithNodeID (line 142) | func (p DescribeNodeParams) WithNodeID(nodeID cdp.NodeID) *DescribeNod...
method WithBackendNodeID (line 148) | func (p DescribeNodeParams) WithBackendNodeID(backendNodeID cdp.Backen...
method WithObjectID (line 154) | func (p DescribeNodeParams) WithObjectID(objectID runtime.RemoteObject...
method WithDepth (line 162) | func (p DescribeNodeParams) WithDepth(depth int64) *DescribeNodeParams {
method WithPierce (line 169) | func (p DescribeNodeParams) WithPierce(pierce bool) *DescribeNodeParams {
method Do (line 184) | func (p *DescribeNodeParams) Do(ctx context.Context) (node *cdp.Node, ...
function DescribeNode (line 135) | func DescribeNode() *DescribeNodeParams {
type DescribeNodeReturns (line 175) | type DescribeNodeReturns struct
type ScrollIntoViewIfNeededParams (line 198) | type ScrollIntoViewIfNeededParams struct
method WithNodeID (line 217) | func (p ScrollIntoViewIfNeededParams) WithNodeID(nodeID cdp.NodeID) *S...
method WithBackendNodeID (line 223) | func (p ScrollIntoViewIfNeededParams) WithBackendNodeID(backendNodeID ...
method WithObjectID (line 229) | func (p ScrollIntoViewIfNeededParams) WithObjectID(objectID runtime.Re...
method WithRect (line 237) | func (p ScrollIntoViewIfNeededParams) WithRect(rect *Rect) *ScrollInto...
method Do (line 243) | func (p *ScrollIntoViewIfNeededParams) Do(ctx context.Context) (err er...
function ScrollIntoViewIfNeeded (line 212) | func ScrollIntoViewIfNeeded() *ScrollIntoViewIfNeededParams {
type DisableParams (line 248) | type DisableParams struct
method Do (line 258) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 253) | func Disable() *DisableParams {
type DiscardSearchResultsParams (line 264) | type DiscardSearchResultsParams struct
method Do (line 283) | func (p *DiscardSearchResultsParams) Do(ctx context.Context) (err erro...
function DiscardSearchResults (line 276) | func DiscardSearchResults(searchID string) *DiscardSearchResultsParams {
type EnableParams (line 288) | type EnableParams struct
method WithIncludeWhitespace (line 303) | func (p EnableParams) WithIncludeWhitespace(includeWhitespace EnableIn...
method Do (line 309) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 297) | func Enable() *EnableParams {
type FocusParams (line 314) | type FocusParams struct
method WithNodeID (line 330) | func (p FocusParams) WithNodeID(nodeID cdp.NodeID) *FocusParams {
method WithBackendNodeID (line 336) | func (p FocusParams) WithBackendNodeID(backendNodeID cdp.BackendNodeID...
method WithObjectID (line 342) | func (p FocusParams) WithObjectID(objectID runtime.RemoteObjectID) *Fo...
method Do (line 348) | func (p *FocusParams) Do(ctx context.Context) (err error) {
function Focus (line 325) | func Focus() *FocusParams {
type GetAttributesParams (line 353) | type GetAttributesParams struct
method Do (line 380) | func (p *GetAttributesParams) Do(ctx context.Context) (attributes []st...
function GetAttributes (line 364) | func GetAttributes(nodeID cdp.NodeID) *GetAttributesParams {
type GetAttributesReturns (line 371) | type GetAttributesReturns struct
type GetBoxModelParams (line 392) | type GetBoxModelParams struct
method WithNodeID (line 408) | func (p GetBoxModelParams) WithNodeID(nodeID cdp.NodeID) *GetBoxModelP...
method WithBackendNodeID (line 414) | func (p GetBoxModelParams) WithBackendNodeID(backendNodeID cdp.Backend...
method WithObjectID (line 420) | func (p GetBoxModelParams) WithObjectID(objectID runtime.RemoteObjectI...
method Do (line 435) | func (p *GetBoxModelParams) Do(ctx context.Context) (model *BoxModel, ...
function GetBoxModel (line 403) | func GetBoxModel() *GetBoxModelParams {
type GetBoxModelReturns (line 426) | type GetBoxModelReturns struct
type GetContentQuadsParams (line 448) | type GetContentQuadsParams struct
method WithNodeID (line 465) | func (p GetContentQuadsParams) WithNodeID(nodeID cdp.NodeID) *GetConte...
method WithBackendNodeID (line 471) | func (p GetContentQuadsParams) WithBackendNodeID(backendNodeID cdp.Bac...
method WithObjectID (line 477) | func (p GetContentQuadsParams) WithObjectID(objectID runtime.RemoteObj...
method Do (line 492) | func (p *GetContentQuadsParams) Do(ctx context.Context) (quads []Quad,...
function GetContentQuads (line 460) | func GetContentQuads() *GetContentQuadsParams {
type GetContentQuadsReturns (line 483) | type GetContentQuadsReturns struct
type GetDocumentParams (line 506) | type GetDocumentParams struct
method WithDepth (line 526) | func (p GetDocumentParams) WithDepth(depth int64) *GetDocumentParams {
method WithPierce (line 533) | func (p GetDocumentParams) WithPierce(pierce bool) *GetDocumentParams {
method Do (line 548) | func (p *GetDocumentParams) Do(ctx context.Context) (root *cdp.Node, e...
function GetDocument (line 517) | func GetDocument() *GetDocumentParams {
type GetDocumentReturns (line 539) | type GetDocumentReturns struct
type GetNodesForSubtreeByStyleParams (line 561) | type GetNodesForSubtreeByStyleParams struct
method WithPierce (line 586) | func (p GetNodesForSubtreeByStyleParams) WithPierce(pierce bool) *GetN...
method Do (line 601) | func (p *GetNodesForSubtreeByStyleParams) Do(ctx context.Context) (nod...
function GetNodesForSubtreeByStyle (line 576) | func GetNodesForSubtreeByStyle(nodeID cdp.NodeID, computedStyles []*CSSC...
type GetNodesForSubtreeByStyleReturns (line 592) | type GetNodesForSubtreeByStyleReturns struct
type GetNodeForLocationParams (line 614) | type GetNodeForLocationParams struct
method WithIncludeUserAgentShadowDOM (line 641) | func (p GetNodeForLocationParams) WithIncludeUserAgentShadowDOM(includ...
method WithIgnorePointerEventsNone (line 648) | func (p GetNodeForLocationParams) WithIgnorePointerEventsNone(ignorePo...
method Do (line 667) | func (p *GetNodeForLocationParams) Do(ctx context.Context) (backendNod...
function GetNodeForLocation (line 630) | func GetNodeForLocation(x int64, y int64) *GetNodeForLocationParams {
type GetNodeForLocationReturns (line 654) | type GetNodeForLocationReturns struct
type GetOuterHTMLParams (line 679) | type GetOuterHTMLParams struct
method WithNodeID (line 698) | func (p GetOuterHTMLParams) WithNodeID(nodeID cdp.NodeID) *GetOuterHTM...
method WithBackendNodeID (line 704) | func (p GetOuterHTMLParams) WithBackendNodeID(backendNodeID cdp.Backen...
method WithObjectID (line 710) | func (p GetOuterHTMLParams) WithObjectID(objectID runtime.RemoteObject...
method WithIncludeShadowDOM (line 717) | func (p GetOuterHTMLParams) WithIncludeShadowDOM(includeShadowDOM bool...
method Do (line 732) | func (p *GetOuterHTMLParams) Do(ctx context.Context) (outerHTML string...
function GetOuterHTML (line 691) | func GetOuterHTML() *GetOuterHTMLParams {
type GetOuterHTMLReturns (line 723) | type GetOuterHTMLReturns struct
type GetRelayoutBoundaryParams (line 745) | type GetRelayoutBoundaryParams struct
method Do (line 773) | func (p *GetRelayoutBoundaryParams) Do(ctx context.Context) (nodeID cd...
function GetRelayoutBoundary (line 757) | func GetRelayoutBoundary(nodeID cdp.NodeID) *GetRelayoutBoundaryParams {
type GetRelayoutBoundaryReturns (line 764) | type GetRelayoutBoundaryReturns struct
type GetSearchResultsParams (line 786) | type GetSearchResultsParams struct
method Do (line 820) | func (p *GetSearchResultsParams) Do(ctx context.Context) (nodeIDs []cd...
function GetSearchResults (line 802) | func GetSearchResults(searchID string, fromIndex int64, toIndex int64) *...
type GetSearchResultsReturns (line 811) | type GetSearchResultsReturns struct
type MarkUndoableStateParams (line 832) | type MarkUndoableStateParams struct
method Do (line 842) | func (p *MarkUndoableStateParams) Do(ctx context.Context) (err error) {
function MarkUndoableState (line 837) | func MarkUndoableState() *MarkUndoableStateParams {
type MoveToParams (line 848) | type MoveToParams struct
method WithInsertBeforeNodeID (line 872) | func (p MoveToParams) WithInsertBeforeNodeID(insertBeforeNodeID cdp.No...
method Do (line 887) | func (p *MoveToParams) Do(ctx context.Context) (nodeID cdp.NodeID, err...
function MoveTo (line 863) | func MoveTo(nodeID cdp.NodeID, targetNodeID cdp.NodeID) *MoveToParams {
type MoveToReturns (line 878) | type MoveToReturns struct
type PerformSearchParams (line 901) | type PerformSearchParams struct
method WithIncludeUserAgentShadowDOM (line 923) | func (p PerformSearchParams) WithIncludeUserAgentShadowDOM(includeUser...
method Do (line 940) | func (p *PerformSearchParams) Do(ctx context.Context) (searchID string...
function PerformSearch (line 915) | func PerformSearch(query string) *PerformSearchParams {
type PerformSearchReturns (line 929) | type PerformSearchReturns struct
type PushNodeByPathToFrontendParams (line 953) | type PushNodeByPathToFrontendParams struct
method Do (line 981) | func (p *PushNodeByPathToFrontendParams) Do(ctx context.Context) (node...
function PushNodeByPathToFrontend (line 965) | func PushNodeByPathToFrontend(path string) *PushNodeByPathToFrontendPara...
type PushNodeByPathToFrontendReturns (line 972) | type PushNodeByPathToFrontendReturns struct
type PushNodesByBackendIDsToFrontendParams (line 994) | type PushNodesByBackendIDsToFrontendParams struct
method Do (line 1022) | func (p *PushNodesByBackendIDsToFrontendParams) Do(ctx context.Context...
function PushNodesByBackendIDsToFrontend (line 1006) | func PushNodesByBackendIDsToFrontend(backendNodeIDs []cdp.BackendNodeID)...
type PushNodesByBackendIDsToFrontendReturns (line 1013) | type PushNodesByBackendIDsToFrontendReturns struct
type QuerySelectorParams (line 1034) | type QuerySelectorParams struct
method Do (line 1064) | func (p *QuerySelectorParams) Do(ctx context.Context) (nodeID cdp.Node...
function QuerySelector (line 1047) | func QuerySelector(nodeID cdp.NodeID, selector string) *QuerySelectorPar...
type QuerySelectorReturns (line 1055) | type QuerySelectorReturns struct
type QuerySelectorAllParams (line 1076) | type QuerySelectorAllParams struct
method Do (line 1106) | func (p *QuerySelectorAllParams) Do(ctx context.Context) (nodeIDs []cd...
function QuerySelectorAll (line 1089) | func QuerySelectorAll(nodeID cdp.NodeID, selector string) *QuerySelector...
type QuerySelectorAllReturns (line 1097) | type QuerySelectorAllReturns struct
type GetTopLayerElementsParams (line 1120) | type GetTopLayerElementsParams struct
method Do (line 1141) | func (p *GetTopLayerElementsParams) Do(ctx context.Context) (nodeIDs [...
function GetTopLayerElements (line 1127) | func GetTopLayerElements() *GetTopLayerElementsParams {
type GetTopLayerElementsReturns (line 1132) | type GetTopLayerElementsReturns struct
type GetElementByRelationParams (line 1154) | type GetElementByRelationParams struct
method Do (line 1185) | func (p *GetElementByRelationParams) Do(ctx context.Context) (nodeID c...
function GetElementByRelation (line 1168) | func GetElementByRelation(nodeID cdp.NodeID, relation GetElementByRelati...
type GetElementByRelationReturns (line 1176) | type GetElementByRelationReturns struct
type RedoParams (line 1197) | type RedoParams struct
method Do (line 1207) | func (p *RedoParams) Do(ctx context.Context) (err error) {
function Redo (line 1202) | func Redo() *RedoParams {
type RemoveAttributeParams (line 1213) | type RemoveAttributeParams struct
method Do (line 1235) | func (p *RemoveAttributeParams) Do(ctx context.Context) (err error) {
function RemoveAttribute (line 1227) | func RemoveAttribute(nodeID cdp.NodeID, name string) *RemoveAttributePar...
type RemoveNodeParams (line 1240) | type RemoveNodeParams struct
method Do (line 1258) | func (p *RemoveNodeParams) Do(ctx context.Context) (err error) {
function RemoveNode (line 1251) | func RemoveNode(nodeID cdp.NodeID) *RemoveNodeParams {
type RequestChildNodesParams (line 1266) | type RequestChildNodesParams struct
method WithDepth (line 1292) | func (p RequestChildNodesParams) WithDepth(depth int64) *RequestChildN...
method WithPierce (line 1299) | func (p RequestChildNodesParams) WithPierce(pierce bool) *RequestChild...
method Do (line 1305) | func (p *RequestChildNodesParams) Do(ctx context.Context) (err error) {
function RequestChildNodes (line 1282) | func RequestChildNodes(nodeID cdp.NodeID) *RequestChildNodesParams {
type RequestNodeParams (line 1313) | type RequestNodeParams struct
method Do (line 1343) | func (p *RequestNodeParams) Do(ctx context.Context) (nodeID cdp.NodeID...
function RequestNode (line 1327) | func RequestNode(objectID runtime.RemoteObjectID) *RequestNodeParams {
type RequestNodeReturns (line 1334) | type RequestNodeReturns struct
type ResolveNodeParams (line 1356) | type ResolveNodeParams struct
method WithNodeID (line 1374) | func (p ResolveNodeParams) WithNodeID(nodeID cdp.NodeID) *ResolveNodeP...
method WithBackendNodeID (line 1380) | func (p ResolveNodeParams) WithBackendNodeID(backendNodeID cdp.Backend...
method WithObjectGroup (line 1387) | func (p ResolveNodeParams) WithObjectGroup(objectGroup string) *Resolv...
method WithExecutionContextID (line 1393) | func (p ResolveNodeParams) WithExecutionContextID(executionContextID r...
method Do (line 1408) | func (p *ResolveNodeParams) Do(ctx context.Context) (object *runtime.R...
function ResolveNode (line 1369) | func ResolveNode() *ResolveNodeParams {
type ResolveNodeReturns (line 1399) | type ResolveNodeReturns struct
type SetAttributeValueParams (line 1420) | type SetAttributeValueParams struct
method Do (line 1444) | func (p *SetAttributeValueParams) Do(ctx context.Context) (err error) {
function SetAttributeValue (line 1435) | func SetAttributeValue(nodeID cdp.NodeID, name string, value string) *Se...
type SetAttributesAsTextParams (line 1451) | type SetAttributesAsTextParams struct
method WithName (line 1476) | func (p SetAttributesAsTextParams) WithName(name string) *SetAttribute...
method Do (line 1482) | func (p *SetAttributesAsTextParams) Do(ctx context.Context) (err error) {
function SetAttributesAsText (line 1467) | func SetAttributesAsText(nodeID cdp.NodeID, text string) *SetAttributesA...
type SetFileInputFilesParams (line 1487) | type SetFileInputFilesParams struct
method WithNodeID (line 1508) | func (p SetFileInputFilesParams) WithNodeID(nodeID cdp.NodeID) *SetFil...
method WithBackendNodeID (line 1514) | func (p SetFileInputFilesParams) WithBackendNodeID(backendNodeID cdp.B...
method WithObjectID (line 1520) | func (p SetFileInputFilesParams) WithObjectID(objectID runtime.RemoteO...
method Do (line 1526) | func (p *SetFileInputFilesParams) Do(ctx context.Context) (err error) {
function SetFileInputFiles (line 1501) | func SetFileInputFiles(files []string) *SetFileInputFilesParams {
type SetNodeStackTracesEnabledParams (line 1532) | type SetNodeStackTracesEnabledParams struct
method Do (line 1551) | func (p *SetNodeStackTracesEnabledParams) Do(ctx context.Context) (err...
function SetNodeStackTracesEnabled (line 1544) | func SetNodeStackTracesEnabled(enable bool) *SetNodeStackTracesEnabledPa...
type GetNodeStackTracesParams (line 1557) | type GetNodeStackTracesParams struct
method Do (line 1585) | func (p *GetNodeStackTracesParams) Do(ctx context.Context) (creation *...
function GetNodeStackTraces (line 1569) | func GetNodeStackTraces(nodeID cdp.NodeID) *GetNodeStackTracesParams {
type GetNodeStackTracesReturns (line 1576) | type GetNodeStackTracesReturns struct
type GetFileInfoParams (line 1597) | type GetFileInfoParams struct
method Do (line 1624) | func (p *GetFileInfoParams) Do(ctx context.Context) (path string, err ...
function GetFileInfo (line 1608) | func GetFileInfo(objectID runtime.RemoteObjectID) *GetFileInfoParams {
type GetFileInfoReturns (line 1615) | type GetFileInfoReturns struct
type GetDetachedDomNodesParams (line 1636) | type GetDetachedDomNodesParams struct
method Do (line 1655) | func (p *GetDetachedDomNodesParams) Do(ctx context.Context) (detachedN...
function GetDetachedDomNodes (line 1641) | func GetDetachedDomNodes() *GetDetachedDomNodesParams {
type GetDetachedDomNodesReturns (line 1646) | type GetDetachedDomNodesReturns struct
type SetInspectedNodeParams (line 1668) | type SetInspectedNodeParams struct
method Do (line 1687) | func (p *SetInspectedNodeParams) Do(ctx context.Context) (err error) {
function SetInspectedNode (line 1680) | func SetInspectedNode(nodeID cdp.NodeID) *SetInspectedNodeParams {
type SetNodeNameParams (line 1692) | type SetNodeNameParams struct
method Do (line 1722) | func (p *SetNodeNameParams) Do(ctx context.Context) (nodeID cdp.NodeID...
function SetNodeName (line 1705) | func SetNodeName(nodeID cdp.NodeID, name string) *SetNodeNameParams {
type SetNodeNameReturns (line 1713) | type SetNodeNameReturns struct
type SetNodeValueParams (line 1734) | type SetNodeValueParams struct
method Do (line 1755) | func (p *SetNodeValueParams) Do(ctx context.Context) (err error) {
function SetNodeValue (line 1747) | func SetNodeValue(nodeID cdp.NodeID, value string) *SetNodeValueParams {
type SetOuterHTMLParams (line 1760) | type SetOuterHTMLParams struct
method Do (line 1781) | func (p *SetOuterHTMLParams) Do(ctx context.Context) (err error) {
function SetOuterHTML (line 1773) | func SetOuterHTML(nodeID cdp.NodeID, outerHTML string) *SetOuterHTMLPara...
type UndoParams (line 1786) | type UndoParams struct
method Do (line 1796) | func (p *UndoParams) Do(ctx context.Context) (err error) {
function Undo (line 1791) | func Undo() *UndoParams {
type GetFrameOwnerParams (line 1802) | type GetFrameOwnerParams struct
method Do (line 1831) | func (p *GetFrameOwnerParams) Do(ctx context.Context) (backendNodeID c...
function GetFrameOwner (line 1813) | func GetFrameOwner(frameID cdp.FrameID) *GetFrameOwnerParams {
type GetFrameOwnerReturns (line 1820) | type GetFrameOwnerReturns struct
type GetContainerForNodeParams (line 1848) | type GetContainerForNodeParams struct
method WithContainerName (line 1877) | func (p GetContainerForNodeParams) WithContainerName(containerName str...
method WithPhysicalAxes (line 1883) | func (p GetContainerForNodeParams) WithPhysicalAxes(physicalAxes Physi...
method WithLogicalAxes (line 1889) | func (p GetContainerForNodeParams) WithLogicalAxes(logicalAxes Logical...
method WithQueriesScrollState (line 1895) | func (p GetContainerForNodeParams) WithQueriesScrollState(queriesScrol...
method WithQueriesAnchored (line 1901) | func (p GetContainerForNodeParams) WithQueriesAnchored(queriesAnchored...
method Do (line 1916) | func (p *GetContainerForNodeParams) Do(ctx context.Context) (nodeID cd...
function GetContainerForNode (line 1868) | func GetContainerForNode(nodeID cdp.NodeID) *GetContainerForNodeParams {
type GetContainerForNodeReturns (line 1907) | type GetContainerForNodeReturns struct
type GetQueryingDescendantsForContainerParams (line 1929) | type GetQueryingDescendantsForContainerParams struct
method Do (line 1957) | func (p *GetQueryingDescendantsForContainerParams) Do(ctx context.Cont...
function GetQueryingDescendantsForContainer (line 1941) | func GetQueryingDescendantsForContainer(nodeID cdp.NodeID) *GetQueryingD...
type GetQueryingDescendantsForContainerReturns (line 1948) | type GetQueryingDescendantsForContainerReturns struct
type GetAnchorElementParams (line 1971) | type GetAnchorElementParams struct
method WithAnchorSpecifier (line 1994) | func (p GetAnchorElementParams) WithAnchorSpecifier(anchorSpecifier st...
method Do (line 2009) | func (p *GetAnchorElementParams) Do(ctx context.Context) (nodeID cdp.N...
function GetAnchorElement (line 1984) | func GetAnchorElement(nodeID cdp.NodeID) *GetAnchorElementParams {
type GetAnchorElementReturns (line 2000) | type GetAnchorElementReturns struct
type ForceShowPopoverParams (line 2022) | type ForceShowPopoverParams struct
method Do (line 2053) | func (p *ForceShowPopoverParams) Do(ctx context.Context) (nodeIDs []cd...
function ForceShowPopover (line 2036) | func ForceShowPopover(nodeID cdp.NodeID, enable bool) *ForceShowPopoverP...
type ForceShowPopoverReturns (line 2044) | type ForceShowPopoverReturns struct
constant CommandCollectClassNamesFromSubtree (line 2066) | CommandCollectClassNamesFromSubtree = "DOM.collectClassNamesFromSu...
constant CommandCopyTo (line 2067) | CommandCopyTo = "DOM.copyTo"
constant CommandDescribeNode (line 2068) | CommandDescribeNode = "DOM.describeNode"
constant CommandScrollIntoViewIfNeeded (line 2069) | CommandScrollIntoViewIfNeeded = "DOM.scrollIntoViewIfNeeded"
constant CommandDisable (line 2070) | CommandDisable = "DOM.disable"
constant CommandDiscardSearchResults (line 2071) | CommandDiscardSearchResults = "DOM.discardSearchResults"
constant CommandEnable (line 2072) | CommandEnable = "DOM.enable"
constant CommandFocus (line 2073) | CommandFocus = "DOM.focus"
constant CommandGetAttributes (line 2074) | CommandGetAttributes = "DOM.getAttributes"
constant CommandGetBoxModel (line 2075) | CommandGetBoxModel = "DOM.getBoxModel"
constant CommandGetContentQuads (line 2076) | CommandGetContentQuads = "DOM.getContentQuads"
constant CommandGetDocument (line 2077) | CommandGetDocument = "DOM.getDocument"
constant CommandGetNodesForSubtreeByStyle (line 2078) | CommandGetNodesForSubtreeByStyle = "DOM.getNodesForSubtreeByStyle"
constant CommandGetNodeForLocation (line 2079) | CommandGetNodeForLocation = "DOM.getNodeForLocation"
constant CommandGetOuterHTML (line 2080) | CommandGetOuterHTML = "DOM.getOuterHTML"
constant CommandGetRelayoutBoundary (line 2081) | CommandGetRelayoutBoundary = "DOM.getRelayoutBoundary"
constant CommandGetSearchResults (line 2082) | CommandGetSearchResults = "DOM.getSearchResults"
constant CommandMarkUndoableState (line 2083) | CommandMarkUndoableState = "DOM.markUndoableState"
constant CommandMoveTo (line 2084) | CommandMoveTo = "DOM.moveTo"
constant CommandPerformSearch (line 2085) | CommandPerformSearch = "DOM.performSearch"
constant CommandPushNodeByPathToFrontend (line 2086) | CommandPushNodeByPathToFrontend = "DOM.pushNodeByPathToFrontend"
constant CommandPushNodesByBackendIDsToFrontend (line 2087) | CommandPushNodesByBackendIDsToFrontend = "DOM.pushNodesByBackendIdsTo...
constant CommandQuerySelector (line 2088) | CommandQuerySelector = "DOM.querySelector"
constant CommandQuerySelectorAll (line 2089) | CommandQuerySelectorAll = "DOM.querySelectorAll"
constant CommandGetTopLayerElements (line 2090) | CommandGetTopLayerElements = "DOM.getTopLayerElements"
constant CommandGetElementByRelation (line 2091) | CommandGetElementByRelation = "DOM.getElementByRelation"
constant CommandRedo (line 2092) | CommandRedo = "DOM.redo"
constant CommandRemoveAttribute (line 2093) | CommandRemoveAttribute = "DOM.removeAttribute"
constant CommandRemoveNode (line 2094) | CommandRemoveNode = "DOM.removeNode"
constant CommandRequestChildNodes (line 2095) | CommandRequestChildNodes = "DOM.requestChildNodes"
constant CommandRequestNode (line 2096) | CommandRequestNode = "DOM.requestNode"
constant CommandResolveNode (line 2097) | CommandResolveNode = "DOM.resolveNode"
constant CommandSetAttributeValue (line 2098) | CommandSetAttributeValue = "DOM.setAttributeValue"
constant CommandSetAttributesAsText (line 2099) | CommandSetAttributesAsText = "DOM.setAttributesAsText"
constant CommandSetFileInputFiles (line 2100) | CommandSetFileInputFiles = "DOM.setFileInputFiles"
constant CommandSetNodeStackTracesEnabled (line 2101) | CommandSetNodeStackTracesEnabled = "DOM.setNodeStackTracesEnabled"
constant CommandGetNodeStackTraces (line 2102) | CommandGetNodeStackTraces = "DOM.getNodeStackTraces"
constant CommandGetFileInfo (line 2103) | CommandGetFileInfo = "DOM.getFileInfo"
constant CommandGetDetachedDomNodes (line 2104) | CommandGetDetachedDomNodes = "DOM.getDetachedDomNodes"
constant CommandSetInspectedNode (line 2105) | CommandSetInspectedNode = "DOM.setInspectedNode"
constant CommandSetNodeName (line 2106) | CommandSetNodeName = "DOM.setNodeName"
constant CommandSetNodeValue (line 2107) | CommandSetNodeValue = "DOM.setNodeValue"
constant CommandSetOuterHTML (line 2108) | CommandSetOuterHTML = "DOM.setOuterHTML"
constant CommandUndo (line 2109) | CommandUndo = "DOM.undo"
constant CommandGetFrameOwner (line 2110) | CommandGetFrameOwner = "DOM.getFrameOwner"
constant CommandGetContainerForNode (line 2111) | CommandGetContainerForNode = "DOM.getContainerForNode"
constant CommandGetQueryingDescendantsForContainer (line 2112) | CommandGetQueryingDescendantsForContainer = "DOM.getQueryingDescendantsF...
constant CommandGetAnchorElement (line 2113) | CommandGetAnchorElement = "DOM.getAnchorElement"
constant CommandForceShowPopover (line 2114) | CommandForceShowPopover = "DOM.forceShowPopover"
FILE: vendor/github.com/chromedp/cdproto/dom/events.go
type EventAttributeModified (line 12) | type EventAttributeModified struct
type EventAttributeRemoved (line 21) | type EventAttributeRemoved struct
type EventCharacterDataModified (line 29) | type EventCharacterDataModified struct
type EventChildNodeCountUpdated (line 38) | type EventChildNodeCountUpdated struct
type EventChildNodeInserted (line 46) | type EventChildNodeInserted struct
type EventChildNodeRemoved (line 55) | type EventChildNodeRemoved struct
type EventDistributedNodesUpdated (line 63) | type EventDistributedNodesUpdated struct
type EventDocumentUpdated (line 72) | type EventDocumentUpdated struct
type EventInlineStyleInvalidated (line 78) | type EventInlineStyleInvalidated struct
type EventPseudoElementAdded (line 86) | type EventPseudoElementAdded struct
type EventTopLayerElementsUpdated (line 94) | type EventTopLayerElementsUpdated struct
type EventScrollableFlagUpdated (line 100) | type EventScrollableFlagUpdated struct
type EventPseudoElementRemoved (line 109) | type EventPseudoElementRemoved struct
type EventSetChildNodes (line 119) | type EventSetChildNodes struct
type EventShadowRootPopped (line 127) | type EventShadowRootPopped struct
type EventShadowRootPushed (line 135) | type EventShadowRootPushed struct
FILE: vendor/github.com/chromedp/cdproto/dom/types.go
type PhysicalAxes (line 16) | type PhysicalAxes
method String (line 19) | func (t PhysicalAxes) String() string {
method UnmarshalJSON (line 31) | func (t *PhysicalAxes) UnmarshalJSON(buf []byte) error {
constant PhysicalAxesHorizontal (line 25) | PhysicalAxesHorizontal PhysicalAxes = "Horizontal"
constant PhysicalAxesVertical (line 26) | PhysicalAxesVertical PhysicalAxes = "Vertical"
constant PhysicalAxesBoth (line 27) | PhysicalAxesBoth PhysicalAxes = "Both"
type LogicalAxes (line 51) | type LogicalAxes
method String (line 54) | func (t LogicalAxes) String() string {
method UnmarshalJSON (line 66) | func (t *LogicalAxes) UnmarshalJSON(buf []byte) error {
constant LogicalAxesInline (line 60) | LogicalAxesInline LogicalAxes = "Inline"
constant LogicalAxesBlock (line 61) | LogicalAxesBlock LogicalAxes = "Block"
constant LogicalAxesBoth (line 62) | LogicalAxesBoth LogicalAxes = "Both"
type ScrollOrientation (line 86) | type ScrollOrientation
method String (line 89) | func (t ScrollOrientation) String() string {
method UnmarshalJSON (line 100) | func (t *ScrollOrientation) UnmarshalJSON(buf []byte) error {
constant ScrollOrientationHorizontal (line 95) | ScrollOrientationHorizontal ScrollOrientation = "horizontal"
constant ScrollOrientationVertical (line 96) | ScrollOrientationVertical ScrollOrientation = "vertical"
type DetachedElementInfo (line 119) | type DetachedElementInfo struct
type Quad (line 128) | type Quad
type BoxModel (line 133) | type BoxModel struct
type ShapeOutsideInfo (line 146) | type ShapeOutsideInfo struct
type Rect (line 155) | type Rect struct
type CSSComputedStyleProperty (line 165) | type CSSComputedStyleProperty struct
type EnableIncludeWhitespace (line 174) | type EnableIncludeWhitespace
method String (line 177) | func (t EnableIncludeWhitespace) String() string {
method UnmarshalJSON (line 188) | func (t *EnableIncludeWhitespace) UnmarshalJSON(buf []byte) error {
constant EnableIncludeWhitespaceNone (line 183) | EnableIncludeWhitespaceNone EnableIncludeWhitespace = "none"
constant EnableIncludeWhitespaceAll (line 184) | EnableIncludeWhitespaceAll EnableIncludeWhitespace = "all"
type GetElementByRelationRelation (line 206) | type GetElementByRelationRelation
method String (line 209) | func (t GetElementByRelationRelation) String() string {
method UnmarshalJSON (line 221) | func (t *GetElementByRelationRelation) UnmarshalJSON(buf []byte) error {
constant GetElementByRelationRelationPopoverTarget (line 215) | GetElementByRelationRelationPopoverTarget GetElementByRelationRelation ...
constant GetElementByRelationRelationInterestTarget (line 216) | GetElementByRelationRelationInterestTarget GetElementByRelationRelation ...
constant GetElementByRelationRelationCommandFor (line 217) | GetElementByRelationRelationCommandFor GetElementByRelationRelation ...
FILE: vendor/github.com/chromedp/cdproto/domdebugger/domdebugger.go
type GetEventListenersParams (line 21) | type GetEventListenersParams struct
method WithDepth (line 44) | func (p GetEventListenersParams) WithDepth(depth int64) *GetEventListe...
method WithPierce (line 52) | func (p GetEventListenersParams) WithPierce(pierce bool) *GetEventList...
method Do (line 67) | func (p *GetEventListenersParams) Do(ctx context.Context) (listeners [...
function GetEventListeners (line 34) | func GetEventListeners(objectID runtime.RemoteObjectID) *GetEventListene...
type GetEventListenersReturns (line 58) | type GetEventListenersReturns struct
type RemoveDOMBreakpointParams (line 80) | type RemoveDOMBreakpointParams struct
method Do (line 102) | func (p *RemoveDOMBreakpointParams) Do(ctx context.Context) (err error) {
function RemoveDOMBreakpoint (line 94) | func RemoveDOMBreakpoint(nodeID cdp.NodeID, typeVal DOMBreakpointType) *...
type RemoveEventListenerBreakpointParams (line 108) | type RemoveEventListenerBreakpointParams struct
method WithTargetName (line 127) | func (p RemoveEventListenerBreakpointParams) WithTargetName(targetName...
method Do (line 133) | func (p *RemoveEventListenerBreakpointParams) Do(ctx context.Context) ...
function RemoveEventListenerBreakpoint (line 120) | func RemoveEventListenerBreakpoint(eventName string) *RemoveEventListene...
type RemoveXHRBreakpointParams (line 138) | type RemoveXHRBreakpointParams struct
method Do (line 156) | func (p *RemoveXHRBreakpointParams) Do(ctx context.Context) (err error) {
function RemoveXHRBreakpoint (line 149) | func RemoveXHRBreakpoint(url string) *RemoveXHRBreakpointParams {
type SetBreakOnCSPViolationParams (line 161) | type SetBreakOnCSPViolationParams struct
method Do (line 179) | func (p *SetBreakOnCSPViolationParams) Do(ctx context.Context) (err er...
function SetBreakOnCSPViolation (line 172) | func SetBreakOnCSPViolation(violationTypes []CSPViolationType) *SetBreak...
type SetDOMBreakpointParams (line 184) | type SetDOMBreakpointParams struct
method Do (line 205) | func (p *SetDOMBreakpointParams) Do(ctx context.Context) (err error) {
function SetDOMBreakpoint (line 197) | func SetDOMBreakpoint(nodeID cdp.NodeID, typeVal DOMBreakpointType) *Set...
type SetEventListenerBreakpointParams (line 210) | type SetEventListenerBreakpointParams struct
method WithTargetName (line 230) | func (p SetEventListenerBreakpointParams) WithTargetName(targetName st...
method Do (line 236) | func (p *SetEventListenerBreakpointParams) Do(ctx context.Context) (er...
function SetEventListenerBreakpoint (line 222) | func SetEventListenerBreakpoint(eventName string) *SetEventListenerBreak...
type SetXHRBreakpointParams (line 241) | type SetXHRBreakpointParams struct
method Do (line 259) | func (p *SetXHRBreakpointParams) Do(ctx context.Context) (err error) {
function SetXHRBreakpoint (line 252) | func SetXHRBreakpoint(url string) *SetXHRBreakpointParams {
constant CommandGetEventListeners (line 265) | CommandGetEventListeners = "DOMDebugger.getEventListeners"
constant CommandRemoveDOMBreakpoint (line 266) | CommandRemoveDOMBreakpoint = "DOMDebugger.removeDOMBreakpoint"
constant CommandRemoveEventListenerBreakpoint (line 267) | CommandRemoveEventListenerBreakpoint = "DOMDebugger.removeEventListenerB...
constant CommandRemoveXHRBreakpoint (line 268) | CommandRemoveXHRBreakpoint = "DOMDebugger.removeXHRBreakpoint"
constant CommandSetBreakOnCSPViolation (line 269) | CommandSetBreakOnCSPViolation = "DOMDebugger.setBreakOnCSPViolation"
constant CommandSetDOMBreakpoint (line 270) | CommandSetDOMBreakpoint = "DOMDebugger.setDOMBreakpoint"
constant CommandSetEventListenerBreakpoint (line 271) | CommandSetEventListenerBreakpoint = "DOMDebugger.setEventListenerBrea...
constant CommandSetXHRBreakpoint (line 272) | CommandSetXHRBreakpoint = "DOMDebugger.setXHRBreakpoint"
FILE: vendor/github.com/chromedp/cdproto/domdebugger/types.go
type DOMBreakpointType (line 16) | type DOMBreakpointType
method String (line 19) | func (t DOMBreakpointType) String() string {
method UnmarshalJSON (line 31) | func (t *DOMBreakpointType) UnmarshalJSON(buf []byte) error {
constant DOMBreakpointTypeSubtreeModified (line 25) | DOMBreakpointTypeSubtreeModified DOMBreakpointType = "subtree-modified"
constant DOMBreakpointTypeAttributeModified (line 26) | DOMBreakpointTypeAttributeModified DOMBreakpointType = "attribute-modified"
constant DOMBreakpointTypeNodeRemoved (line 27) | DOMBreakpointTypeNodeRemoved DOMBreakpointType = "node-removed"
type CSPViolationType (line 51) | type CSPViolationType
method String (line 54) | func (t CSPViolationType) String() string {
method UnmarshalJSON (line 65) | func (t *CSPViolationType) UnmarshalJSON(buf []byte) error {
constant CSPViolationTypeTrustedtypeSinkViolation (line 60) | CSPViolationTypeTrustedtypeSinkViolation CSPViolationType = "trustedty...
constant CSPViolationTypeTrustedtypePolicyViolation (line 61) | CSPViolationTypeTrustedtypePolicyViolation CSPViolationType = "trustedty...
type EventListener (line 83) | type EventListener struct
FILE: vendor/github.com/chromedp/cdproto/domsnapshot/domsnapshot.go
type DisableParams (line 19) | type DisableParams struct
method Do (line 29) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 24) | func Disable() *DisableParams {
type EnableParams (line 34) | type EnableParams struct
method Do (line 44) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 39) | func Enable() *EnableParams {
type CaptureSnapshotParams (line 53) | type CaptureSnapshotParams struct
method WithIncludePaintOrder (line 84) | func (p CaptureSnapshotParams) WithIncludePaintOrder(includePaintOrder...
method WithIncludeDOMRects (line 91) | func (p CaptureSnapshotParams) WithIncludeDOMRects(includeDOMRects boo...
method WithIncludeBlendedBackgroundColors (line 100) | func (p CaptureSnapshotParams) WithIncludeBlendedBackgroundColors(incl...
method WithIncludeTextColorOpacities (line 109) | func (p CaptureSnapshotParams) WithIncludeTextColorOpacities(includeTe...
method Do (line 126) | func (p *CaptureSnapshotParams) Do(ctx context.Context) (documents []*...
function CaptureSnapshot (line 72) | func CaptureSnapshot(computedStyles []string) *CaptureSnapshotParams {
type CaptureSnapshotReturns (line 115) | type CaptureSnapshotReturns struct
constant CommandDisable (line 139) | CommandDisable = "DOMSnapshot.disable"
constant CommandEnable (line 140) | CommandEnable = "DOMSnapshot.enable"
constant CommandCaptureSnapshot (line 141) | CommandCaptureSnapshot = "DOMSnapshot.captureSnapshot"
FILE: vendor/github.com/chromedp/cdproto/domsnapshot/types.go
type DOMNode (line 14) | type DOMNode struct
type InlineTextBox (line 49) | type InlineTextBox struct
type LayoutTreeNode (line 58) | type LayoutTreeNode struct
type ComputedStyle (line 72) | type ComputedStyle struct
type NameValue (line 79) | type NameValue struct
type StringIndex (line 87) | type StringIndex
method Int64 (line 90) | func (t StringIndex) Int64() int64 {
type ArrayOfStrings (line 97) | type ArrayOfStrings
type RareStringData (line 102) | type RareStringData struct
type RareBooleanData (line 110) | type RareBooleanData struct
type RareIntegerData (line 117) | type RareIntegerData struct
type Rectangle (line 125) | type Rectangle
type DocumentSnapshot (line 130) | type DocumentSnapshot struct
type NodeTreeSnapshot (line 151) | type NodeTreeSnapshot struct
type LayoutTreeSnapshot (line 175) | type LayoutTreeSnapshot struct
type TextBoxSnapshot (line 194) | type TextBoxSnapshot struct
FILE: vendor/github.com/chromedp/cdproto/domstorage/domstorage.go
type ClearParams (line 18) | type ClearParams struct
method Do (line 36) | func (p *ClearParams) Do(ctx context.Context) (err error) {
function Clear (line 29) | func Clear(storageID *StorageID) *ClearParams {
type DisableParams (line 42) | type DisableParams struct
method Do (line 53) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 48) | func Disable() *DisableParams {
type EnableParams (line 59) | type EnableParams struct
method Do (line 70) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 65) | func Enable() *EnableParams {
type GetDOMStorageItemsParams (line 75) | type GetDOMStorageItemsParams struct
method Do (line 102) | func (p *GetDOMStorageItemsParams) Do(ctx context.Context) (entries []...
function GetDOMStorageItems (line 86) | func GetDOMStorageItems(storageID *StorageID) *GetDOMStorageItemsParams {
type GetDOMStorageItemsReturns (line 93) | type GetDOMStorageItemsReturns struct
type RemoveDOMStorageItemParams (line 114) | type RemoveDOMStorageItemParams struct
method Do (line 135) | func (p *RemoveDOMStorageItemParams) Do(ctx context.Context) (err erro...
function RemoveDOMStorageItem (line 127) | func RemoveDOMStorageItem(storageID *StorageID, key string) *RemoveDOMSt...
type SetDOMStorageItemParams (line 140) | type SetDOMStorageItemParams struct
method Do (line 164) | func (p *SetDOMStorageItemParams) Do(ctx context.Context) (err error) {
function SetDOMStorageItem (line 155) | func SetDOMStorageItem(storageID *StorageID, key string, value string) *...
constant CommandClear (line 170) | CommandClear = "DOMStorage.clear"
constant CommandDisable (line 171) | CommandDisable = "DOMStorage.disable"
constant CommandEnable (line 172) | CommandEnable = "DOMStorage.enable"
constant CommandGetDOMStorageItems (line 173) | CommandGetDOMStorageItems = "DOMStorage.getDOMStorageItems"
constant CommandRemoveDOMStorageItem (line 174) | CommandRemoveDOMStorageItem = "DOMStorage.removeDOMStorageItem"
constant CommandSetDOMStorageItem (line 175) | CommandSetDOMStorageItem = "DOMStorage.setDOMStorageItem"
FILE: vendor/github.com/chromedp/cdproto/domstorage/events.go
type EventDomStorageItemAdded (line 8) | type EventDomStorageItemAdded struct
type EventDomStorageItemRemoved (line 17) | type EventDomStorageItemRemoved struct
type EventDomStorageItemUpdated (line 25) | type EventDomStorageItemUpdated struct
type EventDomStorageItemsCleared (line 35) | type EventDomStorageItemsCleared struct
FILE: vendor/github.com/chromedp/cdproto/domstorage/types.go
type SerializedStorageKey (line 8) | type SerializedStorageKey
method String (line 11) | func (t SerializedStorageKey) String() string {
type StorageID (line 18) | type StorageID struct
type Item (line 27) | type Item
FILE: vendor/github.com/chromedp/cdproto/emulation/emulation.go
type ClearDeviceMetricsOverrideParams (line 19) | type ClearDeviceMetricsOverrideParams struct
method Do (line 29) | func (p *ClearDeviceMetricsOverrideParams) Do(ctx context.Context) (er...
function ClearDeviceMetricsOverride (line 24) | func ClearDeviceMetricsOverride() *ClearDeviceMetricsOverrideParams {
type ClearGeolocationOverrideParams (line 35) | type ClearGeolocationOverrideParams struct
method Do (line 46) | func (p *ClearGeolocationOverrideParams) Do(ctx context.Context) (err ...
function ClearGeolocationOverride (line 41) | func ClearGeolocationOverride() *ClearGeolocationOverrideParams {
type ResetPageScaleFactorParams (line 52) | type ResetPageScaleFactorParams struct
method Do (line 63) | func (p *ResetPageScaleFactorParams) Do(ctx context.Context) (err erro...
function ResetPageScaleFactor (line 58) | func ResetPageScaleFactor() *ResetPageScaleFactorParams {
type SetFocusEmulationEnabledParams (line 69) | type SetFocusEmulationEnabledParams struct
method Do (line 88) | func (p *SetFocusEmulationEnabledParams) Do(ctx context.Context) (err ...
function SetFocusEmulationEnabled (line 81) | func SetFocusEmulationEnabled(enabled bool) *SetFocusEmulationEnabledPar...
type SetAutoDarkModeOverrideParams (line 94) | type SetAutoDarkModeOverrideParams struct
method WithEnabled (line 112) | func (p SetAutoDarkModeOverrideParams) WithEnabled(enabled bool) *SetA...
method Do (line 118) | func (p *SetAutoDarkModeOverrideParams) Do(ctx context.Context) (err e...
function SetAutoDarkModeOverride (line 104) | func SetAutoDarkModeOverride() *SetAutoDarkModeOverrideParams {
type SetCPUThrottlingRateParams (line 123) | type SetCPUThrottlingRateParams struct
method Do (line 141) | func (p *SetCPUThrottlingRateParams) Do(ctx context.Context) (err erro...
function SetCPUThrottlingRate (line 134) | func SetCPUThrottlingRate(rate float64) *SetCPUThrottlingRateParams {
type SetDefaultBackgroundColorOverrideParams (line 148) | type SetDefaultBackgroundColorOverrideParams struct
method WithColor (line 165) | func (p SetDefaultBackgroundColorOverrideParams) WithColor(color *cdp....
method Do (line 171) | func (p *SetDefaultBackgroundColorOverrideParams) Do(ctx context.Conte...
function SetDefaultBackgroundColorOverride (line 159) | func SetDefaultBackgroundColorOverride() *SetDefaultBackgroundColorOverr...
type SetSafeAreaInsetsOverrideParams (line 179) | type SetSafeAreaInsetsOverrideParams struct
method Do (line 199) | func (p *SetSafeAreaInsetsOverrideParams) Do(ctx context.Context) (err...
function SetSafeAreaInsetsOverride (line 192) | func SetSafeAreaInsetsOverride(insets *SafeAreaInsets) *SetSafeAreaInset...
type SetDeviceMetricsOverrideParams (line 207) | type SetDeviceMetricsOverrideParams struct
method WithScale (line 246) | func (p SetDeviceMetricsOverrideParams) WithScale(scale float64) *SetD...
method WithScreenWidth (line 253) | func (p SetDeviceMetricsOverrideParams) WithScreenWidth(screenWidth in...
method WithScreenHeight (line 260) | func (p SetDeviceMetricsOverrideParams) WithScreenHeight(screenHeight ...
method WithPositionX (line 267) | func (p SetDeviceMetricsOverrideParams) WithPositionX(positionX int64)...
method WithPositionY (line 274) | func (p SetDeviceMetricsOverrideParams) WithPositionY(positionY int64)...
method WithDontSetVisibleSize (line 281) | func (p SetDeviceMetricsOverrideParams) WithDontSetVisibleSize(dontSet...
method WithScreenOrientation (line 287) | func (p SetDeviceMetricsOverrideParams) WithScreenOrientation(screenOr...
method WithViewport (line 295) | func (p SetDeviceMetricsOverrideParams) WithViewport(viewport *page.Vi...
method Do (line 301) | func (p *SetDeviceMetricsOverrideParams) Do(ctx context.Context) (err ...
function SetDeviceMetricsOverride (line 235) | func SetDeviceMetricsOverride(width int64, height int64, deviceScaleFact...
type SetDevicePostureOverrideParams (line 308) | type SetDevicePostureOverrideParams struct
method Do (line 328) | func (p *SetDevicePostureOverrideParams) Do(ctx context.Context) (err ...
function SetDevicePostureOverride (line 321) | func SetDevicePostureOverride(posture *DevicePosture) *SetDevicePostureO...
type ClearDevicePostureOverrideParams (line 336) | type ClearDevicePostureOverrideParams struct
method Do (line 349) | func (p *ClearDevicePostureOverrideParams) Do(ctx context.Context) (er...
function ClearDevicePostureOverride (line 344) | func ClearDevicePostureOverride() *ClearDevicePostureOverrideParams {
type SetDisplayFeaturesOverrideParams (line 356) | type SetDisplayFeaturesOverrideParams struct
method Do (line 376) | func (p *SetDisplayFeaturesOverrideParams) Do(ctx context.Context) (er...
function SetDisplayFeaturesOverride (line 369) | func SetDisplayFeaturesOverride(features []*DisplayFeature) *SetDisplayF...
type ClearDisplayFeaturesOverrideParams (line 384) | type ClearDisplayFeaturesOverrideParams struct
method Do (line 397) | func (p *ClearDisplayFeaturesOverrideParams) Do(ctx context.Context) (...
function ClearDisplayFeaturesOverride (line 392) | func ClearDisplayFeaturesOverride() *ClearDisplayFeaturesOverrideParams {
type SetScrollbarsHiddenParams (line 402) | type SetScrollbarsHiddenParams struct
method Do (line 420) | func (p *SetScrollbarsHiddenParams) Do(ctx context.Context) (err error) {
function SetScrollbarsHidden (line 413) | func SetScrollbarsHidden(hidden bool) *SetScrollbarsHiddenParams {
type SetDocumentCookieDisabledParams (line 425) | type SetDocumentCookieDisabledParams struct
method Do (line 443) | func (p *SetDocumentCookieDisabledParams) Do(ctx context.Context) (err...
function SetDocumentCookieDisabled (line 436) | func SetDocumentCookieDisabled(disabled bool) *SetDocumentCookieDisabled...
type SetEmitTouchEventsForMouseParams (line 448) | type SetEmitTouchEventsForMouseParams struct
method WithConfiguration (line 468) | func (p SetEmitTouchEventsForMouseParams) WithConfiguration(configurat...
method Do (line 474) | func (p *SetEmitTouchEventsForMouseParams) Do(ctx context.Context) (er...
function SetEmitTouchEventsForMouse (line 460) | func SetEmitTouchEventsForMouse(enabled bool) *SetEmitTouchEventsForMous...
type SetEmulatedMediaParams (line 480) | type SetEmulatedMediaParams struct
method WithMedia (line 496) | func (p SetEmulatedMediaParams) WithMedia(media string) *SetEmulatedMe...
method WithFeatures (line 502) | func (p SetEmulatedMediaParams) WithFeatures(features []*MediaFeature)...
method Do (line 508) | func (p *SetEmulatedMediaParams) Do(ctx context.Context) (err error) {
function SetEmulatedMedia (line 491) | func SetEmulatedMedia() *SetEmulatedMediaParams {
type SetEmulatedVisionDeficiencyParams (line 513) | type SetEmulatedVisionDeficiencyParams struct
method Do (line 531) | func (p *SetEmulatedVisionDeficiencyParams) Do(ctx context.Context) (e...
function SetEmulatedVisionDeficiency (line 524) | func SetEmulatedVisionDeficiency(typeVal SetEmulatedVisionDeficiencyType...
type SetEmulatedOSTextScaleParams (line 536) | type SetEmulatedOSTextScaleParams struct
method WithScale (line 550) | func (p SetEmulatedOSTextScaleParams) WithScale(scale float64) *SetEmu...
method Do (line 556) | func (p *SetEmulatedOSTextScaleParams) Do(ctx context.Context) (err er...
function SetEmulatedOSTextScale (line 545) | func SetEmulatedOSTextScale() *SetEmulatedOSTextScaleParams {
type SetGeolocationOverrideParams (line 562) | type SetGeolocationOverrideParams struct
method WithLatitude (line 583) | func (p SetGeolocationOverrideParams) WithLatitude(latitude float64) *...
method WithLongitude (line 589) | func (p SetGeolocationOverrideParams) WithLongitude(longitude float64)...
method WithAccuracy (line 595) | func (p SetGeolocationOverrideParams) WithAccuracy(accuracy float64) *...
method WithAltitude (line 601) | func (p SetGeolocationOverrideParams) WithAltitude(altitude float64) *...
method WithAltitudeAccuracy (line 607) | func (p SetGeolocationOverrideParams) WithAltitudeAccuracy(altitudeAcc...
method WithHeading (line 613) | func (p SetGeolocationOverrideParams) WithHeading(heading float64) *Se...
method WithSpeed (line 619) | func (p SetGeolocationOverrideParams) WithSpeed(speed float64) *SetGeo...
method Do (line 625) | func (p *SetGeolocationOverrideParams) Do(ctx context.Context) (err er...
function SetGeolocationOverride (line 578) | func SetGeolocationOverride() *SetGeolocationOverrideParams {
type GetOverriddenSensorInformationParams (line 630) | type GetOverriddenSensorInformationParams struct
method Do (line 657) | func (p *GetOverriddenSensorInformationParams) Do(ctx context.Context)...
function GetOverriddenSensorInformation (line 641) | func GetOverriddenSensorInformation(typeVal SensorType) *GetOverriddenSe...
type GetOverriddenSensorInformationReturns (line 648) | type GetOverriddenSensorInformationReturns struct
type SetSensorOverrideEnabledParams (line 673) | type SetSensorOverrideEnabledParams struct
method WithMetadata (line 699) | func (p SetSensorOverrideEnabledParams) WithMetadata(metadata *SensorM...
method Do (line 705) | func (p *SetSensorOverrideEnabledParams) Do(ctx context.Context) (err ...
function SetSensorOverrideEnabled (line 691) | func SetSensorOverrideEnabled(enabled bool, typeVal SensorType) *SetSens...
type SetSensorOverrideReadingsParams (line 711) | type SetSensorOverrideReadingsParams struct
method Do (line 733) | func (p *SetSensorOverrideReadingsParams) Do(ctx context.Context) (err...
function SetSensorOverrideReadings (line 725) | func SetSensorOverrideReadings(typeVal SensorType, reading *SensorReadin...
type SetPressureSourceOverrideEnabledParams (line 741) | type SetPressureSourceOverrideEnabledParams struct
method WithMetadata (line 766) | func (p SetPressureSourceOverrideEnabledParams) WithMetadata(metadata ...
method Do (line 772) | func (p *SetPressureSourceOverrideEnabledParams) Do(ctx context.Contex...
function SetPressureSourceOverrideEnabled (line 758) | func SetPressureSourceOverrideEnabled(enabled bool, source PressureSourc...
type SetPressureStateOverrideParams (line 780) | type SetPressureStateOverrideParams struct
method Do (line 804) | func (p *SetPressureStateOverrideParams) Do(ctx context.Context) (err ...
function SetPressureStateOverride (line 796) | func SetPressureStateOverride(source PressureSource, state PressureState...
type SetPressureDataOverrideParams (line 811) | type SetPressureDataOverrideParams struct
method WithOwnContributionEstimate (line 835) | func (p SetPressureDataOverrideParams) WithOwnContributionEstimate(own...
method Do (line 841) | func (p *SetPressureDataOverrideParams) Do(ctx context.Context) (err e...
function SetPressureDataOverride (line 827) | func SetPressureDataOverride(source PressureSource, state PressureState)...
type SetIdleOverrideParams (line 846) | type SetIdleOverrideParams struct
method Do (line 867) | func (p *SetIdleOverrideParams) Do(ctx context.Context) (err error) {
function SetIdleOverride (line 859) | func SetIdleOverride(isUserActive bool, isScreenUnlocked bool) *SetIdleO...
type ClearIdleOverrideParams (line 872) | type ClearIdleOverrideParams struct
method Do (line 882) | func (p *ClearIdleOverrideParams) Do(ctx context.Context) (err error) {
function ClearIdleOverride (line 877) | func ClearIdleOverride() *ClearIdleOverrideParams {
type SetPageScaleFactorParams (line 887) | type SetPageScaleFactorParams struct
method Do (line 905) | func (p *SetPageScaleFactorParams) Do(ctx context.Context) (err error) {
function SetPageScaleFactor (line 898) | func SetPageScaleFactor(pageScaleFactor float64) *SetPageScaleFactorPara...
type SetScriptExecutionDisabledParams (line 910) | type SetScriptExecutionDisabledParams struct
method Do (line 928) | func (p *SetScriptExecutionDisabledParams) Do(ctx context.Context) (er...
function SetScriptExecutionDisabled (line 921) | func SetScriptExecutionDisabled(value bool) *SetScriptExecutionDisabledP...
type SetTouchEmulationEnabledParams (line 934) | type SetTouchEmulationEnabledParams struct
method WithMaxTouchPoints (line 954) | func (p SetTouchEmulationEnabledParams) WithMaxTouchPoints(maxTouchPoi...
method Do (line 960) | func (p *SetTouchEmulationEnabledParams) Do(ctx context.Context) (err ...
function SetTouchEmulationEnabled (line 947) | func SetTouchEmulationEnabled(enabled bool) *SetTouchEmulationEnabledPar...
type SetVirtualTimePolicyParams (line 967) | type SetVirtualTimePolicyParams struct
method WithBudget (line 991) | func (p SetVirtualTimePolicyParams) WithBudget(budget float64) *SetVir...
method WithMaxVirtualTimeTaskStarvationCount (line 999) | func (p SetVirtualTimePolicyParams) WithMaxVirtualTimeTaskStarvationCo...
method WithInitialVirtualTime (line 1006) | func (p SetVirtualTimePolicyParams) WithInitialVirtualTime(initialVirt...
method Do (line 1021) | func (p *SetVirtualTimePolicyParams) Do(ctx context.Context) (virtualT...
function SetVirtualTimePolicy (line 983) | func SetVirtualTimePolicy(policy VirtualTimePolicy) *SetVirtualTimePolic...
type SetVirtualTimePolicyReturns (line 1012) | type SetVirtualTimePolicyReturns struct
type SetLocaleOverrideParams (line 1034) | type SetLocaleOverrideParams struct
method WithLocale (line 1050) | func (p SetLocaleOverrideParams) WithLocale(locale string) *SetLocaleO...
method Do (line 1056) | func (p *SetLocaleOverrideParams) Do(ctx context.Context) (err error) {
function SetLocaleOverride (line 1044) | func SetLocaleOverride() *SetLocaleOverrideParams {
type SetTimezoneOverrideParams (line 1062) | type SetTimezoneOverrideParams struct
method Do (line 1081) | func (p *SetTimezoneOverrideParams) Do(ctx context.Context) (err error) {
function SetTimezoneOverride (line 1074) | func SetTimezoneOverride(timezoneID string) *SetTimezoneOverrideParams {
type SetDisabledImageTypesParams (line 1086) | type SetDisabledImageTypesParams struct
method Do (line 1104) | func (p *SetDisabledImageTypesParams) Do(ctx context.Context) (err err...
function SetDisabledImageTypes (line 1097) | func SetDisabledImageTypes(imageTypes []DisabledImageType) *SetDisabledI...
type SetDataSaverOverrideParams (line 1110) | type SetDataSaverOverrideParams struct
method WithDataSaverEnabled (line 1127) | func (p SetDataSaverOverrideParams) WithDataSaverEnabled(dataSaverEnab...
method Do (line 1133) | func (p *SetDataSaverOverrideParams) Do(ctx context.Context) (err erro...
function SetDataSaverOverride (line 1119) | func SetDataSaverOverride() *SetDataSaverOverrideParams {
type SetHardwareConcurrencyOverrideParams (line 1138) | type SetHardwareConcurrencyOverrideParams struct
method Do (line 1156) | func (p *SetHardwareConcurrencyOverrideParams) Do(ctx context.Context)...
function SetHardwareConcurrencyOverride (line 1149) | func SetHardwareConcurrencyOverride(hardwareConcurrency int64) *SetHardw...
type SetUserAgentOverrideParams (line 1162) | type SetUserAgentOverrideParams struct
method WithAcceptLanguage (line 1184) | func (p SetUserAgentOverrideParams) WithAcceptLanguage(acceptLanguage ...
method WithPlatform (line 1190) | func (p SetUserAgentOverrideParams) WithPlatform(platform string) *Set...
method WithUserAgentMetadata (line 1197) | func (p SetUserAgentOverrideParams) WithUserAgentMetadata(userAgentMet...
method Do (line 1203) | func (p *SetUserAgentOverrideParams) Do(ctx context.Context) (err erro...
function SetUserAgentOverride (line 1177) | func SetUserAgentOverride(userAgent string) *SetUserAgentOverrideParams {
type SetAutomationOverrideParams (line 1208) | type SetAutomationOverrideParams struct
method Do (line 1226) | func (p *SetAutomationOverrideParams) Do(ctx context.Context) (err err...
function SetAutomationOverride (line 1219) | func SetAutomationOverride(enabled bool) *SetAutomationOverrideParams {
type SetSmallViewportHeightDifferenceOverrideParams (line 1234) | type SetSmallViewportHeightDifferenceOverrideParams struct
method Do (line 1254) | func (p *SetSmallViewportHeightDifferenceOverrideParams) Do(ctx contex...
function SetSmallViewportHeightDifferenceOverride (line 1247) | func SetSmallViewportHeightDifferenceOverride(difference int64) *SetSmal...
constant CommandClearDeviceMetricsOverride (line 1260) | CommandClearDeviceMetricsOverride = "Emulation.clearDevice...
constant CommandClearGeolocationOverride (line 1261) | CommandClearGeolocationOverride = "Emulation.clearGeoloc...
constant CommandResetPageScaleFactor (line 1262) | CommandResetPageScaleFactor = "Emulation.resetPageSc...
constant CommandSetFocusEmulationEnabled (line 1263) | CommandSetFocusEmulationEnabled = "Emulation.setFocusEmu...
constant CommandSetAutoDarkModeOverride (line 1264) | CommandSetAutoDarkModeOverride = "Emulation.setAutoDark...
constant CommandSetCPUThrottlingRate (line 1265) | CommandSetCPUThrottlingRate = "Emulation.setCPUThrot...
constant CommandSetDefaultBackgroundColorOverride (line 1266) | CommandSetDefaultBackgroundColorOverride = "Emulation.setDefaultB...
constant CommandSetSafeAreaInsetsOverride (line 1267) | CommandSetSafeAreaInsetsOverride = "Emulation.setSafeArea...
constant CommandSetDeviceMetricsOverride (line 1268) | CommandSetDeviceMetricsOverride = "Emulation.setDeviceMe...
constant CommandSetDevicePostureOverride (line 1269) | CommandSetDevicePostureOverride = "Emulation.setDevicePo...
constant CommandClearDevicePostureOverride (line 1270) | CommandClearDevicePostureOverride = "Emulation.clearDevice...
constant CommandSetDisplayFeaturesOverride (line 1271) | CommandSetDisplayFeaturesOverride = "Emulation.setDisplayF...
constant CommandClearDisplayFeaturesOverride (line 1272) | CommandClearDisplayFeaturesOverride = "Emulation.clearDispla...
constant CommandSetScrollbarsHidden (line 1273) | CommandSetScrollbarsHidden = "Emulation.setScrollba...
constant CommandSetDocumentCookieDisabled (line 1274) | CommandSetDocumentCookieDisabled = "Emulation.setDocument...
constant CommandSetEmitTouchEventsForMouse (line 1275) | CommandSetEmitTouchEventsForMouse = "Emulation.setEmitTouc...
constant CommandSetEmulatedMedia (line 1276) | CommandSetEmulatedMedia = "Emulation.setEmulated...
constant CommandSetEmulatedVisionDeficiency (line 1277) | CommandSetEmulatedVisionDeficiency = "Emulation.setEmulated...
constant CommandSetEmulatedOSTextScale (line 1278) | CommandSetEmulatedOSTextScale = "Emulation.setEmulated...
constant CommandSetGeolocationOverride (line 1279) | CommandSetGeolocationOverride = "Emulation.setGeolocat...
constant CommandGetOverriddenSensorInformation (line 1280) | CommandGetOverriddenSensorInformation = "Emulation.getOverridd...
constant CommandSetSensorOverrideEnabled (line 1281) | CommandSetSensorOverrideEnabled = "Emulation.setSensorOv...
constant CommandSetSensorOverrideReadings (line 1282) | CommandSetSensorOverrideReadings = "Emulation.setSensorOv...
constant CommandSetPressureSourceOverrideEnabled (line 1283) | CommandSetPressureSourceOverrideEnabled = "Emulation.setPressure...
constant CommandSetPressureStateOverride (line 1284) | CommandSetPressureStateOverride = "Emulation.setPressure...
constant CommandSetPressureDataOverride (line 1285) | CommandSetPressureDataOverride = "Emulation.setPressure...
constant CommandSetIdleOverride (line 1286) | CommandSetIdleOverride = "Emulation.setIdleOver...
constant CommandClearIdleOverride (line 1287) | CommandClearIdleOverride = "Emulation.clearIdleOv...
constant CommandSetPageScaleFactor (line 1288) | CommandSetPageScaleFactor = "Emulation.setPageScal...
constant CommandSetScriptExecutionDisabled (line 1289) | CommandSetScriptExecutionDisabled = "Emulation.setScriptEx...
constant CommandSetTouchEmulationEnabled (line 1290) | CommandSetTouchEmulationEnabled = "Emulation.setTouchEmu...
constant CommandSetVirtualTimePolicy (line 1291) | CommandSetVirtualTimePolicy = "Emulation.setVirtualT...
constant CommandSetLocaleOverride (line 1292) | CommandSetLocaleOverride = "Emulation.setLocaleOv...
constant CommandSetTimezoneOverride (line 1293) | CommandSetTimezoneOverride = "Emulation.setTimezone...
constant CommandSetDisabledImageTypes (line 1294) | CommandSetDisabledImageTypes = "Emulation.setDisabled...
constant CommandSetDataSaverOverride (line 1295) | CommandSetDataSaverOverride = "Emulation.setDataSave...
constant CommandSetHardwareConcurrencyOverride (line 1296) | CommandSetHardwareConcurrencyOverride = "Emulation.setHardware...
constant CommandSetUserAgentOverride (line 1297) | CommandSetUserAgentOverride = "Emulation.setUserAgen...
constant CommandSetAutomationOverride (line 1298) | CommandSetAutomationOverride = "Emulation.setAutomati...
constant CommandSetSmallViewportHeightDifferenceOverride (line 1299) | CommandSetSmallViewportHeightDifferenceOverride = "Emulation.setSmallVie...
FILE: vendor/github.com/chromedp/cdproto/emulation/events.go
type EventVirtualTimeBudgetExpired (line 9) | type EventVirtualTimeBudgetExpired struct
FILE: vendor/github.com/chromedp/cdproto/emulation/types.go
type SafeAreaInsets (line 13) | type SafeAreaInsets struct
type ScreenOrientation (line 27) | type ScreenOrientation struct
type DisplayFeature (line 35) | type DisplayFeature struct
type DevicePosture (line 44) | type DevicePosture struct
type MediaFeature (line 51) | type MediaFeature struct
type VirtualTimePolicy (line 63) | type VirtualTimePolicy
method String (line 66) | func (t VirtualTimePolicy) String() string {
method UnmarshalJSON (line 78) | func (t *VirtualTimePolicy) UnmarshalJSON(buf []byte) error {
constant VirtualTimePolicyAdvance (line 72) | VirtualTimePolicyAdvance VirtualTimePolicy = "advance"
constant VirtualTimePolicyPause (line 73) | VirtualTimePolicyPause VirtualTimePolicy = "pause"
constant VirtualTimePolicyPauseIfNetworkFetchesPending (line 74) | VirtualTimePolicyPauseIfNetworkFetchesPending VirtualTimePolicy = "pause...
type UserAgentBrandVersion (line 99) | type UserAgentBrandVersion struct
type UserAgentMetadata (line 109) | type UserAgentMetadata struct
type SensorType (line 126) | type SensorType
method String (line 129) | func (t SensorType) String() string {
method UnmarshalJSON (line 146) | func (t *SensorType) UnmarshalJSON(buf []byte) error {
constant SensorTypeAbsoluteOrientation (line 135) | SensorTypeAbsoluteOrientation SensorType = "absolute-orientation"
constant SensorTypeAccelerometer (line 136) | SensorTypeAccelerometer SensorType = "accelerometer"
constant SensorTypeAmbientLight (line 137) | SensorTypeAmbientLight SensorType = "ambient-light"
constant SensorTypeGravity (line 138) | SensorTypeGravity SensorType = "gravity"
constant SensorTypeGyroscope (line 139) | SensorTypeGyroscope SensorType = "gyroscope"
constant SensorTypeLinearAcceleration (line 140) | SensorTypeLinearAcceleration SensorType = "linear-acceleration"
constant SensorTypeMagnetometer (line 141) | SensorTypeMagnetometer SensorType = "magnetometer"
constant SensorTypeRelativeOrientation (line 142) | SensorTypeRelativeOrientation SensorType = "relative-orientation"
type SensorMetadata (line 176) | type SensorMetadata struct
type SensorReadingSingle (line 185) | type SensorReadingSingle struct
type SensorReadingXYZ (line 192) | type SensorReadingXYZ struct
type SensorReadingQuaternion (line 201) | type SensorReadingQuaternion struct
type SensorReading (line 211) | type SensorReading struct
type PressureSource (line 220) | type PressureSource
method String (line 223) | func (t PressureSource) String() string {
method UnmarshalJSON (line 233) | func (t *PressureSource) UnmarshalJSON(buf []byte) error {
constant PressureSourceCPU (line 229) | PressureSourceCPU PressureSource = "cpu"
type PressureState (line 249) | type PressureState
method String (line 252) | func (t PressureState) String() string {
method UnmarshalJSON (line 265) | func (t *PressureState) UnmarshalJSON(buf []byte) error {
constant PressureStateNominal (line 258) | PressureStateNominal PressureState = "nominal"
constant PressureStateFair (line 259) | PressureStateFair PressureState = "fair"
constant PressureStateSerious (line 260) | PressureStateSerious PressureState = "serious"
constant PressureStateCritical (line 261) | PressureStateCritical PressureState = "critical"
type PressureMetadata (line 287) | type PressureMetadata struct
type DisabledImageType (line 294) | type DisabledImageType
method String (line 297) | func (t DisabledImageType) String() string {
method UnmarshalJSON (line 308) | func (t *DisabledImageType) UnmarshalJSON(buf []byte) error {
constant DisabledImageTypeAvif (line 303) | DisabledImageTypeAvif DisabledImageType = "avif"
constant DisabledImageTypeWebp (line 304) | DisabledImageTypeWebp DisabledImageType = "webp"
type OrientationType (line 326) | type OrientationType
method String (line 329) | func (t OrientationType) String() string {
method UnmarshalJSON (line 342) | func (t *OrientationType) UnmarshalJSON(buf []byte) error {
constant OrientationTypePortraitPrimary (line 335) | OrientationTypePortraitPrimary OrientationType = "portraitPrimary"
constant OrientationTypePortraitSecondary (line 336) | OrientationTypePortraitSecondary OrientationType = "portraitSecondary"
constant OrientationTypeLandscapePrimary (line 337) | OrientationTypeLandscapePrimary OrientationType = "landscapePrimary"
constant OrientationTypeLandscapeSecondary (line 338) | OrientationTypeLandscapeSecondary OrientationType = "landscapeSecondary"
type DisplayFeatureOrientation (line 365) | type DisplayFeatureOrientation
method String (line 368) | func (t DisplayFeatureOrientation) String() string {
method UnmarshalJSON (line 379) | func (t *DisplayFeatureOrientation) UnmarshalJSON(buf []byte) error {
constant DisplayFeatureOrientationVertical (line 374) | DisplayFeatureOrientationVertical DisplayFeatureOrientation = "vertical"
constant DisplayFeatureOrientationHorizontal (line 375) | DisplayFeatureOrientationHorizontal DisplayFeatureOrientation = "horizon...
type DevicePostureType (line 397) | type DevicePostureType
method String (line 400) | func (t DevicePostureType) String() string {
method UnmarshalJSON (line 411) | func (t *DevicePostureType) UnmarshalJSON(buf []byte) error {
constant DevicePostureTypeContinuous (line 406) | DevicePostureTypeContinuous DevicePostureType = "continuous"
constant DevicePostureTypeFolded (line 407) | DevicePostureTypeFolded DevicePostureType = "folded"
type SetEmitTouchEventsForMouseConfiguration (line 430) | type SetEmitTouchEventsForMouseConfiguration
method String (line 433) | func (t SetEmitTouchEventsForMouseConfiguration) String() string {
method UnmarshalJSON (line 444) | func (t *SetEmitTouchEventsForMouseConfiguration) UnmarshalJSON(buf []...
constant SetEmitTouchEventsForMouseConfigurationMobile (line 439) | SetEmitTouchEventsForMouseConfigurationMobile SetEmitTouchEventsForMous...
constant SetEmitTouchEventsForMouseConfigurationDesktop (line 440) | SetEmitTouchEventsForMouseConfigurationDesktop SetEmitTouchEventsForMous...
type SetEmulatedVisionDeficiencyType (line 464) | type SetEmulatedVisionDeficiencyType
method String (line 467) | func (t SetEmulatedVisionDeficiencyType) String() string {
method UnmarshalJSON (line 483) | func (t *SetEmulatedVisionDeficiencyType) UnmarshalJSON(buf []byte) er...
constant SetEmulatedVisionDeficiencyTypeNone (line 473) | SetEmulatedVisionDeficiencyTypeNone SetEmulatedVisionDeficien...
constant SetEmulatedVisionDeficiencyTypeBlurredVision (line 474) | SetEmulatedVisionDeficiencyTypeBlurredVision SetEmulatedVisionDeficien...
constant SetEmulatedVisionDeficiencyTypeReducedContrast (line 475) | SetEmulatedVisionDeficiencyTypeReducedContrast SetEmulatedVisionDeficien...
constant SetEmulatedVisionDeficiencyTypeAchromatopsia (line 476) | SetEmulatedVisionDeficiencyTypeAchromatopsia SetEmulatedVisionDeficien...
constant SetEmulatedVisionDeficiencyTypeDeuteranopia (line 477) | SetEmulatedVisionDeficiencyTypeDeuteranopia SetEmulatedVisionDeficien...
constant SetEmulatedVisionDeficiencyTypeProtanopia (line 478) | SetEmulatedVisionDeficiencyTypeProtanopia SetEmulatedVisionDeficien...
constant SetEmulatedVisionDeficiencyTypeTritanopia (line 479) | SetEmulatedVisionDeficiencyTypeTritanopia SetEmulatedVisionDeficien...
FILE: vendor/github.com/chromedp/cdproto/eventbreakpoints/eventbreakpoints.go
type SetInstrumentationBreakpointParams (line 22) | type SetInstrumentationBreakpointParams struct
method Do (line 40) | func (p *SetInstrumentationBreakpointParams) Do(ctx context.Context) (...
function SetInstrumentationBreakpoint (line 33) | func SetInstrumentationBreakpoint(eventName string) *SetInstrumentationB...
type RemoveInstrumentationBreakpointParams (line 46) | type RemoveInstrumentationBreakpointParams struct
method Do (line 65) | func (p *RemoveInstrumentationBreakpointParams) Do(ctx context.Context...
function RemoveInstrumentationBreakpoint (line 58) | func RemoveInstrumentationBreakpoint(eventName string) *RemoveInstrument...
type DisableParams (line 70) | type DisableParams struct
method Do (line 80) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 75) | func Disable() *DisableParams {
constant CommandSetInstrumentationBreakpoint (line 86) | CommandSetInstrumentationBreakpoint = "EventBreakpoints.setInstrument...
constant CommandRemoveInstrumentationBreakpoint (line 87) | CommandRemoveInstrumentationBreakpoint = "EventBreakpoints.removeInstrum...
constant CommandDisable (line 88) | CommandDisable = "EventBreakpoints.disable"
FILE: vendor/github.com/chromedp/cdproto/extensions/extensions.go
type LoadUnpackedParams (line 23) | type LoadUnpackedParams struct
method Do (line 54) | func (p *LoadUnpackedParams) Do(ctx context.Context) (id string, err e...
function LoadUnpacked (line 38) | func LoadUnpacked(path string) *LoadUnpackedParams {
type LoadUnpackedReturns (line 45) | type LoadUnpackedReturns struct
type UninstallParams (line 68) | type UninstallParams struct
method Do (line 88) | func (p *UninstallParams) Do(ctx context.Context) (err error) {
function Uninstall (line 81) | func Uninstall(id string) *UninstallParams {
type GetStorageItemsParams (line 94) | type GetStorageItemsParams struct
method WithKeys (line 117) | func (p GetStorageItemsParams) WithKeys(keys []string) *GetStorageItem...
method Do (line 132) | func (p *GetStorageItemsParams) Do(ctx context.Context) (data jsontext...
function GetStorageItems (line 109) | func GetStorageItems(id string, storageArea StorageArea) *GetStorageItem...
type GetStorageItemsReturns (line 123) | type GetStorageItemsReturns struct
type RemoveStorageItemsParams (line 145) | type RemoveStorageItemsParams struct
method Do (line 170) | func (p *RemoveStorageItemsParams) Do(ctx context.Context) (err error) {
function RemoveStorageItems (line 161) | func RemoveStorageItems(id string, storageArea StorageArea, keys []strin...
type ClearStorageItemsParams (line 175) | type ClearStorageItemsParams struct
method Do (line 196) | func (p *ClearStorageItemsParams) Do(ctx context.Context) (err error) {
function ClearStorageItems (line 188) | func ClearStorageItems(id string, storageArea StorageArea) *ClearStorage...
type SetStorageItemsParams (line 203) | type SetStorageItemsParams struct
method Do (line 228) | func (p *SetStorageItemsParams) Do(ctx context.Context) (err error) {
function SetStorageItems (line 219) | func SetStorageItems(id string, storageArea StorageArea, values jsontext...
constant CommandLoadUnpacked (line 234) | CommandLoadUnpacked = "Extensions.loadUnpacked"
constant CommandUninstall (line 235) | CommandUninstall = "Extensions.uninstall"
constant CommandGetStorageItems (line 236) | CommandGetStorageItems = "Extensions.getStorageItems"
constant CommandRemoveStorageItems (line 237) | CommandRemoveStorageItems = "Extensions.removeStorageItems"
constant CommandClearStorageItems (line 238) | CommandClearStorageItems = "Extensions.clearStorageItems"
constant CommandSetStorageItems (line 239) | CommandSetStorageItems = "Extensions.setStorageItems"
FILE: vendor/github.com/chromedp/cdproto/extensions/types.go
type StorageArea (line 13) | type StorageArea
method String (line 16) | func (t StorageArea) String() string {
method UnmarshalJSON (line 29) | func (t *StorageArea) UnmarshalJSON(buf []byte) error {
constant StorageAreaSession (line 22) | StorageAreaSession StorageArea = "session"
constant StorageAreaLocal (line 23) | StorageAreaLocal StorageArea = "local"
constant StorageAreaSync (line 24) | StorageAreaSync StorageArea = "sync"
constant StorageAreaManaged (line 25) | StorageAreaManaged StorageArea = "managed"
FILE: vendor/github.com/chromedp/cdproto/fedcm/events.go
type EventDialogShown (line 8) | type EventDialogShown struct
type EventDialogClosed (line 20) | type EventDialogClosed struct
FILE: vendor/github.com/chromedp/cdproto/fedcm/fedcm.go
type EnableParams (line 18) | type EnableParams struct
method WithDisableRejectionDelay (line 36) | func (p EnableParams) WithDisableRejectionDelay(disableRejectionDelay ...
method Do (line 42) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 27) | func Enable() *EnableParams {
type DisableParams (line 47) | type DisableParams struct
method Do (line 57) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 52) | func Disable() *DisableParams {
type SelectAccountParams (line 62) | type SelectAccountParams struct
method Do (line 83) | func (p *SelectAccountParams) Do(ctx context.Context) (err error) {
function SelectAccount (line 75) | func SelectAccount(dialogID string, accountIndex int64) *SelectAccountPa...
type ClickDialogButtonParams (line 88) | type ClickDialogButtonParams struct
method Do (line 109) | func (p *ClickDialogButtonParams) Do(ctx context.Context) (err error) {
function ClickDialogButton (line 101) | func ClickDialogButton(dialogID string, dialogButton DialogButton) *Clic...
type OpenURLParams (line 114) | type OpenURLParams struct
method Do (line 138) | func (p *OpenURLParams) Do(ctx context.Context) (err error) {
function OpenURL (line 129) | func OpenURL(dialogID string, accountIndex int64, accountURLType Account...
type DismissDialogParams (line 143) | type DismissDialogParams struct
method WithTriggerCooldown (line 163) | func (p DismissDialogParams) WithTriggerCooldown(triggerCooldown bool)...
method Do (line 169) | func (p *DismissDialogParams) Do(ctx context.Context) (err error) {
function DismissDialog (line 155) | func DismissDialog(dialogID string) *DismissDialogParams {
type ResetCooldownParams (line 175) | type ResetCooldownParams struct
method Do (line 186) | func (p *ResetCooldownParams) Do(ctx context.Context) (err error) {
function ResetCooldown (line 181) | func ResetCooldown() *ResetCooldownParams {
constant CommandEnable (line 192) | CommandEnable = "FedCm.enable"
constant CommandDisable (line 193) | CommandDisable = "FedCm.disable"
constant CommandSelectAccount (line 194) | CommandSelectAccount = "FedCm.selectAccount"
constant CommandClickDialogButton (line 195) | CommandClickDialogButton = "FedCm.clickDialogButton"
constant CommandOpenURL (line 196) | CommandOpenURL = "FedCm.openUrl"
constant CommandDismissDialog (line 197) | CommandDismissDialog = "FedCm.dismissDialog"
constant CommandResetCooldown (line 198) | CommandResetCooldown = "FedCm.resetCooldown"
FILE: vendor/github.com/chromedp/cdproto/fedcm/types.go
type LoginState (line 14) | type LoginState
method String (line 17) | func (t LoginState) String() string {
method UnmarshalJSON (line 28) | func (t *LoginState) UnmarshalJSON(buf []byte) error {
constant LoginStateSignIn (line 23) | LoginStateSignIn LoginState = "SignIn"
constant LoginStateSignUp (line 24) | LoginStateSignUp LoginState = "SignUp"
type DialogType (line 46) | type DialogType
method String (line 49) | func (t DialogType) String() string {
method UnmarshalJSON (line 62) | func (t *DialogType) UnmarshalJSON(buf []byte) error {
constant DialogTypeAccountChooser (line 55) | DialogTypeAccountChooser DialogType = "AccountChooser"
constant DialogTypeAutoReauthn (line 56) | DialogTypeAutoReauthn DialogType = "AutoReauthn"
constant DialogTypeConfirmIdpLogin (line 57) | DialogTypeConfirmIdpLogin DialogType = "ConfirmIdpLogin"
constant DialogTypeError (line 58) | DialogTypeError DialogType = "Error"
type DialogButton (line 84) | type DialogButton
method String (line 87) | func (t DialogButton) String() string {
method UnmarshalJSON (line 99) | func (t *DialogButton) UnmarshalJSON(buf []byte) error {
constant DialogButtonConfirmIdpLoginContinue (line 93) | DialogButtonConfirmIdpLoginContinue DialogButton = "ConfirmIdpLoginConti...
constant DialogButtonErrorGotIt (line 94) | DialogButtonErrorGotIt DialogButton = "ErrorGotIt"
constant DialogButtonErrorMoreDetails (line 95) | DialogButtonErrorMoreDetails DialogButton = "ErrorMoreDetails"
type AccountURLType (line 119) | type AccountURLType
method String (line 122) | func (t AccountURLType) String() string {
method UnmarshalJSON (line 133) | func (t *AccountURLType) UnmarshalJSON(buf []byte) error {
constant AccountURLTypeTermsOfService (line 128) | AccountURLTypeTermsOfService AccountURLType = "TermsOfService"
constant AccountURLTypePrivacyPolicy (line 129) | AccountURLTypePrivacyPolicy AccountURLType = "PrivacyPolicy"
type Account (line 151) | type Account struct
FILE: vendor/github.com/chromedp/cdproto/fetch/events.go
type EventRequestPaused (line 23) | type EventRequestPaused struct
type EventAuthRequired (line 41) | type EventAuthRequired struct
FILE: vendor/github.com/chromedp/cdproto/fetch/fetch.go
type DisableParams (line 22) | type DisableParams struct
method Do (line 32) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 27) | func Disable() *DisableParams {
type EnableParams (line 39) | type EnableParams struct
method WithPatterns (line 60) | func (p EnableParams) WithPatterns(patterns []*RequestPattern) *Enable...
method WithHandleAuthRequests (line 67) | func (p EnableParams) WithHandleAuthRequests(handleAuthRequests bool) ...
method Do (line 73) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 51) | func Enable() *EnableParams {
type FailRequestParams (line 78) | type FailRequestParams struct
method Do (line 99) | func (p *FailRequestParams) Do(ctx context.Context) (err error) {
function FailRequest (line 91) | func FailRequest(requestID RequestID, errorReason network.ErrorReason) *...
type FulfillRequestParams (line 104) | type FulfillRequestParams struct
method WithResponseHeaders (line 129) | func (p FulfillRequestParams) WithResponseHeaders(responseHeaders []*H...
method WithBinaryResponseHeaders (line 138) | func (p FulfillRequestParams) WithBinaryResponseHeaders(binaryResponse...
method WithBody (line 146) | func (p FulfillRequestParams) WithBody(body string) *FulfillRequestPar...
method WithResponsePhrase (line 153) | func (p FulfillRequestParams) WithResponsePhrase(responsePhrase string...
method Do (line 159) | func (p *FulfillRequestParams) Do(ctx context.Context) (err error) {
function FulfillRequest (line 121) | func FulfillRequest(requestID RequestID, responseCode int64) *FulfillReq...
type ContinueRequestParams (line 165) | type ContinueRequestParams struct
method WithURL (line 191) | func (p ContinueRequestParams) WithURL(url string) *ContinueRequestPar...
method WithMethod (line 197) | func (p ContinueRequestParams) WithMethod(method string) *ContinueRequ...
method WithPostData (line 203) | func (p ContinueRequestParams) WithPostData(postData string) *Continue...
method WithHeaders (line 211) | func (p ContinueRequestParams) WithHeaders(headers []*HeaderEntry) *Co...
method WithInterceptResponse (line 218) | func (p ContinueRequestParams) WithInterceptResponse(interceptResponse...
method Do (line 224) | func (p *ContinueRequestParams) Do(ctx context.Context) (err error) {
function ContinueRequest (line 182) | func ContinueRequest(requestID RequestID) *ContinueRequestParams {
type ContinueWithAuthParams (line 230) | type ContinueWithAuthParams struct
method Do (line 252) | func (p *ContinueWithAuthParams) Do(ctx context.Context) (err error) {
function ContinueWithAuth (line 244) | func ContinueWithAuth(requestID RequestID, authChallengeResponse *AuthCh...
type ContinueResponseParams (line 259) | type ContinueResponseParams struct
method WithResponseCode (line 284) | func (p ContinueResponseParams) WithResponseCode(responseCode int64) *...
method WithResponsePhrase (line 291) | func (p ContinueResponseParams) WithResponsePhrase(responsePhrase stri...
method WithResponseHeaders (line 298) | func (p ContinueResponseParams) WithResponseHeaders(responseHeaders []...
method WithBinaryResponseHeaders (line 307) | func (p ContinueResponseParams) WithBinaryResponseHeaders(binaryRespon...
method Do (line 313) | func (p *ContinueResponseParams) Do(ctx context.Context) (err error) {
function ContinueResponse (line 276) | func ContinueResponse(requestID RequestID) *ContinueResponseParams {
type GetResponseBodyParams (line 326) | type GetResponseBodyParams struct
method Do (line 362) | func (p *GetResponseBodyParams) Do(ctx context.Context) (body []byte, ...
function GetResponseBody (line 345) | func GetResponseBody(requestID RequestID) *GetResponseBodyParams {
type GetResponseBodyReturns (line 352) | type GetResponseBodyReturns struct
type TakeResponseBodyAsStreamParams (line 391) | type TakeResponseBodyAsStreamParams struct
method Do (line 425) | func (p *TakeResponseBodyAsStreamParams) Do(ctx context.Context) (stre...
function TakeResponseBodyAsStream (line 409) | func TakeResponseBodyAsStream(requestID RequestID) *TakeResponseBodyAsSt...
type TakeResponseBodyAsStreamReturns (line 416) | type TakeResponseBodyAsStreamReturns struct
constant CommandDisable (line 438) | CommandDisable = "Fetch.disable"
constant CommandEnable (line 439) | CommandEnable = "Fetch.enable"
constant CommandFailRequest (line 440) | CommandFailRequest = "Fetch.failRequest"
constant CommandFulfillRequest (line 441) | CommandFulfillRequest = "Fetch.fulfillRequest"
constant CommandContinueRequest (line 442) | CommandContinueRequest = "Fetch.continueRequest"
constant CommandContinueWithAuth (line 443) | CommandContinueWithAuth = "Fetch.continueWithAuth"
constant CommandContinueResponse (line 444) | CommandContinueResponse = "Fetch.continueResponse"
constant CommandGetResponseBody (line 445) | CommandGetResponseBody = "Fetch.getResponseBody"
constant CommandTakeResponseBodyAsStream (line 446) | CommandTakeResponseBodyAsStream = "Fetch.takeResponseBodyAsStream"
FILE: vendor/github.com/chromedp/cdproto/fetch/types.go
type RequestID (line 16) | type RequestID
method String (line 19) | func (t RequestID) String() string {
type RequestStage (line 28) | type RequestStage
method String (line 31) | func (t RequestStage) String() string {
method UnmarshalJSON (line 42) | func (t *RequestStage) UnmarshalJSON(buf []byte) error {
constant RequestStageRequest (line 37) | RequestStageRequest RequestStage = "Request"
constant RequestStageResponse (line 38) | RequestStageResponse RequestStage = "Response"
type RequestPattern (line 60) | type RequestPattern struct
type HeaderEntry (line 69) | type HeaderEntry struct
type AuthChallenge (line 77) | type AuthChallenge struct
type AuthChallengeResponse (line 87) | type AuthChallengeResponse struct
type AuthChallengeSource (line 96) | type AuthChallengeSource
method String (line 99) | func (t AuthChallengeSource) String() string {
method UnmarshalJSON (line 110) | func (t *AuthChallengeSource) UnmarshalJSON(buf []byte) error {
constant AuthChallengeSourceServer (line 105) | AuthChallengeSourceServer AuthChallengeSource = "Server"
constant AuthChallengeSourceProxy (line 106) | AuthChallengeSourceProxy AuthChallengeSource = "Proxy"
type AuthChallengeResponseResponse (line 131) | type AuthChallengeResponseResponse
method String (line 134) | func (t AuthChallengeResponseResponse) String() string {
method UnmarshalJSON (line 146) | func (t *AuthChallengeResponseResponse) UnmarshalJSON(buf []byte) error {
constant AuthChallengeResponseResponseDefault (line 140) | AuthChallengeResponseResponseDefault AuthChallengeResponseRes...
constant AuthChallengeResponseResponseCancelAuth (line 141) | AuthChallengeResponseResponseCancelAuth AuthChallengeResponseRes...
constant AuthChallengeResponseResponseProvideCredentials (line 142) | AuthChallengeResponseResponseProvideCredentials AuthChallengeResponseRes...
FILE: vendor/github.com/chromedp/cdproto/filesystem/filesystem.go
type GetDirectoryParams (line 16) | type GetDirectoryParams struct
method Do (line 43) | func (p *GetDirectoryParams) Do(ctx context.Context) (directory *Direc...
function GetDirectory (line 27) | func GetDirectory(bucketFileSystemLocator *BucketFileSystemLocator) *Get...
type GetDirectoryReturns (line 34) | type GetDirectoryReturns struct
constant CommandGetDirectory (line 56) | CommandGetDirectory = "FileSystem.getDirectory"
FILE: vendor/github.com/chromedp/cdproto/filesystem/types.go
type File (line 13) | type File struct
type Directory (line 23) | type Directory struct
type BucketFileSystemLocator (line 32) | type BucketFileSystemLocator struct
FILE: vendor/github.com/chromedp/cdproto/headlessexperimental/headlessexperimental.go
type BeginFrameParams (line 24) | type BeginFrameParams struct
method WithFrameTimeTicks (line 48) | func (p BeginFrameParams) WithFrameTimeTicks(frameTimeTicks float64) *...
method WithInterval (line 56) | func (p BeginFrameParams) WithInterval(interval float64) *BeginFramePa...
method WithNoDisplayUpdates (line 65) | func (p BeginFrameParams) WithNoDisplayUpdates(noDisplayUpdates bool) ...
method WithScreenshot (line 74) | func (p BeginFrameParams) WithScreenshot(screenshot *ScreenshotParams)...
method Do (line 91) | func (p *BeginFrameParams) Do(ctx context.Context) (hasDamage bool, sc...
function BeginFrame (line 40) | func BeginFrame() *BeginFrameParams {
type BeginFrameReturns (line 80) | type BeginFrameReturns struct
constant CommandBeginFrame (line 110) | CommandBeginFrame = "HeadlessExperimental.beginFrame"
FILE: vendor/github.com/chromedp/cdproto/headlessexperimental/types.go
type ScreenshotParams (line 13) | type ScreenshotParams struct
type ScreenshotParamsFormat (line 22) | type ScreenshotParamsFormat
method String (line 25) | func (t ScreenshotParamsFormat) String() string {
method UnmarshalJSON (line 37) | func (t *ScreenshotParamsFormat) UnmarshalJSON(buf []byte) error {
constant ScreenshotParamsFormatJpeg (line 31) | ScreenshotParamsFormatJpeg ScreenshotParamsFormat = "jpeg"
constant ScreenshotParamsFormatPng (line 32) | ScreenshotParamsFormatPng ScreenshotParamsFormat = "png"
constant ScreenshotParamsFormatWebp (line 33) | ScreenshotParamsFormatWebp ScreenshotParamsFormat = "webp"
FILE: vendor/github.com/chromedp/cdproto/heapprofiler/events.go
type EventAddHeapSnapshotChunk (line 8) | type EventAddHeapSnapshotChunk struct
type EventHeapStatsUpdate (line 16) | type EventHeapStatsUpdate struct
type EventLastSeenObjectID (line 27) | type EventLastSeenObjectID struct
type EventReportHeapSnapshotProgress (line 35) | type EventReportHeapSnapshotProgress struct
type EventResetProfiles (line 44) | type EventResetProfiles struct
FILE: vendor/github.com/chromedp/cdproto/heapprofiler/heapprofiler.go
type AddInspectedHeapObjectParams (line 18) | type AddInspectedHeapObjectParams struct
method Do (line 37) | func (p *AddInspectedHeapObjectParams) Do(ctx context.Context) (err er...
function AddInspectedHeapObject (line 30) | func AddInspectedHeapObject(heapObjectID HeapSnapshotObjectID) *AddInspe...
type CollectGarbageParams (line 42) | type CollectGarbageParams struct
method Do (line 52) | func (p *CollectGarbageParams) Do(ctx context.Context) (err error) {
function CollectGarbage (line 47) | func CollectGarbage() *CollectGarbageParams {
type DisableParams (line 57) | type DisableParams struct
method Do (line 67) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 62) | func Disable() *DisableParams {
type EnableParams (line 72) | type EnableParams struct
method Do (line 82) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 77) | func Enable() *EnableParams {
type GetHeapObjectIDParams (line 87) | type GetHeapObjectIDParams struct
method Do (line 114) | func (p *GetHeapObjectIDParams) Do(ctx context.Context) (heapSnapshotO...
function GetHeapObjectID (line 98) | func GetHeapObjectID(objectID runtime.RemoteObjectID) *GetHeapObjectIDPa...
type GetHeapObjectIDReturns (line 105) | type GetHeapObjectIDReturns struct
type GetObjectByHeapObjectIDParams (line 126) | type GetObjectByHeapObjectIDParams struct
method WithObjectGroup (line 146) | func (p GetObjectByHeapObjectIDParams) WithObjectGroup(objectGroup str...
method Do (line 161) | func (p *GetObjectByHeapObjectIDParams) Do(ctx context.Context) (resul...
function GetObjectByHeapObjectID (line 138) | func GetObjectByHeapObjectID(objectID HeapSnapshotObjectID) *GetObjectBy...
type GetObjectByHeapObjectIDReturns (line 152) | type GetObjectByHeapObjectIDReturns struct
type GetSamplingProfileParams (line 173) | type GetSamplingProfileParams struct
method Do (line 192) | func (p *GetSamplingProfileParams) Do(ctx context.Context) (profile *S...
function GetSamplingProfile (line 178) | func GetSamplingProfile() *GetSamplingProfileParams {
type GetSamplingProfileReturns (line 183) | type GetSamplingProfileReturns struct
type StartSamplingParams (line 204) | type StartSamplingParams struct
method WithSamplingInterval (line 224) | func (p StartSamplingParams) WithSamplingInterval(samplingInterval flo...
method WithIncludeObjectsCollectedByMajorGC (line 236) | func (p StartSamplingParams) WithIncludeObjectsCollectedByMajorGC(incl...
method WithIncludeObjectsCollectedByMinorGC (line 248) | func (p StartSamplingParams) WithIncludeObjectsCollectedByMinorGC(incl...
method Do (line 254) | func (p *StartSamplingParams) Do(ctx context.Context) (err error) {
function StartSampling (line 215) | func StartSampling() *StartSamplingParams {
type StartTrackingHeapObjectsParams (line 259) | type StartTrackingHeapObjectsParams struct
method WithTrackAllocations (line 275) | func (p StartTrackingHeapObjectsParams) WithTrackAllocations(trackAllo...
method Do (line 281) | func (p *StartTrackingHeapObjectsParams) Do(ctx context.Context) (err ...
function StartTrackingHeapObjects (line 268) | func StartTrackingHeapObjects() *StartTrackingHeapObjectsParams {
type StopSamplingParams (line 286) | type StopSamplingParams struct
method Do (line 305) | func (p *StopSamplingParams) Do(ctx context.Context) (profile *Samplin...
function StopSampling (line 291) | func StopSampling() *StopSamplingParams {
type StopSamplingReturns (line 296) | type StopSamplingReturns struct
type StopTrackingHeapObjectsParams (line 317) | type StopTrackingHeapObjectsParams struct
method WithReportProgress (line 338) | func (p StopTrackingHeapObjectsParams) WithReportProgress(reportProgre...
method WithCaptureNumericValue (line 345) | func (p StopTrackingHeapObjectsParams) WithCaptureNumericValue(capture...
method WithExposeInternals (line 351) | func (p StopTrackingHeapObjectsParams) WithExposeInternals(exposeInter...
method Do (line 357) | func (p *StopTrackingHeapObjectsParams) Do(ctx context.Context) (err e...
function StopTrackingHeapObjects (line 328) | func StopTrackingHeapObjects() *StopTrackingHeapObjectsParams {
type TakeHeapSnapshotParams (line 362) | type TakeHeapSnapshotParams struct
method WithReportProgress (line 383) | func (p TakeHeapSnapshotParams) WithReportProgress(reportProgress bool...
method WithCaptureNumericValue (line 390) | func (p TakeHeapSnapshotParams) WithCaptureNumericValue(captureNumeric...
method WithExposeInternals (line 396) | func (p TakeHeapSnapshotParams) WithExposeInternals(exposeInternals bo...
method Do (line 402) | func (p *TakeHeapSnapshotParams) Do(ctx context.Context) (err error) {
function TakeHeapSnapshot (line 373) | func TakeHeapSnapshot() *TakeHeapSnapshotParams {
constant CommandAddInspectedHeapObject (line 408) | CommandAddInspectedHeapObject = "HeapProfiler.addInspectedHeapObject"
constant CommandCollectGarbage (line 409) | CommandCollectGarbage = "HeapProfiler.collectGarbage"
constant CommandDisable (line 410) | CommandDisable = "HeapProfiler.disable"
constant CommandEnable (line 411) | CommandEnable = "HeapProfiler.enable"
constant CommandGetHeapObjectID (line 412) | CommandGetHeapObjectID = "HeapProfiler.getHeapObjectId"
constant CommandGetObjectByHeapObjectID (line 413) | CommandGetObjectByHeapObjectID = "HeapProfiler.getObjectByHeapObjectId"
constant CommandGetSamplingProfile (line 414) | CommandGetSamplingProfile = "HeapProfiler.getSamplingProfile"
constant CommandStartSampling (line 415) | CommandStartSampling = "HeapProfiler.startSampling"
constant CommandStartTrackingHeapObjects (line 416) | CommandStartTrackingHeapObjects = "HeapProfiler.startTrackingHeapObjects"
constant CommandStopSampling (line 417) | CommandStopSampling = "HeapProfiler.stopSampling"
constant CommandStopTrackingHeapObjects (line 418) | CommandStopTrackingHeapObjects = "HeapProfiler.stopTrackingHeapObjects"
constant CommandTakeHeapSnapshot (line 419) | CommandTakeHeapSnapshot = "HeapProfiler.takeHeapSnapshot"
FILE: vendor/github.com/chromedp/cdproto/heapprofiler/types.go
type HeapSnapshotObjectID (line 12) | type HeapSnapshotObjectID
method String (line 15) | func (t HeapSnapshotObjectID) String() string {
type SamplingHeapProfileNode (line 23) | type SamplingHeapProfileNode struct
type SamplingHeapProfileSample (line 33) | type SamplingHeapProfileSample struct
type SamplingHeapProfile (line 42) | type SamplingHeapProfile struct
FILE: vendor/github.com/chromedp/cdproto/indexeddb/indexeddb.go
type ClearObjectStoreParams (line 17) | type ClearObjectStoreParams struct
method WithSecurityOrigin (line 42) | func (p ClearObjectStoreParams) WithSecurityOrigin(securityOrigin stri...
method WithStorageKey (line 48) | func (p ClearObjectStoreParams) WithStorageKey(storageKey string) *Cle...
method WithStorageBucket (line 55) | func (p ClearObjectStoreParams) WithStorageBucket(storageBucket *stora...
method Do (line 61) | func (p *ClearObjectStoreParams) Do(ctx context.Context) (err error) {
function ClearObjectStore (line 33) | func ClearObjectStore(databaseName string, objectStoreName string) *Clea...
type DeleteDatabaseParams (line 66) | type DeleteDatabaseParams struct
method WithSecurityOrigin (line 88) | func (p DeleteDatabaseParams) WithSecurityOrigin(securityOrigin string...
method WithStorageKey (line 94) | func (p DeleteDatabaseParams) WithStorageKey(storageKey string) *Delet...
method WithStorageBucket (line 101) | func (p DeleteDatabaseParams) WithStorageBucket(storageBucket *storage...
method Do (line 107) | func (p *DeleteDatabaseParams) Do(ctx context.Context) (err error) {
function DeleteDatabase (line 80) | func DeleteDatabase(databaseName string) *DeleteDatabaseParams {
type DeleteObjectStoreEntriesParams (line 113) | type DeleteObjectStoreEntriesParams struct
method WithSecurityOrigin (line 141) | func (p DeleteObjectStoreEntriesParams) WithSecurityOrigin(securityOri...
method WithStorageKey (line 147) | func (p DeleteObjectStoreEntriesParams) WithStorageKey(storageKey stri...
method WithStorageBucket (line 154) | func (p DeleteObjectStoreEntriesParams) WithStorageBucket(storageBucke...
method Do (line 160) | func (p *DeleteObjectStoreEntriesParams) Do(ctx context.Context) (err ...
function DeleteObjectStoreEntries (line 131) | func DeleteObjectStoreEntries(databaseName string, objectStoreName strin...
type DisableParams (line 165) | type DisableParams struct
method Do (line 175) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 170) | func Disable() *DisableParams {
type EnableParams (line 180) | type EnableParams struct
method Do (line 190) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 185) | func Enable() *EnableParams {
type RequestDataParams (line 195) | type RequestDataParams struct
method WithSecurityOrigin (line 230) | func (p RequestDataParams) WithSecurityOrigin(securityOrigin string) *...
method WithStorageKey (line 236) | func (p RequestDataParams) WithStorageKey(storageKey string) *RequestD...
method WithStorageBucket (line 243) | func (p RequestDataParams) WithStorageBucket(storageBucket *storage.Bu...
method WithKeyRange (line 249) | func (p RequestDataParams) WithKeyRange(keyRange *KeyRange) *RequestDa...
method Do (line 266) | func (p *RequestDataParams) Do(ctx context.Context) (objectStoreDataEn...
function RequestData (line 218) | func RequestData(databaseName string, objectStoreName string, indexName ...
type RequestDataReturns (line 255) | type RequestDataReturns struct
type GetMetadataParams (line 278) | type GetMetadataParams struct
method WithSecurityOrigin (line 303) | func (p GetMetadataParams) WithSecurityOrigin(securityOrigin string) *...
method WithStorageKey (line 309) | func (p GetMetadataParams) WithStorageKey(storageKey string) *GetMetad...
method WithStorageBucket (line 316) | func (p GetMetadataParams) WithStorageBucket(storageBucket *storage.Bu...
method Do (line 333) | func (p *GetMetadataParams) Do(ctx context.Context) (entriesCount floa...
function GetMetadata (line 294) | func GetMetadata(databaseName string, objectStoreName string) *GetMetada...
type GetMetadataReturns (line 322) | type GetMetadataReturns struct
type RequestDatabaseParams (line 345) | type RequestDatabaseParams struct
method WithSecurityOrigin (line 367) | func (p RequestDatabaseParams) WithSecurityOrigin(securityOrigin strin...
method WithStorageKey (line 373) | func (p RequestDatabaseParams) WithStorageKey(storageKey string) *Requ...
method WithStorageBucket (line 380) | func (p RequestDatabaseParams) WithStorageBucket(storageBucket *storag...
method Do (line 395) | func (p *RequestDatabaseParams) Do(ctx context.Context) (databaseWithO...
function RequestDatabase (line 359) | func RequestDatabase(databaseName string) *RequestDatabaseParams {
type RequestDatabaseReturns (line 386) | type RequestDatabaseReturns struct
type RequestDatabaseNamesParams (line 408) | type RequestDatabaseNamesParams struct
method WithSecurityOrigin (line 425) | func (p RequestDatabaseNamesParams) WithSecurityOrigin(securityOrigin ...
method WithStorageKey (line 431) | func (p RequestDatabaseNamesParams) WithStorageKey(storageKey string) ...
method WithStorageBucket (line 438) | func (p RequestDatabaseNamesParams) WithStorageBucket(storageBucket *s...
method Do (line 453) | func (p *RequestDatabaseNamesParams) Do(ctx context.Context) (database...
function RequestDatabaseNames (line 419) | func RequestDatabaseNames() *RequestDatabaseNamesParams {
type RequestDatabaseNamesReturns (line 444) | type RequestDatabaseNamesReturns struct
constant CommandClearObjectStore (line 466) | CommandClearObjectStore = "IndexedDB.clearObjectStore"
constant CommandDeleteDatabase (line 467) | CommandDeleteDatabase = "IndexedDB.deleteDatabase"
constant CommandDeleteObjectStoreEntries (line 468) | CommandDeleteObjectStoreEntries = "IndexedDB.deleteObjectStoreEntries"
constant CommandDisable (line 469) | CommandDisable = "IndexedDB.disable"
constant CommandEnable (line 470) | CommandEnable = "IndexedDB.enable"
constant CommandRequestData (line 471) | CommandRequestData = "IndexedDB.requestData"
constant CommandGetMetadata (line 472) | CommandGetMetadata = "IndexedDB.getMetadata"
constant CommandRequestDatabase (line 473) | CommandRequestDatabase = "IndexedDB.requestDatabase"
constant CommandRequestDatabaseNames (line 474) | CommandRequestDatabaseNames = "IndexedDB.requestDatabaseNames"
FILE: vendor/github.com/chromedp/cdproto/indexeddb/types.go
type DatabaseWithObjectStores (line 15) | type DatabaseWithObjectStores struct
type ObjectStore (line 24) | type ObjectStore struct
type ObjectStoreIndex (line 34) | type ObjectStoreIndex struct
type Key (line 44) | type Key struct
type KeyRange (line 55) | type KeyRange struct
type DataEntry (line 65) | type DataEntry struct
type KeyPath (line 74) | type KeyPath struct
type KeyType (line 83) | type KeyType
method String (line 86) | func (t KeyType) String() string {
method UnmarshalJSON (line 99) | func (t *KeyType) UnmarshalJSON(buf []byte) error {
constant KeyTypeNumber (line 92) | KeyTypeNumber KeyType = "number"
constant KeyTypeString (line 93) | KeyTypeString KeyType = "string"
constant KeyTypeDate (line 94) | KeyTypeDate KeyType = "date"
constant KeyTypeArray (line 95) | KeyTypeArray KeyType = "array"
type KeyPathType (line 121) | type KeyPathType
method String (line 124) | func (t KeyPathType) String() string {
method UnmarshalJSON (line 136) | func (t *KeyPathType) UnmarshalJSON(buf []byte) error {
constant KeyPathTypeNull (line 130) | KeyPathTypeNull KeyPathType = "null"
constant KeyPathTypeString (line 131) | KeyPathTypeString KeyPathType = "string"
constant KeyPathTypeArray (line 132) | KeyPathTypeArray KeyPathType = "array"
FILE: vendor/github.com/chromedp/cdproto/input/events.go
type EventDragIntercepted (line 10) | type EventDragIntercepted struct
FILE: vendor/github.com/chromedp/cdproto/input/input.go
type DispatchDragEventParams (line 16) | type DispatchDragEventParams struct
method WithModifiers (line 45) | func (p DispatchDragEventParams) WithModifiers(modifiers Modifier) *Di...
method Do (line 51) | func (p *DispatchDragEventParams) Do(ctx context.Context) (err error) {
function DispatchDragEvent (line 34) | func DispatchDragEvent(typeVal DispatchDragEventType, x float64, y float...
type DispatchKeyEventParams (line 56) | type DispatchKeyEventParams struct
method WithModifiers (line 92) | func (p DispatchKeyEventParams) WithModifiers(modifiers Modifier) *Dis...
method WithTimestamp (line 98) | func (p DispatchKeyEventParams) WithTimestamp(timestamp *TimeSinceEpoc...
method WithText (line 106) | func (p DispatchKeyEventParams) WithText(text string) *DispatchKeyEven...
method WithUnmodifiedText (line 114) | func (p DispatchKeyEventParams) WithUnmodifiedText(unmodifiedText stri...
method WithKeyIdentifier (line 120) | func (p DispatchKeyEventParams) WithKeyIdentifier(keyIdentifier string...
method WithCode (line 127) | func (p DispatchKeyEventParams) WithCode(code string) *DispatchKeyEven...
method WithKey (line 135) | func (p DispatchKeyEventParams) WithKey(key string) *DispatchKeyEventP...
method WithWindowsVirtualKeyCode (line 141) | func (p DispatchKeyEventParams) WithWindowsVirtualKeyCode(windowsVirtu...
method WithNativeVirtualKeyCode (line 147) | func (p DispatchKeyEventParams) WithNativeVirtualKeyCode(nativeVirtual...
method WithAutoRepeat (line 154) | func (p DispatchKeyEventParams) WithAutoRepeat(autoRepeat bool) *Dispa...
method WithIsKeypad (line 161) | func (p DispatchKeyEventParams) WithIsKeypad(isKeypad bool) *DispatchK...
method WithIsSystemKey (line 167) | func (p DispatchKeyEventParams) WithIsSystemKey(isSystemKey bool) *Dis...
method WithLocation (line 174) | func (p DispatchKeyEventParams) WithLocation(location int64) *Dispatch...
method WithCommands (line 184) | func (p DispatchKeyEventParams) WithCommands(commands []string) *Dispa...
method Do (line 190) | func (p *DispatchKeyEventParams) Do(ctx context.Context) (err error) {
function DispatchKeyEvent (line 81) | func DispatchKeyEvent(typeVal KeyType) *DispatchKeyEventParams {
type InsertTextParams (line 196) | type InsertTextParams struct
method Do (line 215) | func (p *InsertTextParams) Do(ctx context.Context) (err error) {
function InsertText (line 208) | func InsertText(text string) *InsertTextParams {
type ImeSetCompositionParams (line 222) | type ImeSetCompositionParams struct
method WithReplacementStart (line 250) | func (p ImeSetCompositionParams) WithReplacementStart(replacementStart...
method WithReplacementEnd (line 256) | func (p ImeSetCompositionParams) WithReplacementEnd(replacementEnd int...
method Do (line 262) | func (p *ImeSetCompositionParams) Do(ctx context.Context) (err error) {
function ImeSetComposition (line 241) | func ImeSetComposition(text string, selectionStart int64, selectionEnd i...
type DispatchMouseEventParams (line 267) | type DispatchMouseEventParams struct
method WithModifiers (line 305) | func (p DispatchMouseEventParams) WithModifiers(modifiers Modifier) *D...
method WithTimestamp (line 311) | func (p DispatchMouseEventParams) WithTimestamp(timestamp *TimeSinceEp...
method WithButton (line 317) | func (p DispatchMouseEventParams) WithButton(button MouseButton) *Disp...
method WithButtons (line 325) | func (p DispatchMouseEventParams) WithButtons(buttons int64) *Dispatch...
method WithClickCount (line 331) | func (p DispatchMouseEventParams) WithClickCount(clickCount int64) *Di...
method WithForce (line 338) | func (p DispatchMouseEventParams) WithForce(force float64) *DispatchMo...
method WithTangentialPressure (line 345) | func (p DispatchMouseEventParams) WithTangentialPressure(tangentialPre...
method WithTiltX (line 353) | func (p DispatchMouseEventParams) WithTiltX(tiltX float64) *DispatchMo...
method WithTiltY (line 361) | func (p DispatchMouseEventParams) WithTiltY(tiltY float64) *DispatchMo...
method WithTwist (line 368) | func (p DispatchMouseEventParams) WithTwist(twist int64) *DispatchMous...
method WithDeltaX (line 374) | func (p DispatchMouseEventParams) WithDeltaX(deltaX float64) *Dispatch...
method WithDeltaY (line 380) | func (p DispatchMouseEventParams) WithDeltaY(deltaY float64) *Dispatch...
method WithPointerType (line 386) | func (p DispatchMouseEventParams) WithPointerType(pointerType Dispatch...
method Do (line 392) | func (p *DispatchMouseEventParams) Do(ctx context.Context) (err error) {
function DispatchMouseEvent (line 295) | func DispatchMouseEvent(typeVal MouseType, x float64, y float64) *Dispat...
type DispatchTouchEventParams (line 397) | type DispatchTouchEventParams struct
method WithModifiers (line 421) | func (p DispatchTouchEventParams) WithModifiers(modifiers Modifier) *D...
method WithTimestamp (line 427) | func (p DispatchTouchEventParams) WithTimestamp(timestamp *TimeSinceEp...
method Do (line 433) | func (p *DispatchTouchEventParams) Do(ctx context.Context) (err error) {
function DispatchTouchEvent (line 412) | func DispatchTouchEvent(typeVal TouchType, touchPoints []*TouchPoint) *D...
type CancelDraggingParams (line 438) | type CancelDraggingParams struct
method Do (line 448) | func (p *CancelDraggingParams) Do(ctx context.Context) (err error) {
function CancelDragging (line 443) | func CancelDragging() *CancelDraggingParams {
type EmulateTouchFromMouseEventParams (line 454) | type EmulateTouchFromMouseEventParams struct
method WithTimestamp (line 487) | func (p EmulateTouchFromMouseEventParams) WithTimestamp(timestamp *Tim...
method WithDeltaX (line 493) | func (p EmulateTouchFromMouseEventParams) WithDeltaX(deltaX float64) *...
method WithDeltaY (line 499) | func (p EmulateTouchFromMouseEventParams) WithDeltaY(deltaY float64) *...
method WithModifiers (line 506) | func (p EmulateTouchFromMouseEventParams) WithModifiers(modifiers Modi...
method WithClickCount (line 512) | func (p EmulateTouchFromMouseEventParams) WithClickCount(clickCount in...
method Do (line 518) | func (p *EmulateTouchFromMouseEventParams) Do(ctx context.Context) (er...
function EmulateTouchFromMouseEvent (line 477) | func EmulateTouchFromMouseEvent(typeVal MouseType, x int64, y int64, but...
type SetIgnoreInputEventsParams (line 524) | type SetIgnoreInputEventsParams struct
method Do (line 542) | func (p *SetIgnoreInputEventsParams) Do(ctx context.Context) (err erro...
function SetIgnoreInputEvents (line 535) | func SetIgnoreInputEvents(ignore bool) *SetIgnoreInputEventsParams {
type SetInterceptDragsParams (line 549) | type SetInterceptDragsParams struct
method Do (line 569) | func (p *SetInterceptDragsParams) Do(ctx context.Context) (err error) {
function SetInterceptDrags (line 562) | func SetInterceptDrags(enabled bool) *SetInterceptDragsParams {
type SynthesizePinchGestureParams (line 575) | type SynthesizePinchGestureParams struct
method WithRelativeSpeed (line 603) | func (p SynthesizePinchGestureParams) WithRelativeSpeed(relativeSpeed ...
method WithGestureSourceType (line 610) | func (p SynthesizePinchGestureParams) WithGestureSourceType(gestureSou...
method Do (line 616) | func (p *SynthesizePinchGestureParams) Do(ctx context.Context) (err er...
function SynthesizePinchGesture (line 593) | func SynthesizePinchGesture(x float64, y float64, scaleFactor float64) *...
type SynthesizeScrollGestureParams (line 622) | type SynthesizeScrollGestureParams struct
method WithXDistance (line 656) | func (p SynthesizeScrollGestureParams) WithXDistance(xDistance float64...
method WithYDistance (line 663) | func (p SynthesizeScrollGestureParams) WithYDistance(yDistance float64...
method WithXOverscroll (line 670) | func (p SynthesizeScrollGestureParams) WithXOverscroll(xOverscroll flo...
method WithYOverscroll (line 677) | func (p SynthesizeScrollGestureParams) WithYOverscroll(yOverscroll flo...
method WithPreventFling (line 683) | func (p SynthesizeScrollGestureParams) WithPreventFling(preventFling b...
method WithSpeed (line 689) | func (p SynthesizeScrollGestureParams) WithSpeed(speed int64) *Synthes...
method WithGestureSourceType (line 696) | func (p SynthesizeScrollGestureParams) WithGestureSourceType(gestureSo...
method WithRepeatCount (line 702) | func (p SynthesizeScrollGestureParams) WithRepeatCount(repeatCount int...
method WithRepeatDelayMs (line 709) | func (p SynthesizeScrollGestureParams) WithRepeatDelayMs(repeatDelayMs...
method WithInteractionMarkerName (line 716) | func (p SynthesizeScrollGestureParams) WithInteractionMarkerName(inter...
method Do (line 722) | func (p *SynthesizeScrollGestureParams) Do(ctx context.Context) (err e...
function SynthesizeScrollGesture (line 646) | func SynthesizeScrollGesture(x float64, y float64) *SynthesizeScrollGest...
type SynthesizeTapGestureParams (line 728) | type SynthesizeTapGestureParams struct
method WithDuration (line 754) | func (p SynthesizeTapGestureParams) WithDuration(duration int64) *Synt...
method WithTapCount (line 761) | func (p SynthesizeTapGestureParams) WithTapCount(tapCount int64) *Synt...
method WithGestureSourceType (line 768) | func (p SynthesizeTapGestureParams) WithGestureSourceType(gestureSourc...
method Do (line 774) | func (p *SynthesizeTapGestureParams) Do(ctx context.Context) (err erro...
function SynthesizeTapGesture (line 745) | func SynthesizeTapGesture(x float64, y float64) *SynthesizeTapGesturePar...
constant CommandDispatchDragEvent (line 780) | CommandDispatchDragEvent = "Input.dispatchDragEvent"
constant CommandDispatchKeyEvent (line 781) | CommandDispatchKeyEvent = "Input.dispatchKeyEvent"
constant CommandInsertText (line 782) | CommandInsertText = "Input.insertText"
constant CommandImeSetComposition (line 783) | CommandImeSetComposition = "Input.imeSetComposition"
constant CommandDispatchMouseEvent (line 784) | CommandDispatchMouseEvent = "Input.dispatchMouseEvent"
constant CommandDispatchTouchEvent (line 785) | CommandDispatchTouchEvent = "Input.dispatchTouchEvent"
constant CommandCancelDragging (line 786) | CommandCancelDragging = "Input.cancelDragging"
constant CommandEmulateTouchFromMouseEvent (line 787) | CommandEmulateTouchFromMouseEvent = "Input.emulateTouchFromMouseEvent"
constant CommandSetIgnoreInputEvents (line 788) | CommandSetIgnoreInputEvents = "Input.setIgnoreInputEvents"
constant CommandSetInterceptDrags (line 789) | CommandSetInterceptDrags = "Input.setInterceptDrags"
constant CommandSynthesizePinchGesture (line 790) | CommandSynthesizePinchGesture = "Input.synthesizePinchGesture"
constant CommandSynthesizeScrollGesture (line 791) | CommandSynthesizeScrollGesture = "Input.synthesizeScrollGesture"
constant CommandSynthesizeTapGesture (line 792) | CommandSynthesizeTapGesture = "Input.synthesizeTapGesture"
FILE: vendor/github.com/chromedp/cdproto/input/types.go
type TouchPoint (line 15) | type TouchPoint struct
type GestureSourceType (line 32) | type GestureSourceType
method String (line 35) | func (t GestureSourceType) String() string {
method UnmarshalJSON (line 47) | func (t *GestureSourceType) UnmarshalJSON(buf []byte) error {
constant GestureDefault (line 41) | GestureDefault GestureSourceType = "default"
constant GestureTouch (line 42) | GestureTouch GestureSourceType = "touch"
constant GestureMouse (line 43) | GestureMouse GestureSourceType = "mouse"
type MouseButton (line 67) | type MouseButton
method String (line 70) | func (t MouseButton) String() string {
method UnmarshalJSON (line 85) | func (t *MouseButton) UnmarshalJSON(buf []byte) error {
constant None (line 76) | None MouseButton = "none"
constant Left (line 77) | Left MouseButton = "left"
constant Middle (line 78) | Middle MouseButton = "middle"
constant Right (line 79) | Right MouseButton = "right"
constant Back (line 80) | Back MouseButton = "back"
constant Forward (line 81) | Forward MouseButton = "forward"
type TimeSinceEpoch (line 111) | type TimeSinceEpoch
method Time (line 114) | func (t TimeSinceEpoch) Time() time.Time {
method MarshalJSON (line 119) | func (t TimeSinceEpoch) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 125) | func (t *TimeSinceEpoch) UnmarshalJSON(buf []byte) error {
type DragDataItem (line 137) | type DragDataItem struct
type DragData (line 147) | type DragData struct
type Modifier (line 156) | type Modifier
method Int64 (line 159) | func (t Modifier) Int64() int64 {
method String (line 173) | func (t Modifier) String() string {
method UnmarshalJSON (line 190) | func (t *Modifier) UnmarshalJSON(buf []byte) error {
constant ModifierNone (line 165) | ModifierNone Modifier = 0
constant ModifierAlt (line 166) | ModifierAlt Modifier = 1
constant ModifierCtrl (line 167) | ModifierCtrl Modifier = 2
constant ModifierMeta (line 168) | ModifierMeta Modifier = 4
constant ModifierShift (line 169) | ModifierShift Modifier = 8
constant ModifierCommand (line 214) | ModifierCommand Modifier = ModifierMeta
type DispatchDragEventType (line 219) | type DispatchDragEventType
method String (line 222) | func (t DispatchDragEventType) String() string {
method UnmarshalJSON (line 235) | func (t *DispatchDragEventType) UnmarshalJSON(buf []byte) error {
constant DragEnter (line 228) | DragEnter DispatchDragEventType = "dragEnter"
constant DragOver (line 229) | DragOver DispatchDragEventType = "dragOver"
constant Drop (line 230) | Drop DispatchDragEventType = "drop"
constant DragCancel (line 231) | DragCancel DispatchDragEventType = "dragCancel"
type KeyType (line 257) | type KeyType
method String (line 260) | func (t KeyType) String() string {
method UnmarshalJSON (line 273) | func (t *KeyType) UnmarshalJSON(buf []byte) error {
constant KeyDown (line 266) | KeyDown KeyType = "keyDown"
constant KeyUp (line 267) | KeyUp KeyType = "keyUp"
constant KeyRawDown (line 268) | KeyRawDown KeyType = "rawKeyDown"
constant KeyChar (line 269) | KeyChar KeyType = "char"
type MouseType (line 295) | type MouseType
method String (line 298) | func (t MouseType) String() string {
method UnmarshalJSON (line 311) | func (t *MouseType) UnmarshalJSON(buf []byte) error {
constant MousePressed (line 304) | MousePressed MouseType = "mousePressed"
constant MouseReleased (line 305) | MouseReleased MouseType = "mouseReleased"
constant MouseMoved (line 306) | MouseMoved MouseType = "mouseMoved"
constant MouseWheel (line 307) | MouseWheel MouseType = "mouseWheel"
type DispatchMouseEventPointerType (line 333) | type DispatchMouseEventPointerType
method String (line 336) | func (t DispatchMouseEventPointerType) String() string {
method UnmarshalJSON (line 347) | func (t *DispatchMouseEventPointerType) UnmarshalJSON(buf []byte) error {
constant Mouse (line 342) | Mouse DispatchMouseEventPointerType = "mouse"
constant Pen (line 343) | Pen DispatchMouseEventPointerType = "pen"
type TouchType (line 367) | type TouchType
method String (line 370) | func (t TouchType) String() string {
method UnmarshalJSON (line 383) | func (t *TouchType) UnmarshalJSON(buf []byte) error {
constant TouchStart (line 376) | TouchStart TouchType = "touchStart"
constant TouchEnd (line 377) | TouchEnd TouchType = "touchEnd"
constant TouchMove (line 378) | TouchMove TouchType = "touchMove"
constant TouchCancel (line 379) | TouchCancel TouchType = "touchCancel"
FILE: vendor/github.com/chromedp/cdproto/inspector/events.go
type EventDetached (line 9) | type EventDetached struct
type EventTargetCrashed (line 16) | type EventTargetCrashed struct
type EventTargetReloadedAfterCrash (line 22) | type EventTargetReloadedAfterCrash struct
FILE: vendor/github.com/chromedp/cdproto/inspector/inspector.go
type DisableParams (line 16) | type DisableParams struct
method Do (line 26) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 21) | func Disable() *DisableParams {
type EnableParams (line 31) | type EnableParams struct
method Do (line 41) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 36) | func Enable() *EnableParams {
constant CommandDisable (line 47) | CommandDisable = "Inspector.disable"
constant CommandEnable (line 48) | CommandEnable = "Inspector.enable"
FILE: vendor/github.com/chromedp/cdproto/inspector/types.go
type DetachReason (line 13) | type DetachReason
method String (line 16) | func (t DetachReason) String() string {
method UnmarshalJSON (line 29) | func (t *DetachReason) UnmarshalJSON(buf []byte) error {
constant DetachReasonTargetClosed (line 22) | DetachReasonTargetClosed DetachReason = "target_closed"
constant DetachReasonCanceledByUser (line 23) | DetachReasonCanceledByUser DetachReason = "canceled_by_user"
constant DetachReasonReplacedWithDevtools (line 24) | DetachReasonReplacedWithDevtools DetachReason = "replaced_with_devtools"
constant DetachReasonRenderProcessGone (line 25) | DetachReasonRenderProcessGone DetachReason = "Render process gone."
FILE: vendor/github.com/chromedp/cdproto/io/io.go
type CloseParams (line 19) | type CloseParams struct
method Do (line 37) | func (p *CloseParams) Do(ctx context.Context) (err error) {
function Close (line 30) | func Close(handle StreamHandle) *CloseParams {
type ReadParams (line 42) | type ReadParams struct
method WithOffset (line 64) | func (p ReadParams) WithOffset(offset int64) *ReadParams {
method WithSize (line 71) | func (p ReadParams) WithSize(size int64) *ReadParams {
method Do (line 89) | func (p *ReadParams) Do(ctx context.Context) (data string, eof bool, e...
function Read (line 55) | func Read(handle StreamHandle) *ReadParams {
type ReadReturns (line 77) | type ReadReturns struct
type ResolveBlobParams (line 102) | type ResolveBlobParams struct
method Do (line 129) | func (p *ResolveBlobParams) Do(ctx context.Context) (uuid string, err ...
function ResolveBlob (line 113) | func ResolveBlob(objectID runtime.RemoteObjectID) *ResolveBlobParams {
type ResolveBlobReturns (line 120) | type ResolveBlobReturns struct
constant CommandClose (line 142) | CommandClose = "IO.close"
constant CommandRead (line 143) | CommandRead = "IO.read"
constant CommandResolveBlob (line 144) | CommandResolveBlob = "IO.resolveBlob"
FILE: vendor/github.com/chromedp/cdproto/io/types.go
type StreamHandle (line 9) | type StreamHandle
method String (line 12) | func (t StreamHandle) String() string {
FILE: vendor/github.com/chromedp/cdproto/layertree/events.go
type EventLayerPainted (line 12) | type EventLayerPainted struct
type EventLayerTreeDidChange (line 20) | type EventLayerTreeDidChange struct
FILE: vendor/github.com/chromedp/cdproto/layertree/layertree.go
type CompositingReasonsParams (line 19) | type CompositingReasonsParams struct
method Do (line 49) | func (p *CompositingReasonsParams) Do(ctx context.Context) (compositin...
function CompositingReasons (line 31) | func CompositingReasons(layerID LayerID) *CompositingReasonsParams {
type CompositingReasonsReturns (line 38) | type CompositingReasonsReturns struct
type DisableParams (line 61) | type DisableParams struct
method Do (line 71) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 66) | func Disable() *DisableParams {
type EnableParams (line 76) | type EnableParams struct
method Do (line 86) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 81) | func Enable() *EnableParams {
type LoadSnapshotParams (line 91) | type LoadSnapshotParams struct
method Do (line 118) | func (p *LoadSnapshotParams) Do(ctx context.Context) (snapshotID Snaps...
function LoadSnapshot (line 102) | func LoadSnapshot(tiles []*PictureTile) *LoadSnapshotParams {
type LoadSnapshotReturns (line 109) | type LoadSnapshotReturns struct
type MakeSnapshotParams (line 130) | type MakeSnapshotParams struct
method Do (line 157) | func (p *MakeSnapshotParams) Do(ctx context.Context) (snapshotID Snaps...
function MakeSnapshot (line 141) | func MakeSnapshot(layerID LayerID) *MakeSnapshotParams {
type MakeSnapshotReturns (line 148) | type MakeSnapshotReturns struct
type ProfileSnapshotParams (line 169) | type ProfileSnapshotParams struct
method WithMinRepeatCount (line 191) | func (p ProfileSnapshotParams) WithMinRepeatCount(minRepeatCount int64...
method WithMinDuration (line 197) | func (p ProfileSnapshotParams) WithMinDuration(minDuration float64) *P...
method WithClipRect (line 203) | func (p ProfileSnapshotParams) WithClipRect(clipRect *dom.Rect) *Profi...
method Do (line 218) | func (p *ProfileSnapshotParams) Do(ctx context.Context) (timings []Pai...
function ProfileSnapshot (line 183) | func ProfileSnapshot(snapshotID SnapshotID) *ProfileSnapshotParams {
type ProfileSnapshotReturns (line 209) | type ProfileSnapshotReturns struct
type ReleaseSnapshotParams (line 230) | type ReleaseSnapshotParams struct
method Do (line 248) | func (p *ReleaseSnapshotParams) Do(ctx context.Context) (err error) {
function ReleaseSnapshot (line 241) | func ReleaseSnapshot(snapshotID SnapshotID) *ReleaseSnapshotParams {
type ReplaySnapshotParams (line 254) | type ReplaySnapshotParams struct
method WithFromStep (line 277) | func (p ReplaySnapshotParams) WithFromStep(fromStep int64) *ReplaySnap...
method WithToStep (line 284) | func (p ReplaySnapshotParams) WithToStep(toStep int64) *ReplaySnapshot...
method WithScale (line 290) | func (p ReplaySnapshotParams) WithScale(scale float64) *ReplaySnapshot...
method Do (line 305) | func (p *ReplaySnapshotParams) Do(ctx context.Context) (dataURL string...
function ReplaySnapshot (line 269) | func ReplaySnapshot(snapshotID SnapshotID) *ReplaySnapshotParams {
type ReplaySnapshotReturns (line 296) | type ReplaySnapshotReturns struct
type SnapshotCommandLogParams (line 318) | type SnapshotCommandLogParams struct
method Do (line 345) | func (p *SnapshotCommandLogParams) Do(ctx context.Context) (commandLog...
function SnapshotCommandLog (line 329) | func SnapshotCommandLog(snapshotID SnapshotID) *SnapshotCommandLogParams {
type SnapshotCommandLogReturns (line 336) | type SnapshotCommandLogReturns struct
constant CommandCompositingReasons (line 358) | CommandCompositingReasons = "LayerTree.compositingReasons"
constant CommandDisable (line 359) | CommandDisable = "LayerTree.disable"
constant CommandEnable (line 360) | CommandEnable = "LayerTree.enable"
constant CommandLoadSnapshot (line 361) | CommandLoadSnapshot = "LayerTree.loadSnapshot"
constant CommandMakeSnapshot (line 362) | CommandMakeSnapshot = "LayerTree.makeSnapshot"
constant CommandProfileSnapshot (line 363) | CommandProfileSnapshot = "LayerTree.profileSnapshot"
constant CommandReleaseSnapshot (line 364) | CommandReleaseSnapshot = "LayerTree.releaseSnapshot"
constant CommandReplaySnapshot (line 365) | CommandReplaySnapshot = "LayerTree.replaySnapshot"
constant CommandSnapshotCommandLog (line 366) | CommandSnapshotCommandLog = "LayerTree.snapshotCommandLog"
FILE: vendor/github.com/chromedp/cdproto/layertree/types.go
type LayerID (line 16) | type LayerID
method String (line 19) | func (t LayerID) String() string {
type SnapshotID (line 26) | type SnapshotID
method String (line 29) | func (t SnapshotID) String() string {
type ScrollRect (line 36) | type ScrollRect struct
type StickyPositionConstraint (line 44) | type StickyPositionConstraint struct
type PictureTile (line 55) | type PictureTile struct
type Layer (line 64) | type Layer struct
type PaintProfile (line 86) | type PaintProfile
type ScrollRectType (line 91) | type ScrollRectType
method String (line 94) | func (t ScrollRectType) String() string {
method UnmarshalJSON (line 106) | func (t *ScrollRectType) UnmarshalJSON(buf []byte) error {
constant ScrollRectTypeRepaintsOnScroll (line 100) | ScrollRectTypeRepaintsOnScroll ScrollRectType = "RepaintsOnScroll"
constant ScrollRectTypeTouchEventHandler (line 101) | ScrollRectTypeTouchEventHandler ScrollRectType = "TouchEventHandler"
constant ScrollRectTypeWheelEventHandler (line 102) | ScrollRectTypeWheelEventHandler ScrollRectType = "WheelEventHandler"
FILE: vendor/github.com/chromedp/cdproto/log/events.go
type EventEntryAdded (line 8) | type EventEntryAdded struct
FILE: vendor/github.com/chromedp/cdproto/log/log.go
type ClearParams (line 18) | type ClearParams struct
method Do (line 28) | func (p *ClearParams) Do(ctx context.Context) (err error) {
function Clear (line 23) | func Clear() *ClearParams {
type DisableParams (line 34) | type DisableParams struct
method Do (line 45) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 40) | func Disable() *DisableParams {
type EnableParams (line 51) | type EnableParams struct
method Do (line 62) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 57) | func Enable() *EnableParams {
type StartViolationsReportParams (line 67) | type StartViolationsReportParams struct
method Do (line 85) | func (p *StartViolationsReportParams) Do(ctx context.Context) (err err...
function StartViolationsReport (line 78) | func StartViolationsReport(config []*ViolationSetting) *StartViolationsR...
type StopViolationsReportParams (line 90) | type StopViolationsReportParams struct
method Do (line 100) | func (p *StopViolationsReportParams) Do(ctx context.Context) (err erro...
function StopViolationsReport (line 95) | func StopViolationsReport() *StopViolationsReportParams {
constant CommandClear (line 106) | CommandClear = "Log.clear"
constant CommandDisable (line 107) | CommandDisable = "Log.disable"
constant CommandEnable (line 108) | CommandEnable = "Log.enable"
constant CommandStartViolationsReport (line 109) | CommandStartViolationsReport = "Log.startViolationsReport"
constant CommandStopViolationsReport (line 110) | CommandStopViolationsReport = "Log.stopViolationsReport"
FILE: vendor/github.com/chromedp/cdproto/log/types.go
type Entry (line 16) | type Entry struct
type ViolationSetting (line 33) | type ViolationSetting struct
type Source (line 41) | type Source
method String (line 44) | func (t Source) String() string {
method UnmarshalJSON (line 66) | func (t *Source) UnmarshalJSON(buf []byte) error {
constant SourceXML (line 50) | SourceXML Source = "xml"
constant SourceJavascript (line 51) | SourceJavascript Source = "javascript"
constant SourceNetwork (line 52) | SourceNetwork Source = "network"
constant SourceStorage (line 53) | SourceStorage Source = "storage"
constant SourceAppcache (line 54) | SourceAppcache Source = "appcache"
constant SourceRendering (line 55) | SourceRendering Source = "rendering"
constant SourceSecurity (line 56) | SourceSecurity Source = "security"
constant SourceDeprecation (line 57) | SourceDeprecation Source = "deprecation"
constant SourceWorker (line 58) | SourceWorker Source = "worker"
constant SourceViolation (line 59) | SourceViolation Source = "violation"
constant SourceIntervention (line 60) | SourceIntervention Source = "intervention"
constant SourceRecommendation (line 61) | SourceRecommendation Source = "recommendation"
constant SourceOther (line 62) | SourceOther Source = "other"
type Level (line 106) | type Level
method String (line 109) | func (t Level) String() string {
method UnmarshalJSON (line 122) | func (t *Level) UnmarshalJSON(buf []byte) error {
constant LevelVerbose (line 115) | LevelVerbose Level = "verbose"
constant LevelInfo (line 116) | LevelInfo Level = "info"
constant LevelWarning (line 117) | LevelWarning Level = "warning"
constant LevelError (line 118) | LevelError Level = "error"
type EntryCategory (line 144) | type EntryCategory
method String (line 147) | func (t EntryCategory) String() string {
method UnmarshalJSON (line 157) | func (t *EntryCategory) UnmarshalJSON(buf []byte) error {
constant EntryCategoryCors (line 153) | EntryCategoryCors EntryCategory = "cors"
type Violation (line 173) | type Violation
method String (line 176) | func (t Violation) String() string {
method UnmarshalJSON (line 192) | func (t *Violation) UnmarshalJSON(buf []byte) error {
constant ViolationLongTask (line 182) | ViolationLongTask Violation = "longTask"
constant ViolationLongLayout (line 183) | ViolationLongLayout Violation = "longLayout"
constant ViolationBlockedEvent (line 184) | ViolationBlockedEvent Violation = "blockedEvent"
constant ViolationBlockedParser (line 185) | ViolationBlockedParser Violation = "blockedParser"
constant ViolationDiscouragedAPIUse (line 186) | ViolationDiscouragedAPIUse Violation = "discouragedAPIUse"
constant ViolationHandler (line 187) | ViolationHandler Violation = "handler"
constant ViolationRecurringHandler (line 188) | ViolationRecurringHandler Violation = "recurringHandler"
FILE: vendor/github.com/chromedp/cdproto/media/events.go
type EventPlayerPropertiesChanged (line 10) | type EventPlayerPropertiesChanged struct
type EventPlayerEventsAdded (line 20) | type EventPlayerEventsAdded struct
type EventPlayerMessagesLogged (line 29) | type EventPlayerMessagesLogged struct
type EventPlayerErrorsRaised (line 38) | type EventPlayerErrorsRaised struct
type EventPlayersCreated (line 48) | type EventPlayersCreated struct
FILE: vendor/github.com/chromedp/cdproto/media/media.go
type EnableParams (line 18) | type EnableParams struct
method Do (line 28) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 23) | func Enable() *EnableParams {
type DisableParams (line 33) | type DisableParams struct
method Do (line 43) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 38) | func Disable() *DisableParams {
constant CommandEnable (line 49) | CommandEnable = "Media.enable"
constant CommandDisable (line 50) | CommandDisable = "Media.disable"
FILE: vendor/github.com/chromedp/cdproto/media/types.go
type PlayerID (line 15) | type PlayerID
method String (line 18) | func (t PlayerID) String() string {
type Timestamp (line 25) | type Timestamp
method Float64 (line 28) | func (t Timestamp) Float64() float64 {
type PlayerMessage (line 36) | type PlayerMessage struct
type PlayerProperty (line 44) | type PlayerProperty struct
type PlayerEvent (line 52) | type PlayerEvent struct
type PlayerErrorSourceLocation (line 62) | type PlayerErrorSourceLocation struct
type PlayerError (line 70) | type PlayerError struct
type PlayerMessageLevel (line 88) | type PlayerMessageLevel
method String (line 91) | func (t PlayerMessageLevel) String() string {
method UnmarshalJSON (line 104) | func (t *PlayerMessageLevel) UnmarshalJSON(buf []byte) error {
constant PlayerMessageLevelError (line 97) | PlayerMessageLevelError PlayerMessageLevel = "error"
constant PlayerMessageLevelWarning (line 98) | PlayerMessageLevelWarning PlayerMessageLevel = "warning"
constant PlayerMessageLevelInfo (line 99) | PlayerMessageLevelInfo PlayerMessageLevel = "info"
constant PlayerMessageLevelDebug (line 100) | PlayerMessageLevelDebug PlayerMessageLevel = "debug"
FILE: vendor/github.com/chromedp/cdproto/memory/memory.go
type GetDOMCountersParams (line 16) | type GetDOMCountersParams struct
method Do (line 39) | func (p *GetDOMCountersParams) Do(ctx context.Context) (documents int6...
function GetDOMCounters (line 21) | func GetDOMCounters() *GetDOMCountersParams {
type GetDOMCountersReturns (line 26) | type GetDOMCountersReturns struct
type GetDOMCountersForLeakDetectionParams (line 52) | type GetDOMCountersForLeakDetectionParams struct
method Do (line 72) | func (p *GetDOMCountersForLeakDetectionParams) Do(ctx context.Context)...
function GetDOMCountersForLeakDetection (line 58) | func GetDOMCountersForLeakDetection() *GetDOMCountersForLeakDetectionPar...
type GetDOMCountersForLeakDetectionReturns (line 63) | type GetDOMCountersForLeakDetectionReturns struct
type PrepareForLeakDetectionParams (line 86) | type PrepareForLeakDetectionParams struct
method Do (line 98) | func (p *PrepareForLeakDetectionParams) Do(ctx context.Context) (err e...
function PrepareForLeakDetection (line 93) | func PrepareForLeakDetection() *PrepareForLeakDetectionParams {
type ForciblyPurgeJavaScriptMemoryParams (line 104) | type ForciblyPurgeJavaScriptMemoryParams struct
method Do (line 115) | func (p *ForciblyPurgeJavaScriptMemoryParams) Do(ctx context.Context) ...
function ForciblyPurgeJavaScriptMemory (line 110) | func ForciblyPurgeJavaScriptMemory() *ForciblyPurgeJavaScriptMemoryParams {
type SetPressureNotificationsSuppressedParams (line 121) | type SetPressureNotificationsSuppressedParams struct
method Do (line 140) | func (p *SetPressureNotificationsSuppressedParams) Do(ctx context.Cont...
function SetPressureNotificationsSuppressed (line 133) | func SetPressureNotificationsSuppressed(suppressed bool) *SetPressureNot...
type SimulatePressureNotificationParams (line 146) | type SimulatePressureNotificationParams struct
method Do (line 165) | func (p *SimulatePressureNotificationParams) Do(ctx context.Context) (...
function SimulatePressureNotification (line 158) | func SimulatePressureNotification(level PressureLevel) *SimulatePressure...
type StartSamplingParams (line 170) | type StartSamplingParams struct
method WithSamplingInterval (line 187) | func (p StartSamplingParams) WithSamplingInterval(samplingInterval int...
method WithSuppressRandomness (line 193) | func (p StartSamplingParams) WithSuppressRandomness(suppressRandomness...
method Do (line 199) | func (p *StartSamplingParams) Do(ctx context.Context) (err error) {
function StartSampling (line 180) | func StartSampling() *StartSamplingParams {
type StopSamplingParams (line 204) | type StopSamplingParams struct
method Do (line 214) | func (p *StopSamplingParams) Do(ctx context.Context) (err error) {
function StopSampling (line 209) | func StopSampling() *StopSamplingParams {
type GetAllTimeSamplingProfileParams (line 220) | type GetAllTimeSamplingProfileParams struct
method Do (line 240) | func (p *GetAllTimeSamplingProfileParams) Do(ctx context.Context) (pro...
function GetAllTimeSamplingProfile (line 226) | func GetAllTimeSamplingProfile() *GetAllTimeSamplingProfileParams {
type GetAllTimeSamplingProfileReturns (line 231) | type GetAllTimeSamplingProfileReturns struct
type GetBrowserSamplingProfileParams (line 253) | type GetBrowserSamplingProfileParams struct
method Do (line 273) | func (p *GetBrowserSamplingProfileParams) Do(ctx context.Context) (pro...
function GetBrowserSamplingProfile (line 259) | func GetBrowserSamplingProfile() *GetBrowserSamplingProfileParams {
type GetBrowserSamplingProfileReturns (line 264) | type GetBrowserSamplingProfileReturns struct
type GetSamplingProfileParams (line 286) | type GetSamplingProfileParams struct
method Do (line 306) | func (p *GetSamplingProfileParams) Do(ctx context.Context) (profile *S...
function GetSamplingProfile (line 292) | func GetSamplingProfile() *GetSamplingProfileParams {
type GetSamplingProfileReturns (line 297) | type GetSamplingProfileReturns struct
constant CommandGetDOMCounters (line 319) | CommandGetDOMCounters = "Memory.getDOMCounters"
constant CommandGetDOMCountersForLeakDetection (line 320) | CommandGetDOMCountersForLeakDetection = "Memory.getDOMCountersForLea...
constant CommandPrepareForLeakDetection (line 321) | CommandPrepareForLeakDetection = "Memory.prepareForLeakDetect...
constant CommandForciblyPurgeJavaScriptMemory (line 322) | CommandForciblyPurgeJavaScriptMemory = "Memory.forciblyPurgeJavaScr...
constant CommandSetPressureNotificationsSuppressed (line 323) | CommandSetPressureNotificationsSuppressed = "Memory.setPressureNotificat...
constant CommandSimulatePressureNotification (line 324) | CommandSimulatePressureNotification = "Memory.simulatePressureNoti...
constant CommandStartSampling (line 325) | CommandStartSampling = "Memory.startSampling"
constant CommandStopSampling (line 326) | CommandStopSampling = "Memory.stopSampling"
constant CommandGetAllTimeSamplingProfile (line 327) | CommandGetAllTimeSamplingProfile = "Memory.getAllTimeSamplingPr...
constant CommandGetBrowserSamplingProfile (line 328) | CommandGetBrowserSamplingProfile = "Memory.getBrowserSamplingPr...
constant CommandGetSamplingProfile (line 329) | CommandGetSamplingProfile = "Memory.getSamplingProfile"
FILE: vendor/github.com/chromedp/cdproto/memory/types.go
type PressureLevel (line 13) | type PressureLevel
method String (line 16) | func (t PressureLevel) String() string {
method UnmarshalJSON (line 27) | func (t *PressureLevel) UnmarshalJSON(buf []byte) error {
constant PressureLevelModerate (line 22) | PressureLevelModerate PressureLevel = "moderate"
constant PressureLevelCritical (line 23) | PressureLevelCritical PressureLevel = "critical"
type SamplingProfileNode (line 45) | type SamplingProfileNode struct
type SamplingProfile (line 54) | type SamplingProfile struct
type Module (line 62) | type Module struct
type DOMCounter (line 72) | type DOMCounter struct
FILE: vendor/github.com/chromedp/cdproto/network/events.go
type EventDataReceived (line 12) | type EventDataReceived struct
type EventEventSourceMessageReceived (line 24) | type EventEventSourceMessageReceived struct
type EventLoadingFailed (line 35) | type EventLoadingFailed struct
type EventLoadingFinished (line 48) | type EventLoadingFinished struct
type EventRequestServedFromCache (line 57) | type EventRequestServedFromCache struct
type EventRequestWillBeSent (line 64) | type EventRequestWillBeSent struct
type EventResourceChangedPriority (line 83) | type EventResourceChangedPriority struct
type EventSignedExchangeReceived (line 93) | type EventSignedExchangeReceived struct
type EventResponseReceived (line 101) | type EventResponseReceived struct
type EventWebSocketClosed (line 114) | type EventWebSocketClosed struct
type EventWebSocketCreated (line 122) | type EventWebSocketCreated struct
type EventWebSocketFrameError (line 131) | type EventWebSocketFrameError struct
type EventWebSocketFrameReceived (line 140) | type EventWebSocketFrameReceived struct
type EventWebSocketFrameSent (line 149) | type EventWebSocketFrameSent struct
type EventWebSocketHandshakeResponseReceived (line 159) | type EventWebSocketHandshakeResponseReceived struct
type EventWebSocketWillSendHandshakeRequest (line 169) | type EventWebSocketWillSendHandshakeRequest struct
type EventWebTransportCreated (line 179) | type EventWebTransportCreated struct
type EventWebTransportConnectionEstablished (line 190) | type EventWebTransportConnectionEstablished struct
type EventWebTransportClosed (line 198) | type EventWebTransportClosed struct
type EventDirectTCPSocketCreated (line 206) | type EventDirectTCPSocketCreated struct
type EventDirectTCPSocketOpened (line 219) | type EventDirectTCPSocketOpened struct
type EventDirectTCPSocketAborted (line 231) | type EventDirectTCPSocketAborted struct
type EventDirectTCPSocketClosed (line 240) | type EventDirectTCPSocketClosed struct
type EventDirectTCPSocketChunkSent (line 249) | type EventDirectTCPSocketChunkSent struct
type EventDirectTCPSocketChunkReceived (line 259) | type EventDirectTCPSocketChunkReceived struct
type EventDirectUDPSocketCreated (line 268) | type EventDirectUDPSocketCreated struct
type EventDirectUDPSocketOpened (line 279) | type EventDirectUDPSocketOpened struct
type EventDirectUDPSocketAborted (line 291) | type EventDirectUDPSocketAborted struct
type EventDirectUDPSocketClosed (line 300) | type EventDirectUDPSocketClosed struct
type EventDirectUDPSocketChunkSent (line 309) | type EventDirectUDPSocketChunkSent struct
type EventDirectUDPSocketChunkReceived (line 319) | type EventDirectUDPSocketChunkReceived struct
type EventRequestWillBeSentExtraInfo (line 332) | type EventRequestWillBeSentExtraInfo struct
type EventResponseReceivedExtraInfo (line 348) | type EventResponseReceivedExtraInfo struct
type EventResponseReceivedEarlyHints (line 366) | type EventResponseReceivedEarlyHints struct
type EventTrustTokenOperationDone (line 377) | type EventTrustTokenOperationDone struct
type EventPolicyUpdated (line 389) | type EventPolicyUpdated struct
type EventSubresourceWebBundleMetadataReceived (line 396) | type EventSubresourceWebBundleMetadataReceived struct
type EventSubresourceWebBundleMetadataError (line 405) | type EventSubresourceWebBundleMetadataError struct
type EventSubresourceWebBundleInnerResponseParsed (line 415) | type EventSubresourceWebBundleInnerResponseParsed struct
type EventSubresourceWebBundleInnerResponseError (line 425) | type EventSubresourceWebBundleInnerResponseError struct
type EventReportingAPIReportAdded (line 436) | type EventReportingAPIReportAdded struct
type EventReportingAPIReportUpdated (line 443) | type EventReportingAPIReportUpdated struct
type EventReportingAPIEndpointsChangedForOrigin (line 450) | type EventReportingAPIEndpointsChangedForOrigin struct
FILE: vendor/github.com/chromedp/cdproto/network/network.go
type SetAcceptedEncodingsParams (line 24) | type SetAcceptedEncodingsParams struct
method Do (line 43) | func (p *SetAcceptedEncodingsParams) Do(ctx context.Context) (err erro...
function SetAcceptedEncodings (line 36) | func SetAcceptedEncodings(encodings []ContentEncoding) *SetAcceptedEncod...
type ClearAcceptedEncodingsOverrideParams (line 49) | type ClearAcceptedEncodingsOverrideParams struct
method Do (line 60) | func (p *ClearAcceptedEncodingsOverrideParams) Do(ctx context.Context)...
function ClearAcceptedEncodingsOverride (line 55) | func ClearAcceptedEncodingsOverride() *ClearAcceptedEncodingsOverridePar...
type ClearBrowserCacheParams (line 65) | type ClearBrowserCacheParams struct
method Do (line 75) | func (p *ClearBrowserCacheParams) Do(ctx context.Context) (err error) {
function ClearBrowserCache (line 70) | func ClearBrowserCache() *ClearBrowserCacheParams {
type ClearBrowserCookiesParams (line 80) | type ClearBrowserCookiesParams struct
method Do (line 90) | func (p *ClearBrowserCookiesParams) Do(ctx context.Context) (err error) {
function ClearBrowserCookies (line 85) | func ClearBrowserCookies() *ClearBrowserCookiesParams {
type DeleteCookiesParams (line 96) | type DeleteCookiesParams struct
method WithURL (line 120) | func (p DeleteCookiesParams) WithURL(url string) *DeleteCookiesParams {
method WithDomain (line 126) | func (p DeleteCookiesParams) WithDomain(domain string) *DeleteCookiesP...
method WithPath (line 132) | func (p DeleteCookiesParams) WithPath(path string) *DeleteCookiesParams {
method WithPartitionKey (line 140) | func (p DeleteCookiesParams) WithPartitionKey(partitionKey *CookiePart...
method Do (line 146) | func (p *DeleteCookiesParams) Do(ctx context.Context) (err error) {
function DeleteCookies (line 112) | func DeleteCookies(name string) *DeleteCookiesParams {
type DisableParams (line 152) | type DisableParams struct
method Do (line 163) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 158) | func Disable() *DisableParams {
type EmulateNetworkConditionsParams (line 168) | type EmulateNetworkConditionsParams struct
method WithConnectionType (line 200) | func (p EmulateNetworkConditionsParams) WithConnectionType(connectionT...
method WithPacketLoss (line 207) | func (p EmulateNetworkConditionsParams) WithPacketLoss(packetLoss floa...
method WithPacketQueueLength (line 214) | func (p EmulateNetworkConditionsParams) WithPacketQueueLength(packetQu...
method WithPacketReordering (line 220) | func (p EmulateNetworkConditionsParams) WithPacketReordering(packetReo...
method Do (line 226) | func (p *EmulateNetworkConditionsParams) Do(ctx context.Context) (err ...
function EmulateNetworkConditions (line 189) | func EmulateNetworkConditions(offline bool, latency float64, downloadThr...
type EnableParams (line 232) | type EnableParams struct
method WithMaxTotalBufferSize (line 253) | func (p EnableParams) WithMaxTotalBufferSize(maxTotalBufferSize int64)...
method WithMaxResourceBufferSize (line 260) | func (p EnableParams) WithMaxResourceBufferSize(maxResourceBufferSize ...
method WithMaxPostDataSize (line 267) | func (p EnableParams) WithMaxPostDataSize(maxPostDataSize int64) *Enab...
method WithReportDirectSocketTraffic (line 274) | func (p EnableParams) WithReportDirectSocketTraffic(reportDirectSocket...
method Do (line 280) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 245) | func Enable() *EnableParams {
type GetCertificateParams (line 285) | type GetCertificateParams struct
method Do (line 312) | func (p *GetCertificateParams) Do(ctx context.Context) (tableNames []s...
function GetCertificate (line 296) | func GetCertificate(origin string) *GetCertificateParams {
type GetCertificateReturns (line 303) | type GetCertificateReturns struct
type GetCookiesParams (line 326) | type GetCookiesParams struct
method WithURLs (line 344) | func (p GetCookiesParams) WithURLs(urls []string) *GetCookiesParams {
method Do (line 359) | func (p *GetCookiesParams) Do(ctx context.Context) (cookies []*Cookie,...
function GetCookies (line 337) | func GetCookies() *GetCookiesParams {
type GetCookiesReturns (line 350) | type GetCookiesReturns struct
type GetResponseBodyParams (line 371) | type GetResponseBodyParams struct
method Do (line 399) | func (p *GetResponseBodyParams) Do(ctx context.Context) (body []byte, ...
function GetResponseBody (line 382) | func GetResponseBody(requestID RequestID) *GetResponseBodyParams {
type GetResponseBodyReturns (line 389) | type GetResponseBodyReturns struct
type GetRequestPostDataParams (line 422) | type GetRequestPostDataParams struct
method Do (line 450) | func (p *GetRequestPostDataParams) Do(ctx context.Context) (postData s...
function GetRequestPostData (line 434) | func GetRequestPostData(requestID RequestID) *GetRequestPostDataParams {
type GetRequestPostDataReturns (line 441) | type GetRequestPostDataReturns struct
type GetResponseBodyForInterceptionParams (line 463) | type GetResponseBodyForInterceptionParams struct
method Do (line 492) | func (p *GetResponseBodyForInterceptionParams) Do(ctx context.Context)...
function GetResponseBodyForInterception (line 475) | func GetResponseBodyForInterception(interceptionID InterceptionID) *GetR...
type GetResponseBodyForInterceptionReturns (line 482) | type GetResponseBodyForInterceptionReturns struct
type TakeResponseBodyForInterceptionAsStreamParams (line 518) | type TakeResponseBodyForInterceptionAsStreamParams struct
method Do (line 549) | func (p *TakeResponseBodyForInterceptionAsStreamParams) Do(ctx context...
function TakeResponseBodyForInterceptionAsStream (line 533) | func TakeResponseBodyForInterceptionAsStream(interceptionID Interception...
type TakeResponseBodyForInterceptionAsStreamReturns (line 540) | type TakeResponseBodyForInterceptionAsStreamReturns struct
type ReplayXHRParams (line 564) | type ReplayXHRParams struct
method Do (line 585) | func (p *ReplayXHRParams) Do(ctx context.Context) (err error) {
function ReplayXHR (line 578) | func ReplayXHR(requestID RequestID) *ReplayXHRParams {
type SearchInResponseBodyParams (line 590) | type SearchInResponseBodyParams struct
method WithCaseSensitive (line 615) | func (p SearchInResponseBodyParams) WithCaseSensitive(caseSensitive bo...
method WithIsRegex (line 621) | func (p SearchInResponseBodyParams) WithIsRegex(isRegex bool) *SearchI...
method Do (line 636) | func (p *SearchInResponseBodyParams) Do(ctx context.Context) (result [...
function SearchInResponseBody (line 605) | func SearchInResponseBody(requestID RequestID, query string) *SearchInRe...
type SearchInResponseBodyReturns (line 627) | type SearchInResponseBodyReturns struct
type SetBlockedURLsParams (line 648) | type SetBlockedURLsParams struct
method Do (line 666) | func (p *SetBlockedURLsParams) Do(ctx context.Context) (err error) {
function SetBlockedURLs (line 659) | func SetBlockedURLs(urls []string) *SetBlockedURLsParams {
type SetBypassServiceWorkerParams (line 672) | type SetBypassServiceWorkerParams struct
method Do (line 691) | func (p *SetBypassServiceWorkerParams) Do(ctx context.Context) (err er...
function SetBypassServiceWorker (line 684) | func SetBypassServiceWorker(bypass bool) *SetBypassServiceWorkerParams {
type SetCacheDisabledParams (line 697) | type SetCacheDisabledParams struct
method Do (line 716) | func (p *SetCacheDisabledParams) Do(ctx context.Context) (err error) {
function SetCacheDisabled (line 709) | func SetCacheDisabled(cacheDisabled bool) *SetCacheDisabledParams {
type SetCookieParams (line 722) | type SetCookieParams struct
method WithURL (line 761) | func (p SetCookieParams) WithURL(url string) *SetCookieParams {
method WithDomain (line 767) | func (p SetCookieParams) WithDomain(domain string) *SetCookieParams {
method WithPath (line 773) | func (p SetCookieParams) WithPath(path string) *SetCookieParams {
method WithSecure (line 779) | func (p SetCookieParams) WithSecure(secure bool) *SetCookieParams {
method WithHTTPOnly (line 785) | func (p SetCookieParams) WithHTTPOnly(httpOnly bool) *SetCookieParams {
method WithSameSite (line 791) | func (p SetCookieParams) WithSameSite(sameSite CookieSameSite) *SetCoo...
method WithExpires (line 797) | func (p SetCookieParams) WithExpires(expires *cdp.TimeSinceEpoch) *Set...
method WithPriority (line 803) | func (p SetCookieParams) WithPriority(priority CookiePriority) *SetCoo...
method WithSameParty (line 809) | func (p SetCookieParams) WithSameParty(sameParty bool) *SetCookieParams {
method WithSourceScheme (line 815) | func (p SetCookieParams) WithSourceScheme(sourceScheme CookieSourceSch...
method WithSourcePort (line 824) | func (p SetCookieParams) WithSourcePort(sourcePort int64) *SetCookiePa...
method WithPartitionKey (line 831) | func (p SetCookieParams) WithPartitionKey(partitionKey *CookiePartitio...
method Do (line 837) | func (p *SetCookieParams) Do(ctx context.Context) (err error) {
function SetCookie (line 748) | func SetCookie(name string, value string) *SetCookieParams {
type SetCookiesParams (line 842) | type SetCookiesParams struct
method Do (line 860) | func (p *SetCookiesParams) Do(ctx context.Context) (err error) {
function SetCookies (line 853) | func SetCookies(cookies []*CookieParam) *SetCookiesParams {
type SetExtraHTTPHeadersParams (line 866) | type SetExtraHTTPHeadersParams struct
method Do (line 885) | func (p *SetExtraHTTPHeadersParams) Do(ctx context.Context) (err error) {
function SetExtraHTTPHeaders (line 878) | func SetExtraHTTPHeaders(headers Headers) *SetExtraHTTPHeadersParams {
type SetAttachDebugStackParams (line 891) | type SetAttachDebugStackParams struct
method Do (line 910) | func (p *SetAttachDebugStackParams) Do(ctx context.Context) (err error) {
function SetAttachDebugStack (line 903) | func SetAttachDebugStack(enabled bool) *SetAttachDebugStackParams {
type StreamResourceContentParams (line 917) | type StreamResourceContentParams struct
method Do (line 946) | func (p *StreamResourceContentParams) Do(ctx context.Context) (buffere...
function StreamResourceContent (line 930) | func StreamResourceContent(requestID RequestID) *StreamResourceContentPa...
type StreamResourceContentReturns (line 937) | type StreamResourceContentReturns struct
type GetSecurityIsolationStatusParams (line 965) | type GetSecurityIsolationStatusParams struct
method WithFrameID (line 981) | func (p GetSecurityIsolationStatusParams) WithFrameID(frameID cdp.Fram...
method Do (line 996) | func (p *GetSecurityIsolationStatusParams) Do(ctx context.Context) (st...
function GetSecurityIsolationStatus (line 975) | func GetSecurityIsolationStatus() *GetSecurityIsolationStatusParams {
type GetSecurityIsolationStatusReturns (line 987) | type GetSecurityIsolationStatusReturns struct
type EnableReportingAPIParams (line 1010) | type EnableReportingAPIParams struct
method Do (line 1030) | func (p *EnableReportingAPIParams) Do(ctx context.Context) (err error) {
function EnableReportingAPI (line 1023) | func EnableReportingAPI(enable bool) *EnableReportingAPIParams {
type LoadNetworkResourceParams (line 1035) | type LoadNetworkResourceParams struct
method WithFrameID (line 1058) | func (p LoadNetworkResourceParams) WithFrameID(frameID cdp.FrameID) *L...
method Do (line 1073) | func (p *LoadNetworkResourceParams) Do(ctx context.Context) (resource ...
function LoadNetworkResource (line 1049) | func LoadNetworkResource(url string, options *LoadNetworkResourceOptions...
type LoadNetworkResourceReturns (line 1064) | type LoadNetworkResourceReturns struct
type SetCookieControlsParams (line 1086) | type SetCookieControlsParams struct
method Do (line 1111) | func (p *SetCookieControlsParams) Do(ctx context.Context) (err error) {
function SetCookieControls (line 1102) | func SetCookieControls(enableThirdPartyCookieRestriction bool, disableTh...
constant CommandSetAcceptedEncodings (line 1117) | CommandSetAcceptedEncodings = "Network.setAcceptedEnc...
constant CommandClearAcceptedEncodingsOverride (line 1118) | CommandClearAcceptedEncodingsOverride = "Network.clearAcceptedE...
constant CommandClearBrowserCache (line 1119) | CommandClearBrowserCache = "Network.clearBrowserCa...
constant CommandClearBrowserCookies (line 1120) | CommandClearBrowserCookies = "Network.clearBrowserCo...
constant CommandDeleteCookies (line 1121) | CommandDeleteCookies = "Network.deleteCookies"
constant CommandDisable (line 1122) | CommandDisable = "Network.disable"
constant CommandEmulateNetworkConditions (line 1123) | CommandEmulateNetworkConditions = "Network.emulateNetwork...
constant CommandEnable (line 1124) | CommandEnable = "Network.enable"
constant CommandGetCertificate (line 1125) | CommandGetCertificate = "Network.getCertificate"
constant CommandGetCookies (line 1126) | CommandGetCookies = "Network.getCookies"
constant CommandGetResponseBody (line 1127) | CommandGetResponseBody = "Network.getResponseBody"
constant CommandGetRequestPostData (line 1128) | CommandGetRequestPostData = "Network.getRequestPost...
constant CommandGetResponseBodyForInterception (line 1129) | CommandGetResponseBodyForInterception = "Network.getResponseBod...
constant CommandTakeResponseBodyForInterceptionAsStream (line 1130) | CommandTakeResponseBodyForInterceptionAsStream = "Network.takeResponseBo...
constant CommandReplayXHR (line 1131) | CommandReplayXHR = "Network.replayXHR"
constant CommandSearchInResponseBody (line 1132) | CommandSearchInResponseBody = "Network.searchInRespon...
constant CommandSetBlockedURLs (line 1133) | CommandSetBlockedURLs = "Network.setBlockedURLs"
constant CommandSetBypassServiceWorker (line 1134) | CommandSetBypassServiceWorker = "Network.setBypassServi...
constant CommandSetCacheDisabled (line 1135) | CommandSetCacheDisabled = "Network.setCacheDisabled"
constant CommandSetCookie (line 1136) | CommandSetCookie = "Network.setCookie"
constant CommandSetCookies (line 1137) | CommandSetCookies = "Network.setCookies"
constant CommandSetExtraHTTPHeaders (line 1138) | CommandSetExtraHTTPHeaders = "Network.setExtraHTTPHe...
constant CommandSetAttachDebugStack (line 1139) | CommandSetAttachDebugStack = "Network.setAttachDebug...
constant CommandStreamResourceContent (line 1140) | CommandStreamResourceContent = "Network.streamResource...
constant CommandGetSecurityIsolationStatus (line 1141) | CommandGetSecurityIsolationStatus = "Network.getSecurityIso...
constant CommandEnableReportingAPI (line 1142) | CommandEnableReportingAPI = "Network.enableReportin...
constant CommandLoadNetworkResource (line 1143) | CommandLoadNetworkResource = "Network.loadNetworkRes...
constant CommandSetCookieControls (line 1144) | CommandSetCookieControls = "Network.setCookieContr...
FILE: vendor/github.com/chromedp/cdproto/network/types.go
type ResourceType (line 22) | type ResourceType
method String (line 25) | func (t ResourceType) String() string {
method UnmarshalJSON (line 53) | func (t *ResourceType) UnmarshalJSON(buf []byte) error {
constant ResourceTypeDocument (line 31) | ResourceTypeDocument ResourceType = "Document"
constant ResourceTypeStylesheet (line 32) | ResourceTypeStylesheet ResourceType = "Stylesheet"
constant ResourceTypeImage (line 33) | ResourceTypeImage ResourceType = "Image"
constant ResourceTypeMedia (line 34) | ResourceTypeMedia ResourceType = "Media"
constant ResourceTypeFont (line 35) | ResourceTypeFont ResourceType = "Font"
constant ResourceTypeScript (line 36) | ResourceTypeScript ResourceType = "Script"
constant ResourceTypeTextTrack (line 37) | ResourceTypeTextTrack ResourceType = "TextTrack"
constant ResourceTypeXHR (line 38) | ResourceTypeXHR ResourceType = "XHR"
constant ResourceTypeFetch (line 39) | ResourceTypeFetch ResourceType = "Fetch"
constant ResourceTypePrefetch (line 40) | ResourceTypePrefetch ResourceType = "Prefetch"
constant ResourceTypeEventSource (line 41) | ResourceTypeEventSource ResourceType = "EventSource"
constant ResourceTypeWebSocket (line 42) | ResourceTypeWebSocket ResourceType = "WebSocket"
constant ResourceTypeManifest (line 43) | ResourceTypeManifest ResourceType = "Manifest"
constant ResourceTypeSignedExchange (line 44) | ResourceTypeSignedExchange ResourceType = "SignedExchange"
constant ResourceTypePing (line 45) | ResourceTypePing ResourceType = "Ping"
constant ResourceTypeCSPViolationReport (line 46) | ResourceTypeCSPViolationReport ResourceType = "CSPViolationReport"
constant ResourceTypePreflight (line 47) | ResourceTypePreflight ResourceType = "Preflight"
constant ResourceTypeFedCM (line 48) | ResourceTypeFedCM ResourceType = "FedCM"
constant ResourceTypeOther (line 49) | ResourceTypeOther ResourceType = "Other"
type RequestID (line 106) | type RequestID
method String (line 109) | func (t RequestID) String() string {
type InterceptionID (line 116) | type InterceptionID
method String (line 119) | func (t InterceptionID) String() string {
type ErrorReason (line 126) | type ErrorReason
method String (line 129) | func (t ErrorReason) String() string {
method UnmarshalJSON (line 152) | func (t *ErrorReason) UnmarshalJSON(buf []byte) error {
constant ErrorReasonFailed (line 135) | ErrorReasonFailed ErrorReason = "Failed"
constant ErrorReasonAborted (line 136) | ErrorReasonAborted ErrorReason = "Aborted"
constant ErrorReasonTimedOut (line 137) | ErrorReasonTimedOut ErrorReason = "TimedOut"
constant ErrorReasonAccessDenied (line 138) | ErrorReasonAccessDenied ErrorReason = "AccessDenied"
constant ErrorReasonConnectionClosed (line 139) | ErrorReasonConnectionClosed ErrorReason = "ConnectionClosed"
constant ErrorReasonConnectionReset (line 140) | ErrorReasonConnectionReset ErrorReason = "ConnectionReset"
constant ErrorReasonConnectionRefused (line 141) | ErrorReasonConnectionRefused ErrorReason = "ConnectionRefused"
constant ErrorReasonConnectionAborted (line 142) | ErrorReasonConnectionAborted ErrorReason = "ConnectionAborted"
constant ErrorReasonConnectionFailed (line 143) | ErrorReasonConnectionFailed ErrorReason = "ConnectionFailed"
constant ErrorReasonNameNotResolved (line 144) | ErrorReasonNameNotResolved ErrorReason = "NameNotResolved"
constant ErrorReasonInternetDisconnected (line 145) | ErrorReasonInternetDisconnected ErrorReason = "InternetDisconnected"
constant ErrorReasonAddressUnreachable (line 146) | ErrorReasonAddressUnreachable ErrorReason = "AddressUnreachable"
constant ErrorReasonBlockedByClient (line 147) | ErrorReasonBlockedByClient ErrorReason = "BlockedByClient"
constant ErrorReasonBlockedByResponse (line 148) | ErrorReasonBlockedByResponse ErrorReason = "BlockedByResponse"
type Headers (line 194) | type Headers
type ConnectionType (line 200) | type ConnectionType
method String (line 203) | func (t ConnectionType) String() string {
method UnmarshalJSON (line 221) | func (t *ConnectionType) UnmarshalJSON(buf []byte) error {
constant ConnectionTypeNone (line 209) | ConnectionTypeNone ConnectionType = "none"
constant ConnectionTypeCellular2g (line 210) | ConnectionTypeCellular2g ConnectionType = "cellular2g"
constant ConnectionTypeCellular3g (line 211) | ConnectionTypeCellular3g ConnectionType = "cellular3g"
constant ConnectionTypeCellular4g (line 212) | ConnectionTypeCellular4g ConnectionType = "cellular4g"
constant ConnectionTypeBluetooth (line 213) | ConnectionTypeBluetooth ConnectionType = "bluetooth"
constant ConnectionTypeEthernet (line 214) | ConnectionTypeEthernet ConnectionType = "ethernet"
constant ConnectionTypeWifi (line 215) | ConnectionTypeWifi ConnectionType = "wifi"
constant ConnectionTypeWimax (line 216) | ConnectionTypeWimax ConnectionType = "wimax"
constant ConnectionTypeOther (line 217) | ConnectionTypeOther ConnectionType = "other"
type CookieSameSite (line 254) | type CookieSameSite
method String (line 257) | func (t CookieSameSite) String() string {
method UnmarshalJSON (line 269) | func (t *CookieSameSite) UnmarshalJSON(buf []byte) error {
constant CookieSameSiteStrict (line 263) | CookieSameSiteStrict CookieSameSite = "Strict"
constant CookieSameSiteLax (line 264) | CookieSameSiteLax CookieSameSite = "Lax"
constant CookieSameSiteNone (line 265) | CookieSameSiteNone CookieSameSite = "None"
type CookiePriority (line 290) | type CookiePriority
method String (line 293) | func (t CookiePriority) String() string {
method UnmarshalJSON (line 305) | func (t *CookiePriority) UnmarshalJSON(buf []byte) error {
constant CookiePriorityLow (line 299) | CookiePriorityLow CookiePriority = "Low"
constant CookiePriorityMedium (line 300) | CookiePriorityMedium CookiePriority = "Medium"
constant CookiePriorityHigh (line 301) | CookiePriorityHigh CookiePriority = "High"
type CookieSourceScheme (line 328) | type CookieSourceScheme
method String (line 331) | func (t CookieSourceScheme) String() string {
method UnmarshalJSON (line 343) | func (t *CookieSourceScheme) UnmarshalJSON(buf []byte) error {
constant CookieSourceSchemeUnset (line 337) | CookieSourceSchemeUnset CookieSourceScheme = "Unset"
constant CookieSourceSchemeNonSecure (line 338) | CookieSourceSchemeNonSecure CookieSourceScheme = "NonSecure"
constant CookieSourceSchemeSecure (line 339) | CookieSourceSchemeSecure CookieSourceScheme = "Secure"
type ResourceTiming (line 363) | type ResourceTiming struct
type ResourcePriority (line 390) | type ResourcePriority
method String (line 393) | func (t ResourcePriority) String() string {
method UnmarshalJSON (line 407) | func (t *ResourcePriority) UnmarshalJSON(buf []byte) error {
constant ResourcePriorityVeryLow (line 399) | ResourcePriorityVeryLow ResourcePriority = "VeryLow"
constant ResourcePriorityLow (line 400) | ResourcePriorityLow ResourcePriority = "Low"
constant ResourcePriorityMedium (line 401) | ResourcePriorityMedium ResourcePriority = "Medium"
constant ResourcePriorityHigh (line 402) | ResourcePriorityHigh ResourcePriority = "High"
constant ResourcePriorityVeryHigh (line 403) | ResourcePriorityVeryHigh ResourcePriority = "VeryHigh"
type PostDataEntry (line 431) | type PostDataEntry struct
type Request (line 438) | type Request struct
type SignedCertificateTimestamp (line 457) | type SignedCertificateTimestamp struct
type SecurityDetails (line 471) | type SecurityDetails struct
type CertificateTransparencyCompliance (line 493) | type CertificateTransparencyCompliance
method String (line 496) | func (t CertificateTransparencyCompliance) String() string {
method UnmarshalJSON (line 508) | func (t *CertificateTransparencyCompliance) UnmarshalJSON(buf []byte) ...
constant CertificateTransparencyComplianceUnknown (line 502) | CertificateTransparencyComplianceUnknown CertificateTransparencyCom...
constant CertificateTransparencyComplianceNotCompliant (line 503) | CertificateTransparencyComplianceNotCompliant CertificateTransparencyCom...
constant CertificateTransparencyComplianceCompliant (line 504) | CertificateTransparencyComplianceCompliant CertificateTransparencyCom...
type BlockedReason (line 528) | type BlockedReason
method String (line 531) | func (t BlockedReason) String() string {
method UnmarshalJSON (line 556) | func (t *BlockedReason) UnmarshalJSON(buf []byte) error {
constant BlockedReasonOther (line 537) | BlockedReasonOther Blo...
constant BlockedReasonCsp (line 538) | BlockedReasonCsp Blo...
constant BlockedReasonMixedContent (line 539) | BlockedReasonMixedContent Blo...
constant BlockedReasonOrigin (line 540) | BlockedReasonOrigin Blo...
constant BlockedReasonInspector (line 541) | BlockedReasonInspector Blo...
constant BlockedReasonIntegrity (line 542) | BlockedReasonIntegrity Blo...
constant BlockedReasonSubresourceFilter (line 543) | BlockedReasonSubresourceFilter Blo...
constant BlockedReasonContentType (line 544) | BlockedReasonContentType Blo...
constant BlockedReasonCoepFrameResourceNeedsCoepHeader (line 545) | BlockedReasonCoepFrameResourceNeedsCoepHeader Blo...
constant BlockedReasonCoopSandboxedIframeCannotNavigateToCoopPage (line 546) | BlockedReasonCoopSandboxedIframeCannotNavigateToCoopPage Blo...
constant BlockedReasonCorpNotSameOrigin (line 547) | BlockedReasonCorpNotSameOrigin Blo...
constant BlockedReasonCorpNotSameOriginAfterDefaultedToSameOriginByCoep (line 548) | BlockedReasonCorpNotSameOriginAfterDefaultedToSameOriginByCoep Blo...
constant BlockedReasonCorpNotSameOriginAfterDefaultedToSameOriginByDip (line 549) | BlockedReasonCorpNotSameOriginAfterDefaultedToSameOriginByDip Blo...
constant BlockedReasonCorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip (line 550) | BlockedReasonCorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip Blo...
constant BlockedReasonCorpNotSameSite (line 551) | BlockedReasonCorpNotSameSite Blo...
constant BlockedReasonSriMessageSignatureMismatch (line 552) | BlockedReasonSriMessageSignatureMismatch Blo...
type CorsError (line 602) | type CorsError
method String (line 605) | func (t CorsError) String() string {
method UnmarshalJSON (line 649) | func (t *CorsError) UnmarshalJSON(buf []byte) error {
constant CorsErrorDisallowedByMode (line 611) | CorsErrorDisallowedByMode CorsError = "Disallow...
constant CorsErrorInvalidResponse (line 612) | CorsErrorInvalidResponse CorsError = "InvalidR...
constant CorsErrorWildcardOriginNotAllowed (line 613) | CorsErrorWildcardOriginNotAllowed CorsError = "Wildcard...
constant CorsErrorMissingAllowOriginHeader (line 614) | CorsErrorMissingAllowOriginHeader CorsError = "MissingA...
constant CorsErrorMultipleAllowOriginValues (line 615) | CorsErrorMultipleAllowOriginValues CorsError = "Multiple...
constant CorsErrorInvalidAllowOriginValue (line 616) | CorsErrorInvalidAllowOriginValue CorsError = "InvalidA...
constant CorsErrorAllowOriginMismatch (line 617) | CorsErrorAllowOriginMismatch CorsError = "AllowOri...
constant CorsErrorInvalidAllowCredentials (line 618) | CorsErrorInvalidAllowCredentials CorsError = "InvalidA...
constant CorsErrorCorsDisabledScheme (line 619) | CorsErrorCorsDisabledScheme CorsError = "CorsDisa...
constant CorsErrorPreflightInvalidStatus (line 620) | CorsErrorPreflightInvalidStatus CorsError = "Prefligh...
constant CorsErrorPreflightDisallowedRedirect (line 621) | CorsErrorPreflightDisallowedRedirect CorsError = "Prefligh...
constant CorsErrorPreflightWildcardOriginNotAllowed (line 622) | CorsErrorPreflightWildcardOriginNotAllowed CorsError = "Prefligh...
constant CorsErrorPreflightMissingAllowOriginHeader (line 623) | CorsErrorPreflightMissingAllowOriginHeader CorsError = "Prefligh...
constant CorsErrorPreflightMultipleAllowOriginValues (line 624) | CorsErrorPreflightMultipleAllowOriginValues CorsError = "Prefligh...
constant CorsErrorPreflightInvalidAllowOriginValue (line 625) | CorsErrorPreflightInvalidAllowOriginValue CorsError = "Prefligh...
constant CorsErrorPreflightAllowOriginMismatch (line 626) | CorsErrorPreflightAllowOriginMismatch CorsError = "Prefligh...
constant CorsErrorPreflightInvalidAllowCredentials (line 627) | CorsErrorPreflightInvalidAllowCredentials CorsError = "Prefligh...
constant CorsErrorPreflightMissingAllowExternal (line 628) | CorsErrorPreflightMissingAllowExternal CorsError = "Prefligh...
constant CorsErrorPreflightInvalidAllowExternal (line 629) | CorsErrorPreflightInvalidAllowExternal CorsError = "Prefligh...
constant CorsErrorPreflightMissingAllowPrivateNetwork (line 630) | CorsErrorPreflightMissingAllowPrivateNetwork CorsError = "Prefligh...
constant CorsErrorPreflightInvalidAllowPrivateNetwork (line 631) | CorsErrorPreflightInvalidAllowPrivateNetwork CorsError = "Prefligh...
constant CorsErrorInvalidAllowMethodsPreflightResponse (line 632) | CorsErrorInvalidAllowMethodsPreflightResponse CorsError = "InvalidA...
constant CorsErrorInvalidAllowHeadersPreflightResponse (line 633) | CorsErrorInvalidAllowHeadersPreflightResponse CorsError = "InvalidA...
constant CorsErrorMethodDisallowedByPreflightResponse (line 634) | CorsErrorMethodDisallowedByPreflightResponse CorsError = "MethodDi...
constant CorsErrorHeaderDisallowedByPreflightResponse (line 635) | CorsErrorHeaderDisallowedByPreflightResponse CorsError = "HeaderDi...
constant CorsErrorRedirectContainsCredentials (line 636) | CorsErrorRedirectContainsCredentials CorsError = "Redirect...
constant CorsErrorInsecurePrivateNetwork (line 637) | CorsErrorInsecurePrivateNetwork CorsError = "Insecure...
constant CorsErrorInvalidPrivateNetworkAccess (line 638) | CorsErrorInvalidPrivateNetworkAccess CorsError = "InvalidP...
constant CorsErrorUnexpectedPrivateNetworkAccess (line 639) | CorsErrorUnexpectedPrivateNetworkAccess CorsError = "Unexpect...
constant CorsErrorNoCorsRedirectModeNotFollow (line 640) | CorsErrorNoCorsRedirectModeNotFollow CorsError = "NoCorsRe...
constant CorsErrorPreflightMissingPrivateNetworkAccessID (line 641) | CorsErrorPreflightMissingPrivateNetworkAccessID CorsError = "Prefligh...
constant CorsErrorPreflightMissingPrivateNetworkAccessName (line 642) | CorsErrorPreflightMissingPrivateNetworkAccessName CorsError = "Prefligh...
constant CorsErrorPrivateNetworkAccessPermissionUnavailable (line 643) | CorsErrorPrivateNetworkAccessPermissionUnavailable CorsError = "PrivateN...
constant CorsErrorPrivateNetworkAccessPermissionDenied (line 644) | CorsErrorPrivateNetworkAccessPermissionDenied CorsError = "PrivateN...
constant CorsErrorLocalNetworkAccessPermissionDenied (line 645) | CorsErrorLocalNetworkAccessPermissionDenied CorsError = "LocalNet...
type CorsErrorStatus (line 733) | type CorsErrorStatus struct
type ServiceWorkerResponseSource (line 741) | type ServiceWorkerResponseSource
method String (line 744) | func (t ServiceWorkerResponseSource) String() string {
method UnmarshalJSON (line 757) | func (t *ServiceWorkerResponseSource) UnmarshalJSON(buf []byte) error {
constant ServiceWorkerResponseSourceCacheStorage (line 750) | ServiceWorkerResponseSourceCacheStorage ServiceWorkerResponseSource = "c...
constant ServiceWorkerResponseSourceHTTPCache (line 751) | ServiceWorkerResponseSourceHTTPCache ServiceWorkerResponseSource = "h...
constant ServiceWorkerResponseSourceFallbackCode (line 752) | ServiceWorkerResponseSourceFallbackCode ServiceWorkerResponseSource = "f...
constant ServiceWorkerResponseSourceNetwork (line 753) | ServiceWorkerResponseSourceNetwork ServiceWorkerResponseSource = "n...
type TrustTokenParams (line 781) | type TrustTokenParams struct
type TrustTokenOperationType (line 790) | type TrustTokenOperationType
method String (line 793) | func (t TrustTokenOperationType) String() string {
method UnmarshalJSON (line 805) | func (t *TrustTokenOperationType) UnmarshalJSON(buf []byte) error {
constant TrustTokenOperationTypeIssuance (line 799) | TrustTokenOperationTypeIssuance TrustTokenOperationType = "Issuance"
constant TrustTokenOperationTypeRedemption (line 800) | TrustTokenOperationTypeRedemption TrustTokenOperationType = "Redemption"
constant TrustTokenOperationTypeSigning (line 801) | TrustTokenOperationTypeSigning TrustTokenOperationType = "Signing"
type AlternateProtocolUsage (line 826) | type AlternateProtocolUsage
method String (line 829) | func (t AlternateProtocolUsage) String() string {
method UnmarshalJSON (line 846) | func (t *AlternateProtocolUsage) UnmarshalJSON(buf []byte) error {
constant AlternateProtocolUsageAlternativeJobWonWithoutRace (line 835) | AlternateProtocolUsageAlternativeJobWonWithoutRace AlternateProtocolUsag...
constant AlternateProtocolUsageAlternativeJobWonRace (line 836) | AlternateProtocolUsageAlternativeJobWonRace AlternateProtocolUsag...
constant AlternateProtocolUsageMainJobWonRace (line 837) | AlternateProtocolUsageMainJobWonRace AlternateProtocolUsag...
constant AlternateProtocolUsageMappingMissing (line 838) | AlternateProtocolUsageMappingMissing AlternateProtocolUsag...
constant AlternateProtocolUsageBroken (line 839) | AlternateProtocolUsageBroken AlternateProtocolUsag...
constant AlternateProtocolUsageDNSAlpnH3jobWonWithoutRace (line 840) | AlternateProtocolUsageDNSAlpnH3jobWonWithoutRace AlternateProtocolUsag...
constant AlternateProtocolUsageDNSAlpnH3jobWonRace (line 841) | AlternateProtocolUsageDNSAlpnH3jobWonRace AlternateProtocolUsag...
constant AlternateProtocolUsageUnspecifiedReason (line 842) | AlternateProtocolUsageUnspecifiedReason AlternateProtocolUsag...
type ServiceWorkerRouterSource (line 876) | type ServiceWorkerRouterSource
method String (line 879) | func (t ServiceWorkerRouterSource) String() string {
method UnmarshalJSON (line 893) | func (t *ServiceWorkerRouterSource) UnmarshalJSON(buf []byte) error {
constant ServiceWorkerRouterSourceNetwork (line 885) | ServiceWorkerRouterSourceNetwork ServiceWorkerRouterS...
constant ServiceWorkerRouterSourceCache (line 886) | ServiceWorkerRouterSourceCache ServiceWorkerRouterS...
constant ServiceWorkerRouterSourceFetchEvent (line 887) | ServiceWorkerRouterSourceFetchEvent ServiceWorkerRouterS...
constant ServiceWorkerRouterSourceRaceNetworkAndFetchHandler (line 888) | ServiceWorkerRouterSourceRaceNetworkAndFetchHandler ServiceWorkerRouterS...
constant ServiceWorkerRouterSourceRaceNetworkAndCache (line 889) | ServiceWorkerRouterSourceRaceNetworkAndCache ServiceWorkerRouterS...
type ServiceWorkerRouterInfo (line 917) | type ServiceWorkerRouterInfo struct
type Response (line 926) | type Response struct
type WebSocketRequest (line 958) | type WebSocketRequest struct
type WebSocketResponse (line 965) | type WebSocketResponse struct
type WebSocketFrame (line 978) | type WebSocketFrame struct
type CachedResource (line 987) | type CachedResource struct
type Initiator (line 997) | type Initiator struct
type CookiePartitionKey (line 1011) | type CookiePartitionKey struct
method OrigUnmarshalJSON (line 1017) | func (t *CookiePartitionKey) OrigUnmarshalJSON(buf []byte) error {
type Cookie (line 1039) | type Cookie struct
type SetCookieBlockedReason (line 1061) | type SetCookieBlockedReason
method String (line 1064) | func (t SetCookieBlockedReason) String() string {
method UnmarshalJSON (line 1095) | func (t *SetCookieBlockedReason) UnmarshalJSON(buf []byte) error {
constant SetCookieBlockedReasonSecureOnly (line 1070) | SetCookieBlockedReasonSecureOnly SetCookie...
constant SetCookieBlockedReasonSameSiteStrict (line 1071) | SetCookieBlockedReasonSameSiteStrict SetCookie...
constant SetCookieBlockedReasonSameSiteLax (line 1072) | SetCookieBlockedReasonSameSiteLax SetCookie...
constant SetCookieBlockedReasonSameSiteUnspecifiedTreatedAsLax (line 1073) | SetCookieBlockedReasonSameSiteUnspecifiedTreatedAsLax SetCookie...
constant SetCookieBlockedReasonSameSiteNoneInsecure (line 1074) | SetCookieBlockedReasonSameSiteNoneInsecure SetCookie...
constant SetCookieBlockedReasonUserPreferences (line 1075) | SetCookieBlockedReasonUserPreferences SetCookie...
constant SetCookieBlockedReasonThirdPartyPhaseout (line 1076) | SetCookieBlockedReasonThirdPartyPhaseout SetCookie...
constant SetCookieBlockedReasonThirdPartyBlockedInFirstPartySet (line 1077) | SetCookieBlockedReasonThirdPartyBlockedInFirstPartySet SetCookie...
constant SetCookieBlockedReasonSyntaxError (line 1078) | SetCookieBlockedReasonSyntaxError SetCookie...
constant SetCookieBlockedReasonSchemeNotSupported (line 1079) | SetCookieBlockedReasonSchemeNotSupported SetCookie...
constant SetCookieBlockedReasonOverwriteSecure (line 1080) | SetCookieBlockedReasonOverwriteSecure SetCookie...
constant SetCookieBlockedReasonInvalidDomain (line 1081) | SetCookieBlockedReasonInvalidDomain SetCookie...
constant SetCookieBlockedReasonInvalidPrefix (line 1082) | SetCookieBlockedReasonInvalidPrefix SetCookie...
constant SetCookieBlockedReasonUnknownError (line 1083) | SetCookieBlockedReasonUnknownError SetCookie...
constant SetCookieBlockedReasonSchemefulSameSiteStrict (line 1084) | SetCookieBlockedReasonSchemefulSameSiteStrict SetCookie...
constant SetCookieBlockedReasonSchemefulSameSiteLax (line 1085) | SetCookieBlockedReasonSchemefulSameSiteLax SetCookie...
constant SetCookieBlockedReasonSchemefulSameSiteUnspecifiedTreatedAsLax (line 1086) | SetCookieBlockedReasonSchemefulSameSiteUnspecifiedTreatedAsLax SetCookie...
constant SetCookieBlockedReasonSamePartyFromCrossPartyContext (line 1087) | SetCookieBlockedReasonSamePartyFromCrossPartyContext SetCookie...
constant SetCookieBlockedReasonSamePartyConflictsWithOtherAttributes (line 1088) | SetCookieBlockedReasonSamePartyConflictsWithOtherAttributes SetCookie...
constant SetCookieBlockedReasonNameValuePairExceedsMaxSize (line 1089) | SetCookieBlockedReasonNameValuePairExceedsMaxSize SetCookie...
constant SetCookieBlockedReasonDisallowedCharacter (line 1090) | SetCookieBlockedReasonDisallowedCharacter SetCookie...
constant SetCookieBlockedReasonNoCookieContent (line 1091) | SetCookieBlockedReasonNoCookieContent SetCookie...
type CookieBlockedReason (line 1154) | type CookieBlockedReason
method String (line 1157) | func (t CookieBlockedReason) String() string {
method UnmarshalJSON (line 1185) | func (t *CookieBlockedReason) UnmarshalJSON(buf []byte) error {
constant CookieBlockedReasonSecureOnly (line 1163) | CookieBlockedReasonSecureOnly CookieBlocke...
constant CookieBlockedReasonNotOnPath (line 1164) | CookieBlockedReasonNotOnPath CookieBlocke...
constant CookieBlockedReasonDomainMismatch (line 1165) | CookieBlockedReasonDomainMismatch CookieBlocke...
constant CookieBlockedReasonSameSiteStrict (line 1166) | CookieBlockedReasonSameSiteStrict CookieBlocke...
constant CookieBlockedReasonSameSiteLax (line 1167) | CookieBlockedReasonSameSiteLax CookieBlocke...
constant CookieBlockedReasonSameSiteUnspecifiedTreatedAsLax (line 1168) | CookieBlockedReasonSameSiteUnspecifiedTreatedAsLax CookieBlocke...
constant CookieBlockedReasonSameSiteNoneInsecure (line 1169) | CookieBlockedReasonSameSiteNoneInsecure CookieBlocke...
constant CookieBlockedReasonUserPreferences (line 1170) | CookieBlockedReasonUserPreferences CookieBlocke...
constant CookieBlockedReasonThirdPartyPhaseout (line 1171) | CookieBlockedReasonThirdPartyPhaseout CookieBlocke...
constant CookieBlockedReasonThirdPartyBlockedInFirstPartySet (line 1172) | CookieBlockedReasonThirdPartyBlockedInFirstPartySet CookieBlocke...
constant CookieBlockedReasonUnknownError (line 1173) | CookieBlockedReasonUnknownError CookieBlocke...
constant CookieBlockedReasonSchemefulSameSiteStrict (line 1174) | CookieBlockedReasonSchemefulSameSiteStrict CookieBlocke...
constant CookieBlockedReasonSchemefulSameSiteLax (line 1175) | CookieBlockedReasonSchemefulSameSiteLax CookieBlocke...
constant CookieBlockedReasonSchemefulSameSiteUnspecifiedTreatedAsLax (line 1176) | CookieBlockedReasonSchemefulSameSiteUnspecifiedTreatedAsLax CookieBlocke...
constant CookieBlockedReasonSamePartyFromCrossPartyContext (line 1177) | CookieBlockedReasonSamePartyFromCrossPartyContext CookieBlocke...
constant CookieBlockedReasonNameValuePairExceedsMaxSize (line 1178) | CookieBlockedReasonNameValuePairExceedsMaxSize CookieBlocke...
constant CookieBlockedReasonPortMismatch (line 1179) | CookieBlockedReasonPortMismatch CookieBlocke...
constant CookieBlockedReasonSchemeMismatch (line 1180) | CookieBlockedReasonSchemeMismatch CookieBlocke...
constant CookieBlockedReasonAnonymousContext (line 1181) | CookieBlockedReasonAnonymousContext CookieBlocke...
type CookieExemptionReason (line 1238) | type CookieExemptionReason
method String (line 1241) | func (t CookieExemptionReason) String() string {
method UnmarshalJSON (line 1261) | func (t *CookieExemptionReason) UnmarshalJSON(buf []byte) error {
constant CookieExemptionReasonNone (line 1247) | CookieExemptionReasonNone CookieExemptionReason ...
constant CookieExemptionReasonUserSetting (line 1248) | CookieExemptionReasonUserSetting CookieExemptionReason ...
constant CookieExemptionReasonTPCDMetadata (line 1249) | CookieExemptionReasonTPCDMetadata CookieExemptionReason ...
constant CookieExemptionReasonTPCDDeprecationTrial (line 1250) | CookieExemptionReasonTPCDDeprecationTrial CookieExemptionReason ...
constant CookieExemptionReasonTopLevelTPCDDeprecationTrial (line 1251) | CookieExemptionReasonTopLevelTPCDDeprecationTrial CookieExemptionReason ...
constant CookieExemptionReasonTPCDHeuristics (line 1252) | CookieExemptionReasonTPCDHeuristics CookieExemptionReason ...
constant CookieExemptionReasonEnterprisePolicy (line 1253) | CookieExemptionReasonEnterprisePolicy CookieExemptionReason ...
constant CookieExemptionReasonStorageAccess (line 1254) | CookieExemptionReasonStorageAccess CookieExemptionReason ...
constant CookieExemptionReasonTopLevelStorageAccess (line 1255) | CookieExemptionReasonTopLevelStorageAccess CookieExemptionReason ...
constant CookieExemptionReasonScheme (line 1256) | CookieExemptionReasonScheme CookieExemptionReason ...
constant CookieExemptionReasonSameSiteNoneCookiesInSandbox (line 1257) | CookieExemptionReasonSameSiteNoneCookiesInSandbox CookieExemptionReason ...
type BlockedSetCookieWithReason (line 1298) | type BlockedSetCookieWithReason struct
type ExemptedSetCookieWithReason (line 1309) | type ExemptedSetCookieWithReason struct
type AssociatedCookie (line 1320) | type AssociatedCookie struct
type CookieParam (line 1329) | type CookieParam struct
type AuthChallenge (line 1349) | type AuthChallenge struct
type AuthChallengeResponse (line 1359) | type AuthChallengeResponse struct
type InterceptionStage (line 1370) | type InterceptionStage
method String (line 1373) | func (t InterceptionStage) String() string {
method UnmarshalJSON (line 1384) | func (t *InterceptionStage) UnmarshalJSON(buf []byte) error {
constant InterceptionStageRequest (line 1379) | InterceptionStageRequest InterceptionStage = "Request"
constant InterceptionStageHeadersReceived (line 1380) | InterceptionStageHeadersReceived InterceptionStage = "HeadersReceived"
type RequestPattern (line 1402) | type RequestPattern struct
type SignedExchangeSignature (line 1412) | type SignedExchangeSignature struct
type SignedExchangeHeader (line 1428) | type SignedExchangeHeader struct
type SignedExchangeErrorField (line 1439) | type SignedExchangeErrorField
method String (line 1442) | func (t SignedExchangeErrorField) String() string {
method UnmarshalJSON (line 1457) | func (t *SignedExchangeErrorField) UnmarshalJSON(buf []byte) error {
constant SignedExchangeErrorFieldSignatureSig (line 1448) | SignedExchangeErrorFieldSignatureSig SignedExchangeErrorField = ...
constant SignedExchangeErrorFieldSignatureIntegrity (line 1449) | SignedExchangeErrorFieldSignatureIntegrity SignedExchangeErrorField = ...
constant SignedExchangeErrorFieldSignatureCertURL (line 1450) | SignedExchangeErrorFieldSignatureCertURL SignedExchangeErrorField = ...
constant SignedExchangeErrorFieldSignatureCertSha256 (line 1451) | SignedExchangeErrorFieldSignatureCertSha256 SignedExchangeErrorField = ...
constant SignedExchangeErrorFieldSignatureValidityURL (line 1452) | SignedExchangeErrorFieldSignatureValidityURL SignedExchangeErrorField = ...
constant SignedExchangeErrorFieldSignatureTimestamps (line 1453) | SignedExchangeErrorFieldSignatureTimestamps SignedExchangeErrorField = ...
type SignedExchangeError (line 1483) | type SignedExchangeError struct
type SignedExchangeInfo (line 1492) | type SignedExchangeInfo struct
type ContentEncoding (line 1503) | type ContentEncoding
method String (line 1506) | func (t ContentEncoding) String() string {
method UnmarshalJSON (line 1519) | func (t *ContentEncoding) UnmarshalJSON(buf []byte) error {
constant ContentEncodingDeflate (line 1512) | ContentEncodingDeflate ContentEncoding = "deflate"
constant ContentEncodingGzip (line 1513) | ContentEncodingGzip ContentEncoding = "gzip"
constant ContentEncodingBr (line 1514) | ContentEncodingBr ContentEncoding = "br"
constant ContentEncodingZstd (line 1515) | ContentEncodingZstd ContentEncoding = "zstd"
type DirectSocketDNSQueryType (line 1541) | type DirectSocketDNSQueryType
method String (line 1544) | func (t DirectSocketDNSQueryType) String() string {
method UnmarshalJSON (line 1555) | func (t *DirectSocketDNSQueryType) UnmarshalJSON(buf []byte) error {
constant DirectSocketDNSQueryTypeIpv4 (line 1550) | DirectSocketDNSQueryTypeIpv4 DirectSocketDNSQueryType = "ipv4"
constant DirectSocketDNSQueryTypeIpv6 (line 1551) | DirectSocketDNSQueryTypeIpv6 DirectSocketDNSQueryType = "ipv6"
type DirectTCPSocketOptions (line 1573) | type DirectTCPSocketOptions struct
type DirectUDPSocketOptions (line 1584) | type DirectUDPSocketOptions struct
type DirectUDPMessage (line 1597) | type DirectUDPMessage struct
type PrivateNetworkRequestPolicy (line 1606) | type PrivateNetworkRequestPolicy
method String (line 1609) | func (t PrivateNetworkRequestPolicy) String() string {
method UnmarshalJSON (line 1625) | func (t *PrivateNetworkRequestPolicy) UnmarshalJSON(buf []byte) error {
constant PrivateNetworkRequestPolicyAllow (line 1615) | PrivateNetworkRequestPolicyAllow PrivateNetwork...
constant PrivateNetworkRequestPolicyBlockFromInsecureToMorePrivate (line 1616) | PrivateNetworkRequestPolicyBlockFromInsecureToMorePrivate PrivateNetwork...
constant PrivateNetworkRequestPolicyWarnFromInsecureToMorePrivate (line 1617) | PrivateNetworkRequestPolicyWarnFromInsecureToMorePrivate PrivateNetwork...
constant PrivateNetworkRequestPolicyPreflightBlock (line 1618) | PrivateNetworkRequestPolicyPreflightBlock PrivateNetwork...
constant PrivateNetworkRequestPolicyPreflightWarn (line 1619) | PrivateNetworkRequestPolicyPreflightWarn PrivateNetwork...
constant PrivateNetworkRequestPolicyPermissionBlock (line 1620) | PrivateNetworkRequestPolicyPermissionBlock PrivateNetwork...
constant PrivateNetworkRequestPolicyPermissionWarn (line 1621) | PrivateNetworkRequestPolicyPermissionWarn PrivateNetwork...
type IPAddressSpace (line 1653) | type IPAddressSpace
method String (line 1656) | func (t IPAddressSpace) String() string {
method UnmarshalJSON (line 1669) | func (t *IPAddressSpace) UnmarshalJSON(buf []byte) error {
constant IPAddressSpaceLoopback (line 1662) | IPAddressSpaceLoopback IPAddressSpace = "Loopback"
constant IPAddressSpaceLocal (line 1663) | IPAddressSpaceLocal IPAddressSpace = "Local"
constant IPAddressSpacePublic (line 1664) | IPAddressSpacePublic IPAddressSpace = "Public"
constant IPAddressSpaceUnknown (line 1665) | IPAddressSpaceUnknown IPAddressSpace = "Unknown"
type ConnectTiming (line 1691) | type ConnectTiming struct
type ClientSecurityState (line 1698) | type ClientSecurityState struct
type CrossOriginOpenerPolicyValue (line 1707) | type CrossOriginOpenerPolicyValue
method String (line 1710) | func (t CrossOriginOpenerPolicyValue) String() string {
method UnmarshalJSON (line 1726) | func (t *CrossOriginOpenerPolicyValue) UnmarshalJSON(buf []byte) error {
constant CrossOriginOpenerPolicyValueSameOrigin (line 1716) | CrossOriginOpenerPolicyValueSameOrigin CrossOriginOpener...
constant CrossOriginOpenerPolicyValueSameOriginAllowPopups (line 1717) | CrossOriginOpenerPolicyValueSameOriginAllowPopups CrossOriginOpener...
constant CrossOriginOpenerPolicyValueRestrictProperties (line 1718) | CrossOriginOpenerPolicyValueRestrictProperties CrossOriginOpener...
constant CrossOriginOpenerPolicyValueUnsafeNone (line 1719) | CrossOriginOpenerPolicyValueUnsafeNone CrossOriginOpener...
constant CrossOriginOpenerPolicyValueSameOriginPlusCoep (line 1720) | CrossOriginOpenerPolicyValueSameOriginPlusCoep CrossOriginOpener...
constant CrossOriginOpenerPolicyValueRestrictPropertiesPlusCoep (line 1721) | CrossOriginOpenerPolicyValueRestrictPropertiesPlusCoep CrossOriginOpener...
constant CrossOriginOpenerPolicyValueNoopenerAllowPopups (line 1722) | CrossOriginOpenerPolicyValueNoopenerAllowPopups CrossOriginOpener...
type CrossOriginOpenerPolicyStatus (line 1754) | type CrossOriginOpenerPolicyStatus struct
type CrossOriginEmbedderPolicyValue (line 1764) | type CrossOriginEmbedderPolicyValue
method String (line 1767) | func (t CrossOriginEmbedderPolicyValue) String() string {
method UnmarshalJSON (line 1779) | func (t *CrossOriginEmbedderPolicyValue) UnmarshalJSON(buf []byte) err...
constant CrossOriginEmbedderPolicyValueNone (line 1773) | CrossOriginEmbedderPolicyValueNone CrossOriginEmbedderPolicyVa...
constant CrossOriginEmbedderPolicyValueCredentialless (line 1774) | CrossOriginEmbedderPolicyValueCredentialless CrossOriginEmbedderPolicyVa...
constant CrossOriginEmbedderPolicyValueRequireCorp (line 1775) | CrossOriginEmbedderPolicyValueRequireCorp CrossOriginEmbedderPolicyVa...
type CrossOriginEmbedderPolicyStatus (line 1799) | type CrossOriginEmbedderPolicyStatus struct
type ContentSecurityPolicySource (line 1809) | type ContentSecurityPolicySource
method String (line 1812) | func (t ContentSecurityPolicySource) String() string {
method UnmarshalJSON (line 1823) | func (t *ContentSecurityPolicySource) UnmarshalJSON(buf []byte) error {
constant ContentSecurityPolicySourceHTTP (line 1818) | ContentSecurityPolicySourceHTTP ContentSecurityPolicySource = "HTTP"
constant ContentSecurityPolicySourceMeta (line 1819) | ContentSecurityPolicySourceMeta ContentSecurityPolicySource = "Meta"
type ContentSecurityPolicyStatus (line 1841) | type ContentSecurityPolicyStatus struct
type SecurityIsolationStatus (line 1850) | type SecurityIsolationStatus struct
type ReportStatus (line 1859) | type ReportStatus
method String (line 1862) | func (t ReportStatus) String() string {
method UnmarshalJSON (line 1875) | func (t *ReportStatus) UnmarshalJSON(buf []byte) error {
constant ReportStatusQueued (line 1868) | ReportStatusQueued ReportStatus = "Queued"
constant ReportStatusPending (line 1869) | ReportStatusPending ReportStatus = "Pending"
constant ReportStatusMarkedForRemoval (line 1870) | ReportStatusMarkedForRemoval ReportStatus = "MarkedForRemoval"
constant ReportStatusSuccess (line 1871) | ReportStatusSuccess ReportStatus = "Success"
type ReportID (line 1897) | type ReportID
method String (line 1900) | func (t ReportID) String() string {
type ReportingAPIReport (line 1908) | type ReportingAPIReport struct
type ReportingAPIEndpoint (line 1923) | type ReportingAPIEndpoint struct
type LoadNetworkResourcePageResult (line 1932) | type LoadNetworkResourcePageResult struct
type LoadNetworkResourceOptions (line 1945) | type LoadNetworkResourceOptions struct
type ReferrerPolicy (line 1954) | type ReferrerPolicy
method String (line 1957) | func (t ReferrerPolicy) String() string {
method UnmarshalJSON (line 1974) | func (t *ReferrerPolicy) UnmarshalJSON(buf []byte) error {
constant ReferrerPolicyUnsafeURL (line 1963) | ReferrerPolicyUnsafeURL ReferrerPolicy = "unsafe-url"
constant ReferrerPolicyNoReferrerWhenDowngrade (line 1964) | ReferrerPolicyNoReferrerWhenDowngrade ReferrerPolicy = "no-referrer-...
constant ReferrerPolicyNoReferrer (line 1965) | ReferrerPolicyNoReferrer ReferrerPolicy = "no-referrer"
constant ReferrerPolicyOrigin (line 1966) | ReferrerPolicyOrigin ReferrerPolicy = "origin"
constant ReferrerPolicyOriginWhenCrossOrigin (line 1967) | ReferrerPolicyOriginWhenCrossOrigin ReferrerPolicy = "origin-when-...
constant ReferrerPolicySameOrigin (line 1968) | ReferrerPolicySameOrigin ReferrerPolicy = "same-origin"
constant ReferrerPolicyStrictOrigin (line 1969) | ReferrerPolicyStrictOrigin ReferrerPolicy = "strict-origin"
constant ReferrerPolicyStrictOriginWhenCrossOrigin (line 1970) | ReferrerPolicyStrictOriginWhenCrossOrigin ReferrerPolicy = "strict-origi...
type TrustTokenParamsRefreshPolicy (line 2005) | type TrustTokenParamsRefreshPolicy
method String (line 2008) | func (t TrustTokenParamsRefreshPolicy) String() string {
method UnmarshalJSON (line 2019) | func (t *TrustTokenParamsRefreshPolicy) UnmarshalJSON(buf []byte) error {
constant TrustTokenParamsRefreshPolicyUseCached (line 2014) | TrustTokenParamsRefreshPolicyUseCached TrustTokenParamsRefreshPolicy = "...
constant TrustTokenParamsRefreshPolicyRefresh (line 2015) | TrustTokenParamsRefreshPolicyRefresh TrustTokenParamsRefreshPolicy = "...
type InitiatorType (line 2037) | type InitiatorType
method String (line 2040) | func (t InitiatorType) String() string {
method UnmarshalJSON (line 2055) | func (t *InitiatorType) UnmarshalJSON(buf []byte) error {
constant InitiatorTypeParser (line 2046) | InitiatorTypeParser InitiatorType = "parser"
constant InitiatorTypeScript (line 2047) | InitiatorTypeScript InitiatorType = "script"
constant InitiatorTypePreload (line 2048) | InitiatorTypePreload InitiatorType = "preload"
constant InitiatorTypeSignedExchange (line 2049) | InitiatorTypeSignedExchange InitiatorType = "SignedExchange"
constant InitiatorTypePreflight (line 2050) | InitiatorTypePreflight InitiatorType = "preflight"
constant InitiatorTypeOther (line 2051) | InitiatorTypeOther InitiatorType = "other"
type AuthChallengeSource (line 2081) | type AuthChallengeSource
method String (line 2084) | func (t AuthChallengeSource) String() string {
method UnmarshalJSON (line 2095) | func (t *AuthChallengeSource) UnmarshalJSON(buf []byte) error {
constant AuthChallengeSourceServer (line 2090) | AuthChallengeSourceServer AuthChallengeSource = "Server"
constant AuthChallengeSourceProxy (line 2091) | AuthChallengeSourceProxy AuthChallengeSource = "Proxy"
type AuthChallengeResponseResponse (line 2116) | type AuthChallengeResponseResponse
method String (line 2119) | func (t AuthChallengeResponseResponse) String() string {
method UnmarshalJSON (line 2131) | func (t *AuthChallengeResponseResponse) UnmarshalJSON(buf []byte) error {
constant AuthChallengeResponseResponseDefault (line 2125) | AuthChallengeResponseResponseDefault AuthChallengeResponseRes...
constant AuthChallengeResponseResponseCancelAuth (line 2126) | AuthChallengeResponseResponseCancelAuth AuthChallengeResponseRes...
constant AuthChallengeResponseResponseProvideCredentials (line 2127) | AuthChallengeResponseResponseProvideCredentials AuthChallengeResponseRes...
type TrustTokenOperationDoneStatus (line 2154) | type TrustTokenOperationDoneStatus
method String (line 2157) | func (t TrustTokenOperationDoneStatus) String() string {
method UnmarshalJSON (line 2179) | func (t *TrustTokenOperationDoneStatus) UnmarshalJSON(buf []byte) error {
constant TrustTokenOperationDoneStatusOk (line 2163) | TrustTokenOperationDoneStatusOk TrustTokenOperationDoneS...
constant TrustTokenOperationDoneStatusInvalidArgument (line 2164) | TrustTokenOperationDoneStatusInvalidArgument TrustTokenOperationDoneS...
constant TrustTokenOperationDoneStatusMissingIssuerKeys (line 2165) | TrustTokenOperationDoneStatusMissingIssuerKeys TrustTokenOperationDoneS...
constant TrustTokenOperationDoneStatusFailedPrecondition (line 2166) | TrustTokenOperationDoneStatusFailedPrecondition TrustTokenOperationDoneS...
constant TrustTokenOperationDoneStatusResourceExhausted (line 2167) | TrustTokenOperationDoneStatusResourceExhausted TrustTokenOperationDoneS...
constant TrustTokenOperationDoneStatusAlreadyExists (line 2168) | TrustTokenOperationDoneStatusAlreadyExists TrustTokenOperationDoneS...
constant TrustTokenOperationDoneStatusResourceLimited (line 2169) | TrustTokenOperationDoneStatusResourceLimited TrustTokenOperationDoneS...
constant TrustTokenOperationDoneStatusUnauthorized (line 2170) | TrustTokenOperationDoneStatusUnauthorized TrustTokenOperationDoneS...
constant TrustTokenOperationDoneStatusBadResponse (line 2171) | TrustTokenOperationDoneStatusBadResponse TrustTokenOperationDoneS...
constant TrustTokenOperationDoneStatusInternalError (line 2172) | TrustTokenOperationDoneStatusInternalError TrustTokenOperationDoneS...
constant TrustTokenOperationDoneStatusUnknownError (line 2173) | TrustTokenOperationDoneStatusUnknownError TrustTokenOperationDoneS...
constant TrustTokenOperationDoneStatusFulfilledLocally (line 2174) | TrustTokenOperationDoneStatusFulfilledLocally TrustTokenOperationDoneS...
constant TrustTokenOperationDoneStatusSiteIssuerLimit (line 2175) | TrustTokenOperationDoneStatusSiteIssuerLimit TrustTokenOperationDoneS...
FILE: vendor/github.com/chromedp/cdproto/overlay/events.go
type EventInspectNodeRequested (line 15) | type EventInspectNodeRequested struct
type EventNodeHighlightRequested (line 23) | type EventNodeHighlightRequested struct
type EventScreenshotRequested (line 31) | type EventScreenshotRequested struct
type EventInspectModeCanceled (line 38) | type EventInspectModeCanceled struct
FILE: vendor/github.com/chromedp/cdproto/overlay/overlay.go
type DisableParams (line 22) | type DisableParams struct
method Do (line 32) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 27) | func Disable() *DisableParams {
type EnableParams (line 37) | type EnableParams struct
method Do (line 47) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 42) | func Enable() *EnableParams {
type GetHighlightObjectForTestParams (line 52) | type GetHighlightObjectForTestParams struct
method WithIncludeDistance (line 77) | func (p GetHighlightObjectForTestParams) WithIncludeDistance(includeDi...
method WithIncludeStyle (line 83) | func (p GetHighlightObjectForTestParams) WithIncludeStyle(includeStyle...
method WithColorFormat (line 89) | func (p GetHighlightObjectForTestParams) WithColorFormat(colorFormat C...
method WithShowAccessibilityInfo (line 96) | func (p GetHighlightObjectForTestParams) WithShowAccessibilityInfo(sho...
method Do (line 111) | func (p *GetHighlightObjectForTestParams) Do(ctx context.Context) (hig...
function GetHighlightObjectForTest (line 67) | func GetHighlightObjectForTest(nodeID cdp.NodeID) *GetHighlightObjectFor...
type GetHighlightObjectForTestReturns (line 102) | type GetHighlightObjectForTestReturns struct
type GetGridHighlightObjectsForTestParams (line 123) | type GetGridHighlightObjectsForTestParams struct
method Do (line 150) | func (p *GetGridHighlightObjectsForTestParams) Do(ctx context.Context)...
function GetGridHighlightObjectsForTest (line 134) | func GetGridHighlightObjectsForTest(nodeIDs []cdp.NodeID) *GetGridHighli...
type GetGridHighlightObjectsForTestReturns (line 141) | type GetGridHighlightObjectsForTestReturns struct
type GetSourceOrderHighlightObjectForTestParams (line 163) | type GetSourceOrderHighlightObjectForTestParams struct
method Do (line 190) | func (p *GetSourceOrderHighlightObjectForTestParams) Do(ctx context.Co...
function GetSourceOrderHighlightObjectForTest (line 174) | func GetSourceOrderHighlightObjectForTest(nodeID cdp.NodeID) *GetSourceO...
type GetSourceOrderHighlightObjectForTestReturns (line 181) | type GetSourceOrderHighlightObjectForTestReturns struct
type HideHighlightParams (line 202) | type HideHighlightParams struct
method Do (line 212) | func (p *HideHighlightParams) Do(ctx context.Context) (err error) {
function HideHighlight (line 207) | func HideHighlight() *HideHighlightParams {
type HighlightNodeParams (line 218) | type HighlightNodeParams struct
method WithNodeID (line 241) | func (p HighlightNodeParams) WithNodeID(nodeID cdp.NodeID) *HighlightN...
method WithBackendNodeID (line 247) | func (p HighlightNodeParams) WithBackendNodeID(backendNodeID cdp.Backe...
method WithObjectID (line 253) | func (p HighlightNodeParams) WithObjectID(objectID runtime.RemoteObjec...
method WithSelector (line 259) | func (p HighlightNodeParams) WithSelector(selector string) *HighlightN...
method Do (line 265) | func (p *HighlightNodeParams) Do(ctx context.Context) (err error) {
function HighlightNode (line 234) | func HighlightNode(highlightConfig *HighlightConfig) *HighlightNodeParams {
type HighlightQuadParams (line 271) | type HighlightQuadParams struct
method WithColor (line 292) | func (p HighlightQuadParams) WithColor(color *cdp.RGBA) *HighlightQuad...
method WithOutlineColor (line 298) | func (p HighlightQuadParams) WithOutlineColor(outlineColor *cdp.RGBA) ...
method Do (line 304) | func (p *HighlightQuadParams) Do(ctx context.Context) (err error) {
function HighlightQuad (line 285) | func HighlightQuad(quad dom.Quad) *HighlightQuadParams {
type HighlightRectParams (line 310) | type HighlightRectParams struct
method WithColor (line 340) | func (p HighlightRectParams) WithColor(color *cdp.RGBA) *HighlightRect...
method WithOutlineColor (line 346) | func (p HighlightRectParams) WithOutlineColor(outlineColor *cdp.RGBA) ...
method Do (line 352) | func (p *HighlightRectParams) Do(ctx context.Context) (err error) {
function HighlightRect (line 330) | func HighlightRect(x int64, y int64, width int64, height int64) *Highlig...
type HighlightSourceOrderParams (line 359) | type HighlightSourceOrderParams struct
method WithNodeID (line 382) | func (p HighlightSourceOrderParams) WithNodeID(nodeID cdp.NodeID) *Hig...
method WithBackendNodeID (line 388) | func (p HighlightSourceOrderParams) WithBackendNodeID(backendNodeID cd...
method WithObjectID (line 394) | func (p HighlightSourceOrderParams) WithObjectID(objectID runtime.Remo...
method Do (line 400) | func (p *HighlightSourceOrderParams) Do(ctx context.Context) (err erro...
function HighlightSourceOrder (line 375) | func HighlightSourceOrder(sourceOrderConfig *SourceOrderConfig) *Highlig...
type SetInspectModeParams (line 407) | type SetInspectModeParams struct
method WithHighlightConfig (line 429) | func (p SetInspectModeParams) WithHighlightConfig(highlightConfig *Hig...
method Do (line 435) | func (p *SetInspectModeParams) Do(ctx context.Context) (err error) {
function SetInspectMode (line 421) | func SetInspectMode(mode InspectMode) *SetInspectModeParams {
type SetShowAdHighlightsParams (line 441) | type SetShowAdHighlightsParams struct
method Do (line 460) | func (p *SetShowAdHighlightsParams) Do(ctx context.Context) (err error) {
function SetShowAdHighlights (line 453) | func SetShowAdHighlights(show bool) *SetShowAdHighlightsParams {
type SetPausedInDebuggerMessageParams (line 465) | type SetPausedInDebuggerMessageParams struct
method WithMessage (line 480) | func (p SetPausedInDebuggerMessageParams) WithMessage(message string) ...
method Do (line 486) | func (p *SetPausedInDebuggerMessageParams) Do(ctx context.Context) (er...
function SetPausedInDebuggerMessage (line 474) | func SetPausedInDebuggerMessage() *SetPausedInDebuggerMessageParams {
type SetShowDebugBordersParams (line 492) | type SetShowDebugBordersParams struct
method Do (line 510) | func (p *SetShowDebugBordersParams) Do(ctx context.Context) (err error) {
function SetShowDebugBorders (line 503) | func SetShowDebugBorders(show bool) *SetShowDebugBordersParams {
type SetShowFPSCounterParams (line 515) | type SetShowFPSCounterParams struct
method Do (line 533) | func (p *SetShowFPSCounterParams) Do(ctx context.Context) (err error) {
function SetShowFPSCounter (line 526) | func SetShowFPSCounter(show bool) *SetShowFPSCounterParams {
type SetShowGridOverlaysParams (line 539) | type SetShowGridOverlaysParams struct
method Do (line 557) | func (p *SetShowGridOverlaysParams) Do(ctx context.Context) (err error) {
function SetShowGridOverlays (line 550) | func SetShowGridOverlays(gridNodeHighlightConfigs []*GridNodeHighlightCo...
type SetShowFlexOverlaysParams (line 562) | type SetShowFlexOverlaysParams struct
method Do (line 580) | func (p *SetShowFlexOverlaysParams) Do(ctx context.Context) (err error) {
function SetShowFlexOverlays (line 573) | func SetShowFlexOverlays(flexNodeHighlightConfigs []*FlexNodeHighlightCo...
type SetShowScrollSnapOverlaysParams (line 585) | type SetShowScrollSnapOverlaysParams struct
method Do (line 603) | func (p *SetShowScrollSnapOverlaysParams) Do(ctx context.Context) (err...
function SetShowScrollSnapOverlays (line 596) | func SetShowScrollSnapOverlays(scrollSnapHighlightConfigs []*ScrollSnapH...
type SetShowContainerQueryOverlaysParams (line 608) | type SetShowContainerQueryOverlaysParams struct
method Do (line 626) | func (p *SetShowContainerQueryOverlaysParams) Do(ctx context.Context) ...
function SetShowContainerQueryOverlays (line 619) | func SetShowContainerQueryOverlays(containerQueryHighlightConfigs []*Con...
type SetShowPaintRectsParams (line 631) | type SetShowPaintRectsParams struct
method Do (line 649) | func (p *SetShowPaintRectsParams) Do(ctx context.Context) (err error) {
function SetShowPaintRects (line 642) | func SetShowPaintRects(result bool) *SetShowPaintRectsParams {
type SetShowLayoutShiftRegionsParams (line 655) | type SetShowLayoutShiftRegionsParams struct
method Do (line 674) | func (p *SetShowLayoutShiftRegionsParams) Do(ctx context.Context) (err...
function SetShowLayoutShiftRegions (line 667) | func SetShowLayoutShiftRegions(result bool) *SetShowLayoutShiftRegionsPa...
type SetShowScrollBottleneckRectsParams (line 680) | type SetShowScrollBottleneckRectsParams struct
method Do (line 699) | func (p *SetShowScrollBottleneckRectsParams) Do(ctx context.Context) (...
function SetShowScrollBottleneckRects (line 692) | func SetShowScrollBottleneckRects(show bool) *SetShowScrollBottleneckRec...
type SetShowViewportSizeOnResizeParams (line 705) | type SetShowViewportSizeOnResizeParams struct
method Do (line 723) | func (p *SetShowViewportSizeOnResizeParams) Do(ctx context.Context) (e...
function SetShowViewportSizeOnResize (line 716) | func SetShowViewportSizeOnResize(show bool) *SetShowViewportSizeOnResize...
type SetShowHingeParams (line 728) | type SetShowHingeParams struct
method WithHingeConfig (line 742) | func (p SetShowHingeParams) WithHingeConfig(hingeConfig *HingeConfig) ...
method Do (line 748) | func (p *SetShowHingeParams) Do(ctx context.Context) (err error) {
function SetShowHinge (line 737) | func SetShowHinge() *SetShowHingeParams {
type SetShowIsolatedElementsParams (line 754) | type SetShowIsolatedElementsParams struct
method Do (line 772) | func (p *SetShowIsolatedElementsParams) Do(ctx context.Context) (err e...
function SetShowIsolatedElements (line 765) | func SetShowIsolatedElements(isolatedElementHighlightConfigs []*Isolated...
type SetShowWindowControlsOverlayParams (line 777) | type SetShowWindowControlsOverlayParams struct
method WithWindowControlsOverlayConfig (line 792) | func (p SetShowWindowControlsOverlayParams) WithWindowControlsOverlayC...
method Do (line 798) | func (p *SetShowWindowControlsOverlayParams) Do(ctx context.Context) (...
function SetShowWindowControlsOverlay (line 786) | func SetShowWindowControlsOverlay() *SetShowWindowControlsOverlayParams {
constant CommandDisable (line 804) | CommandDisable = "Overlay.disable"
constant CommandEnable (line 805) | CommandEnable = "Overlay.enable"
constant CommandGetHighlightObjectForTest (line 806) | CommandGetHighlightObjectForTest = "Overlay.getHighlightObjec...
constant CommandGetGridHighlightObjectsForTest (line 807) | CommandGetGridHighlightObjectsForTest = "Overlay.getGridHighlightO...
constant CommandGetSourceOrderHighlightObjectForTest (line 808) | CommandGetSourceOrderHighlightObjectForTest = "Overlay.getSourceOrderHig...
constant CommandHideHighlight (line 809) | CommandHideHighlight = "Overlay.hideHighlight"
constant CommandHighlightNode (line 810) | CommandHighlightNode = "Overlay.highlightNode"
constant CommandHighlightQuad (line 811) | CommandHighlightQuad = "Overlay.highlightQuad"
constant CommandHighlightRect (line 812) | CommandHighlightRect = "Overlay.highlightRect"
constant CommandHighlightSourceOrder (line 813) | CommandHighlightSourceOrder = "Overlay.highlightSourceOr...
constant CommandSetInspectMode (line 814) | CommandSetInspectMode = "Overlay.setInspectMode"
constant CommandSetShowAdHighlights (line 815) | CommandSetShowAdHighlights = "Overlay.setShowAdHighlights"
constant CommandSetPausedInDebuggerMessage (line 816) | CommandSetPausedInDebuggerMessage = "Overlay.setPausedInDebugg...
constant CommandSetShowDebugBorders (line 817) | CommandSetShowDebugBorders = "Overlay.setShowDebugBorders"
constant CommandSetShowFPSCounter (line 818) | CommandSetShowFPSCounter = "Overlay.setShowFPSCounter"
constant CommandSetShowGridOverlays (line 819) | CommandSetShowGridOverlays = "Overlay.setShowGridOverlays"
constant CommandSetShowFlexOverlays (line 820) | CommandSetShowFlexOverlays = "Overlay.setShowFlexOverlays"
constant CommandSetShowScrollSnapOverlays (line 821) | CommandSetShowScrollSnapOverlays = "Overlay.setShowScrollSnap...
constant CommandSetShowContainerQueryOverlays (line 822) | CommandSetShowContainerQueryOverlays = "Overlay.setShowContainerQ...
constant CommandSetShowPaintRects (line 823) | CommandSetShowPaintRects = "Overlay.setShowPaintRects"
constant CommandSetShowLayoutShiftRegions (line 824) | CommandSetShowLayoutShiftRegions = "Overlay.setShowLayoutShif...
constant CommandSetShowScrollBottleneckRects (line 825) | CommandSetShowScrollBottleneckRects = "Overlay.setShowScrollBott...
constant CommandSetShowViewportSizeOnResize (line 826) | CommandSetShowViewportSizeOnResize = "Overlay.setShowViewportSi...
constant CommandSetShowHinge (line 827) | CommandSetShowHinge = "Overlay.setShowHinge"
constant CommandSetShowIsolatedElements (line 828) | CommandSetShowIsolatedElements = "Overlay.setShowIsolatedEl...
constant CommandSetShowWindowControlsOverlay (line 829) | CommandSetShowWindowControlsOverlay = "Overlay.setShowWindowCont...
FILE: vendor/github.com/chromedp/cdproto/overlay/types.go
type SourceOrderConfig (line 17) | type SourceOrderConfig struct
type GridHighlightConfig (line 26) | type GridHighlightConfig struct
type FlexContainerHighlightConfig (line 51) | type FlexContainerHighlightConfig struct
type FlexItemHighlightConfig (line 66) | type FlexItemHighlightConfig struct
type LineStyle (line 75) | type LineStyle struct
type BoxStyle (line 83) | type BoxStyle struct
type ContrastAlgorithm (line 91) | type ContrastAlgorithm
method String (line 94) | func (t ContrastAlgorithm) String() string {
method UnmarshalJSON (line 106) | func (t *ContrastAlgorithm) UnmarshalJSON(buf []byte) error {
constant ContrastAlgorithmAa (line 100) | ContrastAlgorithmAa ContrastAlgorithm = "aa"
constant ContrastAlgorithmAaa (line 101) | ContrastAlgorithmAaa ContrastAlgorithm = "aaa"
constant ContrastAlgorithmApca (line 102) | ContrastAlgorithmApca ContrastAlgorithm = "apca"
type HighlightConfig (line 126) | type HighlightConfig struct
type ColorFormat (line 151) | type ColorFormat
method String (line 154) | func (t ColorFormat) String() string {
method UnmarshalJSON (line 167) | func (t *ColorFormat) UnmarshalJSON(buf []byte) error {
constant ColorFormatRgb (line 160) | ColorFormatRgb ColorFormat = "rgb"
constant ColorFormatHsl (line 161) | ColorFormatHsl ColorFormat = "hsl"
constant ColorFormatHwb (line 162) | ColorFormatHwb ColorFormat = "hwb"
constant ColorFormatHex (line 163) | ColorFormatHex ColorFormat = "hex"
type GridNodeHighlightConfig (line 189) | type GridNodeHighlightConfig struct
type FlexNodeHighlightConfig (line 197) | type FlexNodeHighlightConfig struct
type ScrollSnapContainerHighlightConfig (line 205) | type ScrollSnapContainerHighlightConfig struct
type ScrollSnapHighlightConfig (line 215) | type ScrollSnapHighlightConfig struct
type HingeConfig (line 223) | type HingeConfig struct
type WindowControlsOverlayConfig (line 232) | type WindowControlsOverlayConfig struct
type ContainerQueryHighlightConfig (line 241) | type ContainerQueryHighlightConfig struct
type ContainerQueryContainerHighlightConfig (line 249) | type ContainerQueryContainerHighlightConfig struct
type IsolatedElementHighlightConfig (line 257) | type IsolatedElementHighlightConfig struct
type IsolationModeHighlightConfig (line 265) | type IsolationModeHighlightConfig struct
type InspectMode (line 274) | type InspectMode
method String (line 277) | func (t InspectMode) String() string {
method UnmarshalJSON (line 290) | func (t *InspectMode) UnmarshalJSON(buf []byte) error {
constant InspectModeSearchForNode (line 283) | InspectModeSearchForNode InspectMode = "searchForNode"
constant InspectModeSearchForUAShadowDOM (line 284) | InspectModeSearchForUAShadowDOM InspectMode = "searchForUAShadowDOM"
constant InspectModeCaptureAreaScreenshot (line 285) | InspectModeCaptureAreaScreenshot InspectMode = "captureAreaScreenshot"
constant InspectModeNone (line 286) | InspectModeNone InspectMode = "none"
type LineStylePattern (line 312) | type LineStylePattern
method String (line 315) | func (t LineStylePattern) String() string {
method UnmarshalJSON (line 326) | func (t *LineStylePattern) UnmarshalJSON(buf []byte) error {
constant LineStylePatternDashed (line 321) | LineStylePatternDashed LineStylePattern = "dashed"
constant LineStylePatternDotted (line 322) | LineStylePatternDotted LineStylePattern = "dotted"
FILE: vendor/github.com/chromedp/cdproto/page/events.go
type EventDomContentEventFired (line 13) | type EventDomContentEventFired struct
type EventFileChooserOpened (line 21) | type EventFileChooserOpened struct
type EventFrameAttached (line 30) | type EventFrameAttached struct
type EventFrameDetached (line 39) | type EventFrameDetached struct
type EventFrameSubtreeWillBeDetached (line 48) | type EventFrameSubtreeWillBeDetached struct
type EventFrameNavigated (line 56) | type EventFrameNavigated struct
type EventDocumentOpened (line 64) | type EventDocumentOpened struct
type EventFrameResized (line 71) | type EventFrameResized struct
type EventFrameStartedNavigating (line 82) | type EventFrameStartedNavigating struct
type EventFrameRequestedNavigation (line 93) | type EventFrameRequestedNavigation struct
type EventFrameStartedLoading (line 103) | type EventFrameStartedLoading struct
type EventFrameStoppedLoading (line 110) | type EventFrameStoppedLoading struct
type EventInterstitialHidden (line 117) | type EventInterstitialHidden struct
type EventInterstitialShown (line 122) | type EventInterstitialShown struct
type EventJavascriptDialogClosed (line 128) | type EventJavascriptDialogClosed struct
type EventJavascriptDialogOpening (line 138) | type EventJavascriptDialogOpening struct
type EventLifecycleEvent (line 151) | type EventLifecycleEvent struct
type EventBackForwardCacheNotUsed (line 165) | type EventBackForwardCacheNotUsed struct
type EventLoadEventFired (line 175) | type EventLoadEventFired struct
type EventNavigatedWithinDocument (line 183) | type EventNavigatedWithinDocument struct
type EventScreencastFrame (line 193) | type EventScreencastFrame struct
type EventScreencastVisibilityChanged (line 203) | type EventScreencastVisibilityChanged struct
type EventWindowOpen (line 211) | type EventWindowOpen struct
type EventCompilationCacheProduced (line 222) | type EventCompilationCacheProduced struct
FILE: vendor/github.com/chromedp/cdproto/page/page.go
type AddScriptToEvaluateOnNewDocumentParams (line 25) | type AddScriptToEvaluateOnNewDocumentParams struct
method WithWorldName (line 51) | func (p AddScriptToEvaluateOnNewDocumentParams) WithWorldName(worldNam...
method WithIncludeCommandLineAPI (line 58) | func (p AddScriptToEvaluateOnNewDocumentParams) WithIncludeCommandLine...
method WithRunImmediately (line 65) | func (p AddScriptToEvaluateOnNewDocumentParams) WithRunImmediately(run...
method Do (line 80) | func (p *AddScriptToEvaluateOnNewDocumentParams) Do(ctx context.Contex...
function AddScriptToEvaluateOnNewDocument (line 40) | func AddScriptToEvaluateOnNewDocument(source string) *AddScriptToEvaluat...
type AddScriptToEvaluateOnNewDocumentReturns (line 71) | type AddScriptToEvaluateOnNewDocumentReturns struct
type BringToFrontParams (line 92) | type BringToFrontParams struct
method Do (line 102) | func (p *BringToFrontParams) Do(ctx context.Context) (err error) {
function BringToFront (line 97) | func BringToFront() *BringToFrontParams {
type CaptureScreenshotParams (line 107) | type CaptureScreenshotParams struct
method WithFormat (line 130) | func (p CaptureScreenshotParams) WithFormat(format CaptureScreenshotFo...
method WithQuality (line 136) | func (p CaptureScreenshotParams) WithQuality(quality int64) *CaptureSc...
method WithClip (line 142) | func (p CaptureScreenshotParams) WithClip(clip *Viewport) *CaptureScre...
method WithFromSurface (line 149) | func (p CaptureScreenshotParams) WithFromSurface(fromSurface bool) *Ca...
method WithCaptureBeyondViewport (line 156) | func (p CaptureScreenshotParams) WithCaptureBeyondViewport(captureBeyo...
method WithOptimizeForSpeed (line 163) | func (p CaptureScreenshotParams) WithOptimizeForSpeed(optimizeForSpeed...
method Do (line 178) | func (p *CaptureScreenshotParams) Do(ctx context.Context) (data []byte...
function CaptureScreenshot (line 121) | func CaptureScreenshot() *CaptureScreenshotParams {
type CaptureScreenshotReturns (line 169) | type CaptureScreenshotReturns struct
type CaptureSnapshotParams (line 198) | type CaptureSnapshotParams struct
method WithFormat (line 214) | func (p CaptureSnapshotParams) WithFormat(format CaptureSnapshotFormat...
method Do (line 229) | func (p *CaptureSnapshotParams) Do(ctx context.Context) (data string, ...
function CaptureSnapshot (line 209) | func CaptureSnapshot() *CaptureSnapshotParams {
type CaptureSnapshotReturns (line 220) | type CaptureSnapshotReturns struct
type CreateIsolatedWorldParams (line 241) | type CreateIsolatedWorldParams struct
method WithWorldName (line 262) | func (p CreateIsolatedWorldParams) WithWorldName(worldName string) *Cr...
method WithGrantUniveralAccess (line 269) | func (p CreateIsolatedWorldParams) WithGrantUniveralAccess(grantUniver...
method Do (line 284) | func (p *CreateIsolatedWorldParams) Do(ctx context.Context) (execution...
function CreateIsolatedWorld (line 254) | func CreateIsolatedWorld(frameID cdp.FrameID) *CreateIsolatedWorldParams {
type CreateIsolatedWorldReturns (line 275) | type CreateIsolatedWorldReturns struct
type DisableParams (line 296) | type DisableParams struct
method Do (line 306) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 301) | func Disable() *DisableParams {
type EnableParams (line 311) | type EnableParams struct
method WithEnableFileChooserOpenedEvent (line 329) | func (p EnableParams) WithEnableFileChooserOpenedEvent(enableFileChoos...
method Do (line 335) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 320) | func Enable() *EnableParams {
type GetAppManifestParams (line 344) | type GetAppManifestParams struct
method WithManifestID (line 361) | func (p GetAppManifestParams) WithManifestID(manifestID string) *GetAp...
method Do (line 382) | func (p *GetAppManifestParams) Do(ctx context.Context) (url string, er...
function GetAppManifest (line 356) | func GetAppManifest() *GetAppManifestParams {
type GetAppManifestReturns (line 367) | type GetAppManifestReturns struct
type GetInstallabilityErrorsParams (line 394) | type GetInstallabilityErrorsParams struct
method Do (line 413) | func (p *GetInstallabilityErrorsParams) Do(ctx context.Context) (insta...
function GetInstallabilityErrors (line 399) | func GetInstallabilityErrors() *GetInstallabilityErrorsParams {
type GetInstallabilityErrorsReturns (line 404) | type GetInstallabilityErrorsReturns struct
type GetAppIDParams (line 426) | type GetAppIDParams struct
method Do (line 448) | func (p *GetAppIDParams) Do(ctx context.Context) (appID string, recomm...
function GetAppID (line 432) | func GetAppID() *GetAppIDParams {
type GetAppIDReturns (line 437) | type GetAppIDReturns struct
type GetAdScriptAncestryParams (line 460) | type GetAdScriptAncestryParams struct
method Do (line 487) | func (p *GetAdScriptAncestryParams) Do(ctx context.Context) (adScriptA...
function GetAdScriptAncestry (line 471) | func GetAdScriptAncestry(frameID cdp.FrameID) *GetAdScriptAncestryParams {
type GetAdScriptAncestryReturns (line 478) | type GetAdScriptAncestryReturns struct
type GetFrameTreeParams (line 499) | type GetFrameTreeParams struct
method Do (line 518) | func (p *GetFrameTreeParams) Do(ctx context.Context) (frameTree *Frame...
function GetFrameTree (line 504) | func GetFrameTree() *GetFrameTreeParams {
type GetFrameTreeReturns (line 509) | type GetFrameTreeReturns struct
type GetLayoutMetricsParams (line 531) | type GetLayoutMetricsParams struct
method Do (line 561) | func (p *GetLayoutMetricsParams) Do(ctx context.Context) (layoutViewpo...
function GetLayoutMetrics (line 537) | func GetLayoutMetrics() *GetLayoutMetricsParams {
type GetLayoutMetricsReturns (line 542) | type GetLayoutMetricsReturns struct
type GetNavigationHistoryParams (line 574) | type GetNavigationHistoryParams struct
method Do (line 595) | func (p *GetNavigationHistoryParams) Do(ctx context.Context) (currentI...
function GetNavigationHistory (line 579) | func GetNavigationHistory() *GetNavigationHistoryParams {
type GetNavigationHistoryReturns (line 584) | type GetNavigationHistoryReturns struct
type ResetNavigationHistoryParams (line 608) | type ResetNavigationHistoryParams struct
method Do (line 618) | func (p *ResetNavigationHistoryParams) Do(ctx context.Context) (err er...
function ResetNavigationHistory (line 613) | func ResetNavigationHistory() *ResetNavigationHistoryParams {
type GetResourceContentParams (line 623) | type GetResourceContentParams struct
method Do (line 654) | func (p *GetResourceContentParams) Do(ctx context.Context) (content []...
function GetResourceContent (line 636) | func GetResourceContent(frameID cdp.FrameID, url string) *GetResourceCon...
type GetResourceContentReturns (line 644) | type GetResourceContentReturns struct
type GetResourceTreeParams (line 676) | type GetResourceTreeParams struct
method Do (line 695) | func (p *GetResourceTreeParams) Do(ctx context.Context) (frameTree *Fr...
function GetResourceTree (line 681) | func GetResourceTree() *GetResourceTreeParams {
type GetResourceTreeReturns (line 686) | type GetResourceTreeReturns struct
type HandleJavaScriptDialogParams (line 708) | type HandleJavaScriptDialogParams struct
method WithPromptText (line 729) | func (p HandleJavaScriptDialogParams) WithPromptText(promptText string...
method Do (line 735) | func (p *HandleJavaScriptDialogParams) Do(ctx context.Context) (err er...
function HandleJavaScriptDialog (line 721) | func HandleJavaScriptDialog(accept bool) *HandleJavaScriptDialogParams {
type NavigateParams (line 740) | type NavigateParams struct
method WithReferrer (line 762) | func (p NavigateParams) WithReferrer(referrer string) *NavigateParams {
method WithTransitionType (line 768) | func (p NavigateParams) WithTransitionType(transitionType TransitionTy...
method WithFrameID (line 775) | func (p NavigateParams) WithFrameID(frameID cdp.FrameID) *NavigatePara...
method WithReferrerPolicy (line 781) | func (p NavigateParams) WithReferrerPolicy(referrerPolicy ReferrerPoli...
method Do (line 802) | func (p *NavigateParams) Do(ctx context.Context) (frameID cdp.FrameID,...
function Navigate (line 755) | func Navigate(url string) *NavigateParams {
type NavigateReturns (line 787) | type NavigateReturns struct
type NavigateToHistoryEntryParams (line 815) | type NavigateToHistoryEntryParams struct
method Do (line 833) | func (p *NavigateToHistoryEntryParams) Do(ctx context.Context) (err er...
function NavigateToHistoryEntry (line 826) | func NavigateToHistoryEntry(entryID int64) *NavigateToHistoryEntryParams {
type PrintToPDFParams (line 838) | type PrintToPDFParams struct
method WithLandscape (line 875) | func (p PrintToPDFParams) WithLandscape(landscape bool) *PrintToPDFPar...
method WithDisplayHeaderFooter (line 881) | func (p PrintToPDFParams) WithDisplayHeaderFooter(displayHeaderFooter ...
method WithPrintBackground (line 887) | func (p PrintToPDFParams) WithPrintBackground(printBackground bool) *P...
method WithScale (line 893) | func (p PrintToPDFParams) WithScale(scale float64) *PrintToPDFParams {
method WithPaperWidth (line 899) | func (p PrintToPDFParams) WithPaperWidth(paperWidth float64) *PrintToP...
method WithPaperHeight (line 905) | func (p PrintToPDFParams) WithPaperHeight(paperHeight float64) *PrintT...
method WithMarginTop (line 911) | func (p PrintToPDFParams) WithMarginTop(marginTop float64) *PrintToPDF...
method WithMarginBottom (line 917) | func (p PrintToPDFParams) WithMarginBottom(marginBottom float64) *Prin...
method WithMarginLeft (line 923) | func (p PrintToPDFParams) WithMarginLeft(marginLeft float64) *PrintToP...
method WithMarginRight (line 929) | func (p PrintToPDFParams) WithMarginRight(marginRight float64) *PrintT...
method WithPageRanges (line 941) | func (p PrintToPDFParams) WithPageRanges(pageRanges string) *PrintToPD...
method WithHeaderTemplate (line 952) | func (p PrintToPDFParams) WithHeaderTemplate(headerTemplate string) *P...
method WithFooterTemplate (line 959) | func (p PrintToPDFParams) WithFooterTemplate(footerTemplate string) *P...
method WithPreferCSSPageSize (line 967) | func (p PrintToPDFParams) WithPreferCSSPageSize(preferCSSPageSize bool...
method WithTransferMode (line 973) | func (p PrintToPDFParams) WithTransferMode(transferMode PrintToPDFTran...
method WithGenerateTaggedPDF (line 980) | func (p PrintToPDFParams) WithGenerateTaggedPDF(generateTaggedPDF bool...
method WithGenerateDocumentOutline (line 987) | func (p PrintToPDFParams) WithGenerateDocumentOutline(generateDocument...
method Do (line 1004) | func (p *PrintToPDFParams) Do(ctx context.Context) (data []byte, strea...
function PrintToPDF (line 863) | func PrintToPDF() *PrintToPDFParams {
type PrintToPDFReturns (line 993) | type PrintToPDFReturns struct
type ReloadParams (line 1022) | type ReloadParams struct
method WithIgnoreCache (line 1041) | func (p ReloadParams) WithIgnoreCache(ignoreCache bool) *ReloadParams {
method WithScriptToEvaluateOnLoad (line 1049) | func (p ReloadParams) WithScriptToEvaluateOnLoad(scriptToEvaluateOnLoa...
method WithLoaderID (line 1057) | func (p ReloadParams) WithLoaderID(loaderID cdp.LoaderID) *ReloadParams {
method Do (line 1063) | func (p *ReloadParams) Do(ctx context.Context) (err error) {
function Reload (line 1033) | func Reload() *ReloadParams {
type RemoveScriptToEvaluateOnNewDocumentParams (line 1069) | type RemoveScriptToEvaluateOnNewDocumentParams struct
method Do (line 1087) | func (p *RemoveScriptToEvaluateOnNewDocumentParams) Do(ctx context.Con...
function RemoveScriptToEvaluateOnNewDocument (line 1080) | func RemoveScriptToEvaluateOnNewDocument(identifier ScriptIdentifier) *R...
type ScreencastFrameAckParams (line 1093) | type ScreencastFrameAckParams struct
method Do (line 1112) | func (p *ScreencastFrameAckParams) Do(ctx context.Context) (err error) {
function ScreencastFrameAck (line 1105) | func ScreencastFrameAck(sessionID int64) *ScreencastFrameAckParams {
type SearchInResourceParams (line 1117) | type SearchInResourceParams struct
method WithCaseSensitive (line 1145) | func (p SearchInResourceParams) WithCaseSensitive(caseSensitive bool) ...
method WithIsRegex (line 1151) | func (p SearchInResourceParams) WithIsRegex(isRegex bool) *SearchInRes...
method Do (line 1166) | func (p *SearchInResourceParams) Do(ctx context.Context) (result []*de...
function SearchInResource (line 1134) | func SearchInResource(frameID cdp.FrameID, url string, query string) *Se...
type SearchInResourceReturns (line 1157) | type SearchInResourceReturns struct
type SetAdBlockingEnabledParams (line 1179) | type SetAdBlockingEnabledParams struct
method Do (line 1197) | func (p *SetAdBlockingEnabledParams) Do(ctx context.Context) (err erro...
function SetAdBlockingEnabled (line 1190) | func SetAdBlockingEnabled(enabled bool) *SetAdBlockingEnabledParams {
type SetBypassCSPParams (line 1202) | type SetBypassCSPParams struct
method Do (line 1220) | func (p *SetBypassCSPParams) Do(ctx context.Context) (err error) {
function SetBypassCSP (line 1213) | func SetBypassCSP(enabled bool) *SetBypassCSPParams {
type GetPermissionsPolicyStateParams (line 1226) | type GetPermissionsPolicyStateParams struct
method Do (line 1253) | func (p *GetPermissionsPolicyStateParams) Do(ctx context.Context) (sta...
function GetPermissionsPolicyState (line 1237) | func GetPermissionsPolicyState(frameID cdp.FrameID) *GetPermissionsPolic...
type GetPermissionsPolicyStateReturns (line 1244) | type GetPermissionsPolicyStateReturns struct
type GetOriginTrialsParams (line 1265) | type GetOriginTrialsParams struct
method Do (line 1292) | func (p *GetOriginTrialsParams) Do(ctx context.Context) (originTrials ...
function GetOriginTrials (line 1276) | func GetOriginTrials(frameID cdp.FrameID) *GetOriginTrialsParams {
type GetOriginTrialsReturns (line 1283) | type GetOriginTrialsReturns struct
type SetFontFamiliesParams (line 1304) | type SetFontFamiliesParams struct
method WithForScripts (line 1323) | func (p SetFontFamiliesParams) WithForScripts(forScripts []*ScriptFont...
method Do (line 1329) | func (p *SetFontFamiliesParams) Do(ctx context.Context) (err error) {
function SetFontFamilies (line 1316) | func SetFontFamilies(fontFamilies *FontFamilies) *SetFontFamiliesParams {
type SetFontSizesParams (line 1334) | type SetFontSizesParams struct
method Do (line 1352) | func (p *SetFontSizesParams) Do(ctx context.Context) (err error) {
function SetFontSizes (line 1345) | func SetFontSizes(fontSizes *FontSizes) *SetFontSizesParams {
type SetDocumentContentParams (line 1357) | type SetDocumentContentParams struct
method Do (line 1378) | func (p *SetDocumentContentParams) Do(ctx context.Context) (err error) {
function SetDocumentContent (line 1370) | func SetDocumentContent(frameID cdp.FrameID, html string) *SetDocumentCo...
type SetLifecycleEventsEnabledParams (line 1384) | type SetLifecycleEventsEnabledParams struct
method Do (line 1403) | func (p *SetLifecycleEventsEnabledParams) Do(ctx context.Context) (err...
function SetLifecycleEventsEnabled (line 1396) | func SetLifecycleEventsEnabled(enabled bool) *SetLifecycleEventsEnabledP...
type StartScreencastParams (line 1409) | type StartScreencastParams struct
method WithFormat (line 1427) | func (p StartScreencastParams) WithFormat(format ScreencastFormat) *St...
method WithQuality (line 1433) | func (p StartScreencastParams) WithQuality(quality int64) *StartScreen...
method WithMaxWidth (line 1439) | func (p StartScreencastParams) WithMaxWidth(maxWidth int64) *StartScre...
method WithMaxHeight (line 1445) | func (p StartScreencastParams) WithMaxHeight(maxHeight int64) *StartSc...
method WithEveryNthFrame (line 1451) | func (p StartScreencastParams) WithEveryNthFrame(everyNthFrame int64) ...
method Do (line 1457) | func (p *StartScreencastParams) Do(ctx context.Context) (err error) {
function StartScreencast (line 1422) | func StartScreencast() *StartScreencastParams {
type StopLoadingParams (line 1463) | type StopLoadingParams struct
method Do (line 1474) | func (p *StopLoadingParams) Do(ctx context.Context) (err error) {
function StopLoading (line 1469) | func StopLoading() *StopLoadingParams {
type CrashParams (line 1479) | type CrashParams struct
method Do (line 1489) | func (p *CrashParams) Do(ctx context.Context) (err error) {
function Crash (line 1484) | func Crash() *CrashParams {
type CloseParams (line 1494) | type CloseParams struct
method Do (line 1504) | func (p *CloseParams) Do(ctx context.Context) (err error) {
function Close (line 1499) | func Close() *CloseParams {
type SetWebLifecycleStateParams (line 1511) | type SetWebLifecycleStateParams struct
method Do (line 1531) | func (p *SetWebLifecycleStateParams) Do(ctx context.Context) (err erro...
function SetWebLifecycleState (line 1524) | func SetWebLifecycleState(state SetWebLifecycleStateState) *SetWebLifecy...
type StopScreencastParams (line 1536) | type StopScreencastParams struct
method Do (line 1546) | func (p *StopScreencastParams) Do(ctx context.Context) (err error) {
function StopScreencast (line 1541) | func StopScreencast() *StopScreencastParams {
type ProduceCompilationCacheParams (line 1556) | type ProduceCompilationCacheParams struct
method Do (line 1579) | func (p *ProduceCompilationCacheParams) Do(ctx context.Context) (err e...
function ProduceCompilationCache (line 1572) | func ProduceCompilationCache(scripts []*CompilationCacheParams) *Produce...
type AddCompilationCacheParams (line 1585) | type AddCompilationCacheParams struct
method Do (line 1607) | func (p *AddCompilationCacheParams) Do(ctx context.Context) (err error) {
function AddCompilationCache (line 1599) | func AddCompilationCache(url string, data string) *AddCompilationCachePa...
type ClearCompilationCacheParams (line 1612) | type ClearCompilationCacheParams struct
method Do (line 1622) | func (p *ClearCompilationCacheParams) Do(ctx context.Context) (err err...
function ClearCompilationCache (line 1617) | func ClearCompilationCache() *ClearCompilationCacheParams {
type SetSPCTransactionModeParams (line 1629) | type SetSPCTransactionModeParams struct
method Do (line 1649) | func (p *SetSPCTransactionModeParams) Do(ctx context.Context) (err err...
function SetSPCTransactionMode (line 1642) | func SetSPCTransactionMode(mode SetSPCTransactionModeMode) *SetSPCTransa...
type SetRPHRegistrationModeParams (line 1655) | type SetRPHRegistrationModeParams struct
method Do (line 1674) | func (p *SetRPHRegistrationModeParams) Do(ctx context.Context) (err er...
function SetRPHRegistrationMode (line 1667) | func SetRPHRegistrationMode(mode SetRPHRegistrationModeMode) *SetRPHRegi...
type GenerateTestReportParams (line 1679) | type GenerateTestReportParams struct
method WithGroup (line 1698) | func (p GenerateTestReportParams) WithGroup(group string) *GenerateTes...
method Do (line 1704) | func (p *GenerateTestReportParams) Do(ctx context.Context) (err error) {
function GenerateTestReport (line 1691) | func GenerateTestReport(message string) *GenerateTestReportParams {
type WaitForDebuggerParams (line 1710) | type WaitForDebuggerParams struct
method Do (line 1721) | func (p *WaitForDebuggerParams) Do(ctx context.Context) (err error) {
function WaitForDebugger (line 1716) | func WaitForDebugger() *WaitForDebuggerParams {
type SetInterceptFileChooserDialogParams (line 1729) | type SetInterceptFileChooserDialogParams struct
method WithCancel (line 1754) | func (p SetInterceptFileChooserDialogParams) WithCancel(cancel bool) *...
method Do (line 1760) | func (p *SetInterceptFileChooserDialogParams) Do(ctx context.Context) ...
function SetInterceptFileChooserDialog (line 1744) | func SetInterceptFileChooserDialog(enabled bool) *SetInterceptFileChoose...
type SetPrerenderingAllowedParams (line 1769) | type SetPrerenderingAllowedParams struct
method Do (line 1791) | func (p *SetPrerenderingAllowedParams) Do(ctx context.Context) (err er...
function SetPrerenderingAllowed (line 1784) | func SetPrerenderingAllowed(isAllowed bool) *SetPrerenderingAllowedParams {
constant CommandAddScriptToEvaluateOnNewDocument (line 1797) | CommandAddScriptToEvaluateOnNewDocument = "Page.addScriptToEvaluateOn...
constant CommandBringToFront (line 1798) | CommandBringToFront = "Page.bringToFront"
constant CommandCaptureScreenshot (line 1799) | CommandCaptureScreenshot = "Page.captureScreenshot"
constant CommandCaptureSnapshot (line 1800) | CommandCaptureSnapshot = "Page.captureSnapshot"
constant CommandCreateIsolatedWorld (line 1801) | CommandCreateIsolatedWorld = "Page.createIsolatedWorld"
constant CommandDisable (line 1802) | CommandDisable = "Page.disable"
constant CommandEnable (line 1803) | CommandEnable = "Page.enable"
constant CommandGetAppManifest (line 1804) | CommandGetAppManifest = "Page.getAppManifest"
constant CommandGetInstallabilityErrors (line 1805) | CommandGetInstallabilityErrors = "Page.getInstallabilityErrors"
constant CommandGetAppID (line 1806) | CommandGetAppID = "Page.getAppId"
constant CommandGetAdScriptAncestry (line 1807) | CommandGetAdScriptAncestry = "Page.getAdScriptAncestry"
constant CommandGetFrameTree (line 1808) | CommandGetFrameTree = "Page.getFrameTree"
constant CommandGetLayoutMetrics (line 1809) | CommandGetLayoutMetrics = "Page.getLayoutMetrics"
constant CommandGetNavigationHistory (line 1810) | CommandGetNavigationHistory = "Page.getNavigationHistory"
constant CommandResetNavigationHistory (line 1811) | CommandResetNavigationHistory = "Page.resetNavigationHistory"
constant CommandGetResourceContent (line 1812) | CommandGetResourceContent = "Page.getResourceContent"
constant CommandGetResourceTree (line 1813) | CommandGetResourceTree = "Page.getResourceTree"
constant CommandHandleJavaScriptDialog (line 1814) | CommandHandleJavaScriptDialog = "Page.handleJavaScriptDialog"
constant CommandNavigate (line 1815) | CommandNavigate = "Page.navigate"
constant CommandNavigateToHistoryEntry (line 1816) | CommandNavigateToHistoryEntry = "Page.navigateToHistoryEntry"
constant CommandPrintToPDF (line 1817) | CommandPrintToPDF = "Page.printToPDF"
constant CommandReload (line 1818) | CommandReload = "Page.reload"
constant CommandRemoveScriptToEvaluateOnNewDocument (line 1819) | CommandRemoveScriptToEvaluateOnNewDocument = "Page.removeScriptToEvaluat...
constant CommandScreencastFrameAck (line 1820) | CommandScreencastFrameAck = "Page.screencastFrameAck"
constant CommandSearchInResource (line 1821) | CommandSearchInResource = "Page.searchInResource"
constant CommandSetAdBlockingEnabled (line 1822) | CommandSetAdBlockingEnabled = "Page.setAdBlockingEnabled"
constant CommandSetBypassCSP (line 1823) | CommandSetBypassCSP = "Page.setBypassCSP"
constant CommandGetPermissionsPolicyState (line 1824) | CommandGetPermissionsPolicyState = "Page.getPermissionsPolicyS...
constant CommandGetOriginTrials (line 1825) | CommandGetOriginTrials = "Page.getOriginTrials"
constant CommandSetFontFamilies (line 1826) | CommandSetFontFamilies = "Page.setFontFamilies"
constant CommandSetFontSizes (line 1827) | CommandSetFontSizes = "Page.setFontSizes"
constant CommandSetDocumentContent (line 1828) | CommandSetDocumentContent = "Page.setDocumentContent"
constant CommandSetLifecycleEventsEnabled (line 1829) | CommandSetLifecycleEventsEnabled = "Page.setLifecycleEventsEna...
constant CommandStartScreencast (line 1830) | CommandStartScreencast = "Page.startScreencast"
constant CommandStopLoading (line 1831) | CommandStopLoading = "Page.stopLoading"
constant CommandCrash (line 1832) | CommandCrash = "Page.crash"
constant CommandClose (line 1833) | CommandClose = "Page.close"
constant CommandSetWebLifecycleState (line 1834) | CommandSetWebLifecycleState = "Page.setWebLifecycleState"
constant CommandStopScreencast (line 1835) | CommandStopScreencast = "Page.stopScreencast"
constant CommandProduceCompilationCache (line 1836) | CommandProduceCompilationCache = "Page.produceCompilationCache"
constant CommandAddCompilationCache (line 1837) | CommandAddCompilationCache = "Page.addCompilationCache"
constant CommandClearCompilationCache (line 1838) | CommandClearCompilationCache = "Page.clearCompilationCache"
constant CommandSetSPCTransactionMode (line 1839) | CommandSetSPCTransactionMode = "Page.setSPCTransactionMode"
constant CommandSetRPHRegistrationMode (line 1840) | CommandSetRPHRegistrationMode = "Page.setRPHRegistrationMode"
constant CommandGenerateTestReport (line 1841) | CommandGenerateTestReport = "Page.generateTestReport"
constant CommandWaitForDebugger (line 1842) | CommandWaitForDebugger = "Page.waitForDebugger"
constant CommandSetInterceptFileChooserDialog (line 1843) | CommandSetInterceptFileChooserDialog = "Page.setInterceptFileChoos...
constant CommandSetPrerenderingAllowed (line 1844) | CommandSetPrerenderingAllowed = "Page.setPrerenderingAllowed"
FILE: vendor/github.com/chromedp/cdproto/page/types.go
type AdScriptID (line 18) | type AdScriptID struct
type AdScriptAncestry (line 28) | type AdScriptAncestry struct
type PermissionsPolicyFeature (line 39) | type PermissionsPolicyFeature
method String (line 42) | func (t PermissionsPolicyFeature) String() string {
method UnmarshalJSON (line 157) | func (t *PermissionsPolicyFeature) UnmarshalJSON(buf []byte) error {
constant PermissionsPolicyFeatureAccelerometer (line 48) | PermissionsPolicyFeatureAccelerometer PermissionsPolicy...
constant PermissionsPolicyFeatureAllScreensCapture (line 49) | PermissionsPolicyFeatureAllScreensCapture PermissionsPolicy...
constant PermissionsPolicyFeatureAmbientLightSensor (line 50) | PermissionsPolicyFeatureAmbientLightSensor PermissionsPolicy...
constant PermissionsPolicyFeatureAriaNotify (line 51) | PermissionsPolicyFeatureAriaNotify PermissionsPolicy...
constant PermissionsPolicyFeatureAttributionReporting (line 52) | PermissionsPolicyFeatureAttributionReporting PermissionsPolicy...
constant PermissionsPolicyFeatureAutoplay (line 53) | PermissionsPolicyFeatureAutoplay PermissionsPolicy...
constant PermissionsPolicyFeatureBluetooth (line 54) | PermissionsPolicyFeatureBluetooth PermissionsPolicy...
constant PermissionsPolicyFeatureBrowsingTopics (line 55) | PermissionsPolicyFeatureBrowsingTopics PermissionsPolicy...
constant PermissionsPolicyFeatureCamera (line 56) | PermissionsPolicyFeatureCamera PermissionsPolicy...
constant PermissionsPolicyFeatureCapturedSurfaceControl (line 57) | PermissionsPolicyFeatureCapturedSurfaceControl PermissionsPolicy...
constant PermissionsPolicyFeatureChDpr (line 58) | PermissionsPolicyFeatureChDpr PermissionsPolicy...
constant PermissionsPolicyFeatureChDeviceMemory (line 59) | PermissionsPolicyFeatureChDeviceMemory PermissionsPolicy...
constant PermissionsPolicyFeatureChDownlink (line 60) | PermissionsPolicyFeatureChDownlink PermissionsPolicy...
constant PermissionsPolicyFeatureChEct (line 61) | PermissionsPolicyFeatureChEct PermissionsPolicy...
constant PermissionsPolicyFeatureChPrefersColorScheme (line 62) | PermissionsPolicyFeatureChPrefersColorScheme PermissionsPolicy...
constant PermissionsPolicyFeatureChPrefersReducedMotion (line 63) | PermissionsPolicyFeatureChPrefersReducedMotion PermissionsPolicy...
constant PermissionsPolicyFeatureChPrefersReducedTransparency (line 64) | PermissionsPolicyFeatureChPrefersReducedTransparency PermissionsPolicy...
constant PermissionsPolicyFeatureChRtt (line 65) | PermissionsPolicyFeatureChRtt PermissionsPolicy...
constant PermissionsPolicyFeatureChSaveData (line 66) | PermissionsPolicyFeatureChSaveData PermissionsPolicy...
constant PermissionsPolicyFeatureChUa (line 67) | PermissionsPolicyFeatureChUa PermissionsPolicy...
constant PermissionsPolicyFeatureChUaArch (line 68) | PermissionsPolicyFeatureChUaArch PermissionsPolicy...
constant PermissionsPolicyFeatureChUaBitness (line 69) | PermissionsPolicyFeatureChUaBitness PermissionsPolicy...
constant PermissionsPolicyFeatureChUaHighEntropyValues (line 70) | PermissionsPolicyFeatureChUaHighEntropyValues PermissionsPolicy...
constant PermissionsPolicyFeatureChUaPlatform (line 71) | PermissionsPolicyFeatureChUaPlatform PermissionsPolicy...
constant PermissionsPolicyFeatureChUaModel (line 72) | PermissionsPolicyFeatureChUaModel PermissionsPolicy...
constant PermissionsPolicyFeatureChUaMobile (line 73) | PermissionsPolicyFeatureChUaMobile PermissionsPolicy...
constant PermissionsPolicyFeatureChUaFormFactors (line 74) | PermissionsPolicyFeatureChUaFormFactors PermissionsPolicy...
constant PermissionsPolicyFeatureChUaFullVersion (line 75) | PermissionsPolicyFeatureChUaFullVersion PermissionsPolicy...
constant PermissionsPolicyFeatureChUaFullVersionList (line 76) | PermissionsPolicyFeatureChUaFullVersionList PermissionsPolicy...
constant PermissionsPolicyFeatureChUaPlatformVersion (line 77) | PermissionsPolicyFeatureChUaPlatformVersion PermissionsPolicy...
constant PermissionsPolicyFeatureChUaWow64 (line 78) | PermissionsPolicyFeatureChUaWow64 PermissionsPolicy...
constant PermissionsPolicyFeatureChViewportHeight (line 79) | PermissionsPolicyFeatureChViewportHeight PermissionsPolicy...
constant PermissionsPolicyFeatureChViewportWidth (line 80) | PermissionsPolicyFeatureChViewportWidth PermissionsPolicy...
constant PermissionsPolicyFeatureChWidth (line 81) | PermissionsPolicyFeatureChWidth PermissionsPolicy...
constant PermissionsPolicyFeatureClipboardRead (line 82) | PermissionsPolicyFeatureClipboardRead PermissionsPolicy...
constant PermissionsPolicyFeatureClipboardWrite (line 83) | PermissionsPolicyFeatureClipboardWrite PermissionsPolicy...
constant PermissionsPolicyFeatureComputePressure (line 84) | PermissionsPolicyFeatureComputePressure PermissionsPolicy...
constant PermissionsPolicyFeatureControlledFrame (line 85) | PermissionsPolicyFeatureControlledFrame PermissionsPolicy...
constant PermissionsPolicyFeatureCrossOriginIsolated (line 86) | PermissionsPolicyFeatureCrossOriginIsolated PermissionsPolicy...
constant PermissionsPolicyFeatureDeferredFetch (line 87) | PermissionsPolicyFeatureDeferredFetch PermissionsPolicy...
constant PermissionsPolicyFeatureDeferredFetchMinimal (line 88) | PermissionsPolicyFeatureDeferredFetchMinimal PermissionsPolicy...
constant PermissionsPolicyFeatureDeviceAttributes (line 89) | PermissionsPolicyFeatureDeviceAttributes PermissionsPolicy...
constant PermissionsPolicyFeatureDigitalCredentialsGet (line 90) | PermissionsPolicyFeatureDigitalCredentialsGet PermissionsPolicy...
constant PermissionsPolicyFeatureDirectSockets (line 91) | PermissionsPolicyFeatureDirectSockets PermissionsPolicy...
constant PermissionsPolicyFeatureDirectSocketsPrivate (line 92) | PermissionsPolicyFeatureDirectSocketsPrivate PermissionsPolicy...
constant PermissionsPolicyFeatureDisplayCapture (line 93) | PermissionsPolicyFeatureDisplayCapture PermissionsPolicy...
constant PermissionsPolicyFeatureDocumentDomain (line 94) | PermissionsPolicyFeatureDocumentDomain PermissionsPolicy...
constant PermissionsPolicyFeatureEncryptedMedia (line 95) | PermissionsPolicyFeatureEncryptedMedia PermissionsPolicy...
constant PermissionsPolicyFeatureExecutionWhileOutOfViewport (line 96) | PermissionsPolicyFeatureExecutionWhileOutOfViewport PermissionsPolicy...
constant PermissionsPolicyFeatureExecutionWhileNotRendered (line 97) | PermissionsPolicyFeatureExecutionWhileNotRendered PermissionsPolicy...
constant PermissionsPolicyFeatureFencedUnpartitionedStorageRead (line 98) | PermissionsPolicyFeatureFencedUnpartitionedStorageRead PermissionsPolicy...
constant PermissionsPolicyFeatureFocusWithoutUserActivation (line 99) | PermissionsPolicyFeatureFocusWithoutUserActivation PermissionsPolicy...
constant PermissionsPolicyFeatureFullscreen (line 100) | PermissionsPolicyFeatureFullscreen PermissionsPolicy...
constant PermissionsPolicyFeatureFrobulate (line 101) | PermissionsPolicyFeatureFrobulate PermissionsPolicy...
constant PermissionsPolicyFeatureGamepad (line 102) | PermissionsPolicyFeatureGamepad PermissionsPolicy...
constant PermissionsPolicyFeatureGeolocation (line 103) | PermissionsPolicyFeatureGeolocation PermissionsPolicy...
constant PermissionsPolicyFeatureGyroscope (line 104) | PermissionsPolicyFeatureGyroscope PermissionsPolicy...
constant PermissionsPolicyFeatureHid (line 105) | PermissionsPolicyFeatureHid PermissionsPolicy...
constant PermissionsPolicyFeatureIdentityCredentialsGet (line 106) | PermissionsPolicyFeatureIdentityCredentialsGet PermissionsPolicy...
constant PermissionsPolicyFeatureIdleDetection (line 107) | PermissionsPolicyFeatureIdleDetection PermissionsPolicy...
constant PermissionsPolicyFeatureInterestCohort (line 108) | PermissionsPolicyFeatureInterestCohort PermissionsPolicy...
constant PermissionsPolicyFeatureJoinAdInterestGroup (line 109) | PermissionsPolicyFeatureJoinAdInterestGroup PermissionsPolicy...
constant PermissionsPolicyFeatureKeyboardMap (line 110) | PermissionsPolicyFeatureKeyboardMap PermissionsPolicy...
constant PermissionsPolicyFeatureLanguageDetector (line 111) | PermissionsPolicyFeatureLanguageDetector PermissionsPolicy...
constant PermissionsPolicyFeatureLanguageModel (line 112) | PermissionsPolicyFeatureLanguageModel PermissionsPolicy...
constant PermissionsPolicyFeatureLocalFonts (line 113) | PermissionsPolicyFeatureLocalFonts PermissionsPolicy...
constant PermissionsPolicyFeatureLocalNetworkAccess (line 114) | PermissionsPolicyFeatureLocalNetworkAccess PermissionsPolicy...
constant PermissionsPolicyFeatureMagnetometer (line 115) | PermissionsPolicyFeatureMagnetometer PermissionsPolicy...
constant PermissionsPolicyFeatureMediaPlaybackWhileNotVisible (line 116) | PermissionsPolicyFeatureMediaPlaybackWhileNotVisible PermissionsPolicy...
constant PermissionsPolicyFeatureMicrophone (line 117) | PermissionsPolicyFeatureMicrophone PermissionsPolicy...
constant PermissionsPolicyFeatureMidi (line 118) | PermissionsPolicyFeatureMidi PermissionsPolicy...
constant PermissionsPolicyFeatureOnDeviceSpeechRecognition (line 119) | PermissionsPolicyFeatureOnDeviceSpeechRecognition PermissionsPolicy...
constant PermissionsPolicyFeatureOtpCredentials (line 120) | PermissionsPolicyFeatureOtpCredentials PermissionsPolicy...
constant PermissionsPolicyFeaturePayment (line 121) | PermissionsPolicyFeaturePayment PermissionsPolicy...
constant PermissionsPolicyFeaturePictureInPicture (line 122) | PermissionsPolicyFeaturePictureInPicture PermissionsPolicy...
constant PermissionsPolicyFeaturePopins (line 123) | PermissionsPolicyFeaturePopins PermissionsPolicy...
constant PermissionsPolicyFeaturePrivateAggregation (line 124) | PermissionsPolicyFeaturePrivateAggregation PermissionsPolicy...
constant PermissionsPolicyFeaturePrivateStateTokenIssuance (line 125) | PermissionsPolicyFeaturePrivateStateTokenIssuance PermissionsPolicy...
constant PermissionsPolicyFeaturePrivateStateTokenRedemption (line 126) | PermissionsPolicyFeaturePrivateStateTokenRedemption PermissionsPolicy...
constant PermissionsPolicyFeaturePublickeyCredentialsCreate (line 127) | PermissionsPolicyFeaturePublickeyCredentialsCreate PermissionsPolicy...
constant PermissionsPolicyFeaturePublickeyCredentialsGet (line 128) | PermissionsPolicyFeaturePublickeyCredentialsGet PermissionsPolicy...
constant PermissionsPolicyFeatureRecordAdAuctionEvents (line 129) | PermissionsPolicyFeatureRecordAdAuctionEvents PermissionsPolicy...
constant PermissionsPolicyFeatureRewriter (line 130) | PermissionsPolicyFeatureRewriter PermissionsPolicy...
constant PermissionsPolicyFeatureRunAdAuction (line 131) | PermissionsPolicyFeatureRunAdAuction PermissionsPolicy...
constant PermissionsPolicyFeatureScreenWakeLock (line 132) | PermissionsPolicyFeatureScreenWakeLock PermissionsPolicy...
constant PermissionsPolicyFeatureSerial (line 133) | PermissionsPolicyFeatureSerial PermissionsPolicy...
constant PermissionsPolicyFeatureSharedAutofill (line 134) | PermissionsPolicyFeatureSharedAutofill PermissionsPolicy...
constant PermissionsPolicyFeatureSharedStorage (line 135) | PermissionsPolicyFeatureSharedStorage PermissionsPolicy...
constant PermissionsPolicyFeatureSharedStorageSelectURL (line 136) | PermissionsPolicyFeatureSharedStorageSelectURL PermissionsPolicy...
constant PermissionsPolicyFeatureSmartCard (line 137) | PermissionsPolicyFeatureSmartCard PermissionsPolicy...
constant PermissionsPolicyFeatureSpeakerSelection (line 138) | PermissionsPolicyFeatureSpeakerSelection PermissionsPolicy...
constant PermissionsPolicyFeatureStorageAccess (line 139) | PermissionsPolicyFeatureStorageAccess PermissionsPolicy...
constant PermissionsPolicyFeatureSubApps (line 140) | PermissionsPolicyFeatureSubApps PermissionsPolicy...
constant PermissionsPolicyFeatureSummarizer (line 141) | PermissionsPolicyFeatureSummarizer PermissionsPolicy...
constant PermissionsPolicyFeatureSyncXhr (line 142) | PermissionsPolicyFeatureSyncXhr PermissionsPolicy...
constant PermissionsPolicyFeatureTranslator (line 143) | PermissionsPolicyFeatureTranslator PermissionsPolicy...
constant PermissionsPolicyFeatureUnload (line 144) | PermissionsPolicyFeatureUnload PermissionsPolicy...
constant PermissionsPolicyFeatureUsb (line 145) | PermissionsPolicyFeatureUsb PermissionsPolicy...
constant PermissionsPolicyFeatureUsbUnrestricted (line 146) | PermissionsPolicyFeatureUsbUnrestricted PermissionsPolicy...
constant PermissionsPolicyFeatureVerticalScroll (line 147) | PermissionsPolicyFeatureVerticalScroll PermissionsPolicy...
constant PermissionsPolicyFeatureWebAppInstallation (line 148) | PermissionsPolicyFeatureWebAppInstallation PermissionsPolicy...
constant PermissionsPolicyFeatureWebPrinting (line 149) | PermissionsPolicyFeatureWebPrinting PermissionsPolicy...
constant PermissionsPolicyFeatureWebShare (line 150) | PermissionsPolicyFeatureWebShare PermissionsPolicy...
constant PermissionsPolicyFeatureWindowManagement (line 151) | PermissionsPolicyFeatureWindowManagement PermissionsPolicy...
constant PermissionsPolicyFeatureWriter (line 152) | PermissionsPolicyFeatureWriter PermissionsPolicy...
constant PermissionsPolicyFeatureXrSpatialTracking (line 153) | PermissionsPolicyFeatureXrSpatialTracking PermissionsPolicy...
type PermissionsPolicyBlockReason (line 384) | type PermissionsPolicyBlockReason
method String (line 387) | func (t PermissionsPolicyBlockReason) String() string {
method UnmarshalJSON (line 400) | func (t *PermissionsPolicyBlockReason) UnmarshalJSON(buf []byte) error {
constant PermissionsPolicyBlockReasonHeader (line 393) | PermissionsPolicyBlockReasonHeader PermissionsPolicyBlockReas...
constant PermissionsPolicyBlockReasonIframeAttribute (line 394) | PermissionsPolicyBlockReasonIframeAttribute PermissionsPolicyBlockReas...
constant PermissionsPolicyBlockReasonInFencedFrameTree (line 395) | PermissionsPolicyBlockReasonInFencedFrameTree PermissionsPolicyBlockReas...
constant PermissionsPolicyBlockReasonInIsolatedApp (line 396) | PermissionsPolicyBlockReasonInIsolatedApp PermissionsPolicyBlockReas...
type PermissionsPolicyBlockLocator (line 422) | type PermissionsPolicyBlockLocator struct
type PermissionsPolicyFeatureState (line 430) | type PermissionsPolicyFeatureState struct
type FrameResource (line 439) | type FrameResource struct
type FrameResourceTree (line 453) | type FrameResourceTree struct
type FrameTree (line 462) | type FrameTree struct
type ScriptIdentifier (line 470) | type ScriptIdentifier
method String (line 473) | func (t ScriptIdentifier) String() string {
type TransitionType (line 480) | type TransitionType
method String (line 483) | func (t TransitionType) String() string {
method UnmarshalJSON (line 505) | func (t *TransitionType) UnmarshalJSON(buf []byte) error {
constant TransitionTypeLink (line 489) | TransitionTypeLink TransitionType = "link"
constant TransitionTypeTyped (line 490) | TransitionTypeTyped TransitionType = "typed"
constant TransitionTypeAddressBar (line 491) | TransitionTypeAddressBar TransitionType = "address_bar"
constant TransitionTypeAutoBookmark (line 492) | TransitionTypeAutoBookmark TransitionType = "auto_bookmark"
constant TransitionTypeAutoSubframe (line 493) | TransitionTypeAutoSubframe TransitionType = "auto_subframe"
constant TransitionTypeManualSubframe (line 494) | TransitionTypeManualSubframe TransitionType = "manual_subframe"
constant TransitionTypeGenerated (line 495) | TransitionTypeGenerated TransitionType = "generated"
constant TransitionTypeAutoToplevel (line 496) | TransitionTypeAutoToplevel TransitionType = "auto_toplevel"
constant TransitionTypeFormSubmit (line 497) | TransitionTypeFormSubmit TransitionType = "form_submit"
constant TransitionTypeReload (line 498) | TransitionTypeReload TransitionType = "reload"
constant TransitionTypeKeyword (line 499) | TransitionTypeKeyword TransitionType = "keyword"
constant TransitionTypeKeywordGenerated (line 500) | TransitionTypeKeywordGenerated TransitionType = "keyword_generated"
constant TransitionTypeOther (line 501) | TransitionTypeOther TransitionType = "other"
type NavigationEntry (line 545) | type NavigationEntry struct
type ScreencastFrameMetadata (line 556) | type ScreencastFrameMetadata struct
type DialogType (line 569) | type DialogType
method String (line 572) | func (t DialogType) String() string {
method UnmarshalJSON (line 585) | func (t *DialogType) UnmarshalJSON(buf []byte) error {
constant DialogTypeAlert (line 578) | DialogTypeAlert DialogType = "alert"
constant DialogTypeConfirm (line 579) | DialogTypeConfirm DialogType = "confirm"
constant DialogTypePrompt (line 580) | DialogTypePrompt DialogType = "prompt"
constant DialogTypeBeforeunload (line 581) | DialogTypeBeforeunload DialogType = "beforeunload"
type AppManifestError (line 607) | type AppManifestError struct
type AppManifestParsedProperties (line 617) | type AppManifestParsedProperties struct
type LayoutViewport (line 624) | type LayoutViewport struct
type VisualViewport (line 634) | type VisualViewport struct
type Viewport (line 648) | type Viewport struct
type FontFamilies (line 659) | type FontFamilies struct
type ScriptFontFamilies (line 672) | type ScriptFontFamilies struct
type FontSizes (line 680) | type FontSizes struct
type ClientNavigationReason (line 688) | type ClientNavigationReason
method String (line 691) | func (t ClientNavigationReason) String() string {
method UnmarshalJSON (line 710) | func (t *ClientNavigationReason) UnmarshalJSON(buf []byte) error {
constant ClientNavigationReasonAnchorClick (line 697) | ClientNavigationReasonAnchorClick ClientNavigationReason = "a...
constant ClientNavigationReasonFormSubmissionGet (line 698) | ClientNavigationReasonFormSubmissionGet ClientNavigationReason = "f...
constant ClientNavigationReasonFormSubmissionPost (line 699) | ClientNavigationReasonFormSubmissionPost ClientNavigationReason = "f...
constant ClientNavigationReasonHTTPHeaderRefresh (line 700) | ClientNavigationReasonHTTPHeaderRefresh ClientNavigationReason = "h...
constant ClientNavigationReasonInitialFrameNavigation (line 701) | ClientNavigationReasonInitialFrameNavigation ClientNavigationReason = "i...
constant ClientNavigationReasonMetaTagRefresh (line 702) | ClientNavigationReasonMetaTagRefresh ClientNavigationReason = "m...
constant ClientNavigationReasonOther (line 703) | ClientNavigationReasonOther ClientNavigationReason = "o...
constant ClientNavigationReasonPageBlockInterstitial (line 704) | ClientNavigationReasonPageBlockInterstitial ClientNavigationReason = "p...
constant ClientNavigationReasonReload (line 705) | ClientNavigationReasonReload ClientNavigationReason = "r...
constant ClientNavigationReasonScriptInitiated (line 706) | ClientNavigationReasonScriptInitiated ClientNavigationReason = "s...
type ClientNavigationDisposition (line 744) | type ClientNavigationDisposition
method String (line 747) | func (t ClientNavigationDisposition) String() string {
method UnmarshalJSON (line 760) | func (t *ClientNavigationDisposition) UnmarshalJSON(buf []byte) error {
constant ClientNavigationDispositionCurrentTab (line 753) | ClientNavigationDispositionCurrentTab ClientNavigationDisposition = "cur...
constant ClientNavigationDispositionNewTab (line 754) | ClientNavigationDispositionNewTab ClientNavigationDisposition = "new...
constant ClientNavigationDispositionNewWindow (line 755) | ClientNavigationDispositionNewWindow ClientNavigationDisposition = "new...
constant ClientNavigationDispositionDownload (line 756) | ClientNavigationDispositionDownload ClientNavigationDisposition = "dow...
type InstallabilityErrorArgument (line 782) | type InstallabilityErrorArgument struct
type InstallabilityError (line 790) | type InstallabilityError struct
type ReferrerPolicy (line 798) | type ReferrerPolicy
method String (line 801) | func (t ReferrerPolicy) String() string {
method UnmarshalJSON (line 818) | func (t *ReferrerPolicy) UnmarshalJSON(buf []byte) error {
constant ReferrerPolicyNoReferrer (line 807) | ReferrerPolicyNoReferrer ReferrerPolicy = "noReferrer"
constant ReferrerPolicyNoReferrerWhenDowngrade (line 808) | ReferrerPolicyNoReferrerWhenDowngrade ReferrerPolicy = "noReferrerWh...
constant ReferrerPolicyOrigin (line 809) | ReferrerPolicyOrigin ReferrerPolicy = "origin"
constant ReferrerPolicyOriginWhenCrossOrigin (line 810) | ReferrerPolicyOriginWhenCrossOrigin ReferrerPolicy = "originWhenCr...
constant ReferrerPolicySameOrigin (line 811) | ReferrerPolicySameOrigin ReferrerPolicy = "sameOrigin"
constant ReferrerPolicyStrictOrigin (line 812) | ReferrerPolicyStrictOrigin ReferrerPolicy = "strictOrigin"
constant ReferrerPolicyStrictOriginWhenCrossOrigin (line 813) | ReferrerPolicyStrictOriginWhenCrossOrigin ReferrerPolicy = "strictOrigin...
constant ReferrerPolicyUnsafeURL (line 814) | ReferrerPolicyUnsafeURL ReferrerPolicy = "unsafeUrl"
type CompilationCacheParams (line 849) | type CompilationCacheParams struct
type FileFilter (line 857) | type FileFilter struct
type FileHandler (line 865) | type FileHandler struct
type ImageResource (line 876) | type ImageResource struct
type LaunchHandler (line 885) | type LaunchHandler struct
type ProtocolHandler (line 892) | type ProtocolHandler struct
type RelatedApplication (line 900) | type RelatedApplication struct
type ScopeExtension (line 908) | type ScopeExtension struct
type Screenshot (line 916) | type Screenshot struct
type ShareTarget (line 925) | type ShareTarget struct
type Shortcut (line 938) | type Shortcut struct
type WebAppManifest (line 946) | type WebAppManifest struct
type NavigationType (line 975) | type NavigationType
method String (line 978) | func (t NavigationType) String() string {
method UnmarshalJSON (line 989) | func (t *NavigationType) UnmarshalJSON(buf []byte) error {
constant NavigationTypeNavigation (line 984) | NavigationTypeNavigation NavigationType = "Navigation"
constant NavigationTypeBackForwardCacheRestore (line 985) | NavigationTypeBackForwardCacheRestore NavigationType = "BackForwardCache...
type BackForwardCacheNotRestoredReason (line 1008) | type BackForwardCacheNotRestoredReason
method String (line 1011) | func (t BackForwardCacheNotRestoredReason) String() string {
method UnmarshalJSON (line 1163) | func (t *BackForwardCacheNotRestoredReason) UnmarshalJSON(buf []byte) ...
constant BackForwardCacheNotRestoredReasonNotPrimaryMainFrame (line 1017) | BackForwardCacheNotRestoredReasonNotPrimaryMainFrame ...
constant BackForwardCacheNotRestoredReasonBackForwardCacheDisabled (line 1018) | BackForwardCacheNotRestoredReasonBackForwardCacheDisabled ...
constant BackForwardCacheNotRestoredReasonRelatedActiveContentsExist (line 1019) | BackForwardCacheNotRestoredReasonRelatedActiveContentsExist ...
constant BackForwardCacheNotRestoredReasonHTTPSTatusNotOK (line 1020) | BackForwardCacheNotRestoredReasonHTTPSTatusNotOK ...
constant BackForwardCacheNotRestoredReasonSchemeNotHTTPOrHTTPS (line 1021) | BackForwardCacheNotRestoredReasonSchemeNotHTTPOrHTTPS ...
constant BackForwardCacheNotRestoredReasonLoading (line 1022) | BackForwardCacheNotRestoredReasonLoading ...
constant BackForwardCacheNotRestoredReasonWasGrantedMediaAccess (line 1023) | BackForwardCacheNotRestoredReasonWasGrantedMediaAccess ...
constant BackForwardCacheNotRestoredReasonDisableForRenderFrameHostCalled (line 1024) | BackForwardCacheNotRestoredReasonDisableForRenderFrameHostCalled ...
constant BackForwardCacheNotRestoredReasonDomainNotAllowed (line 1025) | BackForwardCacheNotRestoredReasonDomainNotAllowed ...
constant BackForwardCacheNotRestoredReasonHTTPMethodNotGET (line 1026) | BackForwardCacheNotRestoredReasonHTTPMethodNotGET ...
constant BackForwardCacheNotRestoredReasonSubframeIsNavigating (line 1027) | BackForwardCacheNotRestoredReasonSubframeIsNavigating ...
constant BackForwardCacheNotRestoredReasonTimeout (line 1028) | BackForwardCacheNotRestoredReasonTimeout ...
constant BackForwardCacheNotRestoredReasonCacheLimit (line 1029) | BackForwardCacheNotRestoredReasonCacheLimit ...
constant BackForwardCacheNotRestoredReasonJavaScriptExecution (line 1030) | BackForwardCacheNotRestoredReasonJavaScriptExecution ...
constant BackForwardCacheNotRestoredReasonRendererProcessKilled (line 1031) | BackForwardCacheNotRestoredReasonRendererProcessKilled ...
constant BackForwardCacheNotRestoredReasonRendererProcessCrashed (line 1032) | BackForwardCacheNotRestoredReasonRendererProcessCrashed ...
constant BackForwardCacheNotRestoredReasonSchedulerTrackedFeatureUsed (line 1033) | BackForwardCacheNotRestoredReasonSchedulerTrackedFeatureUsed ...
constant BackForwardCacheNotRestoredReasonConflictingBrowsingInstance (line 1034) | BackForwardCacheNotRestoredReasonConflictingBrowsingInstance ...
constant BackForwardCacheNotRestoredReasonCacheFlushed (line 1035) | BackForwardCacheNotRestoredReasonCacheFlushed ...
constant BackForwardCacheNotRestoredReasonServiceWorkerVersionActivation (line 1036) | BackForwardCacheNotRestoredReasonServiceWorkerVersionActivation ...
constant BackForwardCacheNotRestoredReasonSessionRestored (line 1037) | BackForwardCacheNotRestoredReasonSessionRestored ...
constant BackForwardCacheNotRestoredReasonServiceWorkerPostMessage (line 1038) | BackForwardCacheNotRestoredReasonServiceWorkerPostMessage ...
constant BackForwardCacheNotRestoredReasonEnteredBackForwardCacheBeforeServiceWorkerHostAdded (line 1039) | BackForwardCacheNotRestoredReasonEnteredBackForwardCacheBeforeServiceWor...
constant BackForwardCacheNotRestoredReasonRenderFrameHostReusedSameSite (line 1040) | BackForwardCacheNotRestoredReasonRenderFrameHostReusedSameSite ...
constant BackForwardCacheNotRestoredReasonRenderFrameHostReusedCrossSite (line 1041) | BackForwardCacheNotRestoredReasonRenderFrameHostReusedCrossSite ...
constant BackForwardCacheNotRestoredReasonServiceWorkerClaim (line 1042) | BackForwardCacheNotRestoredReasonServiceWorkerClaim ...
constant BackForwardCacheNotRestoredReasonIgnoreEventAndEvict (line 1043) | BackForwardCacheNotRestoredReasonIgnoreEventAndEvict ...
constant BackForwardCacheNotRestoredReasonHaveInnerContents (line 1044) | BackForwardCacheNotRestoredReasonHaveInnerContents ...
constant BackForwardCacheNotRestoredReasonTimeoutPuttingInCache (line 1045) | BackForwardCacheNotRestoredReasonTimeoutPuttingInCache ...
constant BackForwardCacheNotRestoredReasonBackForwardCacheDisabledByLowMemory (line 1046) | BackForwardCacheNotRestoredReasonBackForwardCacheDisabledByLowMemory ...
constant BackForwardCacheNotRestoredReasonBackForwardCacheDisabledByCommandLine (line 1047) | BackForwardCacheNotRestoredReasonBackForwardCacheDisabledByCommandLine ...
constant BackForwardCacheNotRestoredReasonNetworkRequestDatapipeDrainedAsBytesConsumer (line 1048) | BackForwardCacheNotRestoredReasonNetworkRequestDatapipeDrainedAsBytesCon...
constant BackForwardCacheNotRestoredReasonNetworkRequestRedirected (line 1049) | BackForwardCacheNotRestoredReasonNetworkRequestRedirected ...
constant BackForwardCacheNotRestoredReasonNetworkRequestTimeout (line 1050) | BackForwardCacheNotRestoredReasonNetworkRequestTimeout ...
constant BackForwardCacheNotRestoredReasonNetworkExceedsBufferLimit (line 1051) | BackForwardCacheNotRestoredReasonNetworkExceedsBufferLimit ...
constant BackForwardCacheNotRestoredReasonNavigationCancelledWhileRestoring (line 1052) | BackForwardCacheNotRestoredReasonNavigationCancelledWhileRestoring ...
constant BackForwardCacheNotRestoredReasonNotMostRecentNavigationEntry (line 1053) | BackForwardCacheNotRestoredReasonNotMostRecentNavigationEntry ...
constant BackForwardCacheNotRestoredReasonBackForwardCacheDisabledForPrerender (line 1054) | BackForwardCacheNotRestoredReasonBackForwardCacheDisabledForPrerender ...
constant BackForwardCacheNotRestoredReasonUserAgentOverrideDiffers (line 1055) | BackForwardCacheNotRestoredReasonUserAgentOverrideDiffers ...
constant BackForwardCacheNotRestoredReasonForegroundCacheLimit (line 1056) | BackForwardCacheNotRestoredReasonForegroundCacheLimit ...
constant BackForwardCacheNotRestoredReasonBrowsingInstanceNotSwapped (line 1057) | BackForwardCacheNotRestoredReasonBrowsingInstanceNotSwapped ...
constant BackForwardCacheNotRestoredReasonBackForwardCacheDisabledForDelegate (line 1058) | BackForwardCacheNotRestoredReasonBackForwardCacheDisabledForDelegate ...
constant BackForwardCacheNotRestoredReasonUnloadHandlerExistsInMainFrame (line 1059) | BackForwardCacheNotRestoredReasonUnloadHandlerExistsInMainFrame ...
constant BackForwardCacheNotRestoredReasonUnloadHandlerExistsInSubFrame (line 1060) | BackForwardCacheNotRestoredReasonUnloadHandlerExistsInSubFrame ...
constant BackForwardCacheNotRestoredReasonServiceWorkerUnregistration (line 1061) | BackForwardCacheNotRestoredReasonServiceWorkerUnregistration ...
constant BackForwardCacheNotRestoredReasonCacheControlNoStore (line 1062) | BackForwardCacheNotRestoredReasonCacheControlNoStore ...
constant BackForwardCacheNotRestoredReasonCacheControlNoStoreCookieModified (line 1063) | BackForwardCacheNotRestoredReasonCacheControlNoStoreCookieModified ...
constant BackForwardCacheNotRestoredReasonCacheControlNoStoreHTTPOnlyCookieModified (line 1064) | BackForwardCacheNotRestoredReasonCacheControlNoStoreHTTPOnlyCookieModifi...
constant BackForwardCacheNotRestoredReasonNoResponseHead (line 1065) | BackForwardCacheNotRestoredReasonNoResponseHead ...
constant BackForwardCacheNotRestoredReasonUnknown (line 1066) | BackForwardCacheNotRestoredReasonUnknown ...
constant BackForwardCacheNotRestoredReasonActivationNavigationsDisallowedForBug1234857 (line 1067) | BackForwardCacheNotRestoredReasonActivationNavigationsDisallowedForBug12...
constant BackForwardCacheNotRestoredReasonErrorDocument (line 1068) | BackForwardCacheNotRestoredReasonErrorDocument ...
constant BackForwardCacheNotRestoredReasonFencedFramesEmbedder (line 1069) | BackForwardCacheNotRestoredReasonFencedFramesEmbedder ...
constant BackForwardCacheNotRestoredReasonCookieDisabled (line 1070) | BackForwardCacheNotRestoredReasonCookieDisabled ...
constant BackForwardCacheNotRestoredReasonHTTPAuthRequired (line 1071) | BackForwardCacheNotRestoredReasonHTTPAuthRequired ...
constant BackForwardCacheNotRestoredReasonCookieFlushed (line 1072) | BackForwardCacheNotRestoredReasonCookieFlushed ...
constant BackForwardCacheNotRestoredReasonBroadcastChannelOnMessage (line 1073) | BackForwardCacheNotRestoredReasonBroadcastChannelOnMessage ...
constant BackForwardCacheNotRestoredReasonWebViewSettingsChanged (line 1074) | BackForwardCacheNotRestoredReasonWebViewSettingsChanged ...
constant BackForwardCacheNotRestoredReasonWebViewJavaScriptObjectChanged (line 1075) | BackForwardCacheNotRestoredReasonWebViewJavaScriptObjectChanged ...
constant BackForwardCacheNotRestoredReasonWebViewMessageListenerInjected (line 1076) | BackForwardCacheNotRestoredReasonWebViewMessageListenerInjected ...
constant BackForwardCacheNotRestoredReasonWebViewSafeBrowsingAllowlistChanged (line 1077) | BackForwardCacheNotRestoredReasonWebViewSafeBrowsingAllowlistChanged ...
constant BackForwardCacheNotRestoredReasonWebViewDocumentStartJavascriptChanged (line 1078) | BackForwardCacheNotRestoredReasonWebViewDocumentStartJavascriptChanged ...
constant BackForwardCacheNotRestoredReasonWebSocket (line 1079) | BackForwardCacheNotRestoredReasonWebSocket ...
constant BackForwardCacheNotRestoredReasonWebTransport (line 1080) | BackForwardCacheNotRestoredReasonWebTransport ...
constant BackForwardCacheNotRestoredReasonWebRTC (line 1081) | BackForwardCacheNotRestoredReasonWebRTC ...
constant BackForwardCacheNotRestoredReasonMainResourceHasCacheControlNoStore (line 1082) | BackForwardCacheNotRestoredReasonMainResourceHasCacheControlNoStore ...
constant BackForwardCacheNotRestoredReasonMainResourceHasCacheControlNoCache (line 1083) | BackForwardCacheNotRestoredReasonMainResourceHasCacheControlNoCache ...
constant BackForwardCacheNotRestoredReasonSubresourceHasCacheControlNoStore (line 1084) | BackForwardCacheNotRestoredReasonSubresourceHasCacheControlNoStore ...
constant BackForwardCacheNotRestoredReasonSubresourceHasCacheControlNoCache (line 1085) | BackForwardCacheNotRestoredReasonSubresourceHasCacheControlNoCache ...
constant BackForwardCacheNotRestoredReasonContainsPlugins (line 1086) | BackForwardCacheNotRestoredReasonContainsPlugins ...
constant BackForwardCacheNotRestoredReasonDocumentLoaded (line 1087) | BackForwardCacheNotRestoredReasonDocumentLoaded ...
constant BackForwardCacheNotRestoredReasonOutstandingNetworkRequestOthers (line 1088) | BackForwardCacheNotRestoredReasonOutstandingNetworkRequestOthers ...
constant BackForwardCacheNotRestoredReasonRequestedMIDIPermission (line 1089) | BackForwardCacheNotRestoredReasonRequestedMIDIPermission ...
constant BackForwardCacheNotRestoredReasonRequestedAudioCapturePermission (line 1090) | BackForwardCacheNotRestoredReasonRequestedAudioCapturePermission ...
constant BackForwardCacheNotRestoredReasonRequestedVideoCapturePermission (line 1091) | BackForwardCacheNotRestoredReasonRequestedVideoCapturePermission ...
constant BackForwardCacheNotRestoredReasonRequestedBackForwardCacheBlockedSensors (line 1092) | BackForwardCacheNotRestoredReasonRequestedBackForwardCacheBlockedSensors...
constant BackForwardCacheNotRestoredReasonRequestedBackgroundWorkPermission (line 1093) | BackForwardCacheNotRestoredReasonRequestedBackgroundWorkPermission ...
constant BackForwardCacheNotRestoredReasonBroadcastChannel (line 1094) | BackForwardCacheNotRestoredReasonBroadcastChannel ...
constant BackForwardCacheNotRestoredReasonWebXR (line 1095) | BackForwardCacheNotRestoredReasonWebXR ...
constant BackForwardCacheNotRestoredReasonSharedWorker (line 1096) | BackForwardCacheNotRestoredReasonSharedWorker ...
constant BackForwardCacheNotRestoredReasonSharedWorkerMessage (line 1097) | BackForwardCacheNotRestoredReasonSharedWorkerMessage ...
constant BackForwardCacheNotRestoredReasonWebLocks (line 1098) | BackForwardCacheNotRestoredReasonWebLocks ...
constant BackForwardCacheNotRestoredReasonWebHID (line 1099) | BackForwardCacheNotRestoredReasonWebHID ...
constant BackForwardCacheNotRestoredReasonWebShare (line 1100) | BackForwardCacheNotRestoredReasonWebShare ...
constant BackForwardCacheNotRestoredReasonRequestedStorageAccessGrant (line 1101) | BackForwardCacheNotRestoredReasonRequestedStorageAccessGrant ...
constant BackForwardCacheNotRestoredReasonWebNfc (line 1102) | BackForwardCacheNotRestoredReasonWebNfc ...
constant BackForwardCacheNotRestoredReasonOutstandingNetworkRequestFetch (line 1103) | BackForwardCacheNotRestoredReasonOutstandingNetworkRequestFetch ...
constant BackForwardCacheNotRestoredReasonOutstandingNetworkRequestXHR (line 1104) | BackForwardCacheNotRestoredReasonOutstandingNetworkRequestXHR ...
constant BackForwardCacheNotRestoredReasonAppBanner (line 1105) | BackForwardCacheNotRestoredReasonAppBanner ...
constant BackForwardCacheNotRestoredReasonPrinting (line 1106) | BackForwardCacheNotRestoredReasonPrinting ...
constant BackForwardCacheNotRestoredReasonWebDatabase (line 1107) | BackForwardCacheNotRestoredReasonWebDatabase ...
constant BackForwardCacheNotRestoredReasonPictureInPicture (line 1108) | BackForwardCacheNotRestoredReasonPictureInPicture ...
constant BackForwardCacheNotRestoredReasonSpeechRecognizer (line 1109) | BackForwardCacheNotRestoredReasonSpeechRecognizer ...
constant BackForwardCacheNotRestoredReasonIdleManager (line 1110) | BackForwardCacheNotRestoredReasonIdleManager ...
constant BackForwardCacheNotRestoredReasonPaymentManager (line 1111) | BackForwardCacheNotRestoredReasonPaymentManager ...
constant BackForwardCacheNotRestoredReasonSpeechSynthesis (line 1112) | BackForwardCacheNotRestoredReasonSpeechSynthesis ...
constant BackForwardCacheNotRestoredReasonKeyboardLock (line 1113) | BackForwardCacheNotRestoredReasonKeyboardLock ...
constant BackForwardCacheNotRestoredReasonWebOTPService (line 1114) | BackForwardCacheNotRestoredReasonWebOTPService ...
constant BackForwardCacheNotRestoredReasonOutstandingNetworkRequestDirectSocket (line 1115) | BackForwardCacheNotRestoredReasonOutstandingNetworkRequestDirectSocket ...
constant BackForwardCacheNotRestoredReasonInjectedJavascript (line 1116) | BackForwardCacheNotRestoredReasonInjectedJavascript ...
constant BackForwardCacheNotRestoredReasonInjectedStyleSheet (line 1117) | BackForwardCacheNotRestoredReasonInjectedStyleSheet ...
constant BackForwardCacheNotRestoredReasonKeepaliveRequest (line 1118) | BackForwardCacheNotRestoredReasonKeepaliveRequest ...
constant BackForwardCacheNotRestoredReasonIndexedDBEvent (line 1119) | BackForwardCacheNotRestoredReasonIndexedDBEvent ...
constant BackForwardCacheNotRestoredReasonDummy (line 1120) | BackForwardCacheNotRestoredReasonDummy ...
constant BackForwardCacheNotRestoredReasonJsNetworkRequestReceivedCacheControlNoStoreResource (line 1121) | BackForwardCacheNotRestoredReasonJsNetworkRequestReceivedCacheControlNoS...
constant BackForwardCacheNotRestoredReasonWebRTCSticky (line 1122) | BackForwardCacheNotRestoredReasonWebRTCSticky ...
constant BackForwardCacheNotRestoredReasonWebTransportSticky (line 1123) | BackForwardCacheNotRestoredReasonWebTransportSticky ...
constant BackForwardCacheNotRestoredReasonWebSocketSticky (line 1124) | BackForwardCacheNotRestoredReasonWebSocketSticky ...
constant BackForwardCacheNotRestoredReasonSmartCard (line 1125) | BackForwardCacheNotRestoredReasonSmartCard ...
constant BackForwardCacheNotRestoredReasonLiveMediaStreamTrack (line 1126) | BackForwardCacheNotRestoredReasonLiveMediaStreamTrack ...
constant BackForwardCacheNotRestoredReasonUnloadHandler (line 1127) | BackForwardCacheNotRestoredReasonUnloadHandler ...
constant BackForwardCacheNotRestoredReasonParserAborted (line 1128) | BackForwardCacheNotRestoredReasonParserAborted ...
constant BackForwardCacheNotRestoredReasonContentSecurityHandler (line 1129) | BackForwardCacheNotRestoredReasonContentSecurityHandler ...
constant BackForwardCacheNotRestoredReasonContentWebAuthenticationAPI (line 1130) | BackForwardCacheNotRestoredReasonContentWebAuthenticationAPI ...
constant BackForwardCacheNotRestoredReasonContentFileChooser (line 1131) | BackForwardCacheNotRestoredReasonContentFileChooser ...
constant BackForwardCacheNotRestoredReasonContentSerial (line 1132) | BackForwardCacheNotRestoredReasonContentSerial ...
constant BackForwardCacheNotRestoredReasonContentFileSystemAccess (line 1133) | BackForwardCacheNotRestoredReasonContentFileSystemAccess ...
constant BackForwardCacheNotRestoredReasonContentMediaDevicesDispatcherHost (line 1134) | BackForwardCacheNotRestoredReasonContentMediaDevicesDispatcherHost ...
constant BackForwardCacheNotRestoredReasonContentWebBluetooth (line 1135) | BackForwardCacheNotRestoredReasonContentWebBluetooth ...
constant BackForwardCacheNotRestoredReasonContentWebUSB (line 1136) | BackForwardCacheNotRestoredReasonContentWebUSB ...
constant BackForwardCacheNotRestoredReasonContentMediaSessionService (line 1137) | BackForwardCacheNotRestoredReasonContentMediaSessionService ...
constant BackForwardCacheNotRestoredReasonContentScreenReader (line 1138) | BackForwardCacheNotRestoredReasonContentScreenReader ...
constant BackForwardCacheNotRestoredReasonContentDiscarded (line 1139) | BackForwardCacheNotRestoredReasonContentDiscarded ...
constant BackForwardCacheNotRestoredReasonEmbedderPopupBlockerTabHelper (line 1140) | BackForwardCacheNotRestoredReasonEmbedderPopupBlockerTabHelper ...
constant BackForwardCacheNotRestoredReasonEmbedderSafeBrowsingTriggeredPopupBlocker (line 1141) | BackForwardCacheNotRestoredReasonEmbedderSafeBrowsingTriggeredPopupBlock...
constant BackForwardCacheNotRestoredReasonEmbedderSafeBrowsingThreatDetails (line 1142) | BackForwardCacheNotRestoredReasonEmbedderSafeBrowsingThreatDetails ...
constant BackForwardCacheNotRestoredReasonEmbedderAppBannerManager (line 1143) | BackForwardCacheNotRestoredReasonEmbedderAppBannerManager ...
constant BackForwardCacheNotRestoredReasonEmbedderDomDistillerViewerSource (line 1144) | BackForwardCacheNotRestoredReasonEmbedderDomDistillerViewerSource ...
constant BackForwardCacheNotRestoredReasonEmbedderDomDistillerSelfDeletingRequestDelegate (line 1145) | BackForwardCacheNotRestoredReasonEmbedderDomDistillerSelfDeletingRequest...
constant BackForwardCacheNotRestoredReasonEmbedderOomInterventionTabHelper (line 1146) | BackForwardCacheNotRestoredReasonEmbedderOomInterventionTabHelper ...
constant BackForwardCacheNotRestoredReasonEmbedderOfflinePage (line 1147) | BackForwardCacheNotRestoredReasonEmbedderOfflinePage ...
constant BackForwardCacheNotRestoredReasonEmbedderChromePasswordManagerClientBindCredentialManager (line 1148) | BackForwardCacheNotRestoredReasonEmbedderChromePasswordManagerClientBind...
constant BackForwardCacheNotRestoredReasonEmbedderPermissionRequestManager (line 1149) | BackForwardCacheNotRestoredReasonEmbedderPermissionRequestManager ...
constant BackForwardCacheNotRestoredReasonEmbedderModalDialog (line 1150) | BackForwardCacheNotRestoredReasonEmbedderModalDialog ...
constant BackForwardCacheNotRestoredReasonEmbedderExtensions (line 1151) | BackForwardCacheNotRestoredReasonEmbedderExtensions ...
constant BackForwardCacheNotRestoredReasonEmbedderExtensionMessaging (line 1152) | BackForwardCacheNotRestoredReasonEmbedderExtensionMessaging ...
constant BackForwardCacheNotRestoredReasonEmbedderExtensionMessagingForOpenPort (line 1153) | BackForwardCacheNotRestoredReasonEmbedderExtensionMessagingForOpenPort ...
constant BackForwardCacheNotRestoredReasonEmbedderExtensionSentMessageToCachedFrame (line 1154) | BackForwardCacheNotRestoredReasonEmbedderExtensionSentMessageToCachedFra...
constant BackForwardCacheNotRestoredReasonRequestedByWebViewClient (line 1155) | BackForwardCacheNotRestoredReasonRequestedByWebViewClient ...
constant BackForwardCacheNotRestoredReasonPostMessageByWebViewClient (line 1156) | BackForwardCacheNotRestoredReasonPostMessageByWebViewClient ...
constant BackForwardCacheNotRestoredReasonCacheControlNoStoreDeviceBoundSessionTerminated (line 1157) | BackForwardCacheNotRestoredReasonCacheControlNoStoreDeviceBoundSessionTe...
constant BackForwardCacheNotRestoredReasonCacheLimitPrunedOnModerateMemoryPressure (line 1158) | BackForwardCacheNotRestoredReasonCacheLimitPrunedOnModerateMemoryPressur...
constant BackForwardCacheNotRestoredReasonCacheLimitPrunedOnCriticalMemoryPressure (line 1159) | BackForwardCacheNotRestoredReasonCacheLimitPrunedOnCriticalMemoryPressur...
type BackForwardCacheNotRestoredReasonType (line 1464) | type BackForwardCacheNotRestoredReasonType
method String (line 1467) | func (t BackForwardCacheNotRestoredReasonType) String() string {
method UnmarshalJSON (line 1479) | func (t *BackForwardCacheNotRestoredReasonType) UnmarshalJSON(buf []by...
constant BackForwardCacheNotRestoredReasonTypeSupportPending (line 1473) | BackForwardCacheNotRestoredReasonTypeSupportPending BackForwardCacheN...
constant BackForwardCacheNotRestoredReasonTypePageSupportNeeded (line 1474) | BackForwardCacheNotRestoredReasonTypePageSupportNeeded BackForwardCacheN...
constant BackForwardCacheNotRestoredReasonTypeCircumstantial (line 1475) | BackForwardCacheNotRestoredReasonTypeCircumstantial BackForwardCacheN...
type BackForwardCacheBlockingDetails (line 1499) | type BackForwardCacheBlockingDetails struct
type BackForwardCacheNotRestoredExplanation (line 1509) | type BackForwardCacheNotRestoredExplanation struct
type BackForwardCacheNotRestoredExplanationTree (line 1519) | type BackForwardCacheNotRestoredExplanationTree struct
type FileChooserOpenedMode (line 1528) | type FileChooserOpenedMode
method String (line 1531) | func (t FileChooserOpenedMode) String() string {
method UnmarshalJSON (line 1542) | func (t *FileChooserOpenedMode) UnmarshalJSON(buf []byte) error {
constant FileChooserOpenedModeSelectSingle (line 1537) | FileChooserOpenedModeSelectSingle FileChooserOpenedMode = "selectSingle"
constant FileChooserOpenedModeSelectMultiple (line 1538) | FileChooserOpenedModeSelectMultiple FileChooserOpenedMode = "selectMulti...
type FrameDetachedReason (line 1560) | type FrameDetachedReason
method String (line 1563) | func (t FrameDetachedReason) String() string {
method UnmarshalJSON (line 1574) | func (t *FrameDetachedReason) UnmarshalJSON(buf []byte) error {
constant FrameDetachedReasonRemove (line 1569) | FrameDetachedReasonRemove FrameDetachedReason = "remove"
constant FrameDetachedReasonSwap (line 1570) | FrameDetachedReasonSwap FrameDetachedReason = "swap"
type FrameStartedNavigatingNavigationType (line 1592) | type FrameStartedNavigatingNavigationType
method String (line 1595) | func (t FrameStartedNavigatingNavigationType) String() string {
method UnmarshalJSON (line 1612) | func (t *FrameStartedNavigatingNavigationType) UnmarshalJSON(buf []byt...
constant FrameStartedNavigatingNavigationTypeReload (line 1601) | FrameStartedNavigatingNavigationTypeReload FrameStarte...
constant FrameStartedNavigatingNavigationTypeReloadBypassingCache (line 1602) | FrameStartedNavigatingNavigationTypeReloadBypassingCache FrameStarte...
constant FrameStartedNavigatingNavigationTypeRestore (line 1603) | FrameStartedNavigatingNavigationTypeRestore FrameStarte...
constant FrameStartedNavigatingNavigationTypeRestoreWithPost (line 1604) | FrameStartedNavigatingNavigationTypeRestoreWithPost FrameStarte...
constant FrameStartedNavigatingNavigationTypeHistorySameDocument (line 1605) | FrameStartedNavigatingNavigationTypeHistorySameDocument FrameStarte...
constant FrameStartedNavigatingNavigationTypeHistoryDifferentDocument (line 1606) | FrameStartedNavigatingNavigationTypeHistoryDifferentDocument FrameStarte...
constant FrameStartedNavigatingNavigationTypeSameDocument (line 1607) | FrameStartedNavigatingNavigationTypeSameDocument FrameStarte...
constant FrameStartedNavigatingNavigationTypeDifferentDocument (line 1608) | FrameStartedNavigatingNavigationTypeDifferentDocument FrameStarte...
type NavigatedWithinDocumentNavigationType (line 1642) | type NavigatedWithinDocumentNavigationType
method String (line 1645) | func (t NavigatedWithinDocumentNavigationType) String() string {
method UnmarshalJSON (line 1657) | func (t *NavigatedWithinDocumentNavigationType) UnmarshalJSON(buf []by...
constant NavigatedWithinDocumentNavigationTypeFragment (line 1651) | NavigatedWithinDocumentNavigationTypeFragment NavigatedWithinDocumentN...
constant NavigatedWithinDocumentNavigationTypeHistoryAPI (line 1652) | NavigatedWithinDocumentNavigationTypeHistoryAPI NavigatedWithinDocumentN...
constant NavigatedWithinDocumentNavigationTypeOther (line 1653) | NavigatedWithinDocumentNavigationTypeOther NavigatedWithinDocumentN...
type CaptureScreenshotFormat (line 1677) | type CaptureScreenshotFormat
method String (line 1680) | func (t CaptureScreenshotFormat) String() string {
method UnmarshalJSON (line 1692) | func (t *CaptureScreenshotFormat) UnmarshalJSON(buf []byte) error {
constant CaptureScreenshotFormatJpeg (line 1686) | CaptureScreenshotFormatJpeg CaptureScreenshotFormat = "jpeg"
constant CaptureScreenshotFormatPng (line 1687) | CaptureScreenshotFormatPng CaptureScreenshotFormat = "png"
constant CaptureScreenshotFormatWebp (line 1688) | CaptureScreenshotFormatWebp CaptureScreenshotFormat = "webp"
type CaptureSnapshotFormat (line 1712) | type CaptureSnapshotFormat
method String (line 1715) | func (t CaptureSnapshotFormat) String() string {
method UnmarshalJSON (line 1725) | func (t *CaptureSnapshotFormat) UnmarshalJSON(buf []byte) error {
constant CaptureSnapshotFormatMhtml (line 1721) | CaptureSnapshotFormatMhtml CaptureSnapshotFormat = "mhtml"
type PrintToPDFTransferMode (line 1741) | type PrintToPDFTransferMode
method String (line 1744) | func (t PrintToPDFTransferMode) String() string {
method UnmarshalJSON (line 1755) | func (t *PrintToPDFTransferMode) UnmarshalJSON(buf []byte) error {
constant PrintToPDFTransferModeReturnAsBase64 (line 1750) | PrintToPDFTransferModeReturnAsBase64 PrintToPDFTransferMode = "ReturnAsB...
constant PrintToPDFTransferModeReturnAsStream (line 1751) | PrintToPDFTransferModeReturnAsStream PrintToPDFTransferMode = "ReturnAsS...
type ScreencastFormat (line 1773) | type ScreencastFormat
method String (line 1776) | func (t ScreencastFormat) String() string {
method UnmarshalJSON (line 1787) | func (t *ScreencastFormat) UnmarshalJSON(buf []byte) error {
constant ScreencastFormatJpeg (line 1782) | ScreencastFormatJpeg ScreencastFormat = "jpeg"
constant ScreencastFormatPng (line 1783) | ScreencastFormatPng ScreencastFormat = "png"
type SetWebLifecycleStateState (line 1805) | type SetWebLifecycleStateState
method String (line 1808) | func (t SetWebLifecycleStateState) String() string {
method UnmarshalJSON (line 1819) | func (t *SetWebLifecycleStateState) UnmarshalJSON(buf []byte) error {
constant SetWebLifecycleStateStateFrozen (line 1814) | SetWebLifecycleStateStateFrozen SetWebLifecycleStateState = "frozen"
constant SetWebLifecycleStateStateActive (line 1815) | SetWebLifecycleStateStateActive SetWebLifecycleStateState = "active"
type SetSPCTransactionModeMode (line 1837) | type SetSPCTransactionModeMode
method String (line 1840) | func (t SetSPCTransactionModeMode) String() string {
method UnmarshalJSON (line 1854) | func (t *SetSPCTransactionModeMode) UnmarshalJSON(buf []byte) error {
constant SetSPCTransactionModeModeNone (line 1846) | SetSPCTransactionModeModeNone SetSPCTransactionMod...
constant SetSPCTransactionModeModeAutoAccept (line 1847) | SetSPCTransactionModeModeAutoAccept SetSPCTransactionMod...
constant SetSPCTransactionModeModeAutoChooseToAuthAnotherWay (line 1848) | SetSPCTransactionModeModeAutoChooseToAuthAnotherWay SetSPCTransactionMod...
constant SetSPCTransactionModeModeAutoReject (line 1849) | SetSPCTransactionModeModeAutoReject SetSPCTransactionMod...
constant SetSPCTransactionModeModeAutoOptOut (line 1850) | SetSPCTransactionModeModeAutoOptOut SetSPCTransactionMod...
type SetRPHRegistrationModeMode (line 1878) | type SetRPHRegistrationModeMode
method String (line 1881) | func (t SetRPHRegistrationModeMode) String() string {
method UnmarshalJSON (line 1893) | func (t *SetRPHRegistrationModeMode) UnmarshalJSON(buf []byte) error {
constant SetRPHRegistrationModeModeNone (line 1887) | SetRPHRegistrationModeModeNone SetRPHRegistrationModeMode = "none"
constant SetRPHRegistrationModeModeAutoAccept (line 1888) | SetRPHRegistrationModeModeAutoAccept SetRPHRegistrationModeMode = "autoA...
constant SetRPHRegistrationModeModeAutoReject (line 1889) | SetRPHRegistrationModeModeAutoReject SetRPHRegistrationModeMode = "autoR...
FILE: vendor/github.com/chromedp/cdproto/performance/events.go
type EventMetrics (line 8) | type EventMetrics struct
FILE: vendor/github.com/chromedp/cdproto/performance/performance.go
type DisableParams (line 16) | type DisableParams struct
method Do (line 26) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 21) | func Disable() *DisableParams {
type EnableParams (line 31) | type EnableParams struct
method WithTimeDomain (line 46) | func (p EnableParams) WithTimeDomain(timeDomain EnableTimeDomain) *Ena...
method Do (line 52) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 40) | func Enable() *EnableParams {
type GetMetricsParams (line 57) | type GetMetricsParams struct
method Do (line 76) | func (p *GetMetricsParams) Do(ctx context.Context) (metrics []*Metric,...
function GetMetrics (line 62) | func GetMetrics() *GetMetricsParams {
type GetMetricsReturns (line 67) | type GetMetricsReturns struct
constant CommandDisable (line 89) | CommandDisable = "Performance.disable"
constant CommandEnable (line 90) | CommandEnable = "Performance.enable"
constant CommandGetMetrics (line 91) | CommandGetMetrics = "Performance.getMetrics"
FILE: vendor/github.com/chromedp/cdproto/performance/types.go
type Metric (line 13) | type Metric struct
type EnableTimeDomain (line 22) | type EnableTimeDomain
method String (line 25) | func (t EnableTimeDomain) String() string {
method UnmarshalJSON (line 36) | func (t *EnableTimeDomain) UnmarshalJSON(buf []byte) error {
constant EnableTimeDomainTimeTicks (line 31) | EnableTimeDomainTimeTicks EnableTimeDomain = "timeTicks"
constant EnableTimeDomainThreadTicks (line 32) | EnableTimeDomainThreadTicks EnableTimeDomain = "threadTicks"
FILE: vendor/github.com/chromedp/cdproto/performancetimeline/events.go
type EventTimelineEventAdded (line 9) | type EventTimelineEventAdded struct
FILE: vendor/github.com/chromedp/cdproto/performancetimeline/performancetimeline.go
type EnableParams (line 20) | type EnableParams struct
method Do (line 39) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 32) | func Enable(eventTypes []string) *EnableParams {
constant CommandEnable (line 45) | CommandEnable = "PerformanceTimeline.enable"
FILE: vendor/github.com/chromedp/cdproto/performancetimeline/types.go
type LargestContentfulPaint (line 14) | type LargestContentfulPaint struct
type LayoutShiftAttribution (line 26) | type LayoutShiftAttribution struct
type LayoutShift (line 37) | type LayoutShift struct
type TimelineEvent (line 47) | type TimelineEvent struct
FILE: vendor/github.com/chromedp/cdproto/preload/events.go
type EventRuleSetUpdated (line 14) | type EventRuleSetUpdated struct
type EventRuleSetRemoved (line 21) | type EventRuleSetRemoved struct
type EventPreloadEnabledStateUpdated (line 29) | type EventPreloadEnabledStateUpdated struct
type EventPrefetchStatusUpdated (line 40) | type EventPrefetchStatusUpdated struct
type EventPrerenderStatusUpdated (line 53) | type EventPrerenderStatusUpdated struct
type EventPreloadingAttemptSourcesUpdated (line 66) | type EventPreloadingAttemptSourcesUpdated struct
FILE: vendor/github.com/chromedp/cdproto/preload/preload.go
type EnableParams (line 16) | type EnableParams struct
method Do (line 26) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 21) | func Enable() *EnableParams {
type DisableParams (line 31) | type DisableParams struct
method Do (line 41) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 36) | func Disable() *DisableParams {
constant CommandEnable (line 47) | CommandEnable = "Preload.enable"
constant CommandDisable (line 48) | CommandDisable = "Preload.disable"
FILE: vendor/github.com/chromedp/cdproto/preload/types.go
type RuleSetID (line 16) | type RuleSetID
method String (line 19) | func (t RuleSetID) String() string {
type RuleSet (line 26) | type RuleSet struct
type RuleSetErrorType (line 39) | type RuleSetErrorType
method String (line 42) | func (t RuleSetErrorType) String() string {
method UnmarshalJSON (line 54) | func (t *RuleSetErrorType) UnmarshalJSON(buf []byte) error {
constant RuleSetErrorTypeSourceIsNotJSONObject (line 48) | RuleSetErrorTypeSourceIsNotJSONObject RuleSetErrorType = "SourceIsNotJs...
constant RuleSetErrorTypeInvalidRulesSkipped (line 49) | RuleSetErrorTypeInvalidRulesSkipped RuleSetErrorType = "InvalidRulesS...
constant RuleSetErrorTypeInvalidRulesetLevelTag (line 50) | RuleSetErrorTypeInvalidRulesetLevelTag RuleSetErrorType = "InvalidRulese...
type SpeculationAction (line 76) | type SpeculationAction
method String (line 79) | func (t SpeculationAction) String() string {
method UnmarshalJSON (line 90) | func (t *SpeculationAction) UnmarshalJSON(buf []byte) error {
constant SpeculationActionPrefetch (line 85) | SpeculationActionPrefetch SpeculationAction = "Prefetch"
constant SpeculationActionPrerender (line 86) | SpeculationActionPrerender SpeculationAction = "Prerender"
type SpeculationTargetHint (line 109) | type SpeculationTargetHint
method String (line 112) | func (t SpeculationTargetHint) String() string {
method UnmarshalJSON (line 123) | func (t *SpeculationTargetHint) UnmarshalJSON(buf []byte) error {
constant SpeculationTargetHintBlank (line 118) | SpeculationTargetHintBlank SpeculationTargetHint = "Blank"
constant SpeculationTargetHintSelf (line 119) | SpeculationTargetHintSelf SpeculationTargetHint = "Self"
type IngAttemptKey (line 145) | type IngAttemptKey struct
type IngAttemptSource (line 159) | type IngAttemptSource struct
type PipelineID (line 172) | type PipelineID
method String (line 175) | func (t PipelineID) String() string {
type PrerenderFinalStatus (line 182) | type PrerenderFinalStatus
method String (line 185) | func (t PrerenderFinalStatus) String() string {
method UnmarshalJSON (line 268) | func (t *PrerenderFinalStatus) UnmarshalJSON(buf []byte) error {
constant PrerenderFinalStatusActivated (line 191) | PrerenderFinalStatusActivated ...
constant PrerenderFinalStatusDestroyed (line 192) | PrerenderFinalStatusDestroyed ...
constant PrerenderFinalStatusLowEndDevice (line 193) | PrerenderFinalStatusLowEndDevice ...
constant PrerenderFinalStatusInvalidSchemeRedirect (line 194) | PrerenderFinalStatusInvalidSchemeRedirect ...
constant PrerenderFinalStatusInvalidSchemeNavigation (line 195) | PrerenderFinalStatusInvalidSchemeNavigation ...
constant PrerenderFinalStatusNavigationRequestBlockedByCsp (line 196) | PrerenderFinalStatusNavigationRequestBlockedByCsp ...
constant PrerenderFinalStatusMojoBinderPolicy (line 197) | PrerenderFinalStatusMojoBinderPolicy ...
constant PrerenderFinalStatusRendererProcessCrashed (line 198) | PrerenderFinalStatusRendererProcessCrashed ...
constant PrerenderFinalStatusRendererProcessKilled (line 199) | PrerenderFinalStatusRendererProcessKilled ...
constant PrerenderFinalStatusDownload (line 200) | PrerenderFinalStatusDownload ...
constant PrerenderFinalStatusTriggerDestroyed (line 201) | PrerenderFinalStatusTriggerDestroyed ...
constant PrerenderFinalStatusNavigationNotCommitted (line 202) | PrerenderFinalStatusNavigationNotCommitted ...
constant PrerenderFinalStatusNavigationBadHTTPStatus (line 203) | PrerenderFinalStatusNavigationBadHTTPStatus ...
constant PrerenderFinalStatusClientCertRequested (line 204) | PrerenderFinalStatusClientCertRequested ...
constant PrerenderFinalStatusNavigationRequestNetworkError (line 205) | PrerenderFinalStatusNavigationRequestNetworkError ...
constant PrerenderFinalStatusCancelAllHostsForTesting (line 206) | PrerenderFinalStatusCancelAllHostsForTesting ...
constant PrerenderFinalStatusDidFailLoad (line 207) | PrerenderFinalStatusDidFailLoad ...
constant PrerenderFinalStatusStop (line 208) | PrerenderFinalStatusStop ...
constant PrerenderFinalStatusSslCertificateError (line 209) | PrerenderFinalStatusSslCertificateError ...
constant PrerenderFinalStatusLoginAuthRequested (line 210) | PrerenderFinalStatusLoginAuthRequested ...
constant PrerenderFinalStatusUaChangeRequiresReload (line 211) | PrerenderFinalStatusUaChangeRequiresReload ...
constant PrerenderFinalStatusBlockedByClient (line 212) | PrerenderFinalStatusBlockedByClient ...
constant PrerenderFinalStatusAudioOutputDeviceRequested (line 213) | PrerenderFinalStatusAudioOutputDeviceRequested ...
constant PrerenderFinalStatusMixedContent (line 214) | PrerenderFinalStatusMixedContent ...
constant PrerenderFinalStatusTriggerBackgrounded (line 215) | PrerenderFinalStatusTriggerBackgrounded ...
constant PrerenderFinalStatusMemoryLimitExceeded (line 216) | PrerenderFinalStatusMemoryLimitExceeded ...
constant PrerenderFinalStatusDataSaverEnabled (line 217) | PrerenderFinalStatusDataSaverEnabled ...
constant PrerenderFinalStatusTriggerURLHasEffectiveURL (line 218) | PrerenderFinalStatusTriggerURLHasEffectiveURL ...
constant PrerenderFinalStatusActivatedBeforeStarted (line 219) | PrerenderFinalStatusActivatedBeforeStarted ...
constant PrerenderFinalStatusInactivePageRestriction (line 220) | PrerenderFinalStatusInactivePageRestriction ...
constant PrerenderFinalStatusStartFailed (line 221) | PrerenderFinalStatusStartFailed ...
constant PrerenderFinalStatusTimeoutBackgrounded (line 222) | PrerenderFinalStatusTimeoutBackgrounded ...
constant PrerenderFinalStatusCrossSiteRedirectInInitialNavigation (line 223) | PrerenderFinalStatusCrossSiteRedirectInInitialNavigation ...
constant PrerenderFinalStatusCrossSiteNavigationInInitialNavigation (line 224) | PrerenderFinalStatusCrossSiteNavigationInInitialNavigation ...
constant PrerenderFinalStatusSameSiteCrossOriginRedirectNotOptInInInitialNavigation (line 225) | PrerenderFinalStatusSameSiteCrossOriginRedirectNotOptInInInitialNavigati...
constant PrerenderFinalStatusSameSiteCrossOriginNavigationNotOptInInInitialNavigation (line 226) | PrerenderFinalStatusSameSiteCrossOriginNavigationNotOptInInInitialNaviga...
constant PrerenderFinalStatusActivationNavigationParameterMismatch (line 227) | PrerenderFinalStatusActivationNavigationParameterMismatch ...
constant PrerenderFinalStatusActivatedInBackground (line 228) | PrerenderFinalStatusActivatedInBackground ...
constant PrerenderFinalStatusEmbedderHostDisallowed (line 229) | PrerenderFinalStatusEmbedderHostDisallowed ...
constant PrerenderFinalStatusActivationNavigationDestroyedBeforeSuccess (line 230) | PrerenderFinalStatusActivationNavigationDestroyedBeforeSuccess ...
constant PrerenderFinalStatusTabClosedByUserGesture (line 231) | PrerenderFinalStatusTabClosedByUserGesture ...
constant PrerenderFinalStatusTabClosedWithoutUserGesture (line 232) | PrerenderFinalStatusTabClosedWithoutUserGesture ...
constant PrerenderFinalStatusPrimaryMainFrameRendererProcessCrashed (line 233) | PrerenderFinalStatusPrimaryMainFrameRendererProcessCrashed ...
constant PrerenderFinalStatusPrimaryMainFrameRendererProcessKilled (line 234) | PrerenderFinalStatusPrimaryMainFrameRendererProcessKilled ...
constant PrerenderFinalStatusActivationFramePolicyNotCompatible (line 235) | PrerenderFinalStatusActivationFramePolicyNotCompatible ...
constant PrerenderFinalStatusPreloadingDisabled (line 236) | PrerenderFinalStatusPreloadingDisabled ...
constant PrerenderFinalStatusBatterySaverEnabled (line 237) | PrerenderFinalStatusBatterySaverEnabled ...
constant PrerenderFinalStatusActivatedDuringMainFrameNavigation (line 238) | PrerenderFinalStatusActivatedDuringMainFrameNavigation ...
constant PrerenderFinalStatusPreloadingUnsupportedByWebContents (line 239) | PrerenderFinalStatusPreloadingUnsupportedByWebContents ...
constant PrerenderFinalStatusCrossSiteRedirectInMainFrameNavigation (line 240) | PrerenderFinalStatusCrossSiteRedirectInMainFrameNavigation ...
constant PrerenderFinalStatusCrossSiteNavigationInMainFrameNavigation (line 241) | PrerenderFinalStatusCrossSiteNavigationInMainFrameNavigation ...
constant PrerenderFinalStatusSameSiteCrossOriginRedirectNotOptInInMainFrameNavigation (line 242) | PrerenderFinalStatusSameSiteCrossOriginRedirectNotOptInInMainFrameNaviga...
constant PrerenderFinalStatusSameSiteCrossOriginNavigationNotOptInInMainFrameNavigation (line 243) | PrerenderFinalStatusSameSiteCrossOriginNavigationNotOptInInMainFrameNavi...
constant PrerenderFinalStatusMemoryPressureOnTrigger (line 244) | PrerenderFinalStatusMemoryPressureOnTrigger ...
constant PrerenderFinalStatusMemoryPressureAfterTriggered (line 245) | PrerenderFinalStatusMemoryPressureAfterTriggered ...
constant PrerenderFinalStatusPrerenderingDisabledByDevTools (line 246) | PrerenderFinalStatusPrerenderingDisabledByDevTools ...
constant PrerenderFinalStatusSpeculationRuleRemoved (line 247) | PrerenderFinalStatusSpeculationRuleRemoved ...
constant PrerenderFinalStatusActivatedWithAuxiliaryBrowsingContexts (line 248) | PrerenderFinalStatusActivatedWithAuxiliaryBrowsingContexts ...
constant PrerenderFinalStatusMaxNumOfRunningEagerPrerendersExceeded (line 249) | PrerenderFinalStatusMaxNumOfRunningEagerPrerendersExceeded ...
constant PrerenderFinalStatusMaxNumOfRunningNonEagerPrerendersExceeded (line 250) | PrerenderFinalStatusMaxNumOfRunningNonEagerPrerendersExceeded ...
constant PrerenderFinalStatusMaxNumOfRunningEmbedderPrerendersExceeded (line 251) | PrerenderFinalStatusMaxNumOfRunningEmbedderPrerendersExceeded ...
constant PrerenderFinalStatusPrerenderingURLHasEffectiveURL (line 252) | PrerenderFinalStatusPrerenderingURLHasEffectiveURL ...
constant PrerenderFinalStatusRedirectedPrerenderingURLHasEffectiveURL (line 253) | PrerenderFinalStatusRedirectedPrerenderingURLHasEffectiveURL ...
constant PrerenderFinalStatusActivationURLHasEffectiveURL (line 254) | PrerenderFinalStatusActivationURLHasEffectiveURL ...
constant PrerenderFinalStatusJavaScriptInterfaceAdded (line 255) | PrerenderFinalStatusJavaScriptInterfaceAdded ...
constant PrerenderFinalStatusJavaScriptInterfaceRemoved (line 256) | PrerenderFinalStatusJavaScriptInterfaceRemoved ...
constant PrerenderFinalStatusAllPrerenderingCanceled (line 257) | PrerenderFinalStatusAllPrerenderingCanceled ...
constant PrerenderFinalStatusWindowClosed (line 258) | PrerenderFinalStatusWindowClosed ...
constant PrerenderFinalStatusSlowNetwork (line 259) | PrerenderFinalStatusSlowNetwork ...
constant PrerenderFinalStatusOtherPrerenderedPageActivated (line 260) | PrerenderFinalStatusOtherPrerenderedPageActivated ...
constant PrerenderFinalStatusV8optimizerDisabled (line 261) | PrerenderFinalStatusV8optimizerDisabled ...
constant PrerenderFinalStatusPrerenderFailedDuringPrefetch (line 262) | PrerenderFinalStatusPrerenderFailedDuringPrefetch ...
constant PrerenderFinalStatusBrowsingDataRemoved (line 263) | PrerenderFinalStatusBrowsingDataRemoved ...
constant PrerenderFinalStatusPrerenderHostReused (line 264) | PrerenderFinalStatusPrerenderHostReused ...
type IngStatus (line 431) | type IngStatus
method String (line 434) | func (t IngStatus) String() string {
method UnmarshalJSON (line 449) | func (t *IngStatus) UnmarshalJSON(buf []byte) error {
constant IngStatusPending (line 440) | IngStatusPending IngStatus = "Pending"
constant IngStatusRunning (line 441) | IngStatusRunning IngStatus = "Running"
constant IngStatusReady (line 442) | IngStatusReady IngStatus = "Ready"
constant IngStatusSuccess (line 443) | IngStatusSuccess IngStatus = "Success"
constant IngStatusFailure (line 444) | IngStatusFailure IngStatus = "Failure"
constant IngStatusNotSupported (line 445) | IngStatusNotSupported IngStatus = "NotSupported"
type PrefetchStatus (line 477) | type PrefetchStatus
method String (line 480) | func (t PrefetchStatus) String() string {
method UnmarshalJSON (line 523) | func (t *PrefetchStatus) UnmarshalJSON(buf []byte) error {
constant PrefetchStatusPrefetchAllowed (line 486) | PrefetchStatusPrefetchAllowed ...
constant PrefetchStatusPrefetchFailedIneligibleRedirect (line 487) | PrefetchStatusPrefetchFailedIneligibleRedirect ...
constant PrefetchStatusPrefetchFailedInvalidRedirect (line 488) | PrefetchStatusPrefetchFailedInvalidRedirect ...
constant PrefetchStatusPrefetchFailedMIMENotSupported (line 489) | PrefetchStatusPrefetchFailedMIMENotSupported ...
constant PrefetchStatusPrefetchFailedNetError (line 490) | PrefetchStatusPrefetchFailedNetError ...
constant PrefetchStatusPrefetchFailedNon2xX (line 491) | PrefetchStatusPrefetchFailedNon2xX ...
constant PrefetchStatusPrefetchEvictedAfterBrowsingDataRemoved (line 492) | PrefetchStatusPrefetchEvictedAfterBrowsingDataRemoved ...
constant PrefetchStatusPrefetchEvictedAfterCandidateRemoved (line 493) | PrefetchStatusPrefetchEvictedAfterCandidateRemoved ...
constant PrefetchStatusPrefetchEvictedForNewerPrefetch (line 494) | PrefetchStatusPrefetchEvictedForNewerPrefetch ...
constant PrefetchStatusPrefetchHeldback (line 495) | PrefetchStatusPrefetchHeldback ...
constant PrefetchStatusPrefetchIneligibleRetryAfter (line 496) | PrefetchStatusPrefetchIneligibleRetryAfter ...
constant PrefetchStatusPrefetchIsPrivacyDecoy (line 497) | PrefetchStatusPrefetchIsPrivacyDecoy ...
constant PrefetchStatusPrefetchIsStale (line 498) | PrefetchStatusPrefetchIsStale ...
constant PrefetchStatusPrefetchNotEligibleBrowserContextOffTheRecord (line 499) | PrefetchStatusPrefetchNotEligibleBrowserContextOffTheRecord ...
constant PrefetchStatusPrefetchNotEligibleDataSaverEnabled (line 500) | PrefetchStatusPrefetchNotEligibleDataSaverEnabled ...
constant PrefetchStatusPrefetchNotEligibleExistingProxy (line 501) | PrefetchStatusPrefetchNotEligibleExistingProxy ...
constant PrefetchStatusPrefetchNotEligibleHostIsNonUnique (line 502) | PrefetchStatusPrefetchNotEligibleHostIsNonUnique ...
constant PrefetchStatusPrefetchNotEligibleNonDefaultStoragePartition (line 503) | PrefetchStatusPrefetchNotEligibleNonDefaultStoragePartition ...
constant PrefetchStatusPrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy (line 504) | PrefetchStatusPrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProx...
constant PrefetchStatusPrefetchNotEligibleSchemeIsNotHTTPS (line 505) | PrefetchStatusPrefetchNotEligibleSchemeIsNotHTTPS ...
constant PrefetchStatusPrefetchNotEligibleUserHasCookies (line 506) | PrefetchStatusPrefetchNotEligibleUserHasCookies ...
constant PrefetchStatusPrefetchNotEligibleUserHasServiceWorker (line 507) | PrefetchStatusPrefetchNotEligibleUserHasServiceWorker ...
constant PrefetchStatusPrefetchNotEligibleUserHasServiceWorkerNoFetchHandler (line 508) | PrefetchStatusPrefetchNotEligibleUserHasServiceWorkerNoFetchHandler ...
constant PrefetchStatusPrefetchNotEligibleRedirectFromServiceWorker (line 509) | PrefetchStatusPrefetchNotEligibleRedirectFromServiceWorker ...
constant PrefetchStatusPrefetchNotEligibleRedirectToServiceWorker (line 510) | PrefetchStatusPrefetchNotEligibleRedirectToServiceWorker ...
constant PrefetchStatusPrefetchNotEligibleBatterySaverEnabled (line 511) | PrefetchStatusPrefetchNotEligibleBatterySaverEnabled ...
constant PrefetchStatusPrefetchNotEligiblePreloadingDisabled (line 512) | PrefetchStatusPrefetchNotEligiblePreloadingDisabled ...
constant PrefetchStatusPrefetchNotFinishedInTime (line 513) | PrefetchStatusPrefetchNotFinishedInTime ...
constant PrefetchStatusPrefetchNotStarted (line 514) | PrefetchStatusPrefetchNotStarted ...
constant PrefetchStatusPrefetchNotUsedCookiesChanged (line 515) | PrefetchStatusPrefetchNotUsedCookiesChanged ...
constant PrefetchStatusPrefetchProxyNotAvailable (line 516) | PrefetchStatusPrefetchProxyNotAvailable ...
constant PrefetchStatusPrefetchResponseUsed (line 517) | PrefetchStatusPrefetchResponseUsed ...
constant PrefetchStatusPrefetchSuccessfulButNotUsed (line 518) | PrefetchStatusPrefetchSuccessfulButNotUsed ...
constant PrefetchStatusPrefetchNotUsedProbeFailed (line 519) | PrefetchStatusPrefetchNotUsedProbeFailed ...
type PrerenderMismatchedHeaders (line 606) | type PrerenderMismatchedHeaders struct
FILE: vendor/github.com/chromedp/cdproto/profiler/events.go
type EventConsoleProfileFinished (line 12) | type EventConsoleProfileFinished struct
type EventConsoleProfileStarted (line 23) | type EventConsoleProfileStarted struct
type EventPreciseCoverageDeltaUpdate (line 36) | type EventPreciseCoverageDeltaUpdate struct
FILE: vendor/github.com/chromedp/cdproto/profiler/profiler.go
type DisableParams (line 16) | type DisableParams struct
method Do (line 26) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 21) | func Disable() *DisableParams {
type EnableParams (line 31) | type EnableParams struct
method Do (line 41) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 36) | func Enable() *EnableParams {
type GetBestEffortCoverageParams (line 47) | type GetBestEffortCoverageParams struct
method Do (line 67) | func (p *GetBestEffortCoverageParams) Do(ctx context.Context) (result ...
function GetBestEffortCoverage (line 53) | func GetBestEffortCoverage() *GetBestEffortCoverageParams {
type GetBestEffortCoverageReturns (line 58) | type GetBestEffortCoverageReturns struct
type SetSamplingIntervalParams (line 80) | type SetSamplingIntervalParams struct
method Do (line 99) | func (p *SetSamplingIntervalParams) Do(ctx context.Context) (err error) {
function SetSamplingInterval (line 92) | func SetSamplingInterval(interval int64) *SetSamplingIntervalParams {
type StartParams (line 104) | type StartParams struct
method Do (line 114) | func (p *StartParams) Do(ctx context.Context) (err error) {
function Start (line 109) | func Start() *StartParams {
type StartPreciseCoverageParams (line 121) | type StartPreciseCoverageParams struct
method WithCallCount (line 144) | func (p StartPreciseCoverageParams) WithCallCount(callCount bool) *Sta...
method WithDetailed (line 150) | func (p StartPreciseCoverageParams) WithDetailed(detailed bool) *Start...
method WithAllowTriggeredUpdates (line 157) | func (p StartPreciseCoverageParams) WithAllowTriggeredUpdates(allowTri...
method Do (line 172) | func (p *StartPreciseCoverageParams) Do(ctx context.Context) (timestam...
function StartPreciseCoverage (line 134) | func StartPreciseCoverage() *StartPreciseCoverageParams {
type StartPreciseCoverageReturns (line 163) | type StartPreciseCoverageReturns struct
type StopParams (line 184) | type StopParams struct
method Do (line 203) | func (p *StopParams) Do(ctx context.Context) (profile *Profile, err er...
function Stop (line 189) | func Stop() *StopParams {
type StopReturns (line 194) | type StopReturns struct
type StopPreciseCoverageParams (line 217) | type StopPreciseCoverageParams struct
method Do (line 228) | func (p *StopPreciseCoverageParams) Do(ctx context.Context) (err error) {
function StopPreciseCoverage (line 223) | func StopPreciseCoverage() *StopPreciseCoverageParams {
type TakePreciseCoverageParams (line 234) | type TakePreciseCoverageParams struct
method Do (line 256) | func (p *TakePreciseCoverageParams) Do(ctx context.Context) (result []...
function TakePreciseCoverage (line 240) | func TakePreciseCoverage() *TakePreciseCoverageParams {
type TakePreciseCoverageReturns (line 245) | type TakePreciseCoverageReturns struct
constant CommandDisable (line 269) | CommandDisable = "Profiler.disable"
constant CommandEnable (line 270) | CommandEnable = "Profiler.enable"
constant CommandGetBestEffortCoverage (line 271) | CommandGetBestEffortCoverage = "Profiler.getBestEffortCoverage"
constant CommandSetSamplingInterval (line 272) | CommandSetSamplingInterval = "Profiler.setSamplingInterval"
constant CommandStart (line 273) | CommandStart = "Profiler.start"
constant CommandStartPreciseCoverage (line 274) | CommandStartPreciseCoverage = "Profiler.startPreciseCoverage"
constant CommandStop (line 275) | CommandStop = "Profiler.stop"
constant CommandStopPreciseCoverage (line 276) | CommandStopPreciseCoverage = "Profiler.stopPreciseCoverage"
constant CommandTakePreciseCoverage (line 277) | CommandTakePreciseCoverage = "Profiler.takePreciseCoverage"
FILE: vendor/github.com/chromedp/cdproto/profiler/types.go
type ProfileNode (line 13) | type ProfileNode struct
type Profile (line 25) | type Profile struct
type PositionTickInfo (line 37) | type PositionTickInfo struct
type CoverageRange (line 45) | type CoverageRange struct
type FunctionCoverage (line 54) | type FunctionCoverage struct
type ScriptCoverage (line 63) | type ScriptCoverage struct
FILE: vendor/github.com/chromedp/cdproto/pwa/pwa.go
type GetOsAppStateParams (line 20) | type GetOsAppStateParams struct
method Do (line 49) | func (p *GetOsAppStateParams) Do(ctx context.Context) (badgeCount int6...
function GetOsAppState (line 31) | func GetOsAppState(manifestID string) *GetOsAppStateParams {
type GetOsAppStateReturns (line 38) | type GetOsAppStateReturns struct
type InstallParams (line 74) | type InstallParams struct
method WithInstallURLOrBundleURL (line 107) | func (p InstallParams) WithInstallURLOrBundleURL(installURLOrBundleURL...
method Do (line 113) | func (p *InstallParams) Do(ctx context.Context) (err error) {
function Install (line 99) | func Install(manifestID string) *InstallParams {
type UninstallParams (line 119) | type UninstallParams struct
method Do (line 138) | func (p *UninstallParams) Do(ctx context.Context) (err error) {
function Uninstall (line 131) | func Uninstall(manifestID string) *UninstallParams {
type LaunchParams (line 146) | type LaunchParams struct
method WithURL (line 168) | func (p LaunchParams) WithURL(url string) *LaunchParams {
method Do (line 183) | func (p *LaunchParams) Do(ctx context.Context) (targetID target.ID, er...
function Launch (line 161) | func Launch(manifestID string) *LaunchParams {
type LaunchReturns (line 174) | type LaunchReturns struct
type LaunchFilesInAppParams (line 205) | type LaunchFilesInAppParams struct
method Do (line 245) | func (p *LaunchFilesInAppParams) Do(ctx context.Context) (targetIDs []...
function LaunchFilesInApp (line 228) | func LaunchFilesInApp(manifestID string, files []string) *LaunchFilesInA...
type LaunchFilesInAppReturns (line 236) | type LaunchFilesInAppReturns struct
type OpenCurrentPageInAppParams (line 259) | type OpenCurrentPageInAppParams struct
method Do (line 279) | func (p *OpenCurrentPageInAppParams) Do(ctx context.Context) (err erro...
function OpenCurrentPageInApp (line 272) | func OpenCurrentPageInApp(manifestID string) *OpenCurrentPageInAppParams {
type ChangeAppUserSettingsParams (line 290) | type ChangeAppUserSettingsParams struct
method WithLinkCapturing (line 322) | func (p ChangeAppUserSettingsParams) WithLinkCapturing(linkCapturing b...
method WithDisplayMode (line 328) | func (p ChangeAppUserSettingsParams) WithDisplayMode(displayMode Displ...
method Do (line 334) | func (p *ChangeAppUserSettingsParams) Do(ctx context.Context) (err err...
function ChangeAppUserSettings (line 308) | func ChangeAppUserSettings(manifestID string) *ChangeAppUserSettingsPara...
constant CommandGetOsAppState (line 340) | CommandGetOsAppState = "PWA.getOsAppState"
constant CommandInstall (line 341) | CommandInstall = "PWA.install"
constant CommandUninstall (line 342) | CommandUninstall = "PWA.uninstall"
constant CommandLaunch (line 343) | CommandLaunch = "PWA.launch"
constant CommandLaunchFilesInApp (line 344) | CommandLaunchFilesInApp = "PWA.launchFilesInApp"
constant CommandOpenCurrentPageInApp (line 345) | CommandOpenCurrentPageInApp = "PWA.openCurrentPageInApp"
constant CommandChangeAppUserSettings (line 346) | CommandChangeAppUserSettings = "PWA.changeAppUserSettings"
FILE: vendor/github.com/chromedp/cdproto/pwa/types.go
type FileHandlerAccept (line 14) | type FileHandlerAccept struct
type FileHandler (line 22) | type FileHandler struct
type DisplayMode (line 31) | type DisplayMode
method String (line 34) | func (t DisplayMode) String() string {
method UnmarshalJSON (line 45) | func (t *DisplayMode) UnmarshalJSON(buf []byte) error {
constant DisplayModeStandalone (line 40) | DisplayModeStandalone DisplayMode = "standalone"
constant DisplayModeBrowser (line 41) | DisplayModeBrowser DisplayMode = "browser"
FILE: vendor/github.com/chromedp/cdproto/runtime/events.go
type EventBindingCalled (line 13) | type EventBindingCalled struct
type EventConsoleAPICalled (line 22) | type EventConsoleAPICalled struct
type EventExceptionRevoked (line 34) | type EventExceptionRevoked struct
type EventExceptionThrown (line 42) | type EventExceptionThrown struct
type EventExecutionContextCreated (line 50) | type EventExecutionContextCreated struct
type EventExecutionContextDestroyed (line 57) | type EventExecutionContextDestroyed struct
type EventExecutionContextsCleared (line 66) | type EventExecutionContextsCleared struct
type EventInspectRequested (line 72) | type EventInspectRequested struct
FILE: vendor/github.com/chromedp/cdproto/runtime/runtime.go
type AwaitPromiseParams (line 23) | type AwaitPromiseParams struct
method WithReturnByValue (line 46) | func (p AwaitPromiseParams) WithReturnByValue(returnByValue bool) *Awa...
method WithGeneratePreview (line 52) | func (p AwaitPromiseParams) WithGeneratePreview(generatePreview bool) ...
method Do (line 69) | func (p *AwaitPromiseParams) Do(ctx context.Context) (result *RemoteOb...
function AwaitPromise (line 36) | func AwaitPromise(promiseObjectID RemoteObjectID) *AwaitPromiseParams {
type AwaitPromiseReturns (line 58) | type AwaitPromiseReturns struct
type CallFunctionOnParams (line 82) | type CallFunctionOnParams struct
method WithObjectID (line 120) | func (p CallFunctionOnParams) WithObjectID(objectID RemoteObjectID) *C...
method WithArguments (line 127) | func (p CallFunctionOnParams) WithArguments(arguments []*CallArgument)...
method WithSilent (line 134) | func (p CallFunctionOnParams) WithSilent(silent bool) *CallFunctionOnP...
method WithReturnByValue (line 141) | func (p CallFunctionOnParams) WithReturnByValue(returnByValue bool) *C...
method WithGeneratePreview (line 147) | func (p CallFunctionOnParams) WithGeneratePreview(generatePreview bool...
method WithUserGesture (line 154) | func (p CallFunctionOnParams) WithUserGesture(userGesture bool) *CallF...
method WithAwaitPromise (line 161) | func (p CallFunctionOnParams) WithAwaitPromise(awaitPromise bool) *Cal...
method WithExecutionContextID (line 169) | func (p CallFunctionOnParams) WithExecutionContextID(executionContextI...
method WithObjectGroup (line 177) | func (p CallFunctionOnParams) WithObjectGroup(objectGroup string) *Cal...
method WithThrowOnSideEffect (line 184) | func (p CallFunctionOnParams) WithThrowOnSideEffect(throwOnSideEffect ...
method WithUniqueContextID (line 195) | func (p CallFunctionOnParams) WithUniqueContextID(uniqueContextID stri...
method WithSerializationOptions (line 202) | func (p CallFunctionOnParams) WithSerializationOptions(serializationOp...
method Do (line 219) | func (p *CallFunctionOnParams) Do(ctx context.Context) (result *Remote...
function CallFunctionOn (line 106) | func CallFunctionOn(functionDeclaration string) *CallFunctionOnParams {
type CallFunctionOnReturns (line 208) | type CallFunctionOnReturns struct
type CompileScriptParams (line 231) | type CompileScriptParams struct
method WithExecutionContextID (line 258) | func (p CompileScriptParams) WithExecutionContextID(executionContextID...
method Do (line 275) | func (p *CompileScriptParams) Do(ctx context.Context) (scriptID Script...
function CompileScript (line 247) | func CompileScript(expression string, sourceURL string, persistScript bo...
type CompileScriptReturns (line 264) | type CompileScriptReturns struct
type DisableParams (line 287) | type DisableParams struct
method Do (line 297) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 292) | func Disable() *DisableParams {
type DiscardConsoleEntriesParams (line 303) | type DiscardConsoleEntriesParams struct
method Do (line 313) | func (p *DiscardConsoleEntriesParams) Do(ctx context.Context) (err err...
function DiscardConsoleEntries (line 308) | func DiscardConsoleEntries() *DiscardConsoleEntriesParams {
type EnableParams (line 320) | type EnableParams struct
method Do (line 332) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 327) | func Enable() *EnableParams {
type EvaluateParams (line 337) | type EvaluateParams struct
method WithObjectGroup (line 381) | func (p EvaluateParams) WithObjectGroup(objectGroup string) *EvaluateP...
method WithIncludeCommandLineAPI (line 388) | func (p EvaluateParams) WithIncludeCommandLineAPI(includeCommandLineAP...
method WithSilent (line 395) | func (p EvaluateParams) WithSilent(silent bool) *EvaluateParams {
method WithContextID (line 405) | func (p EvaluateParams) WithContextID(contextID ExecutionContextID) *E...
method WithReturnByValue (line 412) | func (p EvaluateParams) WithReturnByValue(returnByValue bool) *Evaluat...
method WithGeneratePreview (line 418) | func (p EvaluateParams) WithGeneratePreview(generatePreview bool) *Eva...
method WithUserGesture (line 425) | func (p EvaluateParams) WithUserGesture(userGesture bool) *EvaluatePar...
method WithAwaitPromise (line 432) | func (p EvaluateParams) WithAwaitPromise(awaitPromise bool) *EvaluateP...
method WithThrowOnSideEffect (line 439) | func (p EvaluateParams) WithThrowOnSideEffect(throwOnSideEffect bool) ...
method WithTimeout (line 445) | func (p EvaluateParams) WithTimeout(timeout TimeDelta) *EvaluateParams {
method WithDisableBreaks (line 451) | func (p EvaluateParams) WithDisableBreaks(disableBreaks bool) *Evaluat...
method WithReplMode (line 459) | func (p EvaluateParams) WithReplMode(replMode bool) *EvaluateParams {
method WithAllowUnsafeEvalBlockedByCSP (line 469) | func (p EvaluateParams) WithAllowUnsafeEvalBlockedByCSP(allowUnsafeEva...
method WithUniqueContextID (line 480) | func (p EvaluateParams) WithUniqueContextID(uniqueContextID string) *E...
method WithSerializationOptions (line 487) | func (p EvaluateParams) WithSerializationOptions(serializationOptions ...
method Do (line 504) | func (p *EvaluateParams) Do(ctx context.Context) (result *RemoteObject...
function Evaluate (line 363) | func Evaluate(expression string) *EvaluateParams {
type EvaluateReturns (line 493) | type EvaluateReturns struct
type GetIsolateIDParams (line 516) | type GetIsolateIDParams struct
method Do (line 535) | func (p *GetIsolateIDParams) Do(ctx context.Context) (id string, err e...
function GetIsolateID (line 521) | func GetIsolateID() *GetIsolateIDParams {
type GetIsolateIDReturns (line 526) | type GetIsolateIDReturns struct
type GetHeapUsageParams (line 548) | type GetHeapUsageParams struct
method Do (line 574) | func (p *GetHeapUsageParams) Do(ctx context.Context) (usedSize float64...
function GetHeapUsage (line 554) | func GetHeapUsage() *GetHeapUsageParams {
type GetHeapUsageReturns (line 559) | type GetHeapUsageReturns struct
type GetPropertiesParams (line 587) | type GetPropertiesParams struct
method WithOwnProperties (line 615) | func (p GetPropertiesParams) WithOwnProperties(ownProperties bool) *Ge...
method WithAccessorPropertiesOnly (line 622) | func (p GetPropertiesParams) WithAccessorPropertiesOnly(accessorProper...
method WithGeneratePreview (line 628) | func (p GetPropertiesParams) WithGeneratePreview(generatePreview bool)...
method WithNonIndexedPropertiesOnly (line 634) | func (p GetPropertiesParams) WithNonIndexedPropertiesOnly(nonIndexedPr...
method Do (line 655) | func (p *GetPropertiesParams) Do(ctx context.Context) (result []*Prope...
function GetProperties (line 603) | func GetProperties(objectID RemoteObjectID) *GetPropertiesParams {
type GetPropertiesReturns (line 640) | type GetPropertiesReturns struct
type GlobalLexicalScopeNamesParams (line 668) | type GlobalLexicalScopeNamesParams struct
method WithExecutionContextID (line 684) | func (p GlobalLexicalScopeNamesParams) WithExecutionContextID(executio...
method Do (line 699) | func (p *GlobalLexicalScopeNamesParams) Do(ctx context.Context) (names...
function GlobalLexicalScopeNames (line 678) | func GlobalLexicalScopeNames() *GlobalLexicalScopeNamesParams {
type GlobalLexicalScopeNamesReturns (line 690) | type GlobalLexicalScopeNamesReturns struct
type QueryObjectsParams (line 711) | type QueryObjectsParams struct
method WithObjectGroup (line 731) | func (p QueryObjectsParams) WithObjectGroup(objectGroup string) *Query...
method Do (line 746) | func (p *QueryObjectsParams) Do(ctx context.Context) (objects *RemoteO...
function QueryObjects (line 723) | func QueryObjects(prototypeObjectID RemoteObjectID) *QueryObjectsParams {
type QueryObjectsReturns (line 737) | type QueryObjectsReturns struct
type ReleaseObjectParams (line 758) | type ReleaseObjectParams struct
method Do (line 776) | func (p *ReleaseObjectParams) Do(ctx context.Context) (err error) {
function ReleaseObject (line 769) | func ReleaseObject(objectID RemoteObjectID) *ReleaseObjectParams {
type ReleaseObjectGroupParams (line 782) | type ReleaseObjectGroupParams struct
method Do (line 801) | func (p *ReleaseObjectGroupParams) Do(ctx context.Context) (err error) {
function ReleaseObjectGroup (line 794) | func ReleaseObjectGroup(objectGroup string) *ReleaseObjectGroupParams {
type RunIfWaitingForDebuggerParams (line 807) | type RunIfWaitingForDebuggerParams struct
method Do (line 818) | func (p *RunIfWaitingForDebuggerParams) Do(ctx context.Context) (err e...
function RunIfWaitingForDebugger (line 813) | func RunIfWaitingForDebugger() *RunIfWaitingForDebuggerParams {
type RunScriptParams (line 823) | type RunScriptParams struct
method WithExecutionContextID (line 855) | func (p RunScriptParams) WithExecutionContextID(executionContextID Exe...
method WithObjectGroup (line 862) | func (p RunScriptParams) WithObjectGroup(objectGroup string) *RunScrip...
method WithSilent (line 869) | func (p RunScriptParams) WithSilent(silent bool) *RunScriptParams {
method WithIncludeCommandLineAPI (line 876) | func (p RunScriptParams) WithIncludeCommandLineAPI(includeCommandLineA...
method WithReturnByValue (line 883) | func (p RunScriptParams) WithReturnByValue(returnByValue bool) *RunScr...
method WithGeneratePreview (line 889) | func (p RunScriptParams) WithGeneratePreview(generatePreview bool) *Ru...
method WithAwaitPromise (line 896) | func (p RunScriptParams) WithAwaitPromise(awaitPromise bool) *RunScrip...
method Do (line 913) | func (p *RunScriptParams) Do(ctx context.Context) (result *RemoteObjec...
function RunScript (line 841) | func RunScript(scriptID ScriptID) *RunScriptParams {
type RunScriptReturns (line 902) | type RunScriptReturns struct
type SetCustomObjectFormatterEnabledParams (line 925) | type SetCustomObjectFormatterEnabledParams struct
method Do (line 943) | func (p *SetCustomObjectFormatterEnabledParams) Do(ctx context.Context...
function SetCustomObjectFormatterEnabled (line 936) | func SetCustomObjectFormatterEnabled(enabled bool) *SetCustomObjectForma...
type SetMaxCallStackSizeToCaptureParams (line 948) | type SetMaxCallStackSizeToCaptureParams struct
method Do (line 966) | func (p *SetMaxCallStackSizeToCaptureParams) Do(ctx context.Context) (...
function SetMaxCallStackSizeToCapture (line 959) | func SetMaxCallStackSizeToCapture(size int64) *SetMaxCallStackSizeToCapt...
type TerminateExecutionParams (line 972) | type TerminateExecutionParams struct
method Do (line 983) | func (p *TerminateExecutionParams) Do(ctx context.Context) (err error) {
function TerminateExecution (line 978) | func TerminateExecution() *TerminateExecutionParams {
type AddBindingParams (line 993) | type AddBindingParams struct
method WithExecutionContextName (line 1021) | func (p AddBindingParams) WithExecutionContextName(executionContextNam...
method Do (line 1027) | func (p *AddBindingParams) Do(ctx context.Context) (err error) {
function AddBinding (line 1010) | func AddBinding(name string) *AddBindingParams {
type RemoveBindingParams (line 1034) | type RemoveBindingParams struct
method Do (line 1054) | func (p *RemoveBindingParams) Do(ctx context.Context) (err error) {
function RemoveBinding (line 1047) | func RemoveBinding(name string) *RemoveBindingParams {
type GetExceptionDetailsParams (line 1062) | type GetExceptionDetailsParams struct
method Do (line 1092) | func (p *GetExceptionDetailsParams) Do(ctx context.Context) (exception...
function GetExceptionDetails (line 1076) | func GetExceptionDetails(errorObjectID RemoteObjectID) *GetExceptionDeta...
type GetExceptionDetailsReturns (line 1083) | type GetExceptionDetailsReturns struct
constant CommandAwaitPromise (line 1105) | CommandAwaitPromise = "Runtime.awaitPromise"
constant CommandCallFunctionOn (line 1106) | CommandCallFunctionOn = "Runtime.callFunctionOn"
constant CommandCompileScript (line 1107) | CommandCompileScript = "Runtime.compileScript"
constant CommandDisable (line 1108) | CommandDisable = "Runtime.disable"
constant CommandDiscardConsoleEntries (line 1109) | CommandDiscardConsoleEntries = "Runtime.discardConsoleEntries"
constant CommandEnable (line 1110) | CommandEnable = "Runtime.enable"
constant CommandEvaluate (line 1111) | CommandEvaluate = "Runtime.evaluate"
constant CommandGetIsolateID (line 1112) | CommandGetIsolateID = "Runtime.getIsolateId"
constant CommandGetHeapUsage (line 1113) | CommandGetHeapUsage = "Runtime.getHeapUsage"
constant CommandGetProperties (line 1114) | CommandGetProperties = "Runtime.getProperties"
constant CommandGlobalLexicalScopeNames (line 1115) | CommandGlobalLexicalScopeNames = "Runtime.globalLexicalScopeNames"
constant CommandQueryObjects (line 1116) | CommandQueryObjects = "Runtime.queryObjects"
constant CommandReleaseObject (line 1117) | CommandReleaseObject = "Runtime.releaseObject"
constant CommandReleaseObjectGroup (line 1118) | CommandReleaseObjectGroup = "Runtime.releaseObjectGroup"
constant CommandRunIfWaitingForDebugger (line 1119) | CommandRunIfWaitingForDebugger = "Runtime.runIfWaitingForDebugger"
constant CommandRunScript (line 1120) | CommandRunScript = "Runtime.runScript"
constant CommandSetCustomObjectFormatterEnabled (line 1121) | CommandSetCustomObjectFormatterEnabled = "Runtime.setCustomObjectFormatt...
constant CommandSetMaxCallStackSizeToCapture (line 1122) | CommandSetMaxCallStackSizeToCapture = "Runtime.setMaxCallStackSizeToC...
constant CommandTerminateExecution (line 1123) | CommandTerminateExecution = "Runtime.terminateExecution"
constant CommandAddBinding (line 1124) | CommandAddBinding = "Runtime.addBinding"
constant CommandRemoveBinding (line 1125) | CommandRemoveBinding = "Runtime.removeBinding"
constant CommandGetExceptionDetails (line 1126) | CommandGetExceptionDetails = "Runtime.getExceptionDetails"
FILE: vendor/github.com/chromedp/cdproto/runtime/types.go
type ScriptID (line 17) | type ScriptID
method String (line 20) | func (t ScriptID) String() string {
type SerializationOptions (line 28) | type SerializationOptions struct
type DeepSerializedValue (line 37) | type DeepSerializedValue struct
type RemoteObjectID (line 47) | type RemoteObjectID
method String (line 50) | func (t RemoteObjectID) String() string {
type UnserializableValue (line 58) | type UnserializableValue
method String (line 61) | func (t UnserializableValue) String() string {
type RemoteObject (line 68) | type RemoteObject struct
type CustomPreview (line 84) | type CustomPreview struct
type ObjectPreview (line 92) | type ObjectPreview struct
type PropertyPreview (line 104) | type PropertyPreview struct
type EntryPreview (line 115) | type EntryPreview struct
type PropertyDescriptor (line 123) | type PropertyDescriptor struct
type InternalPropertyDescriptor (line 140) | type InternalPropertyDescriptor struct
type PrivatePropertyDescriptor (line 148) | type PrivatePropertyDescriptor struct
type CallArgument (line 160) | type CallArgument struct
type ExecutionContextID (line 169) | type ExecutionContextID
method Int64 (line 172) | func (t ExecutionContextID) Int64() int64 {
type ExecutionContextDescription (line 179) | type ExecutionContextDescription struct
type ExceptionDetails (line 191) | type ExceptionDetails struct
method Error (line 205) | func (e *ExceptionDetails) Error() string {
type Timestamp (line 219) | type Timestamp
method Time (line 222) | func (t Timestamp) Time() time.Time {
method MarshalJSON (line 227) | func (t Timestamp) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 233) | func (t *Timestamp) UnmarshalJSON(buf []byte) error {
type TimeDelta (line 245) | type TimeDelta
method Float64 (line 248) | func (t TimeDelta) Float64() float64 {
type CallFrame (line 255) | type CallFrame struct
type StackTrace (line 266) | type StackTrace struct
type UniqueDebuggerID (line 276) | type UniqueDebuggerID
method String (line 279) | func (t UniqueDebuggerID) String() string {
type StackTraceID (line 288) | type StackTraceID struct
type SerializationOptionsSerialization (line 296) | type SerializationOptionsSerialization
method String (line 299) | func (t SerializationOptionsSerialization) String() string {
method UnmarshalJSON (line 311) | func (t *SerializationOptionsSerialization) UnmarshalJSON(buf []byte) ...
constant SerializationOptionsSerializationDeep (line 305) | SerializationOptionsSerializationDeep SerializationOptionsSerializatio...
constant SerializationOptionsSerializationJSON (line 306) | SerializationOptionsSerializationJSON SerializationOptionsSerializatio...
constant SerializationOptionsSerializationIDOnly (line 307) | SerializationOptionsSerializationIDOnly SerializationOptionsSerializatio...
type DeepSerializedValueType (line 331) | type DeepSerializedValueType
method String (line 334) | func (t DeepSerializedValueType) String() string {
method UnmarshalJSON (line 367) | func (t *DeepSerializedValueType) UnmarshalJSON(buf []byte) error {
constant DeepSerializedValueTypeUndefined (line 340) | DeepSerializedValueTypeUndefined DeepSerializedValueType = "undefined"
constant DeepSerializedValueTypeNull (line 341) | DeepSerializedValueTypeNull DeepSerializedValueType = "null"
constant DeepSerializedValueTypeString (line 342) | DeepSerializedValueTypeString DeepSerializedValueType = "string"
constant DeepSerializedValueTypeNumber (line 343) | DeepSerializedValueTypeNumber DeepSerializedValueType = "number"
constant DeepSerializedValueTypeBoolean (line 344) | DeepSerializedValueTypeBoolean DeepSerializedValueType = "boolean"
constant DeepSerializedValueTypeBigint (line 345) | DeepSerializedValueTypeBigint DeepSerializedValueType = "bigint"
constant DeepSerializedValueTypeRegexp (line 346) | DeepSerializedValueTypeRegexp DeepSerializedValueType = "regexp"
constant DeepSerializedValueTypeDate (line 347) | DeepSerializedValueTypeDate DeepSerializedValueType = "date"
constant DeepSerializedValueTypeSymbol (line 348) | DeepSerializedValueTypeSymbol DeepSerializedValueType = "symbol"
constant DeepSerializedValueTypeArray (line 349) | DeepSerializedValueTypeArray DeepSerializedValueType = "array"
constant DeepSerializedValueTypeObject (line 350) | DeepSerializedValueTypeObject DeepSerializedValueType = "object"
constant DeepSerializedValueTypeFunction (line 351) | DeepSerializedValueTypeFunction DeepSerializedValueType = "function"
constant DeepSerializedValueTypeMap (line 352) | DeepSerializedValueTypeMap DeepSerializedValueType = "map"
constant DeepSerializedValueTypeSet (line 353) | DeepSerializedValueTypeSet DeepSerializedValueType = "set"
constant DeepSerializedValueTypeWeakmap (line 354) | DeepSerializedValueTypeWeakmap DeepSerializedValueType = "weakmap"
constant DeepSerializedValueTypeWeakset (line 355) | DeepSerializedValueTypeWeakset DeepSerializedValueType = "weakset"
constant DeepSerializedValueTypeError (line 356) | DeepSerializedValueTypeError DeepSerializedValueType = "error"
constant DeepSerializedValueTypeProxy (line 357) | DeepSerializedValueTypeProxy DeepSerializedValueType = "proxy"
constant DeepSerializedValueTypePromise (line 358) | DeepSerializedValueTypePromise DeepSerializedValueType = "promise"
constant DeepSerializedValueTypeTypedarray (line 359) | DeepSerializedValueTypeTypedarray DeepSerializedValueType = "typedarray"
constant DeepSerializedValueTypeArraybuffer (line 360) | DeepSerializedValueTypeArraybuffer DeepSerializedValueType = "arraybuffer"
constant DeepSerializedValueTypeNode (line 361) | DeepSerializedValueTypeNode DeepSerializedValueType = "node"
constant DeepSerializedValueTypeWindow (line 362) | DeepSerializedValueTypeWindow DeepSerializedValueType = "window"
constant DeepSerializedValueTypeGenerator (line 363) | DeepSerializedValueTypeGenerator DeepSerializedValueType = "generator"
type Type (line 429) | type Type
method String (line 432) | func (t Type) String() string {
method UnmarshalJSON (line 450) | func (t *Type) UnmarshalJSON(buf []byte) error {
constant TypeObject (line 438) | TypeObject Type = "object"
constant TypeFunction (line 439) | TypeFunction Type = "function"
constant TypeUndefined (line 440) | TypeUndefined Type = "undefined"
constant TypeString (line 441) | TypeString Type = "string"
constant TypeNumber (line 442) | TypeNumber Type = "number"
constant TypeBoolean (line 443) | TypeBoolean Type = "boolean"
constant TypeSymbol (line 444) | TypeSymbol Type = "symbol"
constant TypeBigint (line 445) | TypeBigint Type = "bigint"
constant TypeAccessor (line 446) | TypeAccessor Type = "accessor"
type Subtype (line 484) | type Subtype
method String (line 487) | func (t Subtype) String() string {
method UnmarshalJSON (line 515) | func (t *Subtype) UnmarshalJSON(buf []byte) error {
constant SubtypeArray (line 493) | SubtypeArray Subtype = "array"
constant SubtypeNull (line 494) | SubtypeNull Subtype = "null"
constant SubtypeNode (line 495) | SubtypeNode Subtype = "node"
constant SubtypeRegexp (line 496) | SubtypeRegexp Subtype = "regexp"
constant SubtypeDate (line 497) | SubtypeDate Subtype = "date"
constant SubtypeMap (line 498) | SubtypeMap Subtype = "map"
constant SubtypeSet (line 499) | SubtypeSet Subtype = "set"
constant SubtypeWeakmap (line 500) | SubtypeWeakmap Subtype = "weakmap"
constant SubtypeWeakset (line 501) | SubtypeWeakset Subtype = "weakset"
constant SubtypeIterator (line 502) | SubtypeIterator Subtype = "iterator"
constant SubtypeGenerator (line 503) | SubtypeGenerator Subtype = "generator"
constant SubtypeError (line 504) | SubtypeError Subtype = "error"
constant SubtypeProxy (line 505) | SubtypeProxy Subtype = "proxy"
constant SubtypePromise (line 506) | SubtypePromise Subtype = "promise"
constant SubtypeTypedarray (line 507) | SubtypeTypedarray Subtype = "typedarray"
constant SubtypeArraybuffer (line 508) | SubtypeArraybuffer Subtype = "arraybuffer"
constant SubtypeDataview (line 509) | SubtypeDataview Subtype = "dataview"
constant SubtypeWebassemblymemory (line 510) | SubtypeWebassemblymemory Subtype = "webassemblymemory"
constant SubtypeWasmvalue (line 511) | SubtypeWasmvalue Subtype = "wasmvalue"
type APIType (line 567) | type APIType
method String (line 570) | func (t APIType) String() string {
method UnmarshalJSON (line 597) | func (t *APIType) UnmarshalJSON(buf []byte) error {
constant APITypeLog (line 576) | APITypeLog APIType = "log"
constant APITypeDebug (line 577) | APITypeDebug APIType = "debug"
constant APITypeInfo (line 578) | APITypeInfo APIType = "info"
constant APITypeError (line 579) | APITypeError APIType = "error"
constant APITypeWarning (line 580) | APITypeWarning APIType = "warning"
constant APITypeDir (line 581) | APITypeDir APIType = "dir"
constant APITypeDirxml (line 582) | APITypeDirxml APIType = "dirxml"
constant APITypeTable (line 583) | APITypeTable APIType = "table"
constant APITypeTrace (line 584) | APITypeTrace APIType = "trace"
constant APITypeClear (line 585) | APITypeClear APIType = "clear"
constant APITypeStartGroup (line 586) | APITypeStartGroup APIType = "startGroup"
constant APITypeStartGroupCollapsed (line 587) | APITypeStartGroupCollapsed APIType = "startGroupCollapsed"
constant APITypeEndGroup (line 588) | APITypeEndGroup APIType = "endGroup"
constant APITypeAssert (line 589) | APITypeAssert APIType = "assert"
constant APITypeProfile (line 590) | APITypeProfile APIType = "profile"
constant APITypeProfileEnd (line 591) | APITypeProfileEnd APIType = "profileEnd"
constant APITypeCount (line 592) | APITypeCount APIType = "count"
constant APITypeTimeEnd (line 593) | APITypeTimeEnd APIType = "timeEnd"
FILE: vendor/github.com/chromedp/cdproto/security/events.go
type EventVisibleSecurityStateChanged (line 8) | type EventVisibleSecurityStateChanged struct
FILE: vendor/github.com/chromedp/cdproto/security/security.go
type DisableParams (line 18) | type DisableParams struct
method Do (line 28) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 23) | func Disable() *DisableParams {
type EnableParams (line 33) | type EnableParams struct
method Do (line 43) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 38) | func Enable() *EnableParams {
type SetIgnoreCertificateErrorsParams (line 49) | type SetIgnoreCertificateErrorsParams struct
method Do (line 68) | func (p *SetIgnoreCertificateErrorsParams) Do(ctx context.Context) (er...
function SetIgnoreCertificateErrors (line 61) | func SetIgnoreCertificateErrors(ignore bool) *SetIgnoreCertificateErrors...
constant CommandDisable (line 74) | CommandDisable = "Security.disable"
constant CommandEnable (line 75) | CommandEnable = "Security.enable"
constant CommandSetIgnoreCertificateErrors (line 76) | CommandSetIgnoreCertificateErrors = "Security.setIgnoreCertificateErrors"
FILE: vendor/github.com/chromedp/cdproto/security/types.go
type CertificateID (line 15) | type CertificateID
method Int64 (line 18) | func (t CertificateID) Int64() int64 {
type MixedContentType (line 26) | type MixedContentType
method String (line 29) | func (t MixedContentType) String() string {
method UnmarshalJSON (line 41) | func (t *MixedContentType) UnmarshalJSON(buf []byte) error {
constant MixedContentTypeBlockable (line 35) | MixedContentTypeBlockable MixedContentType = "blockable"
constant MixedContentTypeOptionallyBlockable (line 36) | MixedContentTypeOptionallyBlockable MixedContentType = "optionally-block...
constant MixedContentTypeNone (line 37) | MixedContentTypeNone MixedContentType = "none"
type State (line 61) | type State
method String (line 64) | func (t State) String() string {
method UnmarshalJSON (line 79) | func (t *State) UnmarshalJSON(buf []byte) error {
constant StateUnknown (line 70) | StateUnknown State = "unknown"
constant StateNeutral (line 71) | StateNeutral State = "neutral"
constant StateInsecure (line 72) | StateInsecure State = "insecure"
constant StateSecure (line 73) | StateSecure State = "secure"
constant StateInfo (line 74) | StateInfo State = "info"
constant StateInsecureBroken (line 75) | StateInsecureBroken State = "insecure-broken"
type CertificateSecurityState (line 106) | type CertificateSecurityState struct
type SafetyTipStatus (line 130) | type SafetyTipStatus
method String (line 133) | func (t SafetyTipStatus) String() string {
method UnmarshalJSON (line 144) | func (t *SafetyTipStatus) UnmarshalJSON(buf []byte) error {
constant SafetyTipStatusBadReputation (line 139) | SafetyTipStatusBadReputation SafetyTipStatus = "badReputation"
constant SafetyTipStatusLookalike (line 140) | SafetyTipStatusLookalike SafetyTipStatus = "lookalike"
type SafetyTipInfo (line 162) | type SafetyTipInfo struct
type VisibleSecurityState (line 170) | type VisibleSecurityState struct
type StateExplanation (line 181) | type StateExplanation struct
type CertificateErrorAction (line 196) | type CertificateErrorAction
method String (line 199) | func (t CertificateErrorAction) String() string {
method UnmarshalJSON (line 210) | func (t *CertificateErrorAction) UnmarshalJSON(buf []byte) error {
constant CertificateErrorActionContinue (line 205) | CertificateErrorActionContinue CertificateErrorAction = "continue"
constant CertificateErrorActionCancel (line 206) | CertificateErrorActionCancel CertificateErrorAction = "cancel"
FILE: vendor/github.com/chromedp/cdproto/serviceworker/events.go
type EventWorkerErrorReported (line 8) | type EventWorkerErrorReported struct
type EventWorkerRegistrationUpdated (line 15) | type EventWorkerRegistrationUpdated struct
type EventWorkerVersionUpdated (line 22) | type EventWorkerVersionUpdated struct
FILE: vendor/github.com/chromedp/cdproto/serviceworker/serviceworker.go
type DeliverPushMessageParams (line 16) | type DeliverPushMessageParams struct
method Do (line 40) | func (p *DeliverPushMessageParams) Do(ctx context.Context) (err error) {
function DeliverPushMessage (line 31) | func DeliverPushMessage(origin string, registrationID RegistrationID, da...
type DisableParams (line 45) | type DisableParams struct
method Do (line 55) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 50) | func Disable() *DisableParams {
type DispatchSyncEventParams (line 60) | type DispatchSyncEventParams struct
method Do (line 87) | func (p *DispatchSyncEventParams) Do(ctx context.Context) (err error) {
function DispatchSyncEvent (line 77) | func DispatchSyncEvent(origin string, registrationID RegistrationID, tag...
type DispatchPeriodicSyncEventParams (line 92) | type DispatchPeriodicSyncEventParams struct
method Do (line 116) | func (p *DispatchPeriodicSyncEventParams) Do(ctx context.Context) (err...
function DispatchPeriodicSyncEvent (line 107) | func DispatchPeriodicSyncEvent(origin string, registrationID Registratio...
type EnableParams (line 121) | type EnableParams struct
method Do (line 131) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 126) | func Enable() *EnableParams {
type SetForceUpdateOnPageLoadParams (line 136) | type SetForceUpdateOnPageLoadParams struct
method Do (line 154) | func (p *SetForceUpdateOnPageLoadParams) Do(ctx context.Context) (err ...
function SetForceUpdateOnPageLoad (line 147) | func SetForceUpdateOnPageLoad(forceUpdateOnPageLoad bool) *SetForceUpdat...
type SkipWaitingParams (line 159) | type SkipWaitingParams struct
method Do (line 177) | func (p *SkipWaitingParams) Do(ctx context.Context) (err error) {
function SkipWaiting (line 170) | func SkipWaiting(scopeURL string) *SkipWaitingParams {
type StartWorkerParams (line 182) | type StartWorkerParams struct
method Do (line 200) | func (p *StartWorkerParams) Do(ctx context.Context) (err error) {
function StartWorker (line 193) | func StartWorker(scopeURL string) *StartWorkerParams {
type StopAllWorkersParams (line 205) | type StopAllWorkersParams struct
method Do (line 215) | func (p *StopAllWorkersParams) Do(ctx context.Context) (err error) {
function StopAllWorkers (line 210) | func StopAllWorkers() *StopAllWorkersParams {
type StopWorkerParams (line 220) | type StopWorkerParams struct
method Do (line 238) | func (p *StopWorkerParams) Do(ctx context.Context) (err error) {
function StopWorker (line 231) | func StopWorker(versionID string) *StopWorkerParams {
type UnregisterParams (line 243) | type UnregisterParams struct
method Do (line 261) | func (p *UnregisterParams) Do(ctx context.Context) (err error) {
function Unregister (line 254) | func Unregister(scopeURL string) *UnregisterParams {
type UpdateRegistrationParams (line 266) | type UpdateRegistrationParams struct
method Do (line 284) | func (p *UpdateRegistrationParams) Do(ctx context.Context) (err error) {
function UpdateRegistration (line 277) | func UpdateRegistration(scopeURL string) *UpdateRegistrationParams {
constant CommandDeliverPushMessage (line 290) | CommandDeliverPushMessage = "ServiceWorker.deliverPushMessage"
constant CommandDisable (line 291) | CommandDisable = "ServiceWorker.disable"
constant CommandDispatchSyncEvent (line 292) | CommandDispatchSyncEvent = "ServiceWorker.dispatchSyncEvent"
constant CommandDispatchPeriodicSyncEvent (line 293) | CommandDispatchPeriodicSyncEvent = "ServiceWorker.dispatchPeriodicSyncEv...
constant CommandEnable (line 294) | CommandEnable = "ServiceWorker.enable"
constant CommandSetForceUpdateOnPageLoad (line 295) | CommandSetForceUpdateOnPageLoad = "ServiceWorker.setForceUpdateOnPageLoad"
constant CommandSkipWaiting (line 296) | CommandSkipWaiting = "ServiceWorker.skipWaiting"
constant CommandStartWorker (line 297) | CommandStartWorker = "ServiceWorker.startWorker"
constant CommandStopAllWorkers (line 298) | CommandStopAllWorkers = "ServiceWorker.stopAllWorkers"
constant CommandStopWorker (line 299) | CommandStopWorker = "ServiceWorker.stopWorker"
constant CommandUnregister (line 300) | CommandUnregister = "ServiceWorker.unregister"
constant CommandUpdateRegistration (line 301) | CommandUpdateRegistration = "ServiceWorker.updateRegistration"
FILE: vendor/github.com/chromedp/cdproto/serviceworker/types.go
type RegistrationID (line 15) | type RegistrationID
method String (line 18) | func (t RegistrationID) String() string {
type Registration (line 25) | type Registration struct
type VersionRunningStatus (line 34) | type VersionRunningStatus
method String (line 37) | func (t VersionRunningStatus) String() string {
method UnmarshalJSON (line 50) | func (t *VersionRunningStatus) UnmarshalJSON(buf []byte) error {
constant VersionRunningStatusStopped (line 43) | VersionRunningStatusStopped VersionRunningStatus = "stopped"
constant VersionRunningStatusStarting (line 44) | VersionRunningStatusStarting VersionRunningStatus = "starting"
constant VersionRunningStatusRunning (line 45) | VersionRunningStatusRunning VersionRunningStatus = "running"
constant VersionRunningStatusStopping (line 46) | VersionRunningStatusStopping VersionRunningStatus = "stopping"
type VersionStatus (line 72) | type VersionStatus
method String (line 75) | func (t VersionStatus) String() string {
method UnmarshalJSON (line 90) | func (t *VersionStatus) UnmarshalJSON(buf []byte) error {
constant VersionStatusNew (line 81) | VersionStatusNew VersionStatus = "new"
constant VersionStatusInstalling (line 82) | VersionStatusInstalling VersionStatus = "installing"
constant VersionStatusInstalled (line 83) | VersionStatusInstalled VersionStatus = "installed"
constant VersionStatusActivating (line 84) | VersionStatusActivating VersionStatus = "activating"
constant VersionStatusActivated (line 85) | VersionStatusActivated VersionStatus = "activated"
constant VersionStatusRedundant (line 86) | VersionStatusRedundant VersionStatus = "redundant"
type Version (line 116) | type Version struct
type ErrorMessage (line 132) | type ErrorMessage struct
FILE: vendor/github.com/chromedp/cdproto/storage/events.go
type EventCacheStorageContentUpdated (line 15) | type EventCacheStorageContentUpdated struct
type EventCacheStorageListUpdated (line 25) | type EventCacheStorageListUpdated struct
type EventIndexedDBContentUpdated (line 35) | type EventIndexedDBContentUpdated struct
type EventIndexedDBListUpdated (line 47) | type EventIndexedDBListUpdated struct
type EventInterestGroupAccessed (line 57) | type EventInterestGroupAccessed struct
type EventInterestGroupAuctionEventOccurred (line 72) | type EventInterestGroupAuctionEventOccurred struct
type EventInterestGroupAuctionNetworkRequestCreated (line 86) | type EventInterestGroupAuctionNetworkRequestCreated struct
type EventSharedStorageAccessed (line 96) | type EventSharedStorageAccessed struct
type EventSharedStorageWorkletOperationExecutionFinished (line 111) | type EventSharedStorageWorkletOperationExecutionFinished struct
type EventStorageBucketCreatedOrUpdated (line 124) | type EventStorageBucketCreatedOrUpdated struct
type EventStorageBucketDeleted (line 131) | type EventStorageBucketDeleted struct
type EventAttributionReportingSourceRegistered (line 138) | type EventAttributionReportingSourceRegistered struct
type EventAttributionReportingTriggerRegistered (line 146) | type EventAttributionReportingTriggerRegistered struct
type EventAttributionReportingReportSent (line 155) | type EventAttributionReportingReportSent struct
type EventAttributionReportingVerboseDebugReportSent (line 167) | type EventAttributionReportingVerboseDebugReportSent struct
FILE: vendor/github.com/chromedp/cdproto/storage/storage.go
type GetStorageKeyForFrameParams (line 18) | type GetStorageKeyForFrameParams struct
method Do (line 45) | func (p *GetStorageKeyForFrameParams) Do(ctx context.Context) (storage...
function GetStorageKeyForFrame (line 29) | func GetStorageKeyForFrame(frameID cdp.FrameID) *GetStorageKeyForFramePa...
type GetStorageKeyForFrameReturns (line 36) | type GetStorageKeyForFrameReturns struct
type ClearDataForOriginParams (line 57) | type ClearDataForOriginParams struct
method Do (line 78) | func (p *ClearDataForOriginParams) Do(ctx context.Context) (err error) {
function ClearDataForOrigin (line 70) | func ClearDataForOrigin(origin string, storageTypes string) *ClearDataFo...
type ClearDataForStorageKeyParams (line 83) | type ClearDataForStorageKeyParams struct
method Do (line 104) | func (p *ClearDataForStorageKeyParams) Do(ctx context.Context) (err er...
function ClearDataForStorageKey (line 96) | func ClearDataForStorageKey(storageKey string, storageTypes string) *Cle...
type GetCookiesParams (line 109) | type GetCookiesParams struct
method WithBrowserContextID (line 124) | func (p GetCookiesParams) WithBrowserContextID(browserContextID cdp.Br...
method Do (line 139) | func (p *GetCookiesParams) Do(ctx context.Context) (cookies []*network...
function GetCookies (line 118) | func GetCookies() *GetCookiesParams {
type GetCookiesReturns (line 130) | type GetCookiesReturns struct
type SetCookiesParams (line 151) | type SetCookiesParams struct
method WithBrowserContextID (line 171) | func (p SetCookiesParams) WithBrowserContextID(browserContextID cdp.Br...
method Do (line 177) | func (p *SetCookiesParams) Do(ctx context.Context) (err error) {
function SetCookies (line 163) | func SetCookies(cookies []*network.CookieParam) *SetCookiesParams {
type ClearCookiesParams (line 182) | type ClearCookiesParams struct
method WithBrowserContextID (line 197) | func (p ClearCookiesParams) WithBrowserContextID(browserContextID cdp....
method Do (line 203) | func (p *ClearCookiesParams) Do(ctx context.Context) (err error) {
function ClearCookies (line 191) | func ClearCookies() *ClearCookiesParams {
type GetUsageAndQuotaParams (line 208) | type GetUsageAndQuotaParams struct
method Do (line 241) | func (p *GetUsageAndQuotaParams) Do(ctx context.Context) (usage float6...
function GetUsageAndQuota (line 219) | func GetUsageAndQuota(origin string) *GetUsageAndQuotaParams {
type GetUsageAndQuotaReturns (line 226) | type GetUsageAndQuotaReturns struct
type OverrideQuotaForOriginParams (line 253) | type OverrideQuotaForOriginParams struct
method WithQuotaSize (line 278) | func (p OverrideQuotaForOriginParams) WithQuotaSize(quotaSize float64)...
method Do (line 284) | func (p *OverrideQuotaForOriginParams) Do(ctx context.Context) (err er...
function OverrideQuotaForOrigin (line 265) | func OverrideQuotaForOrigin(origin string) *OverrideQuotaForOriginParams {
type TrackCacheStorageForOriginParams (line 290) | type TrackCacheStorageForOriginParams struct
method Do (line 309) | func (p *TrackCacheStorageForOriginParams) Do(ctx context.Context) (er...
function TrackCacheStorageForOrigin (line 302) | func TrackCacheStorageForOrigin(origin string) *TrackCacheStorageForOrig...
type TrackCacheStorageForStorageKeyParams (line 315) | type TrackCacheStorageForStorageKeyParams struct
method Do (line 334) | func (p *TrackCacheStorageForStorageKeyParams) Do(ctx context.Context)...
function TrackCacheStorageForStorageKey (line 327) | func TrackCacheStorageForStorageKey(storageKey string) *TrackCacheStorag...
type TrackIndexedDBForOriginParams (line 340) | type TrackIndexedDBForOriginParams struct
method Do (line 359) | func (p *TrackIndexedDBForOriginParams) Do(ctx context.Context) (err e...
function TrackIndexedDBForOrigin (line 352) | func TrackIndexedDBForOrigin(origin string) *TrackIndexedDBForOriginPara...
type TrackIndexedDBForStorageKeyParams (line 365) | type TrackIndexedDBForStorageKeyParams struct
method Do (line 384) | func (p *TrackIndexedDBForStorageKeyParams) Do(ctx context.Context) (e...
function TrackIndexedDBForStorageKey (line 377) | func TrackIndexedDBForStorageKey(storageKey string) *TrackIndexedDBForSt...
type UntrackCacheStorageForOriginParams (line 390) | type UntrackCacheStorageForOriginParams struct
method Do (line 409) | func (p *UntrackCacheStorageForOriginParams) Do(ctx context.Context) (...
function UntrackCacheStorageForOrigin (line 402) | func UntrackCacheStorageForOrigin(origin string) *UntrackCacheStorageFor...
type UntrackCacheStorageForStorageKeyParams (line 415) | type UntrackCacheStorageForStorageKeyParams struct
method Do (line 434) | func (p *UntrackCacheStorageForStorageKeyParams) Do(ctx context.Contex...
function UntrackCacheStorageForStorageKey (line 427) | func UntrackCacheStorageForStorageKey(storageKey string) *UntrackCacheSt...
type UntrackIndexedDBForOriginParams (line 440) | type UntrackIndexedDBForOriginParams struct
method Do (line 459) | func (p *UntrackIndexedDBForOriginParams) Do(ctx context.Context) (err...
function UntrackIndexedDBForOrigin (line 452) | func UntrackIndexedDBForOrigin(origin string) *UntrackIndexedDBForOrigin...
type UntrackIndexedDBForStorageKeyParams (line 465) | type UntrackIndexedDBForStorageKeyParams struct
method Do (line 484) | func (p *UntrackIndexedDBForStorageKeyParams) Do(ctx context.Context) ...
function UntrackIndexedDBForStorageKey (line 477) | func UntrackIndexedDBForStorageKey(storageKey string) *UntrackIndexedDBF...
type GetTrustTokensParams (line 490) | type GetTrustTokensParams struct
method Do (line 510) | func (p *GetTrustTokensParams) Do(ctx context.Context) (tokens []*Trus...
function GetTrustTokens (line 496) | func GetTrustTokens() *GetTrustTokensParams {
type GetTrustTokensReturns (line 501) | type GetTrustTokensReturns struct
type ClearTrustTokensParams (line 524) | type ClearTrustTokensParams struct
method Do (line 553) | func (p *ClearTrustTokensParams) Do(ctx context.Context) (didDeleteTok...
function ClearTrustTokens (line 537) | func ClearTrustTokens(issuerOrigin string) *ClearTrustTokensParams {
type ClearTrustTokensReturns (line 544) | type ClearTrustTokensReturns struct
type GetInterestGroupDetailsParams (line 565) | type GetInterestGroupDetailsParams struct
method Do (line 595) | func (p *GetInterestGroupDetailsParams) Do(ctx context.Context) (detai...
function GetInterestGroupDetails (line 578) | func GetInterestGroupDetails(ownerOrigin string, name string) *GetIntere...
type GetInterestGroupDetailsReturns (line 586) | type GetInterestGroupDetailsReturns struct
type SetInterestGroupTrackingParams (line 608) | type SetInterestGroupTrackingParams struct
method Do (line 627) | func (p *SetInterestGroupTrackingParams) Do(ctx context.Context) (err ...
function SetInterestGroupTracking (line 620) | func SetInterestGroupTracking(enable bool) *SetInterestGroupTrackingPara...
type SetInterestGroupAuctionTrackingParams (line 634) | type SetInterestGroupAuctionTrackingParams struct
method Do (line 654) | func (p *SetInterestGroupAuctionTrackingParams) Do(ctx context.Context...
function SetInterestGroupAuctionTracking (line 647) | func SetInterestGroupAuctionTracking(enable bool) *SetInterestGroupAucti...
type GetSharedStorageMetadataParams (line 660) | type GetSharedStorageMetadataParams struct
method Do (line 687) | func (p *GetSharedStorageMetadataParams) Do(ctx context.Context) (meta...
function GetSharedStorageMetadata (line 671) | func GetSharedStorageMetadata(ownerOrigin string) *GetSharedStorageMetad...
type GetSharedStorageMetadataReturns (line 678) | type GetSharedStorageMetadataReturns struct
type GetSharedStorageEntriesParams (line 700) | type GetSharedStorageEntriesParams struct
method Do (line 728) | func (p *GetSharedStorageEntriesParams) Do(ctx context.Context) (entri...
function GetSharedStorageEntries (line 712) | func GetSharedStorageEntries(ownerOrigin string) *GetSharedStorageEntrie...
type GetSharedStorageEntriesReturns (line 719) | type GetSharedStorageEntriesReturns struct
type SetSharedStorageEntryParams (line 741) | type SetSharedStorageEntryParams struct
method WithIgnoreIfPresent (line 769) | func (p SetSharedStorageEntryParams) WithIgnoreIfPresent(ignoreIfPrese...
method Do (line 775) | func (p *SetSharedStorageEntryParams) Do(ctx context.Context) (err err...
function SetSharedStorageEntry (line 758) | func SetSharedStorageEntry(ownerOrigin string, key string, value string)...
type DeleteSharedStorageEntryParams (line 781) | type DeleteSharedStorageEntryParams struct
method Do (line 803) | func (p *DeleteSharedStorageEntryParams) Do(ctx context.Context) (err ...
function DeleteSharedStorageEntry (line 795) | func DeleteSharedStorageEntry(ownerOrigin string, key string) *DeleteSha...
type ClearSharedStorageEntriesParams (line 809) | type ClearSharedStorageEntriesParams struct
method Do (line 828) | func (p *ClearSharedStorageEntriesParams) Do(ctx context.Context) (err...
function ClearSharedStorageEntries (line 821) | func ClearSharedStorageEntries(ownerOrigin string) *ClearSharedStorageEn...
type ResetSharedStorageBudgetParams (line 834) | type ResetSharedStorageBudgetParams struct
method Do (line 853) | func (p *ResetSharedStorageBudgetParams) Do(ctx context.Context) (err ...
function ResetSharedStorageBudget (line 846) | func ResetSharedStorageBudget(ownerOrigin string) *ResetSharedStorageBud...
type SetSharedStorageTrackingParams (line 859) | type SetSharedStorageTrackingParams struct
method Do (line 878) | func (p *SetSharedStorageTrackingParams) Do(ctx context.Context) (err ...
function SetSharedStorageTracking (line 871) | func SetSharedStorageTracking(enable bool) *SetSharedStorageTrackingPara...
type SetStorageBucketTrackingParams (line 883) | type SetStorageBucketTrackingParams struct
method Do (line 904) | func (p *SetStorageBucketTrackingParams) Do(ctx context.Context) (err ...
function SetStorageBucketTracking (line 896) | func SetStorageBucketTracking(storageKey string, enable bool) *SetStorag...
type DeleteStorageBucketParams (line 910) | type DeleteStorageBucketParams struct
method Do (line 929) | func (p *DeleteStorageBucketParams) Do(ctx context.Context) (err error) {
function DeleteStorageBucket (line 922) | func DeleteStorageBucket(bucket *Bucket) *DeleteStorageBucketParams {
type RunBounceTrackingMitigationsParams (line 935) | type RunBounceTrackingMitigationsParams struct
method Do (line 955) | func (p *RunBounceTrackingMitigationsParams) Do(ctx context.Context) (...
function RunBounceTrackingMitigations (line 941) | func RunBounceTrackingMitigations() *RunBounceTrackingMitigationsParams {
type RunBounceTrackingMitigationsReturns (line 946) | type RunBounceTrackingMitigationsReturns struct
type SetAttributionReportingLocalTestingModeParams (line 968) | type SetAttributionReportingLocalTestingModeParams struct
method Do (line 987) | func (p *SetAttributionReportingLocalTestingModeParams) Do(ctx context...
function SetAttributionReportingLocalTestingMode (line 980) | func SetAttributionReportingLocalTestingMode(enabled bool) *SetAttributi...
type SetAttributionReportingTrackingParams (line 993) | type SetAttributionReportingTrackingParams struct
method Do (line 1012) | func (p *SetAttributionReportingTrackingParams) Do(ctx context.Context...
function SetAttributionReportingTracking (line 1005) | func SetAttributionReportingTracking(enable bool) *SetAttributionReporti...
type SendPendingAttributionReportsParams (line 1018) | type SendPendingAttributionReportsParams struct
method Do (line 1038) | func (p *SendPendingAttributionReportsParams) Do(ctx context.Context) ...
function SendPendingAttributionReports (line 1024) | func SendPendingAttributionReports() *SendPendingAttributionReportsParams {
type SendPendingAttributionReportsReturns (line 1029) | type SendPendingAttributionReportsReturns struct
type GetRelatedWebsiteSetsParams (line 1052) | type GetRelatedWebsiteSetsParams struct
method Do (line 1073) | func (p *GetRelatedWebsiteSetsParams) Do(ctx context.Context) (sets []...
function GetRelatedWebsiteSets (line 1059) | func GetRelatedWebsiteSets() *GetRelatedWebsiteSetsParams {
type GetRelatedWebsiteSetsReturns (line 1064) | type GetRelatedWebsiteSetsReturns struct
type GetAffectedURLsForThirdPartyCookieMetadataParams (line 1088) | type GetAffectedURLsForThirdPartyCookieMetadataParams struct
method Do (line 1121) | func (p *GetAffectedURLsForThirdPartyCookieMetadataParams) Do(ctx cont...
function GetAffectedURLsForThirdPartyCookieMetadata (line 1104) | func GetAffectedURLsForThirdPartyCookieMetadata(firstPartyURL string, th...
type GetAffectedURLsForThirdPartyCookieMetadataReturns (line 1112) | type GetAffectedURLsForThirdPartyCookieMetadataReturns struct
type SetProtectedAudienceKAnonymityParams (line 1133) | type SetProtectedAudienceKAnonymityParams struct
method Do (line 1157) | func (p *SetProtectedAudienceKAnonymityParams) Do(ctx context.Context)...
function SetProtectedAudienceKAnonymity (line 1148) | func SetProtectedAudienceKAnonymity(owner string, name string, hashes []...
constant CommandGetStorageKeyForFrame (line 1163) | CommandGetStorageKeyForFrame = "Storage.getStorageK...
constant CommandClearDataForOrigin (line 1164) | CommandClearDataForOrigin = "Storage.clearDataFo...
constant CommandClearDataForStorageKey (line 1165) | CommandClearDataForStorageKey = "Storage.clearDataFo...
constant CommandGetCookies (line 1166) | CommandGetCookies = "Storage.getCookies"
constant CommandSetCookies (line 1167) | CommandSetCookies = "Storage.setCookies"
constant CommandClearCookies (line 1168) | CommandClearCookies = "Storage.clearCookies"
constant CommandGetUsageAndQuota (line 1169) | CommandGetUsageAndQuota = "Storage.getUsageAnd...
constant CommandOverrideQuotaForOrigin (line 1170) | CommandOverrideQuotaForOrigin = "Storage.overrideQuo...
constant CommandTrackCacheStorageForOrigin (line 1171) | CommandTrackCacheStorageForOrigin = "Storage.trackCacheS...
constant CommandTrackCacheStorageForStorageKey (line 1172) | CommandTrackCacheStorageForStorageKey = "Storage.trackCacheS...
constant CommandTrackIndexedDBForOrigin (line 1173) | CommandTrackIndexedDBForOrigin = "Storage.trackIndexe...
constant CommandTrackIndexedDBForStorageKey (line 1174) | CommandTrackIndexedDBForStorageKey = "Storage.trackIndexe...
constant CommandUntrackCacheStorageForOrigin (line 1175) | CommandUntrackCacheStorageForOrigin = "Storage.untrackCach...
constant CommandUntrackCacheStorageForStorageKey (line 1176) | CommandUntrackCacheStorageForStorageKey = "Storage.untrackCach...
constant CommandUntrackIndexedDBForOrigin (line 1177) | CommandUntrackIndexedDBForOrigin = "Storage.untrackInde...
constant CommandUntrackIndexedDBForStorageKey (line 1178) | CommandUntrackIndexedDBForStorageKey = "Storage.untrackInde...
constant CommandGetTrustTokens (line 1179) | CommandGetTrustTokens = "Storage.getTrustTok...
constant CommandClearTrustTokens (line 1180) | CommandClearTrustTokens = "Storage.clearTrustT...
constant CommandGetInterestGroupDetails (line 1181) | CommandGetInterestGroupDetails = "Storage.getInterest...
constant CommandSetInterestGroupTracking (line 1182) | CommandSetInterestGroupTracking = "Storage.setInterest...
constant CommandSetInterestGroupAuctionTracking (line 1183) | CommandSetInterestGroupAuctionTracking = "Storage.setInterest...
constant CommandGetSharedStorageMetadata (line 1184) | CommandGetSharedStorageMetadata = "Storage.getSharedSt...
constant CommandGetSharedStorageEntries (line 1185) | CommandGetSharedStorageEntries = "Storage.getSharedSt...
constant CommandSetSharedStorageEntry (line 1186) | CommandSetSharedStorageEntry = "Storage.setSharedSt...
constant CommandDeleteSharedStorageEntry (line 1187) | CommandDeleteSharedStorageEntry = "Storage.deleteShare...
constant CommandClearSharedStorageEntries (line 1188) | CommandClearSharedStorageEntries = "Storage.clearShared...
constant CommandResetSharedStorageBudget (line 1189) | CommandResetSharedStorageBudget = "Storage.resetShared...
constant CommandSetSharedStorageTracking (line 1190) | CommandSetSharedStorageTracking = "Storage.setSharedSt...
constant CommandSetStorageBucketTracking (line 1191) | CommandSetStorageBucketTracking = "Storage.setStorageB...
constant CommandDeleteStorageBucket (line 1192) | CommandDeleteStorageBucket = "Storage.deleteStora...
constant CommandRunBounceTrackingMitigations (line 1193) | CommandRunBounceTrackingMitigations = "Storage.runBounceTr...
constant CommandSetAttributionReportingLocalTestingMode (line 1194) | CommandSetAttributionReportingLocalTestingMode = "Storage.setAttribut...
constant CommandSetAttributionReportingTracking (line 1195) | CommandSetAttributionReportingTracking = "Storage.setAttribut...
constant CommandSendPendingAttributionReports (line 1196) | CommandSendPendingAttributionReports = "Storage.sendPending...
constant CommandGetRelatedWebsiteSets (line 1197) | CommandGetRelatedWebsiteSets = "Storage.getRelatedW...
constant CommandGetAffectedURLsForThirdPartyCookieMetadata (line 1198) | CommandGetAffectedURLsForThirdPartyCookieMetadata = "Storage.getAffected...
constant CommandSetProtectedAudienceKAnonymity (line 1199) | CommandSetProtectedAudienceKAnonymity = "Storage.setProtecte...
FILE: vendor/github.com/chromedp/cdproto/storage/types.go
type SerializedStorageKey (line 16) | type SerializedStorageKey
method String (line 19) | func (t SerializedStorageKey) String() string {
type Type (line 26) | type Type
method String (line 29) | func (t Type) String() string {
method UnmarshalJSON (line 51) | func (t *Type) UnmarshalJSON(buf []byte) error {
constant TypeCookies (line 35) | TypeCookies Type = "cookies"
constant TypeFileSystems (line 36) | TypeFileSystems Type = "file_systems"
constant TypeIndexeddb (line 37) | TypeIndexeddb Type = "indexeddb"
constant TypeLocalStorage (line 38) | TypeLocalStorage Type = "local_storage"
constant TypeShaderCache (line 39) | TypeShaderCache Type = "shader_cache"
constant TypeWebsql (line 40) | TypeWebsql Type = "websql"
constant TypeServiceWorkers (line 41) | TypeServiceWorkers Type = "service_workers"
constant TypeCacheStorage (line 42) | TypeCacheStorage Type = "cache_storage"
constant TypeInterestGroups (line 43) | TypeInterestGroups Type = "interest_groups"
constant TypeSharedStorage (line 44) | TypeSharedStorage Type = "shared_storage"
constant TypeStorageBuckets (line 45) | TypeStorageBuckets Type = "storage_buckets"
constant TypeAll (line 46) | TypeAll Type = "all"
constant TypeOther (line 47) | TypeOther Type = "other"
type UsageForType (line 91) | type UsageForType struct
type TrustTokens (line 100) | type TrustTokens struct
type InterestGroupAuctionID (line 109) | type InterestGroupAuctionID
method String (line 112) | func (t InterestGroupAuctionID) String() string {
type InterestGroupAccessType (line 119) | type InterestGroupAccessType
method String (line 122) | func (t InterestGroupAccessType) String() string {
method UnmarshalJSON (line 142) | func (t *InterestGroupAccessType) UnmarshalJSON(buf []byte) error {
constant InterestGroupAccessTypeJoin (line 128) | InterestGroupAccessTypeJoin InterestGroupAccessType = "...
constant InterestGroupAccessTypeLeave (line 129) | InterestGroupAccessTypeLeave InterestGroupAccessType = "...
constant InterestGroupAccessTypeUpdate (line 130) | InterestGroupAccessTypeUpdate InterestGroupAccessType = "...
constant InterestGroupAccessTypeLoaded (line 131) | InterestGroupAccessTypeLoaded InterestGroupAccessType = "...
constant InterestGroupAccessTypeBid (line 132) | InterestGroupAccessTypeBid InterestGroupAccessType = "...
constant InterestGroupAccessTypeWin (line 133) | InterestGroupAccessTypeWin InterestGroupAccessType = "...
constant InterestGroupAccessTypeAdditionalBid (line 134) | InterestGroupAccessTypeAdditionalBid InterestGroupAccessType = "...
constant InterestGroupAccessTypeAdditionalBidWin (line 135) | InterestGroupAccessTypeAdditionalBidWin InterestGroupAccessType = "...
constant InterestGroupAccessTypeTopLevelBid (line 136) | InterestGroupAccessTypeTopLevelBid InterestGroupAccessType = "...
constant InterestGroupAccessTypeTopLevelAdditionalBid (line 137) | InterestGroupAccessTypeTopLevelAdditionalBid InterestGroupAccessType = "...
constant InterestGroupAccessTypeClear (line 138) | InterestGroupAccessTypeClear InterestGroupAccessType = "...
type InterestGroupAuctionEventType (line 178) | type InterestGroupAuctionEventType
method String (line 181) | func (t InterestGroupAuctionEventType) String() string {
method UnmarshalJSON (line 192) | func (t *InterestGroupAuctionEventType) UnmarshalJSON(buf []byte) error {
constant InterestGroupAuctionEventTypeStarted (line 187) | InterestGroupAuctionEventTypeStarted InterestGroupAuctionEventTyp...
constant InterestGroupAuctionEventTypeConfigResolved (line 188) | InterestGroupAuctionEventTypeConfigResolved InterestGroupAuctionEventTyp...
type InterestGroupAuctionFetchType (line 210) | type InterestGroupAuctionFetchType
method String (line 213) | func (t InterestGroupAuctionFetchType) String() string {
method UnmarshalJSON (line 227) | func (t *InterestGroupAuctionFetchType) UnmarshalJSON(buf []byte) error {
constant InterestGroupAuctionFetchTypeBidderJs (line 219) | InterestGroupAuctionFetchTypeBidderJs InterestGroupAuctionFe...
constant InterestGroupAuctionFetchTypeBidderWasm (line 220) | InterestGroupAuctionFetchTypeBidderWasm InterestGroupAuctionFe...
constant InterestGroupAuctionFetchTypeSellerJs (line 221) | InterestGroupAuctionFetchTypeSellerJs InterestGroupAuctionFe...
constant InterestGroupAuctionFetchTypeBidderTrustedSignals (line 222) | InterestGroupAuctionFetchTypeBidderTrustedSignals InterestGroupAuctionFe...
constant InterestGroupAuctionFetchTypeSellerTrustedSignals (line 223) | InterestGroupAuctionFetchTypeSellerTrustedSignals InterestGroupAuctionFe...
type SharedStorageAccessScope (line 251) | type SharedStorageAccessScope
method String (line 254) | func (t SharedStorageAccessScope) String() string {
method UnmarshalJSON (line 267) | func (t *SharedStorageAccessScope) UnmarshalJSON(buf []byte) error {
constant SharedStorageAccessScopeWindow (line 260) | SharedStorageAccessScopeWindow SharedStorageAccessScop...
constant SharedStorageAccessScopeSharedStorageWorklet (line 261) | SharedStorageAccessScopeSharedStorageWorklet SharedStorageAccessScop...
constant SharedStorageAccessScopeProtectedAudienceWorklet (line 262) | SharedStorageAccessScopeProtectedAudienceWorklet SharedStorageAccessScop...
constant SharedStorageAccessScopeHeader (line 263) | SharedStorageAccessScopeHeader SharedStorageAccessScop...
type SharedStorageAccessMethod (line 289) | type SharedStorageAccessMethod
method String (line 292) | func (t SharedStorageAccessMethod) String() string {
method UnmarshalJSON (line 316) | func (t *SharedStorageAccessMethod) UnmarshalJSON(buf []byte) error {
constant SharedStorageAccessMethodAddModule (line 298) | SharedStorageAccessMethodAddModule SharedStorageAccessMethod = "ad...
constant SharedStorageAccessMethodCreateWorklet (line 299) | SharedStorageAccessMethodCreateWorklet SharedStorageAccessMethod = "cr...
constant SharedStorageAccessMethodSelectURL (line 300) | SharedStorageAccessMethodSelectURL SharedStorageAccessMethod = "se...
constant SharedStorageAccessMethodRun (line 301) | SharedStorageAccessMethodRun SharedStorageAccessMethod = "run"
constant SharedStorageAccessMethodBatchUpdate (line 302) | SharedStorageAccessMethodBatchUpdate SharedStorageAccessMethod = "ba...
constant SharedStorageAccessMethodSet (line 303) | SharedStorageAccessMethodSet SharedStorageAccessMethod = "set"
constant SharedStorageAccessMethodAppend (line 304) | SharedStorageAccessMethodAppend SharedStorageAccessMethod = "ap...
constant SharedStorageAccessMethodDelete (line 305) | SharedStorageAccessMethodDelete SharedStorageAccessMethod = "de...
constant SharedStorageAccessMethodClear (line 306) | SharedStorageAccessMethodClear SharedStorageAccessMethod = "cl...
constant SharedStorageAccessMethodGet (line 307) | SharedStorageAccessMethodGet SharedStorageAccessMethod = "get"
constant SharedStorageAccessMethodKeys (line 308) | SharedStorageAccessMethodKeys SharedStorageAccessMethod = "keys"
constant SharedStorageAccessMethodValues (line 309) | SharedStorageAccessMethodValues SharedStorageAccessMethod = "va...
constant SharedStorageAccessMethodEntries (line 310) | SharedStorageAccessMethodEntries SharedStorageAccessMethod = "en...
constant SharedStorageAccessMethodLength (line 311) | SharedStorageAccessMethodLength SharedStorageAccessMethod = "le...
constant SharedStorageAccessMethodRemainingBudget (line 312) | SharedStorageAccessMethodRemainingBudget SharedStorageAccessMethod = "re...
type SharedStorageEntry (line 361) | type SharedStorageEntry struct
type SharedStorageMetadata (line 369) | type SharedStorageMetadata struct
type SharedStoragePrivateAggregationConfig (line 380) | type SharedStoragePrivateAggregationConfig struct
type SharedStorageReportingMetadata (line 391) | type SharedStorageReportingMetadata struct
type SharedStorageURLWithMetadata (line 400) | type SharedStorageURLWithMetadata struct
type SharedStorageAccessParams (line 409) | type SharedStorageAccessParams struct
type BucketsDurability (line 432) | type BucketsDurability
method String (line 435) | func (t BucketsDurability) String() string {
method UnmarshalJSON (line 446) | func (t *BucketsDurability) UnmarshalJSON(buf []byte) error {
constant BucketsDurabilityRelaxed (line 441) | BucketsDurabilityRelaxed BucketsDurability = "relaxed"
constant BucketsDurabilityStrict (line 442) | BucketsDurabilityStrict BucketsDurability = "strict"
type Bucket (line 464) | type Bucket struct
type BucketInfo (line 472) | type BucketInfo struct
type AttributionReportingSourceType (line 484) | type AttributionReportingSourceType
method String (line 487) | func (t AttributionReportingSourceType) String() string {
method UnmarshalJSON (line 498) | func (t *AttributionReportingSourceType) UnmarshalJSON(buf []byte) err...
constant AttributionReportingSourceTypeNavigation (line 493) | AttributionReportingSourceTypeNavigation AttributionReportingSourceType ...
constant AttributionReportingSourceTypeEvent (line 494) | AttributionReportingSourceTypeEvent AttributionReportingSourceType ...
type UnsignedInt64asBase10 (line 516) | type UnsignedInt64asBase10
method String (line 519) | func (t UnsignedInt64asBase10) String() string {
type UnsignedInt128asBase16 (line 526) | type UnsignedInt128asBase16
method String (line 529) | func (t UnsignedInt128asBase16) String() string {
type SignedInt64asBase10 (line 536) | type SignedInt64asBase10
method String (line 539) | func (t SignedInt64asBase10) String() string {
type AttributionReportingFilterDataEntry (line 546) | type AttributionReportingFilterDataEntry struct
type AttributionReportingFilterConfig (line 554) | type AttributionReportingFilterConfig struct
type AttributionReportingFilterPair (line 562) | type AttributionReportingFilterPair struct
type AttributionReportingAggregationKeysEntry (line 570) | type AttributionReportingAggregationKeysEntry struct
type AttributionReportingEventReportWindows (line 578) | type AttributionReportingEventReportWindows struct
type AttributionReportingTriggerDataMatching (line 586) | type AttributionReportingTriggerDataMatching
method String (line 589) | func (t AttributionReportingTriggerDataMatching) String() string {
method UnmarshalJSON (line 600) | func (t *AttributionReportingTriggerDataMatching) UnmarshalJSON(buf []...
constant AttributionReportingTriggerDataMatchingExact (line 595) | AttributionReportingTriggerDataMatchingExact AttributionReportingTrigg...
constant AttributionReportingTriggerDataMatchingModulus (line 596) | AttributionReportingTriggerDataMatchingModulus AttributionReportingTrigg...
type AttributionReportingAggregatableDebugReportingData (line 618) | type AttributionReportingAggregatableDebugReportingData struct
type AttributionReportingAggregatableDebugReportingConfig (line 627) | type AttributionReportingAggregatableDebugReportingConfig struct
type AttributionScopesData (line 637) | type AttributionScopesData struct
type AttributionReportingNamedBudgetDef (line 646) | type AttributionReportingNamedBudgetDef struct
type AttributionReportingSourceRegistration (line 654) | type AttributionReportingSourceRegistration struct
type AttributionReportingSourceRegistrationResult (line 682) | type AttributionReportingSourceRegistrationResult
method String (line 685) | func (t AttributionReportingSourceRegistrationResult) String() string {
method UnmarshalJSON (line 710) | func (t *AttributionReportingSourceRegistrationResult) UnmarshalJSON(b...
constant AttributionReportingSourceRegistrationResultSuccess (line 691) | AttributionReportingSourceRegistrationResultSuccess ...
constant AttributionReportingSourceRegistrationResultInternalError (line 692) | AttributionReportingSourceRegistrationResultInternalError ...
constant AttributionReportingSourceRegistrationResultInsufficientSourceCapacity (line 693) | AttributionReportingSourceRegistrationResultInsufficientSourceCapacity ...
constant AttributionReportingSourceRegistrationResultInsufficientUniqueDestinationCapacity (line 694) | AttributionReportingSourceRegistrationResultInsufficientUniqueDestinatio...
constant AttributionReportingSourceRegistrationResultExcessiveReportingOrigins (line 695) | AttributionReportingSourceRegistrationResultExcessiveReportingOrigins ...
constant AttributionReportingSourceRegistrationResultProhibitedByBrowserPolicy (line 696) | AttributionReportingSourceRegistrationResultProhibitedByBrowserPolicy ...
constant AttributionReportingSourceRegistrationResultSuccessNoised (line 697) | AttributionReportingSourceRegistrationResultSuccessNoised ...
constant AttributionReportingSourceRegistrationResultDestinationReportingLimitReached (line 698) | AttributionReportingSourceRegistrationResultDestinationReportingLimitRea...
constant AttributionReportingSourceRegistrationResultDestinationGlobalLimitReached (line 699) | AttributionReportingSourceRegistrationResultDestinationGlobalLimitReache...
constant AttributionReportingSourceRegistrationResultDestinationBothLimitsReached (line 700) | AttributionReportingSourceRegistrationResultDestinationBothLimitsReached...
constant AttributionReportingSourceRegistrationResultReportingOriginsPerSiteLimitReached (line 701) | AttributionReportingSourceRegistrationResultReportingOriginsPerSiteLimit...
constant AttributionReportingSourceRegistrationResultExceedsMaxChannelCapacity (line 702) | AttributionReportingSourceRegistrationResultExceedsMaxChannelCapacity ...
constant AttributionReportingSourceRegistrationResultExceedsMaxScopesChannelCapacity (line 703) | AttributionReportingSourceRegistrationResultExceedsMaxScopesChannelCapac...
constant AttributionReportingSourceRegistrationResultExceedsMaxTriggerStateCardinality (line 704) | AttributionReportingSourceRegistrationResultExceedsMaxTriggerStateCardin...
constant AttributionReportingSourceRegistrationResultExceedsMaxEventStatesLimit (line 705) | AttributionReportingSourceRegistrationResultExceedsMaxEventStatesLimit ...
constant AttributionReportingSourceRegistrationResultDestinationPerDayReportingLimitReached (line 706) | AttributionReportingSourceRegistrationResultDestinationPerDayReportingLi...
type AttributionReportingSourceRegistrationTimeConfig (line 756) | type AttributionReportingSourceRegistrationTimeConfig
method String (line 759) | func (t AttributionReportingSourceRegistrationTimeConfig) String() str...
method UnmarshalJSON (line 770) | func (t *AttributionReportingSourceRegistrationTimeConfig) UnmarshalJS...
constant AttributionReportingSourceRegistrationTimeConfigInclude (line 765) | AttributionReportingSourceRegistrationTimeConfigInclude AttributionRepor...
constant AttributionReportingSourceRegistrationTimeConfigExclude (line 766) | AttributionReportingSourceRegistrationTimeConfigExclude AttributionRepor...
type AttributionReportingAggregatableValueDictEntry (line 788) | type AttributionReportingAggregatableValueDictEntry struct
type AttributionReportingAggregatableValueEntry (line 797) | type AttributionReportingAggregatableValueEntry struct
type AttributionReportingEventTriggerData (line 805) | type AttributionReportingEventTriggerData struct
type AttributionReportingAggregatableTriggerData (line 815) | type AttributionReportingAggregatableTriggerData struct
type AttributionReportingAggregatableDedupKey (line 824) | type AttributionReportingAggregatableDedupKey struct
type AttributionReportingNamedBudgetCandidate (line 832) | type AttributionReportingNamedBudgetCandidate struct
type AttributionReportingTriggerRegistration (line 840) | type AttributionReportingTriggerRegistration struct
type AttributionReportingEventLevelResult (line 860) | type AttributionReportingEventLevelResult
method String (line 863) | func (t AttributionReportingEventLevelResult) String() string {
method UnmarshalJSON (line 891) | func (t *AttributionReportingEventLevelResult) UnmarshalJSON(buf []byt...
constant AttributionReportingEventLevelResultSuccess (line 869) | AttributionReportingEventLevelResultSuccess ...
constant AttributionReportingEventLevelResultSuccessDroppedLowerPriority (line 870) | AttributionReportingEventLevelResultSuccessDroppedLowerPriority ...
constant AttributionReportingEventLevelResultInternalError (line 871) | AttributionReportingEventLevelResultInternalError ...
constant AttributionReportingEventLevelResultNoCapacityForAttributionDestination (line 872) | AttributionReportingEventLevelResultNoCapacityForAttributionDestination ...
constant AttributionReportingEventLevelResultNoMatchingSources (line 873) | AttributionReportingEventLevelResultNoMatchingSources ...
constant AttributionReportingEventLevelResultDeduplicated (line 874) | AttributionReportingEventLevelResultDeduplicated ...
constant AttributionReportingEventLevelResultExcessiveAttributions (line 875) | AttributionReportingEventLevelResultExcessiveAttributions ...
constant AttributionReportingEventLevelResultPriorityTooLow (line 876) | AttributionReportingEventLevelResultPriorityTooLow ...
constant AttributionReportingEventLevelResultNeverAttributedSource (line 877) | AttributionReportingEventLevelResultNeverAttributedSource ...
constant AttributionReportingEventLevelResultExcessiveReportingOrigins (line 878) | AttributionReportingEventLevelResultExcessiveReportingOrigins ...
constant AttributionReportingEventLevelResultNoMatchingSourceFilterData (line 879) | AttributionReportingEventLevelResultNoMatchingSourceFilterData ...
constant AttributionReportingEventLevelResultProhibitedByBrowserPolicy (line 880) | AttributionReportingEventLevelResultProhibitedByBrowserPolicy ...
constant AttributionReportingEventLevelResultNoMatchingConfigurations (line 881) | AttributionReportingEventLevelResultNoMatchingConfigurations ...
constant AttributionReportingEventLevelResultExcessiveReports (line 882) | AttributionReportingEventLevelResultExcessiveReports ...
constant AttributionReportingEventLevelResultFalselyAttributedSource (line 883) | AttributionReportingEventLevelResultFalselyAttributedSource ...
constant AttributionReportingEventLevelResultReportWindowPassed (line 884) | AttributionReportingEventLevelResultReportWindowPassed ...
constant AttributionReportingEventLevelResultNotRegistered (line 885) | AttributionReportingEventLevelResultNotRegistered ...
constant AttributionReportingEventLevelResultReportWindowNotStarted (line 886) | AttributionReportingEventLevelResultReportWindowNotStarted ...
constant AttributionReportingEventLevelResultNoMatchingTriggerData (line 887) | AttributionReportingEventLevelResultNoMatchingTriggerData ...
type AttributionReportingAggregatableResult (line 943) | type AttributionReportingAggregatableResult
method String (line 946) | func (t AttributionReportingAggregatableResult) String() string {
method UnmarshalJSON (line 970) | func (t *AttributionReportingAggregatableResult) UnmarshalJSON(buf []b...
constant AttributionReportingAggregatableResultSuccess (line 952) | AttributionReportingAggregatableResultSuccess ...
constant AttributionReportingAggregatableResultInternalError (line 953) | AttributionReportingAggregatableResultInternalError ...
constant AttributionReportingAggregatableResultNoCapacityForAttributionDestination (line 954) | AttributionReportingAggregatableResultNoCapacityForAttributionDestinatio...
constant AttributionReportingAggregatableResultNoMatchingSources (line 955) | AttributionReportingAggregatableResultNoMatchingSources ...
constant AttributionReportingAggregatableResultExcessiveAttributions (line 956) | AttributionReportingAggregatableResultExcessiveAttributions ...
constant AttributionReportingAggregatableResultExcessiveReportingOrigins (line 957) | AttributionReportingAggregatableResultExcessiveReportingOrigins ...
constant AttributionReportingAggregatableResultNoHistograms (line 958) | AttributionReportingAggregatableResultNoHistograms ...
constant AttributionReportingAggregatableResultInsufficientBudget (line 959) | AttributionReportingAggregatableResultInsufficientBudget ...
constant AttributionReportingAggregatableResultInsufficientNamedBudget (line 960) | AttributionReportingAggregatableResultInsufficientNamedBudget ...
constant AttributionReportingAggregatableResultNoMatchingSourceFilterData (line 961) | AttributionReportingAggregatableResultNoMatchingSourceFilterData ...
constant AttributionReportingAggregatableResultNotRegistered (line 962) | AttributionReportingAggregatableResultNotRegistered ...
constant AttributionReportingAggregatableResultProhibitedByBrowserPolicy (line 963) | AttributionReportingAggregatableResultProhibitedByBrowserPolicy ...
constant AttributionReportingAggregatableResultDeduplicated (line 964) | AttributionReportingAggregatableResultDeduplicated ...
constant AttributionReportingAggregatableResultReportWindowPassed (line 965) | AttributionReportingAggregatableResultReportWindowPassed ...
constant AttributionReportingAggregatableResultExcessiveReports (line 966) | AttributionReportingAggregatableResultExcessiveReports ...
type AttributionReportingReportResult (line 1014) | type AttributionReportingReportResult
method String (line 1017) | func (t AttributionReportingReportResult) String() string {
method UnmarshalJSON (line 1030) | func (t *AttributionReportingReportResult) UnmarshalJSON(buf []byte) e...
constant AttributionReportingReportResultSent (line 1023) | AttributionReportingReportResultSent AttributionReportingRep...
constant AttributionReportingReportResultProhibited (line 1024) | AttributionReportingReportResultProhibited AttributionReportingRep...
constant AttributionReportingReportResultFailedToAssemble (line 1025) | AttributionReportingReportResultFailedToAssemble AttributionReportingRep...
constant AttributionReportingReportResultExpired (line 1026) | AttributionReportingReportResultExpired AttributionReportingRep...
type RelatedWebsiteSet (line 1052) | type RelatedWebsiteSet struct
FILE: vendor/github.com/chromedp/cdproto/systeminfo/systeminfo.go
type GetInfoParams (line 19) | type GetInfoParams struct
method Do (line 44) | func (p *GetInfoParams) Do(ctx context.Context) (gpu *GPUInfo, modelNa...
function GetInfo (line 24) | func GetInfo() *GetInfoParams {
type GetInfoReturns (line 29) | type GetInfoReturns struct
type GetFeatureStateParams (line 56) | type GetFeatureStateParams struct
method Do (line 83) | func (p *GetFeatureStateParams) Do(ctx context.Context) (featureEnable...
function GetFeatureState (line 67) | func GetFeatureState(featureState string) *GetFeatureStateParams {
type GetFeatureStateReturns (line 74) | type GetFeatureStateReturns struct
type GetProcessInfoParams (line 95) | type GetProcessInfoParams struct
method Do (line 114) | func (p *GetProcessInfoParams) Do(ctx context.Context) (processInfo []...
function GetProcessInfo (line 100) | func GetProcessInfo() *GetProcessInfoParams {
type GetProcessInfoReturns (line 105) | type GetProcessInfoReturns struct
constant CommandGetInfo (line 127) | CommandGetInfo = "SystemInfo.getInfo"
constant CommandGetFeatureState (line 128) | CommandGetFeatureState = "SystemInfo.getFeatureState"
constant CommandGetProcessInfo (line 129) | CommandGetProcessInfo = "SystemInfo.getProcessInfo"
FILE: vendor/github.com/chromedp/cdproto/systeminfo/types.go
type GPUDevice (line 15) | type GPUDevice struct
type Size (line 29) | type Size struct
type VideoDecodeAcceleratorCapability (line 38) | type VideoDecodeAcceleratorCapability struct
type VideoEncodeAcceleratorCapability (line 48) | type VideoEncodeAcceleratorCapability struct
type SubsamplingFormat (line 58) | type SubsamplingFormat
method String (line 61) | func (t SubsamplingFormat) String() string {
method UnmarshalJSON (line 73) | func (t *SubsamplingFormat) UnmarshalJSON(buf []byte) error {
constant SubsamplingFormatYuv420 (line 67) | SubsamplingFormatYuv420 SubsamplingFormat = "yuv420"
constant SubsamplingFormatYuv422 (line 68) | SubsamplingFormatYuv422 SubsamplingFormat = "yuv422"
constant SubsamplingFormatYuv444 (line 69) | SubsamplingFormatYuv444 SubsamplingFormat = "yuv444"
type ImageType (line 93) | type ImageType
method String (line 96) | func (t ImageType) String() string {
method UnmarshalJSON (line 108) | func (t *ImageType) UnmarshalJSON(buf []byte) error {
constant ImageTypeJpeg (line 102) | ImageTypeJpeg ImageType = "jpeg"
constant ImageTypeWebp (line 103) | ImageTypeWebp ImageType = "webp"
constant ImageTypeUnknown (line 104) | ImageTypeUnknown ImageType = "unknown"
type ImageDecodeAcceleratorCapability (line 129) | type ImageDecodeAcceleratorCapability struct
type GPUInfo (line 139) | type GPUInfo struct
type ProcessInfo (line 152) | type ProcessInfo struct
FILE: vendor/github.com/chromedp/cdproto/target/events.go
type EventAttachedToTarget (line 9) | type EventAttachedToTarget struct
type EventDetachedFromTarget (line 20) | type EventDetachedFromTarget struct
type EventReceivedMessageFromTarget (line 28) | type EventReceivedMessageFromTarget struct
type EventTargetCreated (line 36) | type EventTargetCreated struct
type EventTargetDestroyed (line 43) | type EventTargetDestroyed struct
type EventTargetCrashed (line 50) | type EventTargetCrashed struct
type EventTargetInfoChanged (line 60) | type EventTargetInfoChanged struct
FILE: vendor/github.com/chromedp/cdproto/target/target.go
type ActivateTargetParams (line 18) | type ActivateTargetParams struct
method Do (line 36) | func (p *ActivateTargetParams) Do(ctx context.Context) (err error) {
function ActivateTarget (line 29) | func ActivateTarget(targetID ID) *ActivateTargetParams {
type AttachToTargetParams (line 41) | type AttachToTargetParams struct
method WithFlatten (line 63) | func (p AttachToTargetParams) WithFlatten(flatten bool) *AttachToTarge...
method Do (line 78) | func (p *AttachToTargetParams) Do(ctx context.Context) (sessionID Sess...
function AttachToTarget (line 53) | func AttachToTarget(targetID ID) *AttachToTargetParams {
type AttachToTargetReturns (line 69) | type AttachToTargetReturns struct
type AttachToBrowserTargetParams (line 91) | type AttachToBrowserTargetParams struct
method Do (line 111) | func (p *AttachToBrowserTargetParams) Do(ctx context.Context) (session...
function AttachToBrowserTarget (line 97) | func AttachToBrowserTarget() *AttachToBrowserTargetParams {
type AttachToBrowserTargetReturns (line 102) | type AttachToBrowserTargetReturns struct
type CloseTargetParams (line 124) | type CloseTargetParams struct
method Do (line 143) | func (p *CloseTargetParams) Do(ctx context.Context) (err error) {
function CloseTarget (line 136) | func CloseTarget(targetID ID) *CloseTargetParams {
type ExposeDevToolsProtocolParams (line 153) | type ExposeDevToolsProtocolParams struct
method WithBindingName (line 179) | func (p ExposeDevToolsProtocolParams) WithBindingName(bindingName stri...
method WithInheritPermissions (line 186) | func (p ExposeDevToolsProtocolParams) WithInheritPermissions(inheritPe...
method Do (line 192) | func (p *ExposeDevToolsProtocolParams) Do(ctx context.Context) (err er...
function ExposeDevToolsProtocol (line 171) | func ExposeDevToolsProtocol(targetID ID) *ExposeDevToolsProtocolParams {
type CreateBrowserContextParams (line 198) | type CreateBrowserContextParams struct
method WithDisposeOnDetach (line 219) | func (p CreateBrowserContextParams) WithDisposeOnDetach(disposeOnDetac...
method WithProxyServer (line 225) | func (p CreateBrowserContextParams) WithProxyServer(proxyServer string...
method WithProxyBypassList (line 232) | func (p CreateBrowserContextParams) WithProxyBypassList(proxyBypassLis...
method WithOriginsWithUniversalNetworkAccess (line 240) | func (p CreateBrowserContextParams) WithOriginsWithUniversalNetworkAcc...
method Do (line 255) | func (p *CreateBrowserContextParams) Do(ctx context.Context) (browserC...
function CreateBrowserContext (line 211) | func CreateBrowserContext() *CreateBrowserContextParams {
type CreateBrowserContextReturns (line 246) | type CreateBrowserContextReturns struct
type GetBrowserContextsParams (line 268) | type GetBrowserContextsParams struct
method Do (line 288) | func (p *GetBrowserContextsParams) Do(ctx context.Context) (browserCon...
function GetBrowserContexts (line 274) | func GetBrowserContexts() *GetBrowserContextsParams {
type GetBrowserContextsReturns (line 279) | type GetBrowserContextsReturns struct
type CreateTargetParams (line 300) | type CreateTargetParams struct
method WithLeft (line 335) | func (p CreateTargetParams) WithLeft(left int64) *CreateTargetParams {
method WithTop (line 342) | func (p CreateTargetParams) WithTop(top int64) *CreateTargetParams {
method WithWidth (line 349) | func (p CreateTargetParams) WithWidth(width int64) *CreateTargetParams {
method WithHeight (line 356) | func (p CreateTargetParams) WithHeight(height int64) *CreateTargetPara...
method WithWindowState (line 363) | func (p CreateTargetParams) WithWindowState(windowState WindowState) *...
method WithBrowserContextID (line 369) | func (p CreateTargetParams) WithBrowserContextID(browserContextID cdp....
method WithEnableBeginFrameControl (line 377) | func (p CreateTargetParams) WithEnableBeginFrameControl(enableBeginFra...
method WithNewWindow (line 384) | func (p CreateTargetParams) WithNewWindow(newWindow bool) *CreateTarge...
method WithBackground (line 391) | func (p CreateTargetParams) WithBackground(background bool) *CreateTar...
method WithForTab (line 397) | func (p CreateTargetParams) WithForTab(forTab bool) *CreateTargetParams {
method WithHidden (line 406) | func (p CreateTargetParams) WithHidden(hidden bool) *CreateTargetParams {
method Do (line 421) | func (p *CreateTargetParams) Do(ctx context.Context) (targetID ID, err...
function CreateTarget (line 322) | func CreateTarget(url string) *CreateTargetParams {
type CreateTargetReturns (line 412) | type CreateTargetReturns struct
type DetachFromTargetParams (line 433) | type DetachFromTargetParams struct
method WithSessionID (line 447) | func (p DetachFromTargetParams) WithSessionID(sessionID SessionID) *De...
method Do (line 453) | func (p *DetachFromTargetParams) Do(ctx context.Context) (err error) {
function DetachFromTarget (line 442) | func DetachFromTarget() *DetachFromTargetParams {
type DisposeBrowserContextParams (line 459) | type DisposeBrowserContextParams struct
method Do (line 478) | func (p *DisposeBrowserContextParams) Do(ctx context.Context) (err err...
function DisposeBrowserContext (line 471) | func DisposeBrowserContext(browserContextID cdp.BrowserContextID) *Dispo...
type GetTargetInfoParams (line 483) | type GetTargetInfoParams struct
method WithTargetID (line 497) | func (p GetTargetInfoParams) WithTargetID(targetID ID) *GetTargetInfoP...
method Do (line 512) | func (p *GetTargetInfoParams) Do(ctx context.Context) (targetInfo *Inf...
function GetTargetInfo (line 492) | func GetTargetInfo() *GetTargetInfoParams {
type GetTargetInfoReturns (line 503) | type GetTargetInfoReturns struct
type GetTargetsParams (line 524) | type GetTargetsParams struct
method WithFilter (line 540) | func (p GetTargetsParams) WithFilter(filter Filter) *GetTargetsParams {
method Do (line 555) | func (p *GetTargetsParams) Do(ctx context.Context) (targetInfos []*Inf...
function GetTargets (line 533) | func GetTargets() *GetTargetsParams {
type GetTargetsReturns (line 546) | type GetTargetsReturns struct
type SetAutoAttachParams (line 574) | type SetAutoAttachParams struct
method WithFlatten (line 607) | func (p SetAutoAttachParams) WithFlatten(flatten bool) *SetAutoAttachP...
method WithFilter (line 613) | func (p SetAutoAttachParams) WithFilter(filter Filter) *SetAutoAttachP...
method Do (line 619) | func (p *SetAutoAttachParams) Do(ctx context.Context) (err error) {
function SetAutoAttach (line 596) | func SetAutoAttach(autoAttach bool, waitForDebuggerOnStart bool) *SetAut...
type AutoAttachRelatedParams (line 629) | type AutoAttachRelatedParams struct
method WithFilter (line 656) | func (p AutoAttachRelatedParams) WithFilter(filter Filter) *AutoAttach...
method Do (line 662) | func (p *AutoAttachRelatedParams) Do(ctx context.Context) (err error) {
function AutoAttachRelated (line 648) | func AutoAttachRelated(targetID ID, waitForDebuggerOnStart bool) *AutoAt...
type SetDiscoverTargetsParams (line 668) | type SetDiscoverTargetsParams struct
method WithFilter (line 689) | func (p SetDiscoverTargetsParams) WithFilter(filter Filter) *SetDiscov...
method Do (line 695) | func (p *SetDiscoverTargetsParams) Do(ctx context.Context) (err error) {
function SetDiscoverTargets (line 681) | func SetDiscoverTargets(discover bool) *SetDiscoverTargetsParams {
type SetRemoteLocationsParams (line 701) | type SetRemoteLocationsParams struct
method Do (line 720) | func (p *SetRemoteLocationsParams) Do(ctx context.Context) (err error) {
function SetRemoteLocations (line 713) | func SetRemoteLocations(locations []*RemoteLocation) *SetRemoteLocations...
type OpenDevToolsParams (line 725) | type OpenDevToolsParams struct
method Do (line 752) | func (p *OpenDevToolsParams) Do(ctx context.Context) (targetID ID, err...
function OpenDevTools (line 736) | func OpenDevTools(targetID ID) *OpenDevToolsParams {
type OpenDevToolsReturns (line 743) | type OpenDevToolsReturns struct
constant CommandActivateTarget (line 765) | CommandActivateTarget = "Target.activateTarget"
constant CommandAttachToTarget (line 766) | CommandAttachToTarget = "Target.attachToTarget"
constant CommandAttachToBrowserTarget (line 767) | CommandAttachToBrowserTarget = "Target.attachToBrowserTarget"
constant CommandCloseTarget (line 768) | CommandCloseTarget = "Target.closeTarget"
constant CommandExposeDevToolsProtocol (line 769) | CommandExposeDevToolsProtocol = "Target.exposeDevToolsProtocol"
constant CommandCreateBrowserContext (line 770) | CommandCreateBrowserContext = "Target.createBrowserContext"
constant CommandGetBrowserContexts (line 771) | CommandGetBrowserContexts = "Target.getBrowserContexts"
constant CommandCreateTarget (line 772) | CommandCreateTarget = "Target.createTarget"
constant CommandDetachFromTarget (line 773) | CommandDetachFromTarget = "Target.detachFromTarget"
constant CommandDisposeBrowserContext (line 774) | CommandDisposeBrowserContext = "Target.disposeBrowserContext"
constant CommandGetTargetInfo (line 775) | CommandGetTargetInfo = "Target.getTargetInfo"
constant CommandGetTargets (line 776) | CommandGetTargets = "Target.getTargets"
constant CommandSetAutoAttach (line 777) | CommandSetAutoAttach = "Target.setAutoAttach"
constant CommandAutoAttachRelated (line 778) | CommandAutoAttachRelated = "Target.autoAttachRelated"
constant CommandSetDiscoverTargets (line 779) | CommandSetDiscoverTargets = "Target.setDiscoverTargets"
constant CommandSetRemoteLocations (line 780) | CommandSetRemoteLocations = "Target.setRemoteLocations"
constant CommandOpenDevTools (line 781) | CommandOpenDevTools = "Target.openDevTools"
FILE: vendor/github.com/chromedp/cdproto/target/types.go
type ID (line 15) | type ID
method String (line 18) | func (t ID) String() string {
type SessionID (line 25) | type SessionID
method String (line 28) | func (t SessionID) String() string {
type Info (line 35) | type Info struct
type FilterEntry (line 52) | type FilterEntry struct
type Filter (line 64) | type Filter
type RemoteLocation (line 72) | type RemoteLocation struct
type WindowState (line 80) | type WindowState
method String (line 83) | func (t WindowState) String() string {
method UnmarshalJSON (line 96) | func (t *WindowState) UnmarshalJSON(buf []byte) error {
constant WindowStateNormal (line 89) | WindowStateNormal WindowState = "normal"
constant WindowStateMinimized (line 90) | WindowStateMinimized WindowState = "minimized"
constant WindowStateMaximized (line 91) | WindowStateMaximized WindowState = "maximized"
constant WindowStateFullscreen (line 92) | WindowStateFullscreen WindowState = "fullscreen"
FILE: vendor/github.com/chromedp/cdproto/tethering/events.go
type EventAccepted (line 9) | type EventAccepted struct
FILE: vendor/github.com/chromedp/cdproto/tethering/tethering.go
type BindParams (line 18) | type BindParams struct
method Do (line 36) | func (p *BindParams) Do(ctx context.Context) (err error) {
function Bind (line 29) | func Bind(port int64) *BindParams {
type UnbindParams (line 41) | type UnbindParams struct
method Do (line 59) | func (p *UnbindParams) Do(ctx context.Context) (err error) {
function Unbind (line 52) | func Unbind(port int64) *UnbindParams {
constant CommandBind (line 65) | CommandBind = "Tethering.bind"
constant CommandUnbind (line 66) | CommandUnbind = "Tethering.unbind"
FILE: vendor/github.com/chromedp/cdproto/tracing/events.go
type EventBufferUsage (line 13) | type EventBufferUsage struct
type EventDataCollected (line 24) | type EventDataCollected struct
type EventTracingComplete (line 32) | type EventTracingComplete struct
FILE: vendor/github.com/chromedp/cdproto/tracing/tracing.go
type EndParams (line 16) | type EndParams struct
method Do (line 26) | func (p *EndParams) Do(ctx context.Context) (err error) {
function End (line 21) | func End() *EndParams {
type GetCategoriesParams (line 31) | type GetCategoriesParams struct
method Do (line 50) | func (p *GetCategoriesParams) Do(ctx context.Context) (categories []st...
function GetCategories (line 36) | func GetCategories() *GetCategoriesParams {
type GetCategoriesReturns (line 41) | type GetCategoriesReturns struct
type RecordClockSyncMarkerParams (line 62) | type RecordClockSyncMarkerParams struct
method Do (line 80) | func (p *RecordClockSyncMarkerParams) Do(ctx context.Context) (err err...
function RecordClockSyncMarker (line 73) | func RecordClockSyncMarker(syncID string) *RecordClockSyncMarkerParams {
type RequestMemoryDumpParams (line 85) | type RequestMemoryDumpParams struct
method WithDeterministic (line 103) | func (p RequestMemoryDumpParams) WithDeterministic(deterministic bool)...
method WithLevelOfDetail (line 110) | func (p RequestMemoryDumpParams) WithLevelOfDetail(levelOfDetail Memor...
method Do (line 127) | func (p *RequestMemoryDumpParams) Do(ctx context.Context) (dumpGUID st...
function RequestMemoryDump (line 95) | func RequestMemoryDump() *RequestMemoryDumpParams {
type RequestMemoryDumpReturns (line 116) | type RequestMemoryDumpReturns struct
type StartParams (line 139) | type StartParams struct
method WithBufferUsageReportingInterval (line 160) | func (p StartParams) WithBufferUsageReportingInterval(bufferUsageRepor...
method WithTransferMode (line 167) | func (p StartParams) WithTransferMode(transferMode TransferMode) *Star...
method WithStreamFormat (line 174) | func (p StartParams) WithStreamFormat(streamFormat StreamFormat) *Star...
method WithStreamCompression (line 181) | func (p StartParams) WithStreamCompression(streamCompression StreamCom...
method WithTraceConfig (line 187) | func (p StartParams) WithTraceConfig(traceConfig *TraceConfig) *StartP...
method WithPerfettoConfig (line 195) | func (p StartParams) WithPerfettoConfig(perfettoConfig string) *StartP...
method WithTracingBackend (line 201) | func (p StartParams) WithTracingBackend(tracingBackend Backend) *Start...
method Do (line 207) | func (p *StartParams) Do(ctx context.Context) (err error) {
function Start (line 154) | func Start() *StartParams {
constant CommandEnd (line 213) | CommandEnd = "Tracing.end"
constant CommandGetCategories (line 214) | CommandGetCategories = "Tracing.getCategories"
constant CommandRecordClockSyncMarker (line 215) | CommandRecordClockSyncMarker = "Tracing.recordClockSyncMarker"
constant CommandRequestMemoryDump (line 216) | CommandRequestMemoryDump = "Tracing.requestMemoryDump"
constant CommandStart (line 217) | CommandStart = "Tracing.start"
FILE: vendor/github.com/chromedp/cdproto/tracing/types.go
type MemoryDumpConfig (line 14) | type MemoryDumpConfig struct
type TraceConfig (line 19) | type TraceConfig struct
type StreamFormat (line 36) | type StreamFormat
method String (line 39) | func (t StreamFormat) String() string {
method UnmarshalJSON (line 50) | func (t *StreamFormat) UnmarshalJSON(buf []byte) error {
constant StreamFormatJSON (line 45) | StreamFormatJSON StreamFormat = "json"
constant StreamFormatProto (line 46) | StreamFormatProto StreamFormat = "proto"
type StreamCompression (line 68) | type StreamCompression
method String (line 71) | func (t StreamCompression) String() string {
method UnmarshalJSON (line 82) | func (t *StreamCompression) UnmarshalJSON(buf []byte) error {
constant StreamCompressionNone (line 77) | StreamCompressionNone StreamCompression = "none"
constant StreamCompressionGzip (line 78) | StreamCompressionGzip StreamCompression = "gzip"
type MemoryDumpLevelOfDetail (line 102) | type MemoryDumpLevelOfDetail
method String (line 105) | func (t MemoryDumpLevelOfDetail) String() string {
method UnmarshalJSON (line 117) | func (t *MemoryDumpLevelOfDetail) UnmarshalJSON(buf []byte) error {
constant MemoryDumpLevelOfDetailBackground (line 111) | MemoryDumpLevelOfDetailBackground MemoryDumpLevelOfDetail = "background"
constant MemoryDumpLevelOfDetailLight (line 112) | MemoryDumpLevelOfDetailLight MemoryDumpLevelOfDetail = "light"
constant MemoryDumpLevelOfDetailDetailed (line 113) | MemoryDumpLevelOfDetailDetailed MemoryDumpLevelOfDetail = "detailed"
type Backend (line 141) | type Backend
method String (line 144) | func (t Backend) String() string {
method UnmarshalJSON (line 156) | func (t *Backend) UnmarshalJSON(buf []byte) error {
constant BackendAuto (line 150) | BackendAuto Backend = "auto"
constant BackendChrome (line 151) | BackendChrome Backend = "chrome"
constant BackendSystem (line 152) | BackendSystem Backend = "system"
type RecordMode (line 177) | type RecordMode
method String (line 180) | func (t RecordMode) String() string {
method UnmarshalJSON (line 193) | func (t *RecordMode) UnmarshalJSON(buf []byte) error {
constant RecordModeRecordUntilFull (line 186) | RecordModeRecordUntilFull RecordMode = "recordUntilFull"
constant RecordModeRecordContinuously (line 187) | RecordModeRecordContinuously RecordMode = "recordContinuously"
constant RecordModeRecordAsMuchAsPossible (line 188) | RecordModeRecordAsMuchAsPossible RecordMode = "recordAsMuchAsPossible"
constant RecordModeEchoToConsole (line 189) | RecordModeEchoToConsole RecordMode = "echoToConsole"
type TransferMode (line 216) | type TransferMode
method String (line 219) | func (t TransferMode) String() string {
method UnmarshalJSON (line 230) | func (t *TransferMode) UnmarshalJSON(buf []byte) error {
constant TransferModeReportEvents (line 225) | TransferModeReportEvents TransferMode = "ReportEvents"
constant TransferModeReturnAsStream (line 226) | TransferModeReturnAsStream TransferMode = "ReturnAsStream"
FILE: vendor/github.com/chromedp/cdproto/webaudio/events.go
type EventContextCreated (line 8) | type EventContextCreated struct
type EventContextWillBeDestroyed (line 16) | type EventContextWillBeDestroyed struct
type EventContextChanged (line 24) | type EventContextChanged struct
type EventAudioListenerCreated (line 32) | type EventAudioListenerCreated struct
type EventAudioListenerWillBeDestroyed (line 40) | type EventAudioListenerWillBeDestroyed struct
type EventAudioNodeCreated (line 48) | type EventAudioNodeCreated struct
type EventAudioNodeWillBeDestroyed (line 56) | type EventAudioNodeWillBeDestroyed struct
type EventAudioParamCreated (line 64) | type EventAudioParamCreated struct
type EventAudioParamWillBeDestroyed (line 72) | type EventAudioParamWillBeDestroyed struct
type EventNodesConnected (line 81) | type EventNodesConnected struct
type EventNodesDisconnected (line 94) | type EventNodesDisconnected struct
type EventNodeParamConnected (line 106) | type EventNodeParamConnected struct
type EventNodeParamDisconnected (line 117) | type EventNodeParamDisconnected struct
FILE: vendor/github.com/chromedp/cdproto/webaudio/types.go
type GraphObjectID (line 16) | type GraphObjectID
method String (line 19) | func (t GraphObjectID) String() string {
type ContextType (line 26) | type ContextType
method String (line 29) | func (t ContextType) String() string {
method UnmarshalJSON (line 40) | func (t *ContextType) UnmarshalJSON(buf []byte) error {
constant ContextTypeRealtime (line 35) | ContextTypeRealtime ContextType = "realtime"
constant ContextTypeOffline (line 36) | ContextTypeOffline ContextType = "offline"
type ContextState (line 58) | type ContextState
method String (line 61) | func (t ContextState) String() string {
method UnmarshalJSON (line 74) | func (t *ContextState) UnmarshalJSON(buf []byte) error {
constant ContextStateSuspended (line 67) | ContextStateSuspended ContextState = "suspended"
constant ContextStateRunning (line 68) | ContextStateRunning ContextState = "running"
constant ContextStateClosed (line 69) | ContextStateClosed ContextState = "closed"
constant ContextStateInterrupted (line 70) | ContextStateInterrupted ContextState = "interrupted"
type NodeType (line 96) | type NodeType
method String (line 99) | func (t NodeType) String() string {
type ChannelCountMode (line 106) | type ChannelCountMode
method String (line 109) | func (t ChannelCountMode) String() string {
method UnmarshalJSON (line 121) | func (t *ChannelCountMode) UnmarshalJSON(buf []byte) error {
constant ChannelCountModeClampedMax (line 115) | ChannelCountModeClampedMax ChannelCountMode = "clamped-max"
constant ChannelCountModeExplicit (line 116) | ChannelCountModeExplicit ChannelCountMode = "explicit"
constant ChannelCountModeMax (line 117) | ChannelCountModeMax ChannelCountMode = "max"
type ChannelInterpretation (line 142) | type ChannelInterpretation
method String (line 145) | func (t ChannelInterpretation) String() string {
method UnmarshalJSON (line 156) | func (t *ChannelInterpretation) UnmarshalJSON(buf []byte) error {
constant ChannelInterpretationDiscrete (line 151) | ChannelInterpretationDiscrete ChannelInterpretation = "discrete"
constant ChannelInterpretationSpeakers (line 152) | ChannelInterpretationSpeakers ChannelInterpretation = "speakers"
type ParamType (line 174) | type ParamType
method String (line 177) | func (t ParamType) String() string {
type AutomationRate (line 184) | type AutomationRate
method String (line 187) | func (t AutomationRate) String() string {
method UnmarshalJSON (line 198) | func (t *AutomationRate) UnmarshalJSON(buf []byte) error {
constant AutomationRateARate (line 193) | AutomationRateARate AutomationRate = "a-rate"
constant AutomationRateKRate (line 194) | AutomationRateKRate AutomationRate = "k-rate"
type ContextRealtimeData (line 216) | type ContextRealtimeData struct
type BaseAudioContext (line 226) | type BaseAudioContext struct
type AudioListener (line 239) | type AudioListener struct
type AudioNode (line 247) | type AudioNode struct
type AudioParam (line 261) | type AudioParam struct
FILE: vendor/github.com/chromedp/cdproto/webaudio/webaudio.go
type EnableParams (line 20) | type EnableParams struct
method Do (line 31) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 26) | func Enable() *EnableParams {
type DisableParams (line 36) | type DisableParams struct
method Do (line 46) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 41) | func Disable() *DisableParams {
type GetRealtimeDataParams (line 52) | type GetRealtimeDataParams struct
method Do (line 79) | func (p *GetRealtimeDataParams) Do(ctx context.Context) (realtimeData ...
function GetRealtimeData (line 63) | func GetRealtimeData(contextID GraphObjectID) *GetRealtimeDataParams {
type GetRealtimeDataReturns (line 70) | type GetRealtimeDataReturns struct
constant CommandEnable (line 92) | CommandEnable = "WebAudio.enable"
constant CommandDisable (line 93) | CommandDisable = "WebAudio.disable"
constant CommandGetRealtimeData (line 94) | CommandGetRealtimeData = "WebAudio.getRealtimeData"
FILE: vendor/github.com/chromedp/cdproto/webauthn/events.go
type EventCredentialAdded (line 9) | type EventCredentialAdded struct
type EventCredentialDeleted (line 18) | type EventCredentialDeleted struct
type EventCredentialUpdated (line 27) | type EventCredentialUpdated struct
type EventCredentialAsserted (line 36) | type EventCredentialAsserted struct
FILE: vendor/github.com/chromedp/cdproto/webauthn/types.go
type AuthenticatorID (line 13) | type AuthenticatorID
method String (line 16) | func (t AuthenticatorID) String() string {
type AuthenticatorProtocol (line 23) | type AuthenticatorProtocol
method String (line 26) | func (t AuthenticatorProtocol) String() string {
method UnmarshalJSON (line 37) | func (t *AuthenticatorProtocol) UnmarshalJSON(buf []byte) error {
constant AuthenticatorProtocolU2f (line 32) | AuthenticatorProtocolU2f AuthenticatorProtocol = "u2f"
constant AuthenticatorProtocolCtap2 (line 33) | AuthenticatorProtocolCtap2 AuthenticatorProtocol = "ctap2"
type Ctap2version (line 55) | type Ctap2version
method String (line 58) | func (t Ctap2version) String() string {
method UnmarshalJSON (line 69) | func (t *Ctap2version) UnmarshalJSON(buf []byte) error {
constant Ctap2versionCtap20 (line 64) | Ctap2versionCtap20 Ctap2version = "ctap2_0"
constant Ctap2versionCtap21 (line 65) | Ctap2versionCtap21 Ctap2version = "ctap2_1"
type AuthenticatorTransport (line 87) | type AuthenticatorTransport
method String (line 90) | func (t AuthenticatorTransport) String() string {
method UnmarshalJSON (line 104) | func (t *AuthenticatorTransport) UnmarshalJSON(buf []byte) error {
constant AuthenticatorTransportUsb (line 96) | AuthenticatorTransportUsb AuthenticatorTransport = "usb"
constant AuthenticatorTransportNfc (line 97) | AuthenticatorTransportNfc AuthenticatorTransport = "nfc"
constant AuthenticatorTransportBle (line 98) | AuthenticatorTransportBle AuthenticatorTransport = "ble"
constant AuthenticatorTransportCable (line 99) | AuthenticatorTransportCable AuthenticatorTransport = "cable"
constant AuthenticatorTransportInternal (line 100) | AuthenticatorTransportInternal AuthenticatorTransport = "internal"
type VirtualAuthenticatorOptions (line 128) | type VirtualAuthenticatorOptions struct
type Credential (line 147) | type Credential struct
FILE: vendor/github.com/chromedp/cdproto/webauthn/webauthn.go
type EnableParams (line 20) | type EnableParams struct
method WithEnableUI (line 40) | func (p EnableParams) WithEnableUI(enableUI bool) *EnableParams {
method Do (line 46) | func (p *EnableParams) Do(ctx context.Context) (err error) {
function Enable (line 30) | func Enable() *EnableParams {
type DisableParams (line 51) | type DisableParams struct
method Do (line 61) | func (p *DisableParams) Do(ctx context.Context) (err error) {
function Disable (line 56) | func Disable() *DisableParams {
type AddVirtualAuthenticatorParams (line 66) | type AddVirtualAuthenticatorParams struct
method Do (line 93) | func (p *AddVirtualAuthenticatorParams) Do(ctx context.Context) (authe...
function AddVirtualAuthenticator (line 77) | func AddVirtualAuthenticator(options *VirtualAuthenticatorOptions) *AddV...
type AddVirtualAuthenticatorReturns (line 84) | type AddVirtualAuthenticatorReturns struct
type SetResponseOverrideBitsParams (line 106) | type SetResponseOverrideBitsParams struct
method WithIsBogusSignature (line 132) | func (p SetResponseOverrideBitsParams) WithIsBogusSignature(isBogusSig...
method WithIsBadUV (line 139) | func (p SetResponseOverrideBitsParams) WithIsBadUV(isBadUV bool) *SetR...
method WithIsBadUP (line 146) | func (p SetResponseOverrideBitsParams) WithIsBadUP(isBadUP bool) *SetR...
method Do (line 152) | func (p *SetResponseOverrideBitsParams) Do(ctx context.Context) (err e...
function SetResponseOverrideBits (line 121) | func SetResponseOverrideBits(authenticatorID AuthenticatorID) *SetRespon...
type RemoveVirtualAuthenticatorParams (line 157) | type RemoveVirtualAuthenticatorParams struct
method Do (line 175) | func (p *RemoveVirtualAuthenticatorParams) Do(ctx context.Context) (er...
function RemoveVirtualAuthenticator (line 168) | func RemoveVirtualAuthenticator(authenticatorID AuthenticatorID) *Remove...
type AddCredentialParams (line 180) | type AddCredentialParams struct
method Do (line 201) | func (p *AddCredentialParams) Do(ctx context.Context) (err error) {
function AddCredential (line 193) | func AddCredential(authenticatorID AuthenticatorID, credential *Credenti...
type GetCredentialParams (line 207) | type GetCredentialParams struct
method Do (line 238) | func (p *GetCredentialParams) Do(ctx context.Context) (credential *Cre...
function GetCredential (line 221) | func GetCredential(authenticatorID AuthenticatorID, credentialID string)...
type GetCredentialReturns (line 229) | type GetCredentialReturns struct
type GetCredentialsParams (line 251) | type GetCredentialsParams struct
method Do (line 279) | func (p *GetCredentialsParams) Do(ctx context.Context) (credentials []...
function GetCredentials (line 263) | func GetCredentials(authenticatorID AuthenticatorID) *GetCredentialsPara...
type GetCredentialsReturns (line 270) | type GetCredentialsReturns struct
type RemoveCredentialParams (line 291) | type RemoveCredentialParams struct
method Do (line 312) | func (p *RemoveCredentialParams) Do(ctx context.Context) (err error) {
function RemoveCredential (line 304) | func RemoveCredential(authenticatorID AuthenticatorID, credentialID stri...
type ClearCredentialsParams (line 318) | type ClearCredentialsParams struct
method Do (line 336) | func (p *ClearCredentialsParams) Do(ctx context.Context) (err error) {
function ClearCredentials (line 329) | func ClearCredentials(authenticatorID AuthenticatorID) *ClearCredentials...
type SetUserVerifiedParams (line 342) | type SetUserVerifiedParams struct
method Do (line 364) | func (p *SetUserVerifiedParams) Do(ctx context.Context) (err error) {
function SetUserVerified (line 356) | func SetUserVerified(authenticatorID AuthenticatorID, isUserVerified boo...
type SetAutomaticPresenceSimulationParams (line 371) | type SetAutomaticPresenceSimulationParams struct
method Do (line 394) | func (p *SetAutomaticPresenceSimulationParams) Do(ctx context.Context)...
function SetAutomaticPresenceSimulation (line 386) | func SetAutomaticPresenceSimulation(authenticatorID AuthenticatorID, ena...
type SetCredentialPropertiesParams (line 400) | type SetCredentialPropertiesParams struct
method WithBackupEligibility (line 426) | func (p SetCredentialPropertiesParams) WithBackupEligibility(backupEli...
method WithBackupState (line 432) | func (p SetCredentialPropertiesParams) WithBackupState(backupState boo...
method Do (line 438) | func (p *SetCredentialPropertiesParams) Do(ctx context.Context) (err e...
function SetCredentialProperties (line 416) | func SetCredentialProperties(authenticatorID AuthenticatorID, credential...
constant CommandEnable (line 444) | CommandEnable = "WebAuthn.enable"
constant CommandDisable (line 445) | CommandDisable = "WebAuthn.disable"
constant CommandAddVirtualAuthenticator (line 446) | CommandAddVirtualAuthenticator = "WebAuthn.addVirtualAuthenticator"
constant CommandSetResponseOverrideBits (line 447) | CommandSetResponseOverrideBits = "WebAuthn.setResponseOverrideBits"
constant CommandRemoveVirtualAuthenticator (line 448) | CommandRemoveVirtualAuthenticator = "WebAuthn.removeVirtualAuthentic...
constant CommandAddCredential (line 449) | CommandAddCredential = "WebAuthn.addCredential"
constant CommandGetCredential (line 450) | CommandGetCredential = "WebAuthn.getCredential"
constant CommandGetCredentials (line 451) | CommandGetCredentials = "WebAuthn.getCredentials"
constant CommandRemoveCredential (line 452) | CommandRemoveCredential = "WebAuthn.removeCredential"
constant CommandClearCredentials (line 453) | CommandClearCredentials = "WebAuthn.clearCredentials"
constant CommandSetUserVerified (line 454) | CommandSetUserVerified = "WebAuthn.setUserVerified"
constant CommandSetAutomaticPresenceSimulation (line 455) | CommandSetAutomaticPresenceSimulation = "WebAuthn.setAutomaticPresenceSi...
constant CommandSetCredentialProperties (line 456) | CommandSetCredentialProperties = "WebAuthn.setCredentialProperties"
FILE: vendor/github.com/chromedp/sysutil/sysutil.go
function BootTime (line 10) | func BootTime() time.Time {
function Uptime (line 15) | func Uptime() time.Duration {
FILE: vendor/github.com/chromedp/sysutil/sysutil_bsd.go
function init (line 12) | func init() {
FILE: vendor/github.com/chromedp/sysutil/sysutil_linux.go
function init (line 17) | func init() {
FILE: vendor/github.com/chromedp/sysutil/sysutil_other.go
function init (line 7) | func init() {
FILE: vendor/github.com/chromedp/sysutil/sysutil_windows.go
function init (line 15) | func init() {
FILE: vendor/github.com/chromedp/sysutil/timeval.go
type timeval (line 9) | type timeval
FILE: vendor/github.com/chromedp/sysutil/timeval32.go
type timeval (line 5) | type timeval struct
FILE: vendor/github.com/davecgh/go-spew/spew/bypass.go
constant UnsafeDisabled (line 33) | UnsafeDisabled = false
constant ptrSize (line 36) | ptrSize = unsafe.Sizeof((*byte)(nil))
type flag (line 39) | type flag
constant flagKindMask (line 54) | flagKindMask = flag(0x1f)
function flagField (line 80) | func flagField(v *reflect.Value) *flag {
function unsafeReflectValue (line 93) | func unsafeReflectValue(v reflect.Value) reflect.Value {
function init (line 105) | func init() {
FILE: vendor/github.com/davecgh/go-spew/spew/bypasssafe.go
constant UnsafeDisabled (line 28) | UnsafeDisabled = true
function unsafeReflectValue (line 36) | func unsafeReflectValue(v reflect.Value) reflect.Value {
FILE: vendor/github.com/davecgh/go-spew/spew/common.go
function catchPanic (line 72) | func catchPanic(w io.Writer, v reflect.Value) {
function handleMethods (line 85) | func handleMethods(cs *ConfigState, w io.Writer, v reflect.Value) (handl...
function printBool (line 144) | func printBool(w io.Writer, val bool) {
function printInt (line 153) | func printInt(w io.Writer, val int64, base int) {
function printUint (line 158) | func printUint(w io.Writer, val uint64, base int) {
function printFloat (line 164) | func printFloat(w io.Writer, val float64, precision int) {
function printComplex (line 170) | func printComplex(w io.Writer, c complex128, floatPrecision int) {
function printHexPtr (line 185) | func printHexPtr(w io.Writer, p uintptr) {
type valuesSorter (line 219) | type valuesSorter struct
method Len (line 279) | func (s *valuesSorter) Len() int {
method Swap (line 285) | func (s *valuesSorter) Swap(i, j int) {
method Less (line 326) | func (s *valuesSorter) Less(i, j int) bool {
function newValuesSorter (line 228) | func newValuesSorter(values []reflect.Value, cs *ConfigState) sort.Inter...
function canSortSimply (line 256) | func canSortSimply(kind reflect.Kind) bool {
function valueSortLess (line 295) | func valueSortLess(a, b reflect.Value) bool {
function sortValues (line 336) | func sortValues(values []reflect.Value, cs *ConfigState) {
FILE: vendor/github.com/davecgh/go-spew/spew/config.go
type ConfigState (line 37) | type ConfigState struct
method Errorf (line 115) | func (c *ConfigState) Errorf(format string, a ...interface{}) (err err...
method Fprint (line 127) | func (c *ConfigState) Fprint(w io.Writer, a ...interface{}) (n int, er...
method Fprintf (line 139) | func (c *ConfigState) Fprintf(w io.Writer, format string, a ...interfa...
method Fprintln (line 150) | func (c *ConfigState) Fprintln(w io.Writer, a ...interface{}) (n int, ...
method Print (line 162) | func (c *ConfigState) Print(a ...interface{}) (n int, err error) {
method Printf (line 174) | func (c *ConfigState) Printf(format string, a ...interface{}) (n int, ...
method Println (line 186) | func (c *ConfigState) Println(a ...interface{}) (n int, err error) {
method Sprint (line 197) | func (c *ConfigState) Sprint(a ...interface{}) string {
method Sprintf (line 208) | func (c *ConfigState) Sprintf(format string, a ...interface{}) string {
method Sprintln (line 219) | func (c *ConfigState) Sprintln(a ...interface{}) string {
method NewFormatter (line 240) | func (c *ConfigState) NewFormatter(v interface{}) fmt.Formatter {
method Fdump (line 246) | func (c *ConfigState) Fdump(w io.Writer, a ...interface{}) {
method Dump (line 273) | func (c *ConfigState) Dump(a ...interface{}) {
method Sdump (line 279) | func (c *ConfigState) Sdump(a ...interface{}) string {
method convertArgs (line 288) | func (c *ConfigState) convertArgs(args []interface{}) (formatters []in...
function NewDefaultConfig (line 304) | func NewDefaultConfig() *ConfigState {
FILE: vendor/github.com/davecgh/go-spew/spew/dump.go
type dumpState (line 51) | type dumpState struct
method indent (line 62) | func (d *dumpState) indent() {
method unpackValue (line 73) | func (d *dumpState) unpackValue(v reflect.Value) reflect.Value {
method dumpPtr (line 81) | func (d *dumpState) dumpPtr(v reflect.Value) {
method dumpSlice (line 161) | func (d *dumpState) dumpSlice(v reflect.Value) {
method dump (line 251) | func (d *dumpState) dump(v reflect.Value) {
function fdump (line 453) | func fdump(cs *ConfigState, w io.Writer, a ...interface{}) {
function Fdump (line 472) | func Fdump(w io.Writer, a ...interface{}) {
function Sdump (line 478) | func Sdump(a ...interface{}) string {
function Dump (line 507) | func Dump(a ...interface{}) {
FILE: vendor/github.com/davecgh/go-spew/spew/format.go
constant supportedFlags (line 28) | supportedFlags = "0-+# "
type formatState (line 34) | type formatState struct
method buildDefaultFormat (line 47) | func (f *formatState) buildDefaultFormat() (format string) {
method constructOrigFormat (line 65) | func (f *formatState) constructOrigFormat(verb rune) (format string) {
method unpackValue (line 94) | func (f *formatState) unpackValue(v reflect.Value) reflect.Value {
method formatPtr (line 105) | func (f *formatState) formatPtr(v reflect.Value) {
method format (line 201) | func (f *formatState) format(v reflect.Value) {
method Format (line 371) | func (f *formatState) Format(fs fmt.State, verb rune) {
function newFormatter (line 394) | func newFormatter(cs *ConfigState, v interface{}) fmt.Formatter {
function NewFormatter (line 417) | func NewFormatter(v interface{}) fmt.Formatter {
FILE: vendor/github.com/davecgh/go-spew/spew/spew.go
function Errorf (line 32) | func Errorf(format string, a ...interface{}) (err error) {
function Fprint (line 44) | func Fprint(w io.Writer, a ...interface{}) (n int, err error) {
function Fprintf (line 56) | func Fprintf(w io.Writer, format string, a ...interface{}) (n int, err e...
function Fprintln (line 67) | func Fprintln(w io.Writer, a ...interface{}) (n int, err error) {
function Print (line 79) | func Print(a ...interface{}) (n int, err error) {
function Printf (line 91) | func Printf(format string, a ...interface{}) (n int, err error) {
function Println (line 103) | func Println(a ...interface{}) (n int, err error) {
function Sprint (line 114) | func Sprint(a ...interface{}) string {
function Sprintf (line 125) | func Sprintf(format string, a ...interface{}) string {
function Sprintln (line 136) | func Sprintln(a ...interface{}) string {
function convertArgs (line 142) | func convertArgs(args []interface{}) (formatters []interface{}) {
FILE: vendor/github.com/dgryski/go-rendezvous/rdv.go
type Rendezvous (line 3) | type Rendezvous struct
method Lookup (line 29) | func (r *Rendezvous) Lookup(k string) string {
method Add (line 50) | func (r *Rendezvous) Add(node string) {
method Remove (line 56) | func (r *Rendezvous) Remove(node string) {
type Hasher (line 10) | type Hasher
function New (line 12) | func New(nodes []string, hash Hasher) *Rendezvous {
function xorshiftMult64 (line 74) | func xorshiftMult64(x uint64) uint64 {
FILE: vendor/github.com/dlclark/regexp2/fastclock.go
type fasttime (line 10) | type fasttime
method reached (line 41) | func (t fasttime) reached() bool {
type fastclock (line 24) | type fastclock struct
function makeDeadline (line 46) | func makeDeadline(d time.Duration) fasttime {
function extendClock (line 71) | func extendClock(end fasttime) {
function stopClock (line 93) | func stopClock() {
function durationToTicks (line 111) | func durationToTicks(d time.Duration) fasttime {
constant DefaultClockPeriod (line 117) | DefaultClockPeriod = 100 * time.Millisecond
function runClock (line 122) | func runClock() {
type atomicTime (line 138) | type atomicTime struct
method read (line 140) | func (t *atomicTime) read() fasttime { return fasttime(atomic.LoadIn...
method write (line 141) | func (t *atomicTime) write(v fasttime) { atomic.StoreInt64(&t.v, int64...
FILE: vendor/github.com/dlclark/regexp2/match.go
type Match (line 12) | type Match struct
method reset (line 84) | func (m *Match) reset(text []rune, textstart int) {
method tidy (line 93) | func (m *Match) tidy(textpos int) {
method isMatched (line 144) | func (m *Match) isMatched(cap int) bool {
method matchIndex (line 149) | func (m *Match) matchIndex(cap int) int {
method matchLength (line 159) | func (m *Match) matchLength(cap int) int {
method addMatch (line 169) | func (m *Match) addMatch(c, start, l int) {
method balanceMatch (line 196) | func (m *Match) balanceMatch(c int) {
method removeMatch (line 221) | func (m *Match) removeMatch(c int) {
method GroupCount (line 226) | func (m *Match) GroupCount() int {
method GroupByName (line 231) | func (m *Match) GroupByName(name string) *Group {
method GroupByNumber (line 240) | func (m *Match) GroupByNumber(num int) *Group {
method Groups (line 261) | func (m *Match) Groups() []Group {
method populateOtherGroups (line 269) | func (m *Match) populateOtherGroups() {
method groupValueAppendToBuf (line 279) | func (m *Match) groupValueAppendToBuf(groupnum int, buf *bytes.Buffer) {
method dump (line 316) | func (m *Match) dump() string {
type Group (line 36) | type Group struct
type Capture (line 44) | type Capture struct
method String (line 55) | func (c *Capture) String() string {
method Runes (line 60) | func (c *Capture) Runes() []rune {
function newMatch (line 64) | func newMatch(regex *Regexp, capcount int, text []rune, startpos int) *M...
function newMatchSparse (line 78) | func newMatchSparse(regex *Regexp, caps map[int]int, capcount int, text ...
function newGroup (line 295) | func newGroup(name string, text []rune, caps []int, capcount int) Group {
FILE: vendor/github.com/dlclark/regexp2/regexp.go
type Regexp (line 30) | type Regexp struct
method String (line 118) | func (re *Regexp) String() string {
method RightToLeft (line 149) | func (re *Regexp) RightToLeft() bool {
method Debug (line 153) | func (re *Regexp) Debug() bool {
method Replace (line 161) | func (re *Regexp) Replace(input, replacement string, startAt, count in...
method ReplaceFunc (line 175) | func (re *Regexp) ReplaceFunc(input string, evaluator MatchEvaluator, ...
method FindStringMatch (line 180) | func (re *Regexp) FindStringMatch(s string) (*Match, error) {
method FindRunesMatch (line 186) | func (re *Regexp) FindRunesMatch(r []rune) (*Match, error) {
method FindStringMatchStartingAt (line 191) | func (re *Regexp) FindStringMatchStartingAt(s string, startAt int) (*M...
method FindRunesMatchStartingAt (line 205) | func (re *Regexp) FindRunesMatchStartingAt(r []rune, startAt int) (*Ma...
method FindNextMatch (line 211) | func (re *Regexp) FindNextMatch(m *Match) (*Match, error) {
method MatchString (line 235) | func (re *Regexp) MatchString(s string) (bool, error) {
method getRunesAndStart (line 243) | func (re *Regexp) getRunesAndStart(s string, startAt int) ([]rune, int) {
method MatchRunes (line 273) | func (re *Regexp) MatchRunes(r []rune) (bool, error) {
method GetGroupNames (line 282) | func (re *Regexp) GetGroupNames() []string {
method GetGroupNumbers (line 300) | func (re *Regexp) GetGroupNumbers() []int {
method GroupNameFromNumber (line 323) | func (re *Regexp) GroupNameFromNumber(i int) string {
method GroupNumberFromName (line 349) | func (re *Regexp) GroupNumberFromName(name string) int {
method MarshalText (line 382) | func (re *Regexp) MarshalText() ([]byte, error) {
method UnmarshalText (line 388) | func (re *Regexp) UnmarshalText(text []byte) error {
function Compile (line 56) | func Compile(expr string, opt RegexOptions) (*Regexp, error) {
function MustCompile (line 86) | func MustCompile(str string, opt RegexOptions) *Regexp {
function Escape (line 95) | func Escape(input string) string {
function Unescape (line 100) | func Unescape(input string) (string, error) {
function SetTimeoutCheckPeriod (line 107) | func SetTimeoutCheckPeriod(d time.Duration) {
function StopTimeoutClock (line 113) | func StopTimeoutClock() {
function quote (line 122) | func quote(s string) string {
type RegexOptions (line 132) | type RegexOptions
constant None (line 135) | None RegexOptions = 0x0
constant IgnoreCase (line 136) | IgnoreCase = 0x0001
constant Multiline (line 137) | Multiline = 0x0002
constant ExplicitCapture (line 138) | ExplicitCapture = 0x0004
constant Compiled (line 139) | Compiled = 0x0008
constant Singleline (line 140) | Singleline = 0x0010
constant IgnorePatternWhitespace (line 141) | IgnorePatternWhitespace = 0x0020
constant RightToLeft (line 142) | RightToLeft = 0x0040
constant Debug (line 143) | Debug = 0x0080
constant ECMAScript (line 144) | ECMAScript = 0x0100
constant RE2 (line 145) | RE2 = 0x0200
constant Unicode (line 146) | Unicode = 0x0400
function getRunes (line 267) | func getRunes(s string) []rune {
FILE: vendor/github.com/dlclark/regexp2/replace.go
constant replaceSpecials (line 11) | replaceSpecials = 4
constant replaceLeftPortion (line 12) | replaceLeftPortion = -1
constant replaceRightPortion (line 13) | replaceRightPortion = -2
constant replaceLastGroup (line 14) | replaceLastGroup = -3
constant replaceWholeString (line 15) | replaceWholeString = -4
type MatchEvaluator (line 19) | type MatchEvaluator
function replace (line 31) | func replace(regex *Regexp, data *syntax.ReplacerData, evaluator MatchEv...
function replacementImpl (line 116) | func replacementImpl(data *syntax.ReplacerData, buf *bytes.Buffer, m *Ma...
function replacementImplRTL (line 144) | func replacementImplRTL(data *syntax.ReplacerData, al *[]string, m *Matc...
FILE: vendor/github.com/dlclark/regexp2/runner.go
type runner (line 16) | type runner struct
method scan (line 103) | func (r *runner) scan(rt []rune, textstart int, quick bool, timeout ti...
method execute (line 174) | func (r *runner) execute() error {
method ensureStorage (line 908) | func (r *runner) ensureStorage() {
method crawl (line 927) | func (r *runner) crawl(i int) {
method popcrawl (line 936) | func (r *runner) popcrawl() int {
method crawlpos (line 943) | func (r *runner) crawlpos() int {
method advance (line 947) | func (r *runner) advance(i int) {
method goTo (line 952) | func (r *runner) goTo(newpos int) {
method textto (line 962) | func (r *runner) textto(newpos int) {
method trackto (line 966) | func (r *runner) trackto(newpos int) {
method textstart (line 970) | func (r *runner) textstart() int {
method textPos (line 974) | func (r *runner) textPos() int {
method trackpos (line 979) | func (r *runner) trackpos() int {
method trackPush (line 983) | func (r *runner) trackPush() {
method trackPush1 (line 988) | func (r *runner) trackPush1(I1 int) {
method trackPush2 (line 995) | func (r *runner) trackPush2(I1, I2 int) {
method trackPush3 (line 1004) | func (r *runner) trackPush3(I1, I2, I3 int) {
method trackPushNeg1 (line 1015) | func (r *runner) trackPushNeg1(I1 int) {
method trackPushNeg2 (line 1022) | func (r *runner) trackPushNeg2(I1, I2 int) {
method backtrack (line 1031) | func (r *runner) backtrack() {
method setOperator (line 1058) | func (r *runner) setOperator(op int) {
method trackPop (line 1064) | func (r *runner) trackPop() {
method trackPopN (line 1069) | func (r *runner) trackPopN(framesize int) {
method trackPeek (line 1077) | func (r *runner) trackPeek() int {
method trackPeekN (line 1082) | func (r *runner) trackPeekN(i int) int {
method stackPush (line 1087) | func (r *runner) stackPush(I1 int) {
method stackPush2 (line 1092) | func (r *runner) stackPush2(I1, I2 int) {
method stackPop (line 1099) | func (r *runner) stackPop() {
method stackPopN (line 1104) | func (r *runner) stackPopN(framesize int) {
method stackPeek (line 1112) | func (r *runner) stackPeek() int {
method stackPeekN (line 1117) | func (r *runner) stackPeekN(i int) int {
method operand (line 1121) | func (r *runner) operand(i int) int {
method leftchars (line 1125) | func (r *runner) leftchars() int {
method rightchars (line 1129) | func (r *runner) rightchars() int {
method bump (line 1133) | func (r *runner) bump() int {
method forwardchars (line 1140) | func (r *runner) forwardchars() int {
method forwardcharnext (line 1147) | func (r *runner) forwardcharnext() rune {
method runematch (line 1163) | func (r *runner) runematch(str []rune) bool {
method refmatch (line 1208) | func (r *runner) refmatch(index, len int) bool {
method backwardnext (line 1259) | func (r *runner) backwardnext() {
method charAt (line 1267) | func (r *runner) charAt(j int) rune {
method findFirstChar (line 1271) | func (r *runner) findFirstChar() bool {
method initMatch (line 1346) | func (r *runner) initMatch() {
method tidyMatch (line 1393) | func (r *runner) tidyMatch(quick bool) *Match {
method capture (line 1411) | func (r *runner) capture(capnum, start, end int) {
method transferCapture (line 1425) | func (r *runner) transferCapture(capnum, uncapnum, start, end int) {
method uncapture (line 1465) | func (r *runner) uncapture() {
method dumpState (line 1472) | func (r *runner) dumpState() {
method stackDescription (line 1488) | func (r *runner) stackDescription(a []int, index int) string {
method textposDescription (line 1510) | func (r *runner) textposDescription() string {
method isBoundary (line 1543) | func (r *runner) isBoundary(index, startpos, endpos int) bool {
method isECMABoundary (line 1548) | func (r *runner) isECMABoundary(index, startpos, endpos int) bool {
method startTimeoutWatch (line 1553) | func (r *runner) startTimeoutWatch() {
method checkTimeout (line 1560) | func (r *runner) checkTimeout() error {
method initTrackCount (line 1578) | func (r *runner) initTrackCount() {
method run (line 76) | func (re *Regexp) run(quick bool, textstart int, input []rune) (*Match, ...
function doubleIntSlice (line 917) | func doubleIntSlice(s *[]int, pos *int) {
method getRunner (line 1585) | func (re *Regexp) getRunner() *runner {
method putRunner (line 1605) | func (re *Regexp) putRunner(r *runner) {
FILE: vendor/github.com/dlclark/regexp2/syntax/charclass.go
type CharSet (line 13) | type CharSet struct
method Copy (line 149) | func (c CharSet) Copy() CharSet {
method String (line 167) | func (c CharSet) String() string {
method mapHashFill (line 202) | func (c CharSet) mapHashFill(buf *bytes.Buffer) {
method CharIn (line 231) | func (c CharSet) CharIn(ch rune) bool {
method SingletonChar (line 359) | func (c CharSet) SingletonChar() rune {
method IsSingleton (line 363) | func (c CharSet) IsSingleton() bool {
method IsSingletonInverse (line 370) | func (c CharSet) IsSingletonInverse() bool {
method IsMergeable (line 377) | func (c CharSet) IsMergeable() bool {
method IsNegated (line 381) | func (c CharSet) IsNegated() bool {
method HasSubtraction (line 385) | func (c CharSet) HasSubtraction() bool {
method IsEmpty (line 389) | func (c CharSet) IsEmpty() bool {
method addDigit (line 393) | func (c *CharSet) addDigit(ecma, negate bool, pattern string) {
method addChar (line 405) | func (c *CharSet) addChar(ch rune) {
method addSpace (line 409) | func (c *CharSet) addSpace(ecma, re2, negate bool) {
method addWord (line 427) | func (c *CharSet) addWord(ecma, negate bool) {
method addSet (line 440) | func (c *CharSet) addSet(set CharSet) {
method makeAnything (line 454) | func (c *CharSet) makeAnything() {
method addCategories (line 460) | func (c *CharSet) addCategories(cats ...category) {
method addRanges (line 490) | func (c *CharSet) addRanges(ranges []singleRange) {
method addNegativeRanges (line 499) | func (c *CharSet) addNegativeRanges(ranges []singleRange) {
method addCategory (line 526) | func (c *CharSet) addCategory(categoryName string, negate, caseInsensi...
method addSubtraction (line 543) | func (c *CharSet) addSubtraction(sub *CharSet) {
method addRange (line 547) | func (c *CharSet) addRange(chMin, chMax rune) {
method addNamedASCII (line 552) | func (c *CharSet) addNamedASCII(name string, negate bool) bool {
method canonicalize (line 606) | func (c *CharSet) canonicalize() {
method addLowercase (line 655) | func (c *CharSet) addLowercase() {
method addLowercaseRange (line 813) | func (c *CharSet) addLowercaseRange(chMin, chMax rune) {
type category (line 21) | type category struct
method String (line 295) | func (c category) String() string {
type singleRange (line 26) | type singleRange struct
constant spaceCategoryText (line 32) | spaceCategoryText = " "
constant wordCategoryText (line 33) | wordCategoryText = "W"
function getCharSetFromCategoryString (line 80) | func getCharSetFromCategoryString(negateSet bool, negateCat bool, cats ....
function getCharSetFromOldString (line 99) | func getCharSetFromOldString(setText []rune, negate bool) func() *CharSet {
function CharDescription (line 319) | func CharDescription(ch rune) string {
function IsWordChar (line 341) | func IsWordChar(r rune) bool {
function IsECMAWordChar (line 349) | func IsECMAWordChar(r rune) bool {
function isValidUnicodeCat (line 521) | func isValidUnicodeCat(catName string) bool {
type singleRangeSorter (line 599) | type singleRangeSorter
method Len (line 601) | func (p singleRangeSorter) Len() int { return len(p) }
method Less (line 602) | func (p singleRangeSorter) Less(i, j int) bool { return p[i].first < p...
method Swap (line 603) | func (p singleRangeSorter) Swap(i, j int) { p[i], p[j] = p[j], p[...
constant LowercaseSet (line 705) | LowercaseSet = 0
constant LowercaseAdd (line 706) | LowercaseAdd = 1
constant LowercaseBor (line 707) | LowercaseBor = 2
constant LowercaseBad (line 708) | LowercaseBad = 3
type lcMap (line 711) | type lcMap struct
FILE: vendor/github.com/dlclark/regexp2/syntax/code.go
type InstOp (line 23) | type InstOp
constant Onerep (line 28) | Onerep InstOp = 0
constant Notonerep (line 29) | Notonerep = 1
constant Setrep (line 30) | Setrep = 2
constant Oneloop (line 32) | Oneloop = 3
constant Notoneloop (line 33) | Notoneloop = 4
constant Setloop (line 34) | Setloop = 5
constant Onelazy (line 36) | Onelazy = 6
constant Notonelazy (line 37) | Notonelazy = 7
constant Setlazy (line 38) | Setlazy = 8
constant One (line 40) | One = 9
constant Notone (line 41) | Notone = 10
constant Set (line 42) | Set = 11
constant Multi (line 44) | Multi = 12
constant Ref (line 45) | Ref = 13
constant Bol (line 47) | Bol = 14
constant Eol (line 48) | Eol = 15
constant Boundary (line 49) | Boundary = 16
constant Nonboundary (line 50) | Nonboundary = 17
constant Beginning (line 51) | Beginning = 18
constant Start (line 52) | Start = 19
constant EndZ (line 53) | EndZ = 20
constant End (line 54) | End = 21
constant Nothing (line 56) | Nothing = 22
constant Lazybranch (line 60) | Lazybranch = 23
constant Branchmark (line 61) | Branchmark = 24
constant Lazybranchmark (line 62) | Lazybranchmark = 25
constant Nullcount (line 63) | Nullcount = 26
constant Setcount (line 64) | Setcount = 27
constant Branchcount (line 65) | Branchcount = 28
constant Lazybranchcount (line 66) | Lazybranchcount = 29
constant Nullmark (line 67) | Nullmark = 30
constant Setmark (line 68) | Setmark = 31
constant Capturemark (line 69) | Capturemark = 32
constant Getmark (line 70) | Getmark = 33
constant Setjump (line 71) | Setjump = 34
constant Backjump (line 72) | Backjump = 35
constant Forejump (line 73) | Forejump = 36
constant Testref (line 74) | Testref = 37
constant Goto (line 75) | Goto = 38
constant Prune (line 77) | Prune = 39
constant Stop (line 78) | Stop = 40
constant ECMABoundary (line 80) | ECMABoundary = 41
constant NonECMABoundary (line 81) | NonECMABoundary = 42
constant Mask (line 85) | Mask = 63
constant Rtl (line 86) | Rtl = 64
constant Back (line 87) | Back = 128
constant Back2 (line 88) | Back2 = 256
constant Ci (line 89) | Ci = 512
type Code (line 92) | type Code struct
method OpcodeDescription (line 175) | func (c *Code) OpcodeDescription(offset int) string {
method Dump (line 242) | func (c *Code) Dump() string {
function opcodeBacktracks (line 105) | func opcodeBacktracks(op InstOp) bool {
function opcodeSize (line 119) | func opcodeSize(op InstOp) int {
function operatorDescription (line 156) | func operatorDescription(op InstOp) string {
FILE: vendor/github.com/dlclark/regexp2/syntax/escape.go
function Escape (line 10) | func Escape(input string) string {
constant meta (line 18) | meta = `\.+*?()|[]{}^$# `
function escape (line 20) | func escape(b *bytes.Buffer, r rune, force bool) {
function Unescape (line 57) | func Unescape(input string) (string, error) {
FILE: vendor/github.com/dlclark/regexp2/syntax/fuzz.go
function Fuzz (line 6) | func Fuzz(data []byte) int {
FILE: vendor/github.com/dlclark/regexp2/syntax/parser.go
type RegexOptions (line 12) | type RegexOptions
constant IgnoreCase (line 15) | IgnoreCase RegexOptions = 0x0001
constant Multiline (line 16) | Multiline = 0x0002
constant ExplicitCapture (line 17) | ExplicitCapture = 0x0004
constant Compiled (line 18) | Compiled = 0x0008
constant Singleline (line 19) | Singleline = 0x0010
constant IgnorePatternWhitespace (line 20) | IgnorePatternWhitespace = 0x0020
constant RightToLeft (line 21) | RightToLeft = 0x0040
constant Debug (line 22) | Debug = 0x0080
constant ECMAScript (line 23) | ECMAScript = 0x0100
constant RE2 (line 24) | RE2 = 0x0200
constant Unicode (line 25) | Unicode = 0x0400
function optionFromCode (line 28) | func optionFromCode(ch rune) RegexOptions {
type Error (line 56) | type Error struct
method Error (line 62) | func (e *Error) Error() string {
type ErrorCode (line 70) | type ErrorCode
method String (line 113) | func (e ErrorCode) String() string {
constant ErrInternalError (line 74) | ErrInternalError ErrorCode = "regexp/syntax: internal error"
constant ErrUnterminatedComment (line 76) | ErrUnterminatedComment = "unterminated comment"
constant ErrInvalidCharRange (line 77) | ErrInvalidCharRange = "invalid character class range"
constant ErrInvalidRepeatSize (line 78) | ErrInvalidRepeatSize = "invalid repeat count"
constant ErrInvalidUTF8 (line 79) | ErrInvalidUTF8 = "invalid UTF-8"
constant ErrCaptureGroupOutOfRange (line 80) | ErrCaptureGroupOutOfRange = "capture group number out of range"
constant ErrUnexpectedParen (line 81) | ErrUnexpectedParen = "unexpected )"
constant ErrMissingParen (line 82) | ErrMissingParen = "missing closing )"
constant ErrMissingBrace (line 83) | ErrMissingBrace = "missing closing }"
constant ErrInvalidRepeatOp (line 84) | ErrInvalidRepeatOp = "invalid nested repetition operator"
constant ErrMissingRepeatArgument (line 85) | ErrMissingRepeatArgument = "missing argument to repetition operator"
constant ErrConditionalExpression (line 86) | ErrConditionalExpression = "illegal conditional (?(...)) expression"
constant ErrTooManyAlternates (line 87) | ErrTooManyAlternates = "too many | in (?()|)"
constant ErrUnrecognizedGrouping (line 88) | ErrUnrecognizedGrouping = "unrecognized grouping construct: (%v"
constant ErrInvalidGroupName (line 89) | ErrInvalidGroupName = "invalid group name: group names must be...
constant ErrCapNumNotZero (line 90) | ErrCapNumNotZero = "capture number cannot be zero"
constant ErrUndefinedBackRef (line 91) | ErrUndefinedBackRef = "reference to undefined group number %v"
constant ErrUndefinedNameRef (line 92) | ErrUndefinedNameRef = "reference to undefined group name %v"
constant ErrAlternationCantCapture (line 93) | ErrAlternationCantCapture = "alternation conditions do not capture a...
constant ErrAlternationCantHaveComment (line 94) | ErrAlternationCantHaveComment = "alternation conditions cannot be comments"
constant ErrMalformedReference (line 95) | ErrMalformedReference = "(?(%v) ) malformed"
constant ErrUndefinedReference (line 96) | ErrUndefinedReference = "(?(%v) ) reference to undefined group"
constant ErrIllegalEndEscape (line 97) | ErrIllegalEndEscape = "illegal \\ at end of pattern"
constant ErrMalformedSlashP (line 98) | ErrMalformedSlashP = "malformed \\p{X} character escape"
constant ErrIncompleteSlashP (line 99) | ErrIncompleteSlashP = "incomplete \\p{X} character escape"
constant ErrUnknownSlashP (line 100) | ErrUnknownSlashP = "unknown unicode category, script, or pr...
constant ErrUnrecognizedEscape (line 101) | ErrUnrecognizedEscape = "unrecognized escape sequence \\%v"
constant ErrMissingControl (line 102) | ErrMissingControl = "missing control character"
constant ErrUnrecognizedControl (line 103) | ErrUnrecognizedControl = "unrecognized control character"
constant ErrTooFewHex (line 104) | ErrTooFewHex = "insufficient hexadecimal digits"
constant ErrInvalidHex (line 105) | ErrInvalidHex = "hex values may not be larger than 0x10F...
constant ErrMalformedNameRef (line 106) | ErrMalformedNameRef = "malformed \\k<...> named back reference"
constant ErrBadClassInCharRange (line 107) | ErrBadClassInCharRange = "cannot include class \\%v in character ...
constant ErrUnterminatedBracket (line 108) | ErrUnterminatedBracket = "unterminated [] set"
constant ErrSubtractionMustBeLast (line 109) | ErrSubtractionMustBeLast = "a subtraction must be the last element ...
constant ErrReversedCharRange (line 110) | ErrReversedCharRange = "[%c-%c] range in reverse order"
type parser (line 117) | type parser struct
method setPattern (line 186) | func (p *parser) setPattern(pattern string) {
method getErr (line 195) | func (p *parser) getErr(code ErrorCode, args ...interface{}) error {
method noteCaptureSlot (line 199) | func (p *parser) noteCaptureSlot(i, pos int) {
method noteCaptureName (line 215) | func (p *parser) noteCaptureName(name string, pos int) {
method assignNameSlots (line 226) | func (p *parser) assignNameSlots() {
method consumeAutocap (line 296) | func (p *parser) consumeAutocap() int {
method countCaptures (line 304) | func (p *parser) countCaptures() error {
method reset (line 406) | func (p *parser) reset(topopts RegexOptions) {
method scanRegex (line 419) | func (p *parser) scanRegex() (*regexNode, error) {
method scanReplacement (line 682) | func (p *parser) scanReplacement() (*regexNode, error) {
method scanDollar (line 720) | func (p *parser) scanDollar() (*regexNode, error) {
method scanGroupOpen (line 825) | func (p *parser) scanGroupOpen() (*regexNode, error) {
method scanBackslash (line 1114) | func (p *parser) scanBackslash(scanOnly bool) (*regexNode, error) {
method scanBasicBackslash (line 1191) | func (p *parser) scanBasicBackslash(scanOnly bool) (*regexNode, error) {
method parseProperty (line 1313) | func (p *parser) parseProperty() (string, error) {
method typeFromCode (line 1355) | func (p *parser) typeFromCode(ch rune) nodeType {
method scanBlank (line 1381) | func (p *parser) scanBlank() error {
method scanCapname (line 1428) | func (p *parser) scanCapname() string {
method scanCharSet (line 1442) | func (p *parser) scanCharSet(caseInsensitive, scanOnly bool) (*CharSet...
method scanDecimal (line 1635) | func (p *parser) scanDecimal() (int, error) {
method scanOptions (line 1663) | func (p *parser) scanOptions() {
method scanCharEscape (line 1688) | func (p *parser) scanCharEscape() (r rune, err error) {
method scanControl (line 1751) | func (p *parser) scanControl() (rune, error) {
method scanHexUntilBrace (line 1774) | func (p *parser) scanHexUntilBrace() (rune, error) {
method scanHex (line 1810) | func (p *parser) scanHex(c int) (rune, error) {
method scanOctal (line 1852) | func (p *parser) scanOctal() rune {
method textpos (line 1886) | func (p *parser) textpos() int {
method textto (line 1891) | func (p *parser) textto(pos int) {
method moveRightGetChar (line 1896) | func (p *parser) moveRightGetChar() rune {
method moveRight (line 1903) | func (p *parser) moveRight(i int) {
method moveLeft (line 1909) | func (p *parser) moveLeft() {
method charAt (line 1914) | func (p *parser) charAt(i int) rune {
method rightChar (line 1919) | func (p *parser) rightChar(i int) rune {
method charsRight (line 1925) | func (p *parser) charsRight() int {
method rightMost (line 1929) | func (p *parser) rightMost() bool {
method captureSlotFromName (line 1934) | func (p *parser) captureSlotFromName(capname string) int {
method isCaptureSlot (line 1939) | func (p *parser) isCaptureSlot(i int) bool {
method isCaptureName (line 1949) | func (p *parser) isCaptureName(capname string) bool {
method useOptionN (line 1961) | func (p *parser) useOptionN() bool {
method useOptionI (line 1966) | func (p *parser) useOptionI() bool {
method useOptionM (line 1971) | func (p *parser) useOptionM() bool {
method useOptionS (line 1976) | func (p *parser) useOptionS() bool {
method useOptionX (line 1981) | func (p *parser) useOptionX() bool {
method useOptionE (line 1986) | func (p *parser) useOptionE() bool {
method useRE2 (line 1991) | func (p *parser) useRE2() bool {
method useOptionU (line 1996) | func (p *parser) useOptionU() bool {
method emptyOptionsStack (line 2001) | func (p *parser) emptyOptionsStack() bool {
method addConcatenate (line 2006) | func (p *parser) addConcatenate() {
method addConcatenate3 (line 2013) | func (p *parser) addConcatenate3(lazy bool, min, max int) {
method addUnitOne (line 2019) | func (p *parser) addUnitOne(ch rune) {
method addUnitNotone (line 2028) | func (p *parser) addUnitNotone(ch rune) {
method addUnitSet (line 2037) | func (p *parser) addUnitSet(set *CharSet) {
method addUnitNode (line 2042) | func (p *parser) addUnitNode(node *regexNode) {
method addUnitType (line 2047) | func (p *parser) addUnitType(t nodeType) {
method addGroup (line 2052) | func (p *parser) addGroup() error {
method popKeepOptions (line 2068) | func (p *parser) popKeepOptions() {
method popOptions (line 2074) | func (p *parser) popOptions() {
method pushOptions (line 2082) | func (p *parser) pushOptions() {
method addToConcatenate (line 2087) | func (p *parser) addToConcatenate(pos, cch int, isReplacement bool) {
method pushGroup (line 2123) | func (p *parser) pushGroup() {
method popGroup (line 2131) | func (p *parser) popGroup() error {
method emptyStack (line 2150) | func (p *parser) emptyStack() bool {
method startGroup (line 2155) | func (p *parser) startGroup(openGroup *regexNode) {
method addAlternate (line 2162) | func (p *parser) addAlternate() {
method isTrueQuantifier (line 2214) | func (p *parser) isTrueQuantifier() bool {
constant maxValueDiv10 (line 147) | maxValueDiv10 int = math.MaxInt32 / 10
constant maxValueMod10 (line 148) | maxValueMod10 = math.MaxInt32 % 10
function Parse (line 152) | func Parse(re string, op RegexOptions) (*RegexTree, error) {
function isOnlyTopOption (line 1658) | func isOnlyTopOption(option RegexOptions) bool {
function hexDigit (line 1834) | func hexDigit(ch rune) int {
constant Q (line 2177) | Q byte = 5
constant S (line 2178) | S = 4
constant Z (line 2179) | Z = 3
constant X (line 2180) | X = 2
constant E (line 2181) | E = 1
function isSpace (line 2195) | func isSpace(ch rune) bool {
function isSpecial (line 2200) | func isSpecial(ch rune) bool {
function isStopperX (line 2205) | func isStopperX(ch rune) bool {
function isQuantifier (line 2210) | func isQuantifier(ch rune) bool {
FILE: vendor/github.com/dlclark/regexp2/syntax/prefix.go
type Prefix (line 11) | type Prefix struct
function getFirstCharsPrefix (line 18) | func getFirstCharsPrefix(tree *RegexTree) *Prefix {
type regexFcd (line 32) | type regexFcd struct
method regexFCFromRegexTree (line 47) | func (s *regexFcd) regexFCFromRegexTree(tree *RegexTree) *regexFc {
method pushInt (line 99) | func (s *regexFcd) pushInt(I int) {
method intIsEmpty (line 111) | func (s *regexFcd) intIsEmpty() bool {
method popInt (line 116) | func (s *regexFcd) popInt() int {
method pushFC (line 123) | func (s *regexFcd) pushFC(fc regexFc) {
method fcIsEmpty (line 135) | func (s *regexFcd) fcIsEmpty() bool {
method popFC (line 140) | func (s *regexFcd) popFC() *regexFc {
method topFC (line 146) | func (s *regexFcd) topFC() *regexFc {
method skipChild (line 151) | func (s *regexFcd) skipChild() {
method calculateFC (line 156) | func (s *regexFcd) calculateFC(nt nodeType, node *regexNode, CurIndex ...
type regexFc (line 277) | type regexFc struct
method getFirstChars (line 301) | func (r *regexFc) getFirstChars() CharSet {
method addFC (line 309) | func (r *regexFc) addFC(fc regexFc, concatenate bool) bool {
function newRegexFc (line 283) | func newRegexFc(ch rune, not, nullable, caseInsensitive bool) regexFc {
function getPrefix (line 336) | func getPrefix(tree *RegexTree) *Prefix {
function repeat (line 393) | func repeat(r rune, c int) []rune {
type BmPrefix (line 419) | type BmPrefix struct
method String (line 606) | func (b *BmPrefix) String() string {
method Dump (line 611) | func (b *BmPrefix) Dump(indent string) string {
method Scan (line 640) | func (b *BmPrefix) Scan(text []rune, index, beglimit, endlimit int) int {
method IsMatch (line 747) | func (b *BmPrefix) IsMatch(text []rune, index, beglimit, endlimit int)...
method matchPattern (line 763) | func (b *BmPrefix) matchPattern(text []rune, index int) bool {
function newBmPrefix (line 430) | func newBmPrefix(pattern []rune, caseInsensitive, rightToLeft bool) *BmP...
type AnchorLoc (line 786) | type AnchorLoc
method String (line 863) | func (anchors AnchorLoc) String() string {
constant AnchorBeginning (line 790) | AnchorBeginning AnchorLoc = 0x0001
constant AnchorBol (line 791) | AnchorBol = 0x0002
constant AnchorStart (line 792) | AnchorStart = 0x0004
constant AnchorEol (line 793) | AnchorEol = 0x0008
constant AnchorEndZ (line 794) | AnchorEndZ = 0x0010
constant AnchorEnd (line 795) | AnchorEnd = 0x0020
constant AnchorBoundary (line 796) | AnchorBoundary = 0x0040
constant AnchorECMABoundary (line 797) | AnchorECMABoundary = 0x0080
function getAnchors (line 800) | func getAnchors(tree *RegexTree) AnchorLoc {
function anchorFromType (line 839) | func anchorFromType(t nodeType) AnchorLoc {
FILE: vendor/github.com/dlclark/regexp2/syntax/replacerdata.go
type ReplacerData (line 8) | type ReplacerData struct
constant replaceSpecials (line 15) | replaceSpecials = 4
constant replaceLeftPortion (line 16) | replaceLeftPortion = -1
constant replaceRightPortion (line 17) | replaceRightPortion = -2
constant replaceLastGroup (line 18) | replaceLastGroup = -3
constant replaceWholeString (line 19) | replaceWholeString = -4
function NewReplacerData (line 27) | func NewReplacerData(rep string, caps map[int]int, capsize int, capnames...
FILE: vendor/github.com/dlclark/regexp2/syntax/tree.go
type RegexTree (line 10) | type RegexTree struct
method Dump (line 618) | func (t *RegexTree) Dump() string {
type regexNode (line 55) | type regexNode struct
method writeStrToBuf (line 165) | func (n *regexNode) writeStrToBuf(buf *bytes.Buffer) {
method addChild (line 171) | func (n *regexNode) addChild(child *regexNode) {
method insertChildren (line 177) | func (n *regexNode) insertChildren(afterIndex int, nodes []*regexNode) {
method removeChildren (line 183) | func (n *regexNode) removeChildren(startIndex, endIndex int) {
method makeRep (line 188) | func (n *regexNode) makeRep(t nodeType, min, max int) {
method reduce (line 194) | func (n *regexNode) reduce() *regexNode {
method reduceAlternation (line 222) | func (n *regexNode) reduceAlternation() *regexNode {
method reduceConcatenation (line 306) | func (n *regexNode) reduceConcatenation() *regexNode {
method reduceRep (line 393) | func (n *regexNode) reduceRep() *regexNode {
method stripEnation (line 450) | func (n *regexNode) stripEnation(emptyType nodeType) *regexNode {
method reduceGroup (line 461) | func (n *regexNode) reduceGroup() *regexNode {
method reduceSet (line 473) | func (n *regexNode) reduceSet() *regexNode {
method reverseLeft (line 491) | func (n *regexNode) reverseLeft() *regexNode {
method makeQuantifier (line 502) | func (n *regexNode) makeQuantifier(lazy bool, min, max int) *regexNode {
method description (line 553) | func (n *regexNode) description() string {
method dump (line 622) | func (n *regexNode) dump() string {
type nodeType (line 67) | type nodeType
constant ntOnerep (line 72) | ntOnerep nodeType = 0
constant ntNotonerep (line 73) | ntNotonerep = 1
constant ntSetrep (line 74) | ntSetrep = 2
constant ntOneloop (line 75) | ntOneloop = 3
constant ntNotoneloop (line 76) | ntNotoneloop = 4
constant ntSetloop (line 77) | ntSetloop = 5
constant ntOnelazy (line 78) | ntOnelazy = 6
constant ntNotonelazy (line 79) | ntNotonelazy = 7
constant ntSetlazy (line 80) | ntSetlazy = 8
constant ntOne (line 81) | ntOne = 9
constant ntNotone (line 82) | ntNotone = 10
constant ntSet (line 83) | ntSet = 11
constant ntMulti (line 84) | ntMulti = 12
constant ntRef (line 85) | ntRef = 13
constant ntBol (line 86) | ntBol = 14
constant ntEol (line 87) | ntEol = 15
constant ntBoundary (line 88) | ntBoundary = 16
constant ntNonboundary (line 89) | ntNonboundary = 17
constant ntBeginning (line 90) | ntBeginning = 18
constant ntStart (line 91) | ntStart = 19
constant ntEndZ (line 92) | ntEndZ = 20
constant ntEnd (line 93) | ntEnd = 21
constant ntNothing (line 100) | ntNothing = 22
constant ntEmpty (line 101) | ntEmpty = 23
constant ntAlternate (line 102) | ntAlternate = 24
constant ntConcatenate (line 103) | ntConcatenate = 25
constant ntLoop (line 104) | ntLoop = 26
constant ntLazyloop (line 105) | ntLazyloop = 27
constant ntCapture (line 106) | ntCapture = 28
constant ntGroup (line 107) | ntGroup = 29
constant ntRequire (line 108) | ntRequire = 30
constant ntPrevent (line 109) | ntPrevent = 31
constant ntGreedy (line 110) | ntGreedy = 32
constant ntTestref (line 111) | ntTestref = 33
constant ntTestgroup (line 112) | ntTestgroup = 34
constant ntECMABoundary (line 114) | ntECMABoundary = 41
constant ntNonECMABoundary (line 115) | ntNonECMABoundary = 42
function newRegexNode (line 118) | func newRegexNode(t nodeType, opt RegexOptions) *regexNode {
function newRegexNodeCh (line 125) | func newRegexNodeCh(t nodeType, opt RegexOptions, ch rune) *regexNode {
function newRegexNodeStr (line 133) | func newRegexNodeStr(t nodeType, opt RegexOptions, str []rune) *regexNode {
function newRegexNodeSet (line 141) | func newRegexNodeSet(t nodeType, opt RegexOptions, set *CharSet) *regexN...
function newRegexNodeM (line 149) | func newRegexNodeM(t nodeType, opt RegexOptions, m int) *regexNode {
function newRegexNodeMN (line 156) | func newRegexNodeMN(t nodeType, opt RegexOptions, m, n int) *regexNode {
FILE: vendor/github.com/dlclark/regexp2/syntax/writer.go
function Write (line 10) | func Write(tree *RegexTree) (*Code, error) {
type writer (line 28) | type writer struct
method codeFromTree (line 59) | func (w *writer) codeFromTree(tree *RegexTree) (*Code, error) {
method emitFragment (line 157) | func (w *writer) emitFragment(nodetype nodeType, node *regexNode, curI...
method pushInt (line 371) | func (w *writer) pushInt(i int) {
method emptyStack (line 376) | func (w *writer) emptyStack() bool {
method popInt (line 381) | func (w *writer) popInt() int {
method curPos (line 391) | func (w *writer) curPos() int {
method patchJump (line 397) | func (w *writer) patchJump(offset, jumpDest int) {
method setCode (line 403) | func (w *writer) setCode(set *CharSet) int {
method stringCode (line 423) | func (w *writer) stringCode(str []rune) int {
method mapCapnum (line 443) | func (w *writer) mapCapnum(capnum int) int {
method emit (line 458) | func (w *writer) emit(op InstOp) {
method emit1 (line 471) | func (w *writer) emit1(op InstOp, opd1 int) {
method emit2 (line 486) | func (w *writer) emit2(op InstOp, opd1, opd2 int) {
constant beforeChild (line 44) | beforeChild nodeType = 64
constant afterChild (line 45) | afterChild = 128
constant MaxPrefixSize (line 47) | MaxPrefixSize = 50
FILE: vendor/github.com/evanw/esbuild/internal/ast/ast.go
type ImportKind (line 15) | type ImportKind
method StringForMetafile (line 43) | func (kind ImportKind) StringForMetafile() string {
method IsFromCSS (line 66) | func (kind ImportKind) IsFromCSS() bool {
method MustResolveToCSS (line 74) | func (kind ImportKind) MustResolveToCSS() bool {
constant ImportEntryPoint (line 19) | ImportEntryPoint ImportKind = iota
constant ImportStmt (line 22) | ImportStmt
constant ImportRequire (line 25) | ImportRequire
constant ImportDynamic (line 28) | ImportDynamic
constant ImportRequireResolve (line 31) | ImportRequireResolve
constant ImportAt (line 34) | ImportAt
constant ImportComposesFrom (line 37) | ImportComposesFrom
constant ImportURL (line 40) | ImportURL
type ImportPhase (line 82) | type ImportPhase
constant EvaluationPhase (line 85) | EvaluationPhase ImportPhase = iota
constant DeferPhase (line 88) | DeferPhase
constant SourcePhase (line 91) | SourcePhase
type ImportRecordFlags (line 94) | type ImportRecordFlags
method Has (line 160) | func (flags ImportRecordFlags) Has(flag ImportRecordFlags) bool {
constant IsUnused (line 100) | IsUnused ImportRecordFlags = 1 << iota
constant ContainsImportStar (line 105) | ContainsImportStar
constant ContainsDefaultAlias (line 109) | ContainsDefaultAlias
constant ContainsESModuleAlias (line 113) | ContainsESModuleAlias
constant CallsRunTimeReExportFn (line 117) | CallsRunTimeReExportFn
constant WrapWithToESM (line 120) | WrapWithToESM
constant WrapWithToCJS (line 123) | WrapWithToCJS
constant CallRuntimeRequire (line 126) | CallRuntimeRequire
constant HandlesImportErrors (line 138) | HandlesImportErrors
constant WasOriginallyBareImport (line 141) | WasOriginallyBareImport
constant IsExternalWithoutSideEffects (line 144) | IsExternalWithoutSideEffects
constant AssertTypeJSON (line 147) | AssertTypeJSON
constant ShouldNotBeExternalInMetafile (line 150) | ShouldNotBeExternalInMetafile
constant WasLoadedWithEmptyLoader (line 153) | WasLoadedWithEmptyLoader
constant ContainsUniqueKey (line 157) | ContainsUniqueKey
type ImportRecord (line 164) | type ImportRecord struct
type AssertOrWithKeyword (line 187) | type AssertOrWithKeyword
method String (line 194) | func (kw AssertOrWithKeyword) String() string {
constant AssertKeyword (line 190) | AssertKeyword AssertOrWithKeyword = iota
constant WithKeyword (line 191) | WithKeyword
type ImportAssertOrWith (line 201) | type ImportAssertOrWith struct
type AssertOrWithEntry (line 211) | type AssertOrWithEntry struct
function FindAssertOrWithEntry (line 219) | func FindAssertOrWithEntry(assertions []AssertOrWithEntry, name string) ...
type GlobPattern (line 228) | type GlobPattern struct
type Index32 (line 237) | type Index32 struct
method IsValid (line 245) | func (i Index32) IsValid() bool {
method GetIndex (line 249) | func (i Index32) GetIndex() uint32 {
function MakeIndex32 (line 241) | func MakeIndex32(index uint32) Index32 {
type SymbolKind (line 253) | type SymbolKind
method IsPrivate (line 352) | func (kind SymbolKind) IsPrivate() bool {
method IsHoisted (line 356) | func (kind SymbolKind) IsHoisted() bool {
method IsHoistedOrFunction (line 360) | func (kind SymbolKind) IsHoistedOrFunction() bool {
method IsFunction (line 364) | func (kind SymbolKind) IsFunction() bool {
method IsUnboundOrInjected (line 368) | func (kind SymbolKind) IsUnboundOrInjected() bool {
constant SymbolUnbound (line 258) | SymbolUnbound SymbolKind = iota
constant SymbolHoisted (line 269) | SymbolHoisted
constant SymbolHoistedFunction (line 270) | SymbolHoistedFunction
constant SymbolCatchIdentifier (line 290) | SymbolCatchIdentifier
constant SymbolGeneratorOrAsyncFunction (line 295) | SymbolGeneratorOrAsyncFunction
constant SymbolArguments (line 298) | SymbolArguments
constant SymbolClass (line 301) | SymbolClass
constant SymbolClassInComputedPropertyKey (line 304) | SymbolClassInComputedPropertyKey
constant SymbolPrivateField (line 307) | SymbolPrivateField
constant SymbolPrivateMethod (line 308) | SymbolPrivateMethod
constant SymbolPrivateGet (line 309) | SymbolPrivateGet
constant SymbolPrivateSet (line 310) | SymbolPrivateSet
constant SymbolPrivateGetSetPair (line 311) | SymbolPrivateGetSetPair
constant SymbolPrivateStaticField (line 312) | SymbolPrivateStaticField
constant SymbolPrivateStaticMethod (line 313) | SymbolPrivateStaticMethod
constant SymbolPrivateStaticGet (line 314) | SymbolPrivateStaticGet
constant SymbolPrivateStaticSet (line 315) | SymbolPrivateStaticSet
constant SymbolPrivateStaticGetSetPair (line 316) | SymbolPrivateStaticGetSetPair
constant SymbolLabel (line 319) | SymbolLabel
constant SymbolTSEnum (line 323) | SymbolTSEnum
constant SymbolTSNamespace (line 327) | SymbolTSNamespace
constant SymbolImport (line 331) | SymbolImport
constant SymbolConst (line 334) | SymbolConst
constant SymbolInjected (line 337) | SymbolInjected
constant SymbolMangledProp (line 340) | SymbolMangledProp
constant SymbolGlobalCSS (line 343) | SymbolGlobalCSS
constant SymbolLocalCSS (line 346) | SymbolLocalCSS
constant SymbolOther (line 349) | SymbolOther
type Ref (line 385) | type Ref struct
type LocRef (line 390) | type LocRef struct
type ImportItemStatus (line 395) | type ImportItemStatus
constant ImportItemNone (line 398) | ImportItemNone ImportItemStatus = iota
constant ImportItemGenerated (line 401) | ImportItemGenerated
constant ImportItemMissing (line 404) | ImportItemMissing
type SymbolFlags (line 407) | type SymbolFlags
method Has (line 514) | func (flags SymbolFlags) Has(flag SymbolFlags) bool {
constant MustNotBeRenamed (line 413) | MustNotBeRenamed SymbolFlags = 1 << iota
constant MustStartWithCapitalLetterForJSX (line 420) | MustStartWithCapitalLetterForJSX
constant DidKeepName (line 427) | DidKeepName
constant PrivateSymbolMustBeLowered (line 480) | PrivateSymbolMustBeLowered
constant RemoveOverwrittenFunctionDeclaration (line 488) | RemoveOverwrittenFunctionDeclaration
constant DidWarnAboutCommonJSInESM (line 492) | DidWarnAboutCommonJSInESM
constant CouldPotentiallyBeMutated (line 496) | CouldPotentiallyBeMutated
constant WasExported (line 500) | WasExported
constant IsEmptyFunction (line 503) | IsEmptyFunction
constant IsIdentityFunction (line 507) | IsIdentityFunction
constant CallCanBeUnwrappedIfUnused (line 511) | CallCanBeUnwrappedIfUnused
type Symbol (line 519) | type Symbol struct
method MergeContentsWith (line 593) | func (newSymbol *Symbol) MergeContentsWith(oldSymbol *Symbol) {
method SlotNamespace (line 614) | func (s *Symbol) SlotNamespace() SlotNamespace {
type SlotNamespace (line 604) | type SlotNamespace
constant SlotDefault (line 607) | SlotDefault SlotNamespace = iota
constant SlotLabel (line 608) | SlotLabel
constant SlotPrivateName (line 609) | SlotPrivateName
constant SlotMangledProp (line 610) | SlotMangledProp
constant SlotMustNotBeRenamed (line 611) | SlotMustNotBeRenamed
type SlotCounts (line 630) | type SlotCounts
method UnionMax (line 632) | func (a *SlotCounts) UnionMax(b SlotCounts) {
type NamespaceAlias (line 642) | type NamespaceAlias struct
type SymbolMap (line 647) | type SymbolMap struct
method Get (line 662) | func (sm SymbolMap) Get(ref Ref) *Symbol {
function NewSymbolMap (line 658) | func NewSymbolMap(sourceCount int) SymbolMap {
function FollowSymbols (line 669) | func FollowSymbols(symbols SymbolMap, ref Ref) Ref {
function FollowAllSymbols (line 689) | func FollowAllSymbols(symbols SymbolMap) {
function MergeSymbols (line 700) | func MergeSymbols(symbols SymbolMap, old Ref, new Ref) Ref {
type CharFreq (line 723) | type CharFreq
method Scan (line 725) | func (freq *CharFreq) Scan(text string, delta int32) {
method Include (line 748) | func (freq *CharFreq) Include(other *CharFreq) {
type NameMinifier (line 754) | type NameMinifier struct
method ShuffleByCharFreq (line 787) | func (source NameMinifier) ShuffleByCharFreq(freq CharFreq) NameMinifi...
method NumberToMinifiedName (line 810) | func (minifier NameMinifier) NumberToMinifiedName(i int) string {
type charAndCount (line 769) | type charAndCount struct
type charAndCountArray (line 776) | type charAndCountArray
method Len (line 778) | func (a charAndCountArray) Len() int { return len(a) }
method Swap (line 779) | func (a charAndCountArray) Swap(i int, j int) { a[i], a[j] = a[j], a[i] }
method Less (line 781) | func (a charAndCountArray) Less(i int, j int) bool {
FILE: vendor/github.com/evanw/esbuild/internal/bundler/bundler.go
type scannerFile (line 43) | type scannerFile struct
type DataForSourceMap (line 56) | type DataForSourceMap struct
type Bundle (line 68) | type Bundle struct
method Compile (line 2993) | func (b *Bundle) Compile(log logger.Log, timer *helpers.Timer, mangleC...
method computeDataForSourceMapsInParallel (line 3197) | func (b *Bundle) computeDataForSourceMapsInParallel(options *config.Op...
method generateMetadataJSON (line 3260) | func (b *Bundle) generateMetadataJSON(results []graph.OutputFile, allR...
type parseArgs (line 82) | type parseArgs struct
type parseResult (line 102) | type parseResult struct
type globResolveResult (line 110) | type globResolveResult struct
type tlaCheck (line 117) | type tlaCheck struct
function parseFile (line 123) | func parseFile(args parseArgs) {
function reportExplicitPhaseImport (line 771) | func reportExplicitPhaseImport(
function ResolveFailureErrorTextSuggestionNotes (line 795) | func ResolveFailureErrorTextSuggestionNotes(
function isASCIIOnly (line 876) | func isASCIIOnly(text string) bool {
function guessMimeType (line 885) | func guessMimeType(extension string, contents string) string {
function extractSourceMapFromComment (line 895) | func extractSourceMapFromComment(
function sanitizeLocation (line 974) | func sanitizeLocation(fs fs.FS, loc *logger.MsgLocation) {
function logPluginMessages (line 985) | func logPluginMessages(
function RunOnResolvePlugins (line 1044) | func RunOnResolvePlugins(
type loaderPluginResult (line 1167) | type loaderPluginResult struct
function runOnLoadPlugins (line 1174) | func runOnLoadPlugins(
function canonicalFileSystemPathForWindows (line 1308) | func canonicalFileSystemPathForWindows(absPath string) string {
function HashForFileName (line 1312) | func HashForFileName(hashBytes []byte) string {
type scanner (line 1316) | type scanner struct
method maybeParseFile (line 1532) | func (s *scanner) maybeParseFile(
method allocateSourceIndex (line 1649) | func (s *scanner) allocateSourceIndex(path logger.Path, kind cache.Sou...
method allocateGlobSourceIndex (line 1669) | func (s *scanner) allocateGlobSourceIndex(parentSourceIndex uint32, gl...
method preprocessInjectedFiles (line 1689) | func (s *scanner) preprocessInjectedFiles() {
method addEntryPoints (line 1834) | func (s *scanner) addEntryPoints(entryPoints []EntryPoint) []graph.Ent...
method scanAllDependencies (line 2168) | func (s *scanner) scanAllDependencies() {
method generateResultForGlobResolve (line 2244) | func (s *scanner) generateResultForGlobResolve(
method processScannedFiles (line 2353) | func (s *scanner) processScannedFiles(entryPointMeta []graph.EntryPoin...
method validateTLA (line 2808) | func (s *scanner) validateTLA(sourceIndex uint32) tlaCheck {
type visitedFile (line 1337) | type visitedFile struct
type EntryPoint (line 1341) | type EntryPoint struct
function generateUniqueKeyPrefix (line 1347) | func generateUniqueKeyPrefix() (string, error) {
function ScanBundle (line 1363) | func ScanBundle(
type inputKind (line 1523) | type inputKind
constant inputKindNormal (line 1526) | inputKindNormal inputKind = iota
constant inputKindEntryPoint (line 1527) | inputKindEntryPoint
constant inputKindStdin (line 1528) | inputKindStdin
function lowestCommonAncestorDirectory (line 2111) | func lowestCommonAncestorDirectory(fs fs.FS, entryPoints []graph.EntryPo...
function DefaultExtensionToLoaderMap (line 2897) | func DefaultExtensionToLoaderMap() map[string]config.Loader {
function applyOptionDefaults (line 2915) | func applyOptionDefaults(options *config.Options) {
function fixInvalidUnsupportedJSFeatureOverrides (line 2971) | func fixInvalidUnsupportedJSFeatureOverrides(options *config.Options, im...
type Linker (line 2980) | type Linker
function findReachableFiles (line 3148) | func findReachableFiles(files []graph.InputFile, entryPoints []graph.Ent...
type runtimeCacheKey (line 3310) | type runtimeCacheKey struct
type runtimeCache (line 3316) | type runtimeCache struct
method parseRuntime (line 3323) | func (cache *runtimeCache) parseRuntime(options *config.Options) (sour...
function PathRelativeToOutbase (line 3381) | func PathRelativeToOutbase(
function sanitizeFilePathForVirtualModulePath (line 3470) | func sanitizeFilePathForVirtualModulePath(path string) string {
FILE: vendor/github.com/evanw/esbuild/internal/cache/cache.go
type CacheSet (line 33) | type CacheSet struct
function MakeCacheSet (line 41) | func MakeCacheSet() *CacheSet {
type SourceIndexCache (line 63) | type SourceIndexCache struct
method LenHint (line 82) | func (c *SourceIndexCache) LenHint() uint32 {
method Get (line 91) | func (c *SourceIndexCache) Get(path logger.Path, kind SourceIndexKind)...
method GetGlob (line 104) | func (c *SourceIndexCache) GetGlob(parentSourceIndex uint32, globIndex...
type SourceIndexKind (line 70) | type SourceIndexKind
constant SourceIndexNormal (line 73) | SourceIndexNormal SourceIndexKind = iota
constant SourceIndexJSStubForCSS (line 74) | SourceIndexJSStubForCSS
type sourceIndexKey (line 77) | type sourceIndexKey struct
FILE: vendor/github.com/evanw/esbuild/internal/cache/cache_ast.go
type CSSCache (line 29) | type CSSCache struct
method Parse (line 41) | func (c *CSSCache) Parse(log logger.Log, source logger.Source, options...
type cssCacheEntry (line 34) | type cssCacheEntry struct
type JSONCache (line 83) | type JSONCache struct
method Parse (line 96) | func (c *JSONCache) Parse(log logger.Log, source logger.Source, option...
type jsonCacheEntry (line 88) | type jsonCacheEntry struct
type JSCache (line 139) | type JSCache struct
method Parse (line 152) | func (c *JSCache) Parse(log logger.Log, source logger.Source, options ...
type jsCacheEntry (line 144) | type jsCacheEntry struct
FILE: vendor/github.com/evanw/esbuild/internal/cache/cache_fs.go
type FSCache (line 14) | type FSCache struct
method ReadFile (line 25) | func (c *FSCache) ReadFile(fs fs.FS, path string) (contents string, ca...
type fsEntry (line 19) | type fsEntry struct
FILE: vendor/github.com/evanw/esbuild/internal/compat/compat.go
type v (line 10) | type v struct
type Semver (line 16) | type Semver struct
method String (line 22) | func (v Semver) String() string {
function compareVersions (line 37) | func compareVersions(a v, b Semver) int {
type versionRange (line 61) | type versionRange struct
function isVersionSupported (line 66) | func isVersionSupported(ranges []versionRange, version Semver) bool {
function SymbolFeature (line 75) | func SymbolFeature(kind ast.SymbolKind) JSFeature {
FILE: vendor/github.com/evanw/esbuild/internal/compat/css_table.go
type CSSFeature (line 9) | type CSSFeature
method Has (line 43) | func (features CSSFeature) Has(feature CSSFeature) bool {
method ApplyOverrides (line 47) | func (features CSSFeature) ApplyOverrides(overrides CSSFeature, mask C...
constant ColorFunctions (line 12) | ColorFunctions CSSFeature = 1 << iota
constant GradientDoublePosition (line 13) | GradientDoublePosition
constant GradientInterpolation (line 14) | GradientInterpolation
constant GradientMidpoints (line 15) | GradientMidpoints
constant HWB (line 16) | HWB
constant HexRGBA (line 17) | HexRGBA
constant InlineStyle (line 18) | InlineStyle
constant InsetProperty (line 19) | InsetProperty
constant IsPseudoClass (line 20) | IsPseudoClass
constant MediaRange (line 21) | MediaRange
constant Modern_RGB_HSL (line 22) | Modern_RGB_HSL
constant Nesting (line 23) | Nesting
constant RebeccaPurple (line 24) | RebeccaPurple
function UnsupportedCSSFeatures (line 152) | func UnsupportedCSSFeatures(constraints map[Engine]Semver) (unsupported ...
type CSSPrefix (line 170) | type CSSPrefix
constant KhtmlPrefix (line 173) | KhtmlPrefix CSSPrefix = 1 << iota
constant MozPrefix (line 174) | MozPrefix
constant MsPrefix (line 175) | MsPrefix
constant OPrefix (line 176) | OPrefix
constant WebkitPrefix (line 177) | WebkitPrefix
constant NoPrefix (line 179) | NoPrefix CSSPrefix = 0
type prefixData (line 182) | type prefixData struct
function CSSPrefixData (line 399) | func CSSPrefixData(constraints map[Engine]Semver) (entries map[css_ast.D...
FILE: vendor/github.com/evanw/esbuild/internal/compat/js_table.go
type Engine (line 5) | type Engine
method String (line 22) | func (e Engine) String() string {
method IsBrowser (line 52) | func (e Engine) IsBrowser() bool {
constant Chrome (line 8) | Chrome Engine = iota
constant Deno (line 9) | Deno
constant Edge (line 10) | Edge
constant ES (line 11) | ES
constant Firefox (line 12) | Firefox
constant Hermes (line 13) | Hermes
constant IE (line 14) | IE
constant IOS (line 15) | IOS
constant Node (line 16) | Node
constant Opera (line 17) | Opera
constant Rhino (line 18) | Rhino
constant Safari (line 19) | Safari
type JSFeature (line 60) | type JSFeature
method Has (line 190) | func (features JSFeature) Has(feature JSFeature) bool {
method ApplyOverrides (line 194) | func (features JSFeature) ApplyOverrides(overrides JSFeature, mask JSF...
constant ArbitraryModuleNamespaceNames (line 63) | ArbitraryModuleNamespaceNames JSFeature = 1 << iota
constant ArraySpread (line 64) | ArraySpread
constant Arrow (line 65) | Arrow
constant AsyncAwait (line 66) | AsyncAwait
constant AsyncGenerator (line 67) | AsyncGenerator
constant Bigint (line 68) | Bigint
constant Class (line 69) | Class
constant ClassField (line 70) | ClassField
constant ClassPrivateAccessor (line 71) | ClassPrivateAccessor
constant ClassPrivateBrandCheck (line 72) | ClassPrivateBrandCheck
constant ClassPrivateField (line 73) | ClassPrivateField
constant ClassPrivateMethod (line 74) | ClassPrivateMethod
constant ClassPrivateStaticAccessor (line 75) | ClassPrivateStaticAccessor
constant ClassPrivateStaticField (line 76) | ClassPrivateStaticField
constant ClassPrivateStaticMethod (line 77) | ClassPrivateStaticMethod
constant ClassStaticBlocks (line 78) | ClassStaticBlocks
constant ClassStaticField (line 79) | ClassStaticField
constant ConstAndLet (line 80) | ConstAndLet
constant Decorators (line 81) | Decorators
constant DefaultArgument (line 82) | DefaultArgument
constant Destructuring (line 83) | Destructuring
constant DynamicImport (line 84) | DynamicImport
constant ExponentOperator (line 85) | ExponentOperator
constant ExportStarAs (line 86) | ExportStarAs
constant ForAwait (line 87) | ForAwait
constant ForOf (line 88) | ForOf
constant FromBase64 (line 89) | FromBase64
constant FunctionNameConfigurable (line 90) | FunctionNameConfigurable
constant FunctionOrClassPropertyAccess (line 91) | FunctionOrClassPropertyAccess
constant Generator (line 92) | Generator
constant Hashbang (line 93) | Hashbang
constant ImportAssertions (line 94) | ImportAssertions
constant ImportAttributes (line 95) | ImportAttributes
constant ImportDefer (line 96) | ImportDefer
constant ImportMeta (line 97) | ImportMeta
constant ImportSource (line 98) | ImportSource
constant InlineScript (line 99) | InlineScript
constant LogicalAssignment (line 100) | LogicalAssignment
constant NestedRestBinding (line 101) | NestedRestBinding
constant NewTarget (line 102) | NewTarget
constant NodeColonPrefixImport (line 103) | NodeColonPrefixImport
constant NodeColonPrefixRequire (line 104) | NodeColonPrefixRequire
constant NullishCoalescing (line 105) | NullishCoalescing
constant ObjectAccessors (line 106) | ObjectAccessors
constant ObjectExtensions (line 107) | ObjectExtensions
constant ObjectRestSpread (line 108) | ObjectRestSpread
constant OptionalCatchBinding (line 109) | OptionalCatchBinding
constant OptionalChain (line 110) | OptionalChain
constant RegexpDotAllFlag (line 111) | RegexpDotAllFlag
constant RegexpLookbehindAssertions (line 112) | RegexpLookbehindAssertions
constant RegexpMatchIndices (line 113) | RegexpMatchIndices
constant RegexpNamedCaptureGroups (line 114) | RegexpNamedCaptureGroups
constant RegexpSetNotation (line 115) | RegexpSetNotation
constant RegexpStickyAndUnicodeFlags (line 116) | RegexpStickyAndUnicodeFlags
constant RegexpUnicodePropertyEscapes (line 117) | RegexpUnicodePropertyEscapes
constant RestArgument (line 118) | RestArgument
constant TemplateLiteral (line 119) | TemplateLiteral
constant TopLevelAwait (line 120) | TopLevelAwait
constant TypeofExoticObjectIsObject (line 121) | TypeofExoticObjectIsObject
constant UnicodeEscapes (line 122) | UnicodeEscapes
constant Using (line 123) | Using
function UnsupportedJSFeatures (line 916) | func UnsupportedJSFeatures(constraints map[Engine]Semver) (unsupported J...
FILE: vendor/github.com/evanw/esbuild/internal/config/config.go
type JSXOptions (line 17) | type JSXOptions struct
type TSJSX (line 28) | type TSJSX
constant TSJSXNone (line 31) | TSJSXNone TSJSX = iota
constant TSJSXPreserve (line 32) | TSJSXPreserve
constant TSJSXReactNative (line 33) | TSJSXReactNative
constant TSJSXReact (line 34) | TSJSXReact
constant TSJSXReactJSX (line 35) | TSJSXReactJSX
constant TSJSXReactJSXDev (line 36) | TSJSXReactJSXDev
type TSOptions (line 39) | type TSOptions struct
type TSConfigJSX (line 45) | type TSConfigJSX struct
method ApplyExtendedConfig (line 54) | func (derived *TSConfigJSX) ApplyExtendedConfig(base TSConfigJSX) {
method ApplyTo (line 69) | func (tsConfig *TSConfigJSX) ApplyTo(jsxOptions *JSXOptions) {
type TSConfig (line 108) | type TSConfig struct
method ApplyExtendedConfig (line 118) | func (derived *TSConfig) ApplyExtendedConfig(base TSConfig) {
method UnusedImportFlags (line 139) | func (cfg *TSConfig) UnusedImportFlags() (flags TSUnusedImportFlags) {
type Platform (line 152) | type Platform
constant PlatformBrowser (line 155) | PlatformBrowser Platform = iota
constant PlatformNode (line 156) | PlatformNode
constant PlatformNeutral (line 157) | PlatformNeutral
type SourceMap (line 160) | type SourceMap
constant SourceMapNone (line 163) | SourceMapNone SourceMap = iota
constant SourceMapInline (line 164) | SourceMapInline
constant SourceMapLinkedWithComment (line 165) | SourceMapLinkedWithComment
constant SourceMapExternalWithoutComment (line 166) | SourceMapExternalWithoutComment
constant SourceMapInlineAndExternal (line 167) | SourceMapInlineAndExternal
type LegalComments (line 170) | type LegalComments
method HasExternalFile (line 180) | func (lc LegalComments) HasExternalFile() bool {
constant LegalCommentsInline (line 173) | LegalCommentsInline LegalComments = iota
constant LegalCommentsNone (line 174) | LegalCommentsNone
constant LegalCommentsEndOfFile (line 175) | LegalCommentsEndOfFile
constant LegalCommentsLinkedWithComment (line 176) | LegalCommentsLinkedWithComment
constant LegalCommentsExternalWithoutComment (line 177) | LegalCommentsExternalWithoutComment
type Loader (line 184) | type Loader
method IsTypeScript (line 230) | func (loader Loader) IsTypeScript() bool {
method IsCSS (line 238) | func (loader Loader) IsCSS() bool {
method CanHaveSourceMap (line 247) | func (loader Loader) CanHaveSourceMap() bool {
constant LoaderNone (line 187) | LoaderNone Loader = iota
constant LoaderBase64 (line 188) | LoaderBase64
constant LoaderBinary (line 189) | LoaderBinary
constant LoaderCopy (line 190) | LoaderCopy
constant LoaderCSS (line 191) | LoaderCSS
constant LoaderDataURL (line 192) | LoaderDataURL
constant LoaderDefault (line 193) | LoaderDefault
constant LoaderEmpty (line 194) | LoaderEmpty
constant LoaderFile (line 195) | LoaderFile
constant LoaderGlobalCSS (line 196) | LoaderGlobalCSS
constant LoaderJS (line 197) | LoaderJS
constant LoaderJSON (line 198) | LoaderJSON
constant LoaderWithTypeJSON (line 199) | LoaderWithTypeJSON
constant LoaderJSX (line 200) | LoaderJSX
constant LoaderLocalCSS (line 201) | LoaderLocalCSS
constant LoaderText (line 202) | LoaderText
constant LoaderTS (line 203) | LoaderTS
constant LoaderTSNoAmbiguousLessThan (line 204) | LoaderTSNoAmbiguousLessThan
constant LoaderTSX (line 205) | LoaderTSX
function LoaderFromFileExtension (line 259) | func LoaderFromFileExtension(extensionToLoader map[string]Loader, base s...
type Format (line 283) | type Format
method KeepESMImportExportSyntax (line 322) | func (f Format) KeepESMImportExportSyntax() bool {
method String (line 326) | func (f Format) String() string {
constant FormatPreserve (line 289) | FormatPreserve Format = iota
constant FormatIIFE (line 305) | FormatIIFE
constant FormatCommonJS (line 312) | FormatCommonJS
constant FormatESModule (line 319) | FormatESModule
type StdinInfo (line 338) | type StdinInfo struct
type WildcardPattern (line 345) | type WildcardPattern struct
type ExternalMatchers (line 350) | type ExternalMatchers struct
method HasMatchers (line 355) | func (matchers ExternalMatchers) HasMatchers() bool {
type ExternalSettings (line 359) | type ExternalSettings struct
type APICall (line 364) | type APICall
constant BuildCall (line 367) | BuildCall APICall = iota
constant TransformCall (line 368) | TransformCall
type Mode (line 371) | type Mode
constant ModePassThrough (line 374) | ModePassThrough Mode = iota
constant ModeConvertFormat (line 375) | ModeConvertFormat
constant ModeBundle (line 376) | ModeBundle
type MaybeBool (line 379) | type MaybeBool
constant Unspecified (line 382) | Unspecified MaybeBool = iota
constant True (line 383) | True
constant False (line 384) | False
type CancelFlag (line 387) | type CancelFlag struct
method Cancel (line 391) | func (flag *CancelFlag) Cancel() {
method DidCancel (line 396) | func (flag *CancelFlag) DidCancel() bool {
type Options (line 400) | type Options struct
type TSImportsNotUsedAsValues (line 513) | type TSImportsNotUsedAsValues
constant TSImportsNotUsedAsValues_None (line 516) | TSImportsNotUsedAsValues_None TSImportsNotUsedAsValues = iota
constant TSImportsNotUsedAsValues_Remove (line 517) | TSImportsNotUsedAsValues_Remove
constant TSImportsNotUsedAsValues_Preserve (line 518) | TSImportsNotUsedAsValues_Preserve
constant TSImportsNotUsedAsValues_Error (line 519) | TSImportsNotUsedAsValues_Error
type TSUnusedImportFlags (line 531) | type TSUnusedImportFlags
constant TSUnusedImport_KeepStmt (line 561) | TSUnusedImport_KeepStmt TSUnusedImportFlags = 1 << iota
constant TSUnusedImport_KeepValues (line 562) | TSUnusedImport_KeepValues
type TSTarget (line 565) | type TSTarget
constant TSTargetUnspecified (line 568) | TSTargetUnspecified TSTarget = iota
constant TSTargetBelowES2022 (line 569) | TSTargetBelowES2022
constant TSTargetAtOrAboveES2022 (line 570) | TSTargetAtOrAboveES2022
type TSAlwaysStrict (line 573) | type TSAlwaysStrict struct
type PathPlaceholder (line 583) | type PathPlaceholder
constant NoPlaceholder (line 586) | NoPlaceholder PathPlaceholder = iota
constant DirPlaceholder (line 590) | DirPlaceholder
constant NamePlaceholder (line 594) | NamePlaceholder
constant HashPlaceholder (line 598) | HashPlaceholder
constant ExtPlaceholder (line 602) | ExtPlaceholder
type PathTemplate (line 605) | type PathTemplate struct
type PathPlaceholders (line 610) | type PathPlaceholders struct
method Get (line 617) | func (placeholders PathPlaceholders) Get(placeholder PathPlaceholder) ...
function TemplateToString (line 631) | func TemplateToString(template []PathTemplate) string {
function HasPlaceholder (line 653) | func HasPlaceholder(template []PathTemplate, placeholder PathPlaceholder...
function SubstituteTemplate (line 662) | func SubstituteTemplate(template []PathTemplate, placeholders PathPlaceh...
function ShouldCallRuntimeRequire (line 693) | func ShouldCallRuntimeRequire(mode Mode, outputFormat Format) bool {
type InjectedDefine (line 697) | type InjectedDefine struct
type InjectedFile (line 703) | type InjectedFile struct
type InjectableExport (line 710) | type InjectableExport struct
function compileFilter (line 718) | func compileFilter(filter string) (result *regexp.Regexp) {
function CompileFilterForPlugin (line 753) | func CompileFilterForPlugin(pluginName string, kind string, filter strin...
function PluginAppliesToPath (line 766) | func PluginAppliesToPath(path logger.Path, filter *regexp.Regexp, namesp...
type Plugin (line 773) | type Plugin struct
type OnStart (line 780) | type OnStart struct
type OnStartResult (line 785) | type OnStartResult struct
type OnResolve (line 790) | type OnResolve struct
type OnResolveArgs (line 797) | type OnResolveArgs struct
type OnResolveResult (line 806) | type OnResolveResult struct
type OnLoad (line 821) | type OnLoad struct
type OnLoadArgs (line 828) | type OnLoadArgs struct
type OnLoadResult (line 833) | type OnLoadResult struct
function PrettyPrintTargetEnvironment (line 849) | func PrettyPrintTargetEnvironment(originalTargetEnv string, unsupportedJ...
FILE: vendor/github.com/evanw/esbuild/internal/config/globals.go
type DefineExpr (line 917) | type DefineExpr struct
type DefineData (line 923) | type DefineData struct
type DefineFlags (line 929) | type DefineFlags
method Has (line 953) | func (flags DefineFlags) Has(flag DefineFlags) bool {
constant CanBeRemovedIfUnused (line 935) | CanBeRemovedIfUnused DefineFlags = 1 << iota
constant CallCanBeUnwrappedIfUnused (line 940) | CallCanBeUnwrappedIfUnused
constant MethodCallsMustBeReplacedWithUndefined (line 946) | MethodCallsMustBeReplacedWithUndefined
constant IsSymbolInstance (line 950) | IsSymbolInstance
function mergeDefineData (line 957) | func mergeDefineData(old DefineData, new DefineData) DefineData {
type ProcessedDefines (line 962) | type ProcessedDefines struct
function ProcessDefines (line 972) | func ProcessDefines(userDefines []DefineData) ProcessedDefines {
FILE: vendor/github.com/evanw/esbuild/internal/css_ast/css_ast.go
type AST (line 27) | type AST struct
type Composes (line 47) | type Composes struct
type ImportedComposesName (line 75) | type ImportedComposesName struct
type Token (line 85) | type Token struct
method Equal (line 163) | func (a Token) Equal(b Token, check *CrossFileEqualityCheck) bool {
method EqualIgnoringWhitespace (line 246) | func (a Token) EqualIgnoringWhitespace(b Token) bool {
method NumberOrFractionForPercentage (line 292) | func (t Token) NumberOrFractionForPercentage(percentReferenceRange flo...
method ClampedFractionForPercentage (line 314) | func (t Token) ClampedFractionForPercentage() (float64, bool) {
method TurnLengthIntoNumberIfZero (line 333) | func (t *Token) TurnLengthIntoNumberIfZero() bool {
method TurnLengthOrPercentageIntoNumberIfZero (line 342) | func (t *Token) TurnLengthOrPercentageIntoNumberIfZero() bool {
method PercentageValue (line 351) | func (t Token) PercentageValue() string {
method DimensionValue (line 355) | func (t Token) DimensionValue() string {
method DimensionUnit (line 359) | func (t Token) DimensionUnit() string {
method DimensionUnitIsSafeLength (line 363) | func (t Token) DimensionUnitIsSafeLength() bool {
method IsZero (line 373) | func (t Token) IsZero() bool {
method IsOne (line 377) | func (t Token) IsOne() bool {
method IsAngle (line 381) | func (t Token) IsAngle() bool {
type WhitespaceFlags (line 130) | type WhitespaceFlags
constant WhitespaceBefore (line 133) | WhitespaceBefore WhitespaceFlags = 1 << iota
constant WhitespaceAfter (line 134) | WhitespaceAfter
type CrossFileEqualityCheck (line 138) | type CrossFileEqualityCheck struct
method RefsAreEquivalent (line 146) | func (check *CrossFileEqualityCheck) RefsAreEquivalent(a ast.Ref, b as...
function TokensEqual (line 218) | func TokensEqual(a []Token, b []Token, check *CrossFileEqualityCheck) bo...
function HashTokens (line 230) | func HashTokens(hash uint32, tokens []Token) uint32 {
function TokensEqualIgnoringWhitespace (line 260) | func TokensEqualIgnoringWhitespace(a []Token, b []Token) bool {
function TokensAreCommaSeparated (line 272) | func TokensAreCommaSeparated(tokens []Token) bool {
type PercentageFlags (line 284) | type PercentageFlags
constant AllowPercentageBelow0 (line 287) | AllowPercentageBelow0 PercentageFlags = 1 << iota
constant AllowPercentageAbove100 (line 288) | AllowPercentageAbove100
constant AllowAnyPercentage (line 289) | AllowAnyPercentage = AllowPercentageBelow0 | AllowPercentageAbove100
function CloneTokensWithoutImportRecords (line 389) | func CloneTokensWithoutImportRecords(tokensIn []Token) (tokensOut []Toke...
function CloneTokensWithImportRecords (line 400) | func CloneTokensWithImportRecords(
function CloneMediaQueriesWithImportRecords (line 433) | func CloneMediaQueriesWithImportRecords(
type Rule (line 451) | type Rule struct
type R (line 456) | type R interface
function RulesEqual (line 461) | func RulesEqual(a []Rule, b []Rule, check *CrossFileEqualityCheck) bool {
function HashRules (line 473) | func HashRules(hash uint32, rules []Rule) uint32 {
type RAtCharset (line 485) | type RAtCharset struct
method Equal (line 489) | func (a *RAtCharset) Equal(rule R, check *CrossFileEqualityCheck) bool {
method Hash (line 494) | func (r *RAtCharset) Hash() (uint32, bool) {
type ImportConditions (line 500) | type ImportConditions struct
method CloneWithImportRecords (line 525) | func (c *ImportConditions) CloneWithImportRecords(importRecordsIn []as...
type RAtImport (line 533) | type RAtImport struct
method Equal (line 538) | func (*RAtImport) Equal(rule R, check *CrossFileEqualityCheck) bool {
method Hash (line 542) | func (r *RAtImport) Hash() (uint32, bool) {
type RAtKeyframes (line 546) | type RAtKeyframes struct
method Equal (line 560) | func (a *RAtKeyframes) Equal(rule R, check *CrossFileEqualityCheck) bo...
method Hash (line 581) | func (r *RAtKeyframes) Hash() (uint32, bool) {
type KeyframeBlock (line 553) | type KeyframeBlock struct
type RKnownAt (line 595) | type RKnownAt struct
method Equal (line 602) | func (a *RKnownAt) Equal(rule R, check *CrossFileEqualityCheck) bool {
method Hash (line 607) | func (r *RKnownAt) Hash() (uint32, bool) {
type RUnknownAt (line 615) | type RUnknownAt struct
method Equal (line 621) | func (a *RUnknownAt) Equal(rule R, check *CrossFileEqualityCheck) bool {
method Hash (line 626) | func (r *RUnknownAt) Hash() (uint32, bool) {
type RSelector (line 634) | type RSelector struct
method Equal (line 640) | func (a *RSelector) Equal(rule R, check *CrossFileEqualityCheck) bool {
method Hash (line 645) | func (r *RSelector) Hash() (uint32, bool) {
type RQualified (line 653) | type RQualified struct
method Equal (line 659) | func (a *RQualified) Equal(rule R, check *CrossFileEqualityCheck) bool {
method Hash (line 664) | func (r *RQualified) Hash() (uint32, bool) {
type RDeclaration (line 671) | type RDeclaration struct
method Equal (line 679) | func (a *RDeclaration) Equal(rule R, check *CrossFileEqualityCheck) bo...
method Hash (line 684) | func (r *RDeclaration) Hash() (uint32, bool) {
type RBadDeclaration (line 705) | type RBadDeclaration struct
method Equal (line 709) | func (a *RBadDeclaration) Equal(rule R, check *CrossFileEqualityCheck)...
method Hash (line 714) | func (r *RBadDeclaration) Hash() (uint32, bool) {
type RComment (line 720) | type RComment struct
method Equal (line 724) | func (a *RComment) Equal(rule R, check *CrossFileEqualityCheck) bool {
method Hash (line 729) | func (r *RComment) Hash() (uint32, bool) {
type RAtLayer (line 735) | type RAtLayer struct
method Equal (line 741) | func (a *RAtLayer) Equal(rule R, check *CrossFileEqualityCheck) bool {
method Hash (line 761) | func (r *RAtLayer) Hash() (uint32, bool) {
type RAtMedia (line 774) | type RAtMedia struct
method Equal (line 780) | func (a *RAtMedia) Equal(rule R, check *CrossFileEqualityCheck) bool {
method Hash (line 785) | func (r *RAtMedia) Hash() (uint32, bool) {
type MediaQuery (line 792) | type MediaQuery struct
type MQ (line 797) | type MQ interface
function MediaQueriesEqual (line 804) | func MediaQueriesEqual(a []MediaQuery, b []MediaQuery, check *CrossFileE...
function MediaQueriesEqualIgnoringWhitespace (line 816) | func MediaQueriesEqualIgnoringWhitespace(a []MediaQuery, b []MediaQuery)...
function HashMediaQueries (line 828) | func HashMediaQueries(hash uint32, queries []MediaQuery) uint32 {
type MQTypeOp (line 836) | type MQTypeOp
constant MQTypeOpNone (line 839) | MQTypeOpNone MQTypeOp = iota
constant MQTypeOpNot (line 840) | MQTypeOpNot
constant MQTypeOpOnly (line 841) | MQTypeOpOnly
type MQType (line 844) | type MQType struct
method Equal (line 850) | func (q *MQType) Equal(query MQ, check *CrossFileEqualityCheck) bool {
method EqualIgnoringWhitespace (line 858) | func (q *MQType) EqualIgnoringWhitespace(query MQ) bool {
method Hash (line 866) | func (q *MQType) Hash() uint32 {
method CloneWithImportRecords (line 876) | func (q *MQType) CloneWithImportRecords(importRecordsIn []ast.ImportRe...
type MQNot (line 884) | type MQNot struct
method Equal (line 888) | func (q *MQNot) Equal(query MQ, check *CrossFileEqualityCheck) bool {
method EqualIgnoringWhitespace (line 893) | func (q *MQNot) EqualIgnoringWhitespace(query MQ) bool {
method Hash (line 898) | func (q *MQNot) Hash() uint32 {
method CloneWithImportRecords (line 904) | func (q *MQNot) CloneWithImportRecords(importRecordsIn []ast.ImportRec...
type MQBinaryOp (line 909) | type MQBinaryOp
constant MQBinaryOpAnd (line 912) | MQBinaryOpAnd MQBinaryOp = iota
constant MQBinaryOpOr (line 913) | MQBinaryOpOr
type MQBinary (line 916) | type MQBinary struct
method Equal (line 921) | func (q *MQBinary) Equal(query MQ, check *CrossFileEqualityCheck) bool {
method EqualIgnoringWhitespace (line 926) | func (q *MQBinary) EqualIgnoringWhitespace(query MQ) bool {
method Hash (line 931) | func (q *MQBinary) Hash() uint32 {
method CloneWithImportRecords (line 938) | func (q *MQBinary) CloneWithImportRecords(importRecordsIn []ast.Import...
type MQArbitraryTokens (line 948) | type MQArbitraryTokens struct
method Equal (line 952) | func (q *MQArbitraryTokens) Equal(query MQ, check *CrossFileEqualityCh...
method EqualIgnoringWhitespace (line 957) | func (q *MQArbitraryTokens) EqualIgnoringWhitespace(query MQ) bool {
method Hash (line 962) | func (q *MQArbitraryTokens) Hash() uint32 {
method CloneWithImportRecords (line 968) | func (q *MQArbitraryTokens) CloneWithImportRecords(importRecordsIn []a...
type MQPlainOrBoolean (line 973) | type MQPlainOrBoolean struct
method Equal (line 978) | func (q *MQPlainOrBoolean) Equal(query MQ, check *CrossFileEqualityChe...
method EqualIgnoringWhitespace (line 983) | func (q *MQPlainOrBoolean) EqualIgnoringWhitespace(query MQ) bool {
method Hash (line 988) | func (q *MQPlainOrBoolean) Hash() uint32 {
method CloneWithImportRecords (line 995) | func (q *MQPlainOrBoolean) CloneWithImportRecords(importRecordsIn []as...
type MQRange (line 1003) | type MQRange struct
method Equal (line 1012) | func (q *MQRange) Equal(query MQ, check *CrossFileEqualityCheck) bool {
method EqualIgnoringWhitespace (line 1018) | func (q *MQRange) EqualIgnoringWhitespace(query MQ) bool {
method Hash (line 1024) | func (q *MQRange) Hash() uint32 {
method CloneWithImportRecords (line 1034) | func (q *MQRange) CloneWithImportRecords(importRecordsIn []ast.ImportR...
type MQCmp (line 1046) | type MQCmp
method String (line 1057) | func (cmp MQCmp) String() string {
method Dir (line 1071) | func (cmp MQCmp) Dir() int {
method Flip (line 1081) | func (cmp MQCmp) Flip() MQCmp {
method Reverse (line 1095) | func (cmp MQCmp) Reverse() MQCmp {
constant MQCmpNone (line 1049) | MQCmpNone MQCmp = iota
constant MQCmpEq (line 1050) | MQCmpEq
constant MQCmpLt (line 1051) | MQCmpLt
constant MQCmpLe (line 1052) | MQCmpLe
constant MQCmpGt (line 1053) | MQCmpGt
constant MQCmpGe (line 1054) | MQCmpGe
type ComplexSelector (line 1109) | type ComplexSelector struct
method Clone (line 1144) | func (s ComplexSelector) Clone() ComplexSelector {
method ContainsNestingCombinator (line 1152) | func (sel ComplexSelector) ContainsNestingCombinator() bool {
method IsRelative (line 1170) | func (sel ComplexSelector) IsRelative() bool {
method UsesPseudoElement (line 1193) | func (sel ComplexSelector) UsesPseudoElement() bool {
method Equal (line 1216) | func (a ComplexSelector) Equal(b ComplexSelector, check *CrossFileEqua...
function ComplexSelectorsEqual (line 1113) | func ComplexSelectorsEqual(a []ComplexSelector, b []ComplexSelector, che...
function HashComplexSelectors (line 1125) | func HashComplexSelectors(hash uint32, selectors []ComplexSelector) uint...
function tokensContainAmpersandRecursive (line 1181) | func tokensContainAmpersandRecursive(tokens []Token) bool {
type Combinator (line 1246) | type Combinator struct
type CompoundSelector (line 1251) | type CompoundSelector struct
method IsSingleAmpersand (line 1261) | func (sel CompoundSelector) IsSingleAmpersand() bool {
method IsInvalidBecauseEmpty (line 1265) | func (sel CompoundSelector) IsInvalidBecauseEmpty() bool {
method Range (line 1269) | func (sel CompoundSelector) Range() (r logger.Range) {
method Clone (line 1287) | func (sel CompoundSelector) Clone() CompoundSelector {
type NameToken (line 1307) | type NameToken struct
method Equal (line 1313) | func (a NameToken) Equal(b NameToken) bool {
type NamespacedName (line 1317) | type NamespacedName struct
method Range (line 1325) | func (n NamespacedName) Range() logger.Range {
method Clone (line 1333) | func (n NamespacedName) Clone() NamespacedName {
method Equal (line 1342) | func (a NamespacedName) Equal(b NamespacedName) bool {
type SubclassSelector (line 1347) | type SubclassSelector struct
type SS (line 1352) | type SS interface
type SSHash (line 1358) | type SSHash struct
method Equal (line 1362) | func (a *SSHash) Equal(ss SS, check *CrossFileEqualityCheck) bool {
method Hash (line 1367) | func (ss *SSHash) Hash() uint32 {
method Clone (line 1372) | func (ss *SSHash) Clone() SS {
type SSClass (line 1377) | type SSClass struct
method Equal (line 1381) | func (a *SSClass) Equal(ss SS, check *CrossFileEqualityCheck) bool {
method Hash (line 1386) | func (ss *SSClass) Hash() uint32 {
method Clone (line 1391) | func (ss *SSClass) Clone() SS {
type SSAttribute (line 1396) | type SSAttribute struct
method Equal (line 1403) | func (a *SSAttribute) Equal(ss SS, check *CrossFileEqualityCheck) bool {
method Hash (line 1409) | func (ss *SSAttribute) Hash() uint32 {
method Clone (line 1417) | func (ss *SSAttribute) Clone() SS {
type SSPseudoClass (line 1423) | type SSPseudoClass struct
method Equal (line 1429) | func (a *SSPseudoClass) Equal(ss SS, check *CrossFileEqualityCheck) bo...
method Hash (line 1434) | func (ss *SSPseudoClass) Hash() uint32 {
method Clone (line 1441) | func (ss *SSPseudoClass) Clone() SS {
type PseudoClassKind (line 1449) | type PseudoClassKind
method HasNthIndex (line 1464) | func (kind PseudoClassKind) HasNthIndex() bool {
method String (line 1468) | func (kind PseudoClassKind) String() string {
constant PseudoClassGlobal (line 1452) | PseudoClassGlobal PseudoClassKind = iota
constant PseudoClassHas (line 1453) | PseudoClassHas
constant PseudoClassIs (line 1454) | PseudoClassIs
constant PseudoClassLocal (line 1455) | PseudoClassLocal
constant PseudoClassNot (line 1456) | PseudoClassNot
constant PseudoClassNthChild (line 1457) | PseudoClassNthChild
constant PseudoClassNthLastChild (line 1458) | PseudoClassNthLastChild
constant PseudoClassNthLastOfType (line 1459) | PseudoClassNthLastOfType
constant PseudoClassNthOfType (line 1460) | PseudoClassNthOfType
constant PseudoClassWhere (line 1461) | PseudoClassWhere
type NthIndex (line 1496) | type NthIndex struct
method Minify (line 1501) | func (index *NthIndex) Minify() {
type SSPseudoClassWithSelectorList (line 1533) | type SSPseudoClassWithSelectorList struct
method Equal (line 1539) | func (a *SSPseudoClassWithSelectorList) Equal(ss SS, check *CrossFileE...
method Hash (line 1544) | func (ss *SSPseudoClassWithSelectorList) Hash() uint32 {
method Clone (line 1553) | func (ss *SSPseudoClassWithSelectorList) Clone() SS {
FILE: vendor/github.com/evanw/esbuild/internal/css_ast/css_decl_table.go
type D (line 10) | type D
constant DUnknown (line 13) | DUnknown D = iota
constant DAlignContent (line 14) | DAlignContent
constant DAlignItems (line 15) | DAlignItems
constant DAlignSelf (line 16) | DAlignSelf
constant DAlignmentBaseline (line 17) | DAlignmentBaseline
constant DAll (line 18) | DAll
constant DAnimation (line 19) | DAnimation
constant DAnimationDelay (line 20) | DAnimationDelay
constant DAnimationDirection (line 21) | DAnimationDirection
constant DAnimationDuration (line 22) | DAnimationDuration
constant DAnimationFillMode (line 23) | DAnimationFillMode
constant DAnimationIterationCount (line 24) | DAnimationIterationCount
constant DAnimationName (line 25) | DAnimationName
constant DAnimationPlayState (line 26) | DAnimationPlayState
constant DAnimationTimingFunction (line 27) | DAnimationTimingFunction
constant DAppearance (line 28) | DAppearance
constant DBackdropFilter (line 29) | DBackdropFilter
constant DBackfaceVisibility (line 30) | DBackfaceVisibility
constant DBackground (line 31) | DBackground
constant DBackgroundAttachment (line 32) | DBackgroundAttachment
constant DBackgroundClip (line 33) | DBackgroundClip
constant DBackgroundColor (line 34) | DBackgroundColor
constant DBackgroundImage (line 35) | DBackgroundImage
constant DBackgroundOrigin (line 36) | DBackgroundOrigin
constant DBackgroundPosition (line 37) | DBackgroundPosition
constant DBackgroundPositionX (line 38) | DBackgroundPositionX
constant DBackgroundPositionY (line 39) | DBackgroundPositionY
constant DBackgroundRepeat (line 40) | DBackgroundRepeat
constant DBackgroundSize (line 41) | DBackgroundSize
constant DBaselineShift (line 42) | DBaselineShift
constant DBlockSize (line 43) | DBlockSize
constant DBorder (line 44) | DBorder
constant DBorderBlockEnd (line 45) | DBorderBlockEnd
constant DBorderBlockEndColor (line 46) | DBorderBlockEndColor
constant DBorderBlockEndStyle (line 47) | DBorderBlockEndStyle
constant DBorderBlockEndWidth (line 48) | DBorderBlockEndWidth
constant DBorderBlockStart (line 49) | DBorderBlockStart
constant DBorderBlockStartColor (line 50) | DBorderBlockStartColor
constant DBorderBlockStartStyle (line 51) | DBorderBlockStartStyle
constant DBorderBlockStartWidth (line 52) | DBorderBlockStartWidth
constant DBorderBottom (line 53) | DBorderBottom
constant DBorderBottomColor (line 54) | DBorderBottomColor
constant DBorderBottomLeftRadius (line 55) | DBorderBottomLeftRadius
constant DBorderBottomRightRadius (line 56) | DBorderBottomRightRadius
constant DBorderBottomStyle (line 57) | DBorderBottomStyle
constant DBorderBottomWidth (line 58) | DBorderBottomWidth
constant DBorderCollapse (line 59) | DBorderCollapse
constant DBorderColor (line 60) | DBorderColor
constant DBorderImage (line 61) | DBorderImage
constant DBorderImageOutset (line 62) | DBorderImageOutset
constant DBorderImageRepeat (line 63) | DBorderImageRepeat
constant DBorderImageSlice (line 64) | DBorderImageSlice
constant DBorderImageSource (line 65) | DBorderImageSource
constant DBorderImageWidth (line 66) | DBorderImageWidth
constant DBorderInlineEnd (line 67) | DBorderInlineEnd
constant DBorderInlineEndColor (line 68) | DBorderInlineEndColor
constant DBorderInlineEndStyle (line 69) | DBorderInlineEndStyle
constant DBorderInlineEndWidth (line 70) | DBorderInlineEndWidth
constant DBorderInlineStart (line 71) | DBorderInlineStart
constant DBorderInlineStartColor (line 72) | DBorderInlineStartColor
constant DBorderInlineStartStyle (line 73) | DBorderInlineStartStyle
constant DBorderInlineStartWidth (line 74) | DBorderInlineStartWidth
constant DBorderLeft (line 75) | DBorderLeft
constant DBorderLeftColor (line 76) | DBorderLeftColor
constant DBorderLeftStyle (line 77) | DBorderLeftStyle
constant DBorderLeftWidth (line 78) | DBorderLeftWidth
constant DBorderRadius (line 79) | DBorderRadius
constant DBorderRight (line 80) | DBorderRight
constant DBorderRightColor (line 81) | DBorderRightColor
constant DBorderRightStyle (line 82) | DBorderRightStyle
constant DBorderRightWidth (line 83) | DBorderRightWidth
constant DBorderSpacing (line 84) | DBorderSpacing
constant DBorderStyle (line 85) | DBorderStyle
constant DBorderTop (line 86) | DBorderTop
constant DBorderTopColor (line 87) | DBorderTopColor
constant DBorderTopLeftRadius (line 88) | DBorderTopLeftRadius
constant DBorderTopRightRadius (line 89) | DBorderTopRightRadius
constant DBorderTopStyle (line 90) | DBorderTopStyle
constant DBorderTopWidth (line 91) | DBorderTopWidth
constant DBorderWidth (line 92) | DBorderWidth
constant DBottom (line 93) | DBottom
constant DBoxDecorationBreak (line 94) | DBoxDecorationBreak
constant DBoxShadow (line 95) | DBoxShadow
constant DBoxSizing (line 96) | DBoxSizing
constant DBreakAfter (line 97) | DBreakAfter
constant DBreakBefore (line 98) | DBreakBefore
constant DBreakInside (line 99) | DBreakInside
constant DCaptionSide (line 100) | DCaptionSide
constant DCaretColor (line 101) | DCaretColor
constant DClear (line 102) | DClear
constant DClip (line 103) | DClip
constant DClipPath (line 104) | DClipPath
constant DClipRule (line 105) | DClipRule
constant DColor (line 106) | DColor
constant DColorInterpolation (line 107) | DColorInterpolation
constant DColorInterpolationFilters (line 108) | DColorInterpolationFilters
constant DColumnCount (line 109) | DColumnCount
constant DColumnFill (line 110) | DColumnFill
constant DColumnGap (line 111) | DColumnGap
constant DColumnRule (line 112) | DColumnRule
constant DColumnRuleColor (line 113) | DColumnRuleColor
constant DColumnRuleStyle (line 114) | DColumnRuleStyle
constant DColumnRuleWidth (line 115) | DColumnRuleWidth
constant DColumnSpan (line 116) | DColumnSpan
constant DColumnWidth (line 117) | DColumnWidth
constant DColumns (line 118) | DColumns
constant DComposes (line 119) | DComposes
constant DContainer (line 120) | DContainer
constant DContainerName (line 121) | DContainerName
constant DContainerType (line 122) | DContainerType
constant DContent (line 123) | DContent
constant DCounterIncrement (line 124) | DCounterIncrement
constant DCounterReset (line 125) | DCounterReset
constant DCssFloat (line 126) | DCssFloat
constant DCssText (line 127) | DCssText
constant DCursor (line 128) | DCursor
constant DDirection (line 129) | DDirection
constant DDisplay (line 130) | DDisplay
constant DDominantBaseline (line 131) | DDominantBaseline
constant DEmptyCells (line 132) | DEmptyCells
constant DFill (line 133) | DFill
constant DFillOpacity (line 134) | DFillOpacity
constant DFillRule (line 135) | DFillRule
constant DFilter (line 136) | DFilter
constant DFlex (line 137) | DFlex
constant DFlexBasis (line 138) | DFlexBasis
constant DFlexDirection (line 139) | DFlexDirection
constant DFlexFlow (line 140) | DFlexFlow
constant DFlexGrow (line 141) | DFlexGrow
constant DFlexShrink (line 142) | DFlexShrink
constant DFlexWrap (line 143) | DFlexWrap
constant DFloat (line 144) | DFloat
constant DFloodColor (line 145) | DFloodColor
constant DFloodOpacity (line 146) | DFloodOpacity
constant DFont (line 147) | DFont
constant DFontFamily (line 148) | DFontFamily
constant DFontFeatureSettings (line 149) | DFontFeatureSettings
constant DFontKerning (line 150) | DFontKerning
constant DFontSize (line 151) | DFontSize
constant DFontSizeAdjust (line 152) | DFontSizeAdjust
constant DFontStretch (line 153) | DFontStretch
constant DFontStyle (line 154) | DFontStyle
constant DFontSynthesis (line 155) | DFontSynthesis
constant DFontVariant (line 156) | DFontVariant
constant DFontVariantCaps (line 157) | DFontVariantCaps
constant DFontVariantEastAsian (line 158) | DFontVariantEastAsian
constant DFontVariantLigatures (line 159) | DFontVariantLigatures
constant DFontVariantNumeric (line 160) | DFontVariantNumeric
constant DFontVariantPosition (line 161) | DFontVariantPosition
constant DFontWeight (line 162) | DFontWeight
constant DGap (line 163) | DGap
constant DGlyphOrientationVertical (line 164) | DGlyphOrientationVertical
constant DGrid (line 165) | DGrid
constant DGridArea (line 166) | DGridArea
constant DGridAutoColumns (line 167) | DGridAutoColumns
constant DGridAutoFlow (line 168) | DGridAutoFlow
constant DGridAutoRows (line 169) | DGridAutoRows
constant DGridColumn (line 170) | DGridColumn
constant DGridColumnEnd (line 171) | DGridColumnEnd
constant DGridColumnGap (line 172) | DGridColumnGap
constant DGridColumnStart (line 173) | DGridColumnStart
constant DGridGap (line 174) | DGridGap
constant DGridRow (line 175) | DGridRow
constant DGridRowEnd (line 176) | DGridRowEnd
constant DGridRowGap (line 177) | DGridRowGap
constant DGridRowStart (line 178) | DGridRowStart
constant DGridTemplate (line 179) | DGridTemplate
constant DGridTemplateAreas (line 180) | DGridTemplateAreas
constant DGridTemplateColumns (line 181) | DGridTemplateColumns
constant DGridTemplateRows (line 182) | DGridTemplateRows
constant DHeight (line 183) | DHeight
constant DHyphens (line 184) | DHyphens
constant DImageOrientation (line 185) | DImageOrientation
constant DImageRendering (line 186) | DImageRendering
constant DInitialLetter (line 187) | DInitialLetter
constant DInlineSize (line 188) | DInlineSize
constant DInset (line 189) | DInset
constant DJustifyContent (line 190) | DJustifyContent
constant DJustifyItems (line 191) | DJustifyItems
constant DJustifySelf (line 192) | DJustifySelf
constant DLeft (line 193) | DLeft
constant DLetterSpacing (line 194) | DLetterSpacing
constant DLightingColor (line 195) | DLightingColor
constant DLineBreak (line 196) | DLineBreak
constant DLineHeight (line 197) | DLineHeight
constant DListStyle (line 198) | DListStyle
constant DListStyleImage (line 199) | DListStyleImage
constant DListStylePosition (line 200) | DListStylePosition
constant DListStyleType (line 201) | DListStyleType
constant DMargin (line 202) | DMargin
constant DMarginBlockEnd (line 203) | DMarginBlockEnd
constant DMarginBlockStart (line 204) | DMarginBlockStart
constant DMarginBottom (line 205) | DMarginBottom
constant DMarginInlineEnd (line 206) | DMarginInlineEnd
constant DMarginInlineStart (line 207) | DMarginInlineStart
constant DMarginLeft (line 208) | DMarginLeft
constant DMarginRight (line 209) | DMarginRight
constant DMarginTop (line 210) | DMarginTop
constant DMarker (line 211) | DMarker
constant DMarkerEnd (line 212) | DMarkerEnd
constant DMarkerMid (line 213) | DMarkerMid
constant DMarkerStart (line 214) | DMarkerStart
constant DMask (line 215) | DMask
constant DMaskComposite (line 216) | DMaskComposite
constant DMaskImage (line 217) | DMaskImage
constant DMaskOrigin (line 218) | DMaskOrigin
constant DMaskPosition (line 219) | DMaskPosition
constant DMaskRepeat (line 220) | DMaskRepeat
constant DMaskSize (line 221) | DMaskSize
constant DMaskType (line 222) | DMaskType
constant DMaxBlockSize (line 223) | DMaxBlockSize
constant DMaxHeight (line 224) | DMaxHeight
constant DMaxInlineSize (line 225) | DMaxInlineSize
constant DMaxWidth (line 226) | DMaxWidth
constant DMinBlockSize (line 227) | DMinBlockSize
constant DMinHeight (line 228) | DMinHeight
constant DMinInlineSize (line 229) | DMinInlineSize
constant DMinWidth (line 230) | DMinWidth
constant DObjectFit (line 231) | DObjectFit
constant DObjectPosition (line 232) | DObjectPosition
constant DOpacity (line 233) | DOpacity
constant DOrder (line 234) | DOrder
constant DOrphans (line 235) | DOrphans
constant DOutline (line 236) | DOutline
constant DOutlineColor (line 237) | DOutlineColor
constant DOutlineOffset (line 238) | DOutlineOffset
constant DOutlineStyle (line 239) | DOutlineStyle
constant DOutlineWidth (line 240) | DOutlineWidth
constant DOverflow (line 241) | DOverflow
constant DOverflowAnchor (line 242) | DOverflowAnchor
constant DOverflowWrap (line 243) | DOverflowWrap
constant DOverflowX (line 244) | DOverflowX
constant DOverflowY (line 245) | DOverflowY
constant DOverscrollBehavior (line 246) | DOverscrollBehavior
constant DOverscrollBehaviorBlock (line 247) | DOverscrollBehaviorBlock
constant DOverscrollBehaviorInline (line 248) | DOverscrollBehaviorInline
constant DOverscrollBehaviorX (line 249) | DOverscrollBehaviorX
constant DOverscrollBehaviorY (line 250) | DOverscrollBehaviorY
constant DPadding (line 251) | DPadding
constant DPaddingBlockEnd (line 252) | DPaddingBlockEnd
constant DPaddingBlockStart (line 253) | DPaddingBlockStart
constant DPaddingBottom (line 254) | DPaddingBottom
constant DPaddingInlineEnd (line 255) | DPaddingInlineEnd
constant DPaddingInlineStart (line 256) | DPaddingInlineStart
constant DPaddingLeft (line 257) | DPaddingLeft
constant DPaddingRight (line 258) | DPaddingRight
constant DPaddingTop (line 259) | DPaddingTop
constant DPageBreakAfter (line 260) | DPageBreakAfter
constant DPageBreakBefore (line 261) | DPageBreakBefore
constant DPageBreakInside (line 262) | DPageBreakInside
constant DPaintOrder (line 263) | DPaintOrder
constant DPerspective (line 264) | DPerspective
constant DPerspectiveOrigin (line 265) | DPerspectiveOrigin
constant DPlaceContent (line 266) | DPlaceContent
constant DPlaceItems (line 267) | DPlaceItems
constant DPlaceSelf (line 268) | DPlaceSelf
constant DPointerEvents (line 269) | DPointerEvents
constant DPosition (line 270) | DPosition
constant DPrintColorAdjust (line 271) | DPrintColorAdjust
constant DQuotes (line 272) | DQuotes
constant DResize (line 273) | DResize
constant DRight (line 274) | DRight
constant DRotate (line 275) | DRotate
constant DRowGap (line 276) | DRowGap
constant DRubyAlign (line 277) | DRubyAlign
constant DRubyPosition (line 278) | DRubyPosition
constant DScale (line 279) | DScale
constant DScrollBehavior (line 280) | DScrollBehavior
constant DShapeRendering (line 281) | DShapeRendering
constant DStopColor (line 282) | DStopColor
constant DStopOpacity (line 283) | DStopOpacity
constant DStroke (line 284) | DStroke
constant DStrokeDasharray (line 285) | DStrokeDasharray
constant DStrokeDashoffset (line 286) | DStrokeDashoffset
constant DStrokeLinecap (line 287) | DStrokeLinecap
constant DStrokeLinejoin (line 288) | DStrokeLinejoin
constant DStrokeMiterlimit (line 289) | DStrokeMiterlimit
constant DStrokeOpacity (line 290) | DStrokeOpacity
constant DStrokeWidth (line 291) | DStrokeWidth
constant DTabSize (line 292) | DTabSize
constant DTableLayout (line 293) | DTableLayout
constant DTextAlign (line 294) | DTextAlign
constant DTextAlignLast (line 295) | DTextAlignLast
constant DTextAnchor (line 296) | DTextAnchor
constant DTextCombineUpright (line 297) | DTextCombineUpright
constant DTextDecoration (line 298) | DTextDecoration
constant DTextDecorationColor (line 299) | DTextDecorationColor
constant DTextDecorationLine (line 300) | DTextDecorationLine
constant DTextDecorationSkip (line 301) | DTextDecorationSkip
constant DTextDecorationStyle (line 302) | DTextDecorationStyle
constant DTextEmphasis (line 303) | DTextEmphasis
constant DTextEmphasisColor (line 304) | DTextEmphasisColor
constant DTextEmphasisPosition (line 305) | DTextEmphasisPosition
constant DTextEmphasisStyle (line 306) | DTextEmphasisStyle
constant DTextIndent (line 307) | DTextIndent
constant DTextJustify (line 308) | DTextJustify
constant DTextOrientation (line 309) | DTextOrientation
constant DTextOverflow (line 310) | DTextOverflow
constant DTextRendering (line 311) | DTextRendering
constant DTextShadow (line 312) | DTextShadow
constant DTextSizeAdjust (line 313) | DTextSizeAdjust
constant DTextTransform (line 314) | DTextTransform
constant DTextUnderlinePosition (line 315) | DTextUnderlinePosition
constant DTop (line 316) | DTop
constant DTouchAction (line 317) | DTouchAction
constant DTransform (line 318) | DTransform
constant DTransformBox (line 319) | DTransformBox
constant DTransformOrigin (line 320) | DTransformOrigin
constant DTransformStyle (line 321) | DTransformStyle
constant DTransition (line 322) | DTransition
constant DTransitionDelay (line 323) | DTransitionDelay
constant DTransitionDuration (line 324) | DTransitionDuration
constant DTransitionProperty (line 325) | DTransitionProperty
constant DTransitionTimingFunction (line 326) | DTransitionTimingFunction
constant DTranslate (line 327) | DTranslate
constant DUnicodeBidi (line 328) | DUnicodeBidi
constant DUserSelect (line 329) | DUserSelect
constant DVerticalAlign (line 330) | DVerticalAlign
constant DVisibility (line 331) | DVisibility
constant DWhiteSpace (line 332) | DWhiteSpace
constant DWidows (line 333) | DWidows
constant DWidth (line 334) | DWidth
constant DWillChange (line 335) | DWillChange
constant DWordBreak (line 336) | DWordBreak
constant DWordSpacing (line 337) | DWordSpacing
constant DWordWrap (line 338) | DWordWrap
constant DWritingMode (line 339) | DWritingMode
constant DZIndex (line 340) | DZIndex
constant DZoom (line 341) | DZoom
function MaybeCorrectDeclarationTypo (line 678) | func MaybeCorrectDeclarationTypo(text string) (string, bool) {
FILE: vendor/github.com/evanw/esbuild/internal/css_lexer/css_lexer.go
type T (line 14) | type T
method String (line 110) | func (t T) String() string {
method IsNumeric (line 114) | func (t T) IsNumeric() bool {
constant eof (line 16) | eof = -1
constant TEndOfFile (line 19) | TEndOfFile T = iota
constant TAtKeyword (line 21) | TAtKeyword
constant TUnterminatedString (line 22) | TUnterminatedString
constant TBadURL (line 23) | TBadURL
constant TCDC (line 24) | TCDC
constant TCDO (line 25) | TCDO
constant TCloseBrace (line 26) | TCloseBrace
constant TCloseBracket (line 27) | TCloseBracket
constant TCloseParen (line 28) | TCloseParen
constant TColon (line 29) | TColon
constant TComma (line 30) | TComma
constant TDelim (line 31) | TDelim
constant TDelimAmpersand (line 32) | TDelimAmpersand
constant TDelimAsterisk (line 33) | TDelimAsterisk
constant TDelimBar (line 34) | TDelimBar
constant TDelimCaret (line 35) | TDelimCaret
constant TDelimDollar (line 36) | TDelimDollar
constant TDelimDot (line 37) | TDelimDot
constant TDelimEquals (line 38) | TDelimEquals
constant TDelimExclamation (line 39) | TDelimExclamation
constant TDelimGreaterThan (line 40) | TDelimGreaterThan
constant TDelimLessThan (line 41) | TDelimLessThan
constant TDelimMinus (line 42) | TDelimMinus
constant TDelimPlus (line 43) | TDelimPlus
constant TDelimSlash (line 44) | TDelimSlash
constant TDelimTilde (line 45) | TDelimTilde
constant TDimension (line 46) | TDimension
constant TFunction (line 47) | TFunction
constant THash (line 48) | THash
constant TIdent (line 49) | TIdent
constant TNumber (line 50) | TNumber
constant TOpenBrace (line 51) | TOpenBrace
constant TOpenBracket (line 52) | TOpenBracket
constant TOpenParen (line 53) | TOpenParen
constant TPercentage (line 54) | TPercentage
constant TSemicolon (line 55) | TSemicolon
constant TString (line 56) | TString
constant TURL (line 57) | TURL
constant TWhitespace (line 58) | TWhitespace
constant TSymbol (line 63) | TSymbol
type TokenFlags (line 118) | type TokenFlags
constant IsID (line 121) | IsID TokenFlags = 1 << iota
constant DidWarnAboutSingleLineComment (line 122) | DidWarnAboutSingleLineComment
type Token (line 128) | type Token struct
method DecodedText (line 135) | func (token Token) DecodedText(contents string) string {
type lexer (line 174) | type lexer struct
method step (line 256) | func (lexer *lexer) step() {
method next (line 279) | func (lexer *lexer) next() {
method consumeToEndOfMultiLineComment (line 493) | func (lexer *lexer) consumeToEndOfMultiLineComment(startRange logger.R...
method isValidEscape (line 563) | func (lexer *lexer) isValidEscape() bool {
method wouldStartIdentifier (line 571) | func (lexer *lexer) wouldStartIdentifier() bool {
method wouldStartNumber (line 663) | func (lexer *lexer) wouldStartNumber() bool {
method consumeName (line 690) | func (lexer *lexer) consumeName() string {
method consumeEscape (line 728) | func (lexer *lexer) consumeEscape() rune {
method consumeIdentLike (line 759) | func (lexer *lexer) consumeIdentLike() T {
method consumeURL (line 795) | func (lexer *lexer) consumeURL(matchingLoc logger.Loc) T {
method consumeString (line 866) | func (lexer *lexer) consumeString() T {
method consumeNumeric (line 900) | func (lexer *lexer) consumeNumeric() T {
type Comment (line 189) | type Comment struct
type TokenizeResult (line 195) | type TokenizeResult struct
type Options (line 203) | type Options struct
function Tokenize (line 207) | func Tokenize(log logger.Log, source logger.Source, options Options) Tok...
function containsAtPreserveOrAtLicense (line 554) | func containsAtPreserveOrAtLicense(text string) bool {
function WouldStartIdentifierWithoutEscapes (line 594) | func WouldStartIdentifierWithoutEscapes(text string) bool {
function RangeOfIdentifier (line 615) | func RangeOfIdentifier(source logger.Source, loc logger.Loc) logger.Range {
function IsNameStart (line 956) | func IsNameStart(c rune) bool {
function IsNameContinue (line 960) | func IsNameContinue(c rune) bool {
function isNewline (line 964) | func isNewline(c rune) bool {
function isWhitespace (line 972) | func isWhitespace(c rune) bool {
function isHex (line 980) | func isHex(c rune) (int, bool) {
function isNonPrintable (line 993) | func isNonPrintable(c rune) bool {
function decodeEscapesInToken (line 997) | func decodeEscapesInToken(inner string) string {
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_color_spaces.go
type colorSpace (line 14) | type colorSpace
method isPolar (line 34) | func (colorSpace colorSpace) isPolar() bool {
constant colorSpace_a98_rgb (line 17) | colorSpace_a98_rgb colorSpace = iota
constant colorSpace_display_p3 (line 18) | colorSpace_display_p3
constant colorSpace_hsl (line 19) | colorSpace_hsl
constant colorSpace_hwb (line 20) | colorSpace_hwb
constant colorSpace_lab (line 21) | colorSpace_lab
constant colorSpace_lch (line 22) | colorSpace_lch
constant colorSpace_oklab (line 23) | colorSpace_oklab
constant colorSpace_oklch (line 24) | colorSpace_oklch
constant colorSpace_prophoto_rgb (line 25) | colorSpace_prophoto_rgb
constant colorSpace_rec2020 (line 26) | colorSpace_rec2020
constant colorSpace_srgb (line 27) | colorSpace_srgb
constant colorSpace_srgb_linear (line 28) | colorSpace_srgb_linear
constant colorSpace_xyz (line 29) | colorSpace_xyz
constant colorSpace_xyz_d50 (line 30) | colorSpace_xyz_d50
constant colorSpace_xyz_d65 (line 31) | colorSpace_xyz_d65
type hueMethod (line 42) | type hueMethod
constant shorterHue (line 45) | shorterHue hueMethod = iota
constant longerHue (line 46) | longerHue
constant increasingHue (line 47) | increasingHue
constant decreasingHue (line 48) | decreasingHue
function lin_srgb (line 51) | func lin_srgb(r F64, g F64, b F64) (F64, F64, F64) {
function gam_srgb (line 62) | func gam_srgb(r F64, g F64, b F64) (F64, F64, F64) {
function lin_srgb_to_xyz (line 73) | func lin_srgb_to_xyz(r F64, g F64, b F64) (F64, F64, F64) {
function xyz_to_lin_srgb (line 82) | func xyz_to_lin_srgb(x F64, y F64, z F64) (F64, F64, F64) {
function lin_p3 (line 91) | func lin_p3(r F64, g F64, b F64) (F64, F64, F64) {
function gam_p3 (line 95) | func gam_p3(r F64, g F64, b F64) (F64, F64, F64) {
function lin_p3_to_xyz (line 99) | func lin_p3_to_xyz(r F64, g F64, b F64) (F64, F64, F64) {
function xyz_to_lin_p3 (line 108) | func xyz_to_lin_p3(x F64, y F64, z F64) (F64, F64, F64) {
function lin_prophoto (line 117) | func lin_prophoto(r F64, g F64, b F64) (F64, F64, F64) {
function gam_prophoto (line 129) | func gam_prophoto(r F64, g F64, b F64) (F64, F64, F64) {
function lin_prophoto_to_xyz (line 141) | func lin_prophoto_to_xyz(r F64, g F64, b F64) (F64, F64, F64) {
function xyz_to_lin_prophoto (line 150) | func xyz_to_lin_prophoto(x F64, y F64, z F64) (F64, F64, F64) {
function lin_a98rgb (line 159) | func lin_a98rgb(r F64, g F64, b F64) (F64, F64, F64) {
function gam_a98rgb (line 166) | func gam_a98rgb(r F64, g F64, b F64) (F64, F64, F64) {
function lin_a98rgb_to_xyz (line 173) | func lin_a98rgb_to_xyz(r F64, g F64, b F64) (F64, F64, F64) {
function xyz_to_lin_a98rgb (line 182) | func xyz_to_lin_a98rgb(x F64, y F64, z F64) (F64, F64, F64) {
function lin_2020 (line 191) | func lin_2020(r F64, g F64, b F64) (F64, F64, F64) {
function gam_2020 (line 204) | func gam_2020(r F64, g F64, b F64) (F64, F64, F64) {
function lin_2020_to_xyz (line 217) | func lin_2020_to_xyz(r F64, g F64, b F64) (F64, F64, F64) {
function xyz_to_lin_2020 (line 226) | func xyz_to_lin_2020(x F64, y F64, z F64) (F64, F64, F64) {
function d65_to_d50 (line 235) | func d65_to_d50(x F64, y F64, z F64) (F64, F64, F64) {
function d50_to_d65 (line 244) | func d50_to_d65(x F64, y F64, z F64) (F64, F64, F64) {
constant d50_x (line 253) | d50_x = 0.3457 / 0.3585
constant d50_z (line 254) | d50_z = (1.0 - 0.3457 - 0.3585) / 0.3585
function xyz_to_lab (line 256) | func xyz_to_lab(x F64, y F64, z F64) (F64, F64, F64) {
function lab_to_xyz (line 285) | func lab_to_xyz(l F64, a F64, b F64) (x F64, y F64, z F64) {
function lab_to_lch (line 316) | func lab_to_lch(l F64, a F64, b F64) (F64, F64, F64) {
function lch_to_lab (line 326) | func lch_to_lab(l F64, c F64, h F64) (F64, F64, F64) {
function xyz_to_oklab (line 332) | func xyz_to_oklab(x F64, y F64, z F64) (F64, F64, F64) {
function oklab_to_xyz (line 347) | func oklab_to_xyz(l F64, a F64, b F64) (F64, F64, F64) {
function oklab_to_oklch (line 362) | func oklab_to_oklch(l F64, a F64, b F64) (F64, F64, F64) {
function oklch_to_oklab (line 366) | func oklch_to_oklab(l F64, c F64, h F64) (F64, F64, F64) {
function multiplyMatrices (line 370) | func multiplyMatrices(A [9]float64, b0 F64, b1 F64, b2 F64) (F64, F64, F...
function delta_eok (line 376) | func delta_eok(L1 F64, a1 F64, b1 F64, L2 F64, a2 F64, b2 F64) F64 {
function gamut_mapping_xyz_to_srgb (line 383) | func gamut_mapping_xyz_to_srgb(x F64, y F64, z F64) (F64, F64, F64) {
function hsl_to_rgb (line 453) | func hsl_to_rgb(hue F64, sat F64, light F64) (F64, F64, F64) {
function rgb_to_hsl (line 473) | func rgb_to_hsl(red F64, green F64, blue F64) (F64, F64, F64) {
function hwb_to_rgb (line 502) | func hwb_to_rgb(hue F64, white F64, black F64) (F64, F64, F64) {
function rgb_to_hwb (line 517) | func rgb_to_hwb(red F64, green F64, blue F64) (F64, F64, F64) {
function xyz_to_colorSpace (line 524) | func xyz_to_colorSpace(x F64, y F64, z F64, colorSpace colorSpace) (F64,...
function colorSpace_to_xyz (line 573) | func colorSpace_to_xyz(v0 F64, v1 F64, v2 F64, colorSpace colorSpace) (F...
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_decls.go
method commaToken (line 12) | func (p *parser) commaToken(loc logger.Loc) css_ast.Token {
function expandTokenQuad (line 24) | func expandTokenQuad(tokens []css_ast.Token, allowedIdent string) (resul...
function compactTokenQuad (line 58) | func compactTokenQuad(a css_ast.Token, b css_ast.Token, c css_ast.Token,...
method processDeclarations (line 84) | func (p *parser) processDeclarations(rules []css_ast.Rule, composesConte...
method insertPrefixedDeclaration (line 424) | func (p *parser) insertPrefixedDeclaration(rules []css_ast.Rule, prefix ...
method lowerInset (line 526) | func (p *parser) lowerInset(loc logger.Loc, decl *css_ast.RDeclaration) ...
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_decls_animation.go
method processAnimationShorthand (line 11) | func (p *parser) processAnimationShorthand(tokens []css_ast.Token) {
method processAnimationName (line 89) | func (p *parser) processAnimationName(tokens []css_ast.Token) {
method handleSingleAnimationName (line 97) | func (p *parser) handleSingleAnimationName(token *css_ast.Token) {
function isInvalidAnimationName (line 116) | func isInvalidAnimationName(text string) bool {
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_decls_border_radius.go
constant borderRadiusTopLeft (line 10) | borderRadiusTopLeft = iota
constant borderRadiusTopRight (line 11) | borderRadiusTopRight
constant borderRadiusBottomRight (line 12) | borderRadiusBottomRight
constant borderRadiusBottomLeft (line 13) | borderRadiusBottomLeft
type borderRadiusCorner (line 16) | type borderRadiusCorner struct
type borderRadiusTracker (line 24) | type borderRadiusTracker struct
method updateCorner (line 29) | func (borderRadius *borderRadiusTracker) updateCorner(rules []css_ast....
method mangleCorners (line 38) | func (borderRadius *borderRadiusTracker) mangleCorners(rules []css_ast...
method mangleCorner (line 108) | func (borderRadius *borderRadiusTracker) mangleCorner(rules []css_ast....
method compactRules (line 157) | func (borderRadius *borderRadiusTracker) compactRules(rules []css_ast....
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_decls_box.go
constant boxTop (line 12) | boxTop = iota
constant boxRight (line 13) | boxRight
constant boxBottom (line 14) | boxBottom
constant boxLeft (line 15) | boxLeft
type boxSide (line 18) | type boxSide struct
type boxTracker (line 25) | type boxTracker struct
method updateSide (line 87) | func (box *boxTracker) updateSide(rules []css_ast.Rule, side int, new ...
method mangleSides (line 96) | func (box *boxTracker) mangleSides(rules []css_ast.Rule, decl *css_ast...
method mangleSide (line 131) | func (box *boxTracker) mangleSide(rules []css_ast.Rule, decl *css_ast....
method compactRules (line 161) | func (box *boxTracker) compactRules(rules []css_ast.Rule, keyRange log...
type unitSafetyStatus (line 33) | type unitSafetyStatus
constant unitSafe (line 36) | unitSafe unitSafetyStatus = iota
constant unitUnsafeSingle (line 37) | unitUnsafeSingle
constant unitUnsafeMixed (line 38) | unitUnsafeMixed
type unitSafetyTracker (line 53) | type unitSafetyTracker struct
method isSafeWith (line 58) | func (a unitSafetyTracker) isSafeWith(b unitSafetyTracker) bool {
method includeUnitOf (line 62) | func (t *unitSafetyTracker) includeUnitOf(token css_ast.Token) {
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_decls_box_shadow.go
method lowerAndMangleBoxShadow (line 10) | func (p *parser) lowerAndMangleBoxShadow(tokens []css_ast.Token, wouldCl...
method lowerAndMangleBoxShadows (line 81) | func (p *parser) lowerAndMangleBoxShadows(tokens []css_ast.Token, wouldC...
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_decls_color.go
function parseHex (line 201) | func parseHex(text string) (uint32, bool) {
function compactHex (line 220) | func compactHex(v uint32) uint32 {
function expandHex (line 225) | func expandHex(v uint32) uint32 {
function hexR (line 229) | func hexR(v uint32) int { return int(v >> 24) }
function hexG (line 230) | func hexG(v uint32) int { return int((v >> 16) & 255) }
function hexB (line 231) | func hexB(v uint32) int { return int((v >> 8) & 255) }
function hexA (line 232) | func hexA(v uint32) int { return int(v & 255) }
function floatToStringForColor (line 234) | func floatToStringForColor(a float64) string {
function degreesForAngle (line 245) | func degreesForAngle(token css_ast.Token) (float64, bool) {
function lowerAlphaPercentageToNumber (line 269) | func lowerAlphaPercentageToNumber(token css_ast.Token) css_ast.Token {
method lowerAndMinifyColor (line 280) | func (p *parser) lowerAndMinifyColor(token css_ast.Token, wouldClipColor...
type parsedColor (line 423) | type parsedColor struct
function looksLikeColor (line 429) | func looksLikeColor(token css_ast.Token) bool {
function parseColor (line 465) | func parseColor(token css_ast.Token) (parsedColor, bool) {
function hwbToRgb (line 752) | func hwbToRgb(hue F64, white F64, black F64) (r F64, g F64, b F64) {
function hslToRgb (line 766) | func hslToRgb(hue F64, sat F64, light F64) (r F64, g F64, b F64) {
function hueToRgb (line 781) | func hueToRgb(t1 F64, t2 F64, hue F64) F64 {
function packRGBA (line 797) | func packRGBA(rf F64, gf F64, bf F64, a uint32) uint32 {
function floatToByte (line 804) | func floatToByte(f float64) uint32 {
function parseAlphaByte (line 814) | func parseAlphaByte(token css_ast.Token) (uint32, bool) {
function parseColorByte (line 821) | func parseColorByte(token css_ast.Token, scale float64) (uint32, bool) {
function tryToConvertToHexWithoutClipping (line 847) | func tryToConvertToHexWithoutClipping(x F64, y F64, z F64, a uint32) (ui...
method tryToGenerateColor (line 857) | func (p *parser) tryToGenerateColor(token css_ast.Token, color parsedCol...
constant alphaFractionTable (line 922) | alphaFractionTable string = "" +
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_decls_composes.go
type composesContext (line 13) | type composesContext struct
method handleComposesPragma (line 19) | func (p *parser) handleComposesPragma(context composesContext, tokens []...
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_decls_container.go
method processContainerShorthand (line 11) | func (p *parser) processContainerShorthand(tokens []css_ast.Token) {
method processContainerName (line 32) | func (p *parser) processContainerName(tokens []css_ast.Token) {
method handleSingleContainerName (line 46) | func (p *parser) handleSingleContainerName(token *css_ast.Token) {
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_decls_font.go
method mangleFont (line 13) | func (p *parser) mangleFont(tokens []css_ast.Token) []css_ast.Token {
function isFontSize (line 125) | func isFontSize(token css_ast.Token) bool {
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_decls_font_family.go
method mangleFontFamily (line 57) | func (p *parser) mangleFontFamily(tokens []css_ast.Token) ([]css_ast.Tok...
method mangleFamilyNameOrGenericName (line 77) | func (p *parser) mangleFamilyNameOrGenericName(result []css_ast.Token, t...
function isValidCustomIdent (line 138) | func isValidCustomIdent(text string, predefinedKeywords map[string]bool)...
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_decls_font_weight.go
method mangleFontWeight (line 10) | func (p *parser) mangleFontWeight(token css_ast.Token) css_ast.Token {
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_decls_gradient.go
type gradientKind (line 16) | type gradientKind
constant linearGradient (line 19) | linearGradient gradientKind = iota
constant radialGradient (line 20) | radialGradient
constant conicGradient (line 21) | conicGradient
type parsedGradient (line 24) | type parsedGradient struct
type colorStop (line 31) | type colorStop struct
function parseGradient (line 37) | func parseGradient(token css_ast.Token) (gradient parsedGradient, succes...
method generateGradient (line 147) | func (p *parser) generateGradient(token css_ast.Token, gradient parsedGr...
method lowerAndMinifyGradient (line 170) | func (p *parser) lowerAndMinifyGradient(token css_ast.Token, wouldClipCo...
function removeImpliedPositions (line 259) | func removeImpliedPositions(kind gradientKind, colorStops []colorStop) [...
function switchToSinglePositions (line 325) | func switchToSinglePositions(double []colorStop) (single []colorStop) {
function switchToDoublePositions (line 342) | func switchToDoublePositions(single []colorStop) (double []colorStop) {
function removeColorInterpolation (line 362) | func removeColorInterpolation(tokens []css_ast.Token) ([]css_ast.Token, ...
type valueWithUnit (line 442) | type valueWithUnit struct
type parsedColorStop (line 447) | type parsedColorStop struct
function tryToParseColorStops (line 467) | func tryToParseColorStops(gradient parsedGradient) ([]parsedColorStop, b...
function tryToParseValue (line 636) | func tryToParseValue(token css_ast.Token, kind gradientKind) (result val...
function tryToExpandGradient (line 695) | func tryToExpandGradient(
function formatFloat (line 824) | func formatFloat(value F64, decimals int) string {
function makeDimensionOrPercentToken (line 828) | func makeDimensionOrPercentToken(loc logger.Loc, value F64, unit string)...
function makePositionToken (line 841) | func makePositionToken(loc logger.Loc, positionTerms []valueWithUnit) cs...
function makeColorToken (line 867) | func makeColorToken(loc logger.Loc, x F64, y F64, z F64, a F64) (color c...
function interpolateHues (line 927) | func interpolateHues(a, b, t F64, hueMethod hueMethod) F64 {
function interpolateColors (line 966) | func interpolateColors(
function interpolatePositions (line 989) | func interpolatePositions(a []valueWithUnit, b []valueWithUnit, t F64) (...
function premultiply (line 1027) | func premultiply(v0, v1, v2, alpha F64, colorSpace colorSpace) (F64, F64...
function unpremultiply (line 1043) | func unpremultiply(v0, v1, v2, alpha F64, colorSpace colorSpace) (F64, F...
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_decls_list_style.go
method processListStyleShorthand (line 20) | func (p *parser) processListStyleShorthand(tokens []css_ast.Token) {
method processListStyleType (line 99) | func (p *parser) processListStyleType(t *css_ast.Token) {
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_decls_transform.go
function turnPercentIntoNumberIfShorter (line 10) | func turnPercentIntoNumberIfShorter(t *css_ast.Token) {
method mangleTransforms (line 21) | func (p *parser) mangleTransforms(tokens []css_ast.Token) []css_ast.Token {
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_nesting.go
method lowerNestingInRule (line 11) | func (p *parser) lowerNestingInRule(rule css_ast.Rule, results []css_ast...
method lowerNestingInRulesAndReturnRemaining (line 107) | func (p *parser) lowerNestingInRulesAndReturnRemaining(rules []css_ast.R...
function compoundSelectorTermCount (line 119) | func compoundSelectorTermCount(sel css_ast.CompoundSelector) int {
function complexSelectorTermCount (line 130) | func complexSelectorTermCount(selectors []css_ast.ComplexSelector) int {
method addExpansionError (line 140) | func (p *parser) addExpansionError(loc logger.Loc, n int) {
type lowerNestingContext (line 147) | type lowerNestingContext struct
method lowerNestingInRuleWithContext (line 153) | func (p *parser) lowerNestingInRuleWithContext(rule css_ast.Rule, contex...
type leadingCombinatorStrip (line 363) | type leadingCombinatorStrip
constant keepLeadingCombinator (line 366) | keepLeadingCombinator leadingCombinatorStrip = iota
constant stripLeadingCombinator (line 367) | stripLeadingCombinator
method substituteAmpersandsInCompoundSelector (line 370) | func (p *parser) substituteAmpersandsInCompoundSelector(
method multipleComplexSelectorsToSingleComplexSelector (line 460) | func (p *parser) multipleComplexSelectorsToSingleComplexSelector(selecto...
method reportNestingWithGeneratedPseudoClassIs (line 492) | func (p *parser) reportNestingWithGeneratedPseudoClassIs(nestingSelector...
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_parser.go
type parser (line 18) | type parser struct
method computeCharacterFrequency (line 165) | func (p *parser) computeCharacterFrequency() *ast.CharFreq {
method advance (line 196) | func (p *parser) advance() {
method at (line 202) | func (p *parser) at(index int) css_lexer.Token {
method current (line 212) | func (p *parser) current() css_lexer.Token {
method next (line 216) | func (p *parser) next() css_lexer.Token {
method raw (line 220) | func (p *parser) raw() string {
method decoded (line 225) | func (p *parser) decoded() string {
method peek (line 229) | func (p *parser) peek(kind css_lexer.T) bool {
method eat (line 233) | func (p *parser) eat(kind css_lexer.T) bool {
method expect (line 241) | func (p *parser) expect(kind css_lexer.T) bool {
method expectWithMatchingLoc (line 245) | func (p *parser) expectWithMatchingLoc(kind css_lexer.T, matchingLoc l...
method unexpected (line 294) | func (p *parser) unexpected() {
method symbolForName (line 311) | func (p *parser) symbolForName(loc logger.Loc, name string) ast.LocRef {
method recordAtLayerRule (line 347) | func (p *parser) recordAtLayerRule(layers [][]string) {
method parseListOfRules (line 366) | func (p *parser) parseListOfRules(context ruleContext) []css_ast.Rule {
method parseListOfDeclarations (line 508) | func (p *parser) parseListOfDeclarations(opts listOfDeclarationsOpts) ...
method mangleRules (line 588) | func (p *parser) mangleRules(rules []css_ast.Rule, isTopLevel bool) []...
method parseURLOrString (line 986) | func (p *parser) parseURLOrString() (string, logger.Range, bool) {
method expectURLOrString (line 1034) | func (p *parser) expectURLOrString() (url string, r logger.Range, ok b...
method parseAtRule (line 1196) | func (p *parser) parseAtRule(context atRuleContext) css_ast.Rule {
method expectValidLayerNameIdent (line 1733) | func (p *parser) expectValidLayerNameIdent() (string, bool) {
method convertTokens (line 1748) | func (p *parser) convertTokens(tokens []css_lexer.Token) []css_ast.Tok...
method convertTokensHelper (line 1759) | func (p *parser) convertTokensHelper(tokens []css_lexer.Token, close c...
method parseSelectorRule (line 2096) | func (p *parser) parseSelectorRule(isTopLevel bool, opts parseSelector...
method parseQualifiedRule (line 2199) | func (p *parser) parseQualifiedRule(opts parseQualifiedRuleOpts) css_a...
method scanForEndOfRule (line 2253) | func (p *parser) scanForEndOfRule() (endOfRuleScan, int) {
method parseDeclaration (line 2293) | func (p *parser) parseDeclaration() css_ast.Rule {
method parseComponentValue (line 2396) | func (p *parser) parseComponentValue() {
method parseBlock (line 2418) | func (p *parser) parseBlock(open css_lexer.T, close css_lexer.T) {
type Options (line 48) | type Options struct
method Equal (line 97) | func (a *Options) Equal(b *Options) bool {
type symbolMode (line 57) | type symbolMode
constant symbolModeDisabled (line 60) | symbolModeDisabled symbolMode = iota
constant symbolModeGlobal (line 61) | symbolModeGlobal
constant symbolModeLocal (line 62) | symbolModeLocal
type optionsThatSupportStructuralEquality (line 65) | type optionsThatSupportStructuralEquality struct
function OptionsFromConfig (line 74) | func OptionsFromConfig(loader config.Loader, options *config.Options) Op...
function Parse (line 122) | func Parse(log logger.Log, source logger.Source, options Options) css_as...
type ruleContext (line 361) | type ruleContext struct
type listOfDeclarationsOpts (line 503) | type listOfDeclarationsOpts struct
type ruleEntry (line 715) | type ruleEntry struct
type hashEntry (line 720) | type hashEntry struct
type callEntry (line 724) | type callEntry struct
type DeadRuleRemover (line 729) | type DeadRuleRemover struct
method RemoveDeadRulesInPlace (line 742) | func (remover *DeadRuleRemover) RemoveDeadRulesInPlace(sourceIndex uin...
function MakeDeadRuleMangler (line 735) | func MakeDeadRuleMangler(symbols ast.SymbolMap) DeadRuleRemover {
function containsDeadSelectors (line 803) | func containsDeadSelectors(selectors []css_ast.CompoundSelector) bool {
function allSelectorsAreDead (line 816) | func allSelectorsAreDead(selectors []css_ast.ComplexSelector) bool {
function isSafeSelectors (line 928) | func isSafeSelectors(complexSelectors []css_ast.ComplexSelector) bool {
type atRuleKind (line 1042) | type atRuleKind
constant atRuleUnknown (line 1045) | atRuleUnknown atRuleKind = iota
constant atRuleDeclarations (line 1046) | atRuleDeclarations
constant atRuleInheritContext (line 1047) | atRuleInheritContext
constant atRuleQualifiedOrEmpty (line 1048) | atRuleQualifiedOrEmpty
constant atRuleEmpty (line 1049) | atRuleEmpty
type atRuleValidity (line 1179) | type atRuleValidity
constant atRuleInvalid (line 1182) | atRuleInvalid atRuleValidity = iota
constant atRuleValid (line 1183) | atRuleValid
constant atRuleInvalidAfter (line 1184) | atRuleInvalidAfter
type atRuleContext (line 1187) | type atRuleContext struct
type convertTokensOpts (line 1753) | type convertTokensOpts struct
function shiftDot (line 1996) | func shiftDot(text string, dotOffset int) (string, bool) {
function mangleDimension (line 2047) | func mangleDimension(value string, unit string) (string, string, bool) {
function mangleNumber (line 2068) | func mangleNumber(t string) (string, bool) {
type parseQualifiedRuleOpts (line 2193) | type parseQualifiedRuleOpts struct
type endOfRuleScan (line 2243) | type endOfRuleScan
constant endOfRuleUnknown (line 2246) | endOfRuleUnknown endOfRuleScan = iota
constant endOfRuleSemicolon (line 2247) | endOfRuleSemicolon
constant endOfRuleOpenBrace (line 2248) | endOfRuleOpenBrace
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_parser_media.go
method parseMediaQueryListUntil (line 13) | func (p *parser) parseMediaQueryListUntil(stop func(css_lexer.T) bool) [...
method parseMediaQuery (line 39) | func (p *parser) parseMediaQuery() (css_ast.MediaQuery, bool) {
method looksLikeMediaCondition (line 96) | func (p *parser) looksLikeMediaCondition() bool {
type mediaOr (line 104) | type mediaOr
constant mediaWithOr (line 107) | mediaWithOr mediaOr = iota
constant mediaWithoutOr (line 108) | mediaWithoutOr
method parseMediaCondition (line 111) | func (p *parser) parseMediaCondition(or mediaOr) (css_ast.MediaQuery, bo...
method appendMediaTerm (line 160) | func (p *parser) appendMediaTerm(inner []css_ast.MediaQuery, term css_as...
method parseMediaInParens (line 170) | func (p *parser) parseMediaInParens() (css_ast.MediaQuery, bool) {
function lowerMediaRange (line 233) | func lowerMediaRange(loc logger.Loc, name string, cmp css_ast.MQCmp, val...
function parsePlainOrBooleanMediaFeature (line 261) | func parsePlainOrBooleanMediaFeature(tokens []css_ast.Token) (*css_ast.M...
function parseRangeMediaFeature (line 273) | func parseRangeMediaFeature(tokens []css_ast.Token) (*css_ast.MQRange, b...
method maybeSimplifyMediaNot (line 315) | func (p *parser) maybeSimplifyMediaNot(loc logger.Loc, inner css_ast.Med...
function isSingleIdent (line 352) | func isSingleIdent(tokens []css_ast.Token) (string, logger.Loc, bool) {
function scanMediaComparison (line 360) | func scanMediaComparison(tokens []css_ast.Token) (css_ast.MQCmp, []css_a...
function scanMediaValue (line 387) | func scanMediaValue(tokens []css_ast.Token) ([]css_ast.Token, []css_ast....
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_parser_selector.go
type parseSelectorOpts (line 12) | type parseSelectorOpts struct
method parseSelectorList (line 22) | func (p *parser) parseSelectorList(opts parseSelectorOpts) (list []css_a...
function mergeCompoundSelectors (line 115) | func mergeCompoundSelectors(target *css_ast.CompoundSelector, source css...
function containsLocalOrGlobalSelector (line 148) | func containsLocalOrGlobalSelector(sel css_ast.ComplexSelector) bool {
method flattenLocalAndGlobalSelectors (line 168) | func (p *parser) flattenLocalAndGlobalSelectors(list []css_ast.ComplexSe...
type leadingAmpersand (line 244) | type leadingAmpersand
constant cannotRemoveLeadingAmpersand (line 247) | cannotRemoveLeadingAmpersand leadingAmpersand = iota
constant canAlwaysRemoveLeadingAmpersand (line 248) | canAlwaysRemoveLeadingAmpersand
constant canRemoveLeadingAmpersandIfNotFirst (line 249) | canRemoveLeadingAmpersandIfNotFirst
function analyzeLeadingAmpersand (line 252) | func analyzeLeadingAmpersand(sel css_ast.ComplexSelector, isDeclarationC...
type parseComplexSelectorOpts (line 276) | type parseComplexSelectorOpts struct
method parseComplexSelector (line 281) | func (p *parser) parseComplexSelector(opts parseComplexSelectorOpts) (re...
method nameToken (line 334) | func (p *parser) nameToken() css_ast.NameToken {
method parseCompoundSelector (line 343) | func (p *parser) parseCompoundSelector(opts parseComplexSelectorOpts) (s...
method parseAttributeSelector (line 523) | func (p *parser) parseAttributeSelector() (attr css_ast.SSAttribute, r l...
method parsePseudoClassSelector (line 620) | func (p *parser) parsePseudoClassSelector(loc logger.Loc, isElement bool...
method parseAnyValue (line 761) | func (p *parser) parseAnyValue() []css_lexer.Token {
method parseCombinator (line 805) | func (p *parser) parseCombinator() css_ast.Combinator {
function parseInteger (line 826) | func parseInteger(text string) (string, bool) {
method parseNthIndex (line 850) | func (p *parser) parseNthIndex() (css_ast.NthIndex, bool) {
FILE: vendor/github.com/evanw/esbuild/internal/css_parser/css_reduce_calc.go
method tryToReduceCalcExpression (line 14) | func (p *parser) tryToReduceCalcExpression(token css_ast.Token) css_ast....
type calcTermWithOp (line 34) | type calcTermWithOp struct
type calcTerm (line 40) | type calcTerm interface
type calcSum (line 45) | type calcSum struct
method convertToToken (line 100) | func (c *calcSum) convertToToken(whitespace css_ast.WhitespaceFlags) (...
method partiallySimplify (line 297) | func (c *calcSum) partiallySimplify() calcTerm {
type calcProduct (line 49) | type calcProduct struct
method convertToToken (line 184) | func (c *calcProduct) convertToToken(whitespace css_ast.WhitespaceFlag...
method partiallySimplify (line 342) | func (c *calcProduct) partiallySimplify() calcTerm {
type calcNegate (line 53) | type calcNegate struct
method convertToToken (line 230) | func (c *calcNegate) convertToToken(whitespace css_ast.WhitespaceFlags...
method partiallySimplify (line 423) | func (c *calcNegate) partiallySimplify() calcTerm {
type calcInvert (line 57) | type calcInvert struct
method convertToToken (line 247) | func (c *calcInvert) convertToToken(whitespace css_ast.WhitespaceFlags...
method partiallySimplify (line 442) | func (c *calcInvert) partiallySimplify() calcTerm {
type calcNumeric (line 61) | type calcNumeric struct
method convertToToken (line 264) | func (c *calcNumeric) convertToToken(whitespace css_ast.WhitespaceFlag...
method partiallySimplify (line 461) | func (c *calcNumeric) partiallySimplify() calcTerm {
type calcValue (line 67) | type calcValue struct
method convertToToken (line 291) | func (c *calcValue) convertToToken(whitespace css_ast.WhitespaceFlags)...
method partiallySimplify (line 465) | func (c *calcValue) partiallySimplify() calcTerm {
function floatToStringForCalc (line 72) | func floatToStringForCalc(a float64) (string, bool) {
function tryToParseCalcTerm (line 469) | func tryToParseCalcTerm(tokens []css_ast.Token) calcTerm {
FILE: vendor/github.com/evanw/esbuild/internal/css_printer/css_printer.go
constant quoteForURL (line 18) | quoteForURL byte = 0
type printer (line 20) | type printer struct
method recordImportPathForMetafile (line 91) | func (p *printer) recordImportPathForMetafile(importRecordIndex uint32) {
method printRule (line 105) | func (p *printer) printRule(rule css_ast.Rule, indent int32, omitTrail...
method printMediaQuery (line 396) | func (p *printer) printMediaQuery(query css_ast.MediaQuery, flags mqFl...
method printIndentedComment (line 507) | func (p *printer) printIndentedComment(indent int32, text string) {
method printRuleBlock (line 528) | func (p *printer) printRuleBlock(rules []css_ast.Rule, indent int32, c...
method printComplexSelectors (line 556) | func (p *printer) printComplexSelectors(selectors []css_ast.ComplexSel...
method printCompoundSelector (line 578) | func (p *printer) printCompoundSelector(sel css_ast.CompoundSelector, ...
method printNthIndex (line 701) | func (p *printer) printNthIndex(index css_ast.NthIndex) {
method printNamespacedName (line 720) | func (p *printer) printNamespacedName(nsName css_ast.NamespacedName, w...
method printPseudoClassSelector (line 754) | func (p *printer) printPseudoClassSelector(pseudo css_ast.SSPseudoClas...
method print (line 772) | func (p *printer) print(text string) {
method printQuoted (line 820) | func (p *printer) printQuoted(text string, flags printQuotedFlags) {
method printWithEscape (line 832) | func (p *printer) printWithEscape(c rune, escape escapeKind, remaining...
method printQuotedWithQuote (line 872) | func (p *printer) printQuotedWithQuote(text string, quote byte, flags ...
method currentLineLength (line 951) | func (p *printer) currentLineLength() int {
method printNewlinePastLineLimit (line 968) | func (p *printer) printNewlinePastLineLimit(indent int32) bool {
method printIdent (line 996) | func (p *printer) printIdent(text string, mode identMode, whitespace t...
method printSymbol (line 1069) | func (p *printer) printSymbol(loc logger.Loc, ref ast.Ref, mode identM...
method printIndent (line 1085) | func (p *printer) printIndent(indent int32) {
method printTokens (line 1131) | func (p *printer) printTokens(tokens []css_ast.Token, opts printTokens...
type Options (line 33) | type Options struct
type PrintResult (line 56) | type PrintResult struct
function Print (line 67) | func Print(tree css_ast.AST, symbols ast.SymbolMap, options Options) Pri...
type mqFlags (line 389) | type mqFlags
constant mqNeedsParens (line 392) | mqNeedsParens mqFlags = 1 << iota
constant mqAfterIdentifier (line 393) | mqAfterIdentifier
type selectorLayout (line 549) | type selectorLayout
constant layoutMultiLine (line 552) | layoutMultiLine selectorLayout = iota
constant layoutSingleLine (line 553) | layoutSingleLine
function bestQuoteCharForString (line 776) | func bestQuoteCharForString(text string, forURL bool) byte {
type printQuotedFlags (line 814) | type printQuotedFlags
constant printQuotedNoWrap (line 817) | printQuotedNoWrap printQuotedFlags = 1 << iota
type escapeKind (line 824) | type escapeKind
constant escapeNone (line 827) | escapeNone escapeKind = iota
constant escapeBackslash (line 828) | escapeBackslash
constant escapeHex (line 829) | escapeHex
type identMode (line 979) | type identMode
constant identNormal (line 982) | identNormal identMode = iota
constant identHash (line 983) | identHash
constant identDimensionUnit (line 984) | identDimensionUnit
constant identDimensionUnitAfterExponent (line 985) | identDimensionUnitAfterExponent
type trailingWhitespace (line 988) | type trailingWhitespace
constant mayNeedWhitespaceAfter (line 991) | mayNeedWhitespaceAfter trailingWhitespace = iota
constant canDiscardWhitespaceAfter (line 992) | canDiscardWhitespaceAfter
type printTokensOpts (line 1095) | type printTokensOpts struct
function functionMultiLineCommaPeriod (line 1101) | func functionMultiLineCommaPeriod(token css_ast.Token) uint8 {
FILE: vendor/github.com/evanw/esbuild/internal/fs/error_other.go
function is_ERROR_INVALID_NAME (line 7) | func is_ERROR_INVALID_NAME(err error) bool {
FILE: vendor/github.com/evanw/esbuild/internal/fs/error_wasm+windows.go
function is_ERROR_INVALID_NAME (line 12) | func is_ERROR_INVALID_NAME(err error) bool {
FILE: vendor/github.com/evanw/esbuild/internal/fs/filepath.go
type goFilepath (line 44) | type goFilepath struct
method isAbs (line 78) | func (fp goFilepath) isAbs(path string) bool {
method abs (line 101) | func (fp goFilepath) abs(path string) (string, error) {
method isPathSeparator (line 109) | func (fp goFilepath) isPathSeparator(c uint8) bool {
method volumeNameLen (line 115) | func (fp goFilepath) volumeNameLen(path string) int {
method evalSymlinks (line 159) | func (fp goFilepath) evalSymlinks(path string) (string, error) {
method fromSlash (line 335) | func (fp goFilepath) fromSlash(path string) string {
method clean (line 365) | func (fp goFilepath) clean(path string) string {
method volumeName (line 443) | func (fp goFilepath) volumeName(path string) string {
method base (line 451) | func (fp goFilepath) base(path string) string {
method dir (line 482) | func (fp goFilepath) dir(path string) string {
method ext (line 500) | func (fp goFilepath) ext(path string) string {
method join (line 516) | func (fp goFilepath) join(elem []string) string {
method joinNonEmpty (line 529) | func (fp goFilepath) joinNonEmpty(elem []string) string {
method isUNC (line 564) | func (fp goFilepath) isUNC(path string) bool {
method rel (line 576) | func (fp goFilepath) rel(basepath, targpath string) (string, error) {
method sameWord (line 644) | func (fp goFilepath) sameWord(a, b string) bool {
function isSlash (line 50) | func isSlash(c uint8) bool {
function isReservedName (line 65) | func isReservedName(path string) bool {
type lazybuf (line 297) | type lazybuf struct
method index (line 305) | func (b *lazybuf) index(i int) byte {
method append (line 312) | func (b *lazybuf) append(c byte) {
method string (line 325) | func (b *lazybuf) string() string {
FILE: vendor/github.com/evanw/esbuild/internal/fs/fs.go
type EntryKind (line 16) | type EntryKind
constant DirEntry (line 19) | DirEntry EntryKind = 1
constant FileEntry (line 20) | FileEntry EntryKind = 2
type Entry (line 23) | type Entry struct
method Kind (line 32) | func (e *Entry) Kind(fs FS) EntryKind {
method Symlink (line 42) | func (e *Entry) Symlink(fs FS) string {
type accessedEntries (line 52) | type accessedEntries struct
type DirEntries (line 76) | type DirEntries struct
method Get (line 92) | func (entries DirEntries) Get(query string) (*Entry, *DifferentCase) {
method PeekEntryCount (line 123) | func (entries DirEntries) PeekEntryCount() int {
method SortedKeys (line 130) | func (entries DirEntries) SortedKeys() (keys []string) {
function MakeEmptyDirEntries (line 82) | func MakeEmptyDirEntries(dir string) DirEntries {
type DifferentCase (line 86) | type DifferentCase struct
type OpenedFile (line 151) | type OpenedFile interface
type InMemoryOpenedFile (line 157) | type InMemoryOpenedFile struct
method Len (line 161) | func (f *InMemoryOpenedFile) Len() int {
method Read (line 165) | func (f *InMemoryOpenedFile) Read(start int, end int) ([]byte, error) {
method Close (line 169) | func (f *InMemoryOpenedFile) Close() error {
type FS (line 173) | type FS interface
type WatchData (line 214) | type WatchData struct
type ModKey (line 222) | type ModKey struct
constant modKeySafetyGap (line 237) | modKeySafetyGap = 3
function BeforeFileOpen (line 243) | func BeforeFileOpen() {
function AfterFileClose (line 248) | func AfterFileClose() {
function MkdirAll (line 254) | func MkdirAll(fs FS, path string, perm os.FileMode) error {
function mkdirAll (line 259) | func mkdirAll(fs FS, path string, perm os.FileMode) error {
FILE: vendor/github.com/evanw/esbuild/internal/fs/fs_mock.go
type MockKind (line 14) | type MockKind
constant MockUnix (line 17) | MockUnix MockKind = iota
constant MockWindows (line 18) | MockWindows
type mockFS (line 21) | type mockFS struct
method ReadDirectory (line 74) | func (fs *mockFS) ReadDirectory(path string) (DirEntries, error, error) {
method ReadFile (line 100) | func (fs *mockFS) ReadFile(path string) (string, error, error) {
method OpenFile (line 110) | func (fs *mockFS) OpenFile(path string) (OpenedFile, error, error) {
method ModKey (line 120) | func (fs *mockFS) ModKey(path string) (ModKey, error) {
method IsAbs (line 146) | func (fs *mockFS) IsAbs(p string) bool {
method Abs (line 153) | func (fs *mockFS) Abs(p string) (string, bool) {
method Dir (line 168) | func (fs *mockFS) Dir(p string) string {
method Base (line 183) | func (fs *mockFS) Base(p string) string {
method Ext (line 198) | func (fs *mockFS) Ext(p string) string {
method Join (line 206) | func (fs *mockFS) Join(parts ...string) string {
method Cwd (line 229) | func (fs *mockFS) Cwd() string {
method Rel (line 240) | func (fs *mockFS) Rel(base string, target string) (string, bool) {
method EvalSymlinks (line 315) | func (fs *mockFS) EvalSymlinks(path string) (string, bool) {
method kind (line 319) | func (fs *mockFS) kind(dir string, base string) (symlink string, kind ...
method WatchData (line 323) | func (fs *mockFS) WatchData() WatchData {
function MockFS (line 29) | func MockFS(input map[string]string, kind MockKind, absWorkingDir string...
function win2unix (line 124) | func win2unix(p string) (result string, volume string) {
function unix2win (line 135) | func unix2win(p string, volume string, defaultVolume string) string {
function splitOnSlash (line 233) | func splitOnSlash(path string) (string, string) {
FILE: vendor/github.com/evanw/esbuild/internal/fs/fs_real.go
type realFS (line 14) | type realFS struct
method ReadDirectory (line 130) | func (fs *realFS) ReadDirectory(dir string) (entries DirEntries, canon...
method ReadFile (line 199) | func (fs *realFS) ReadFile(path string) (contents string, canonicalErr...
method OpenFile (line 261) | func (fs *realFS) OpenFile(path string) (OpenedFile, error, error) {
method ModKey (line 279) | func (fs *realFS) ModKey(path string) (ModKey, error) {
method IsAbs (line 307) | func (fs *realFS) IsAbs(p string) bool {
method Abs (line 311) | func (fs *realFS) Abs(p string) (string, bool) {
method Dir (line 316) | func (fs *realFS) Dir(p string) string {
method Base (line 320) | func (fs *realFS) Base(p string) string {
method Ext (line 324) | func (fs *realFS) Ext(p string) string {
method Join (line 328) | func (fs *realFS) Join(parts ...string) string {
method Cwd (line 332) | func (fs *realFS) Cwd() string {
method Rel (line 336) | func (fs *realFS) Rel(base string, target string) (string, bool) {
method EvalSymlinks (line 343) | func (fs *realFS) EvalSymlinks(path string) (string, bool) {
method readdir (line 350) | func (fs *realFS) readdir(dirname string) (entries []string, canonical...
method canonicalizeError (line 384) | func (fs *realFS) canonicalizeError(err error) error {
method kind (line 409) | func (fs *realFS) kind(dir string, base string) (symlink string, kind ...
method WatchData (line 449) | func (fs *realFS) WatchData() WatchData {
type entriesOrErr (line 34) | type entriesOrErr struct
type watchState (line 40) | type watchState
constant stateNone (line 43) | stateNone watchState = iota
constant stateDirHasAccessedEntries (line 44) | stateDirHasAccessedEntries
constant stateDirUnreadable (line 45) | stateDirUnreadable
constant stateFileHasModKey (line 46) | stateFileHasModKey
constant stateFileNeedModKey (line 47) | stateFileNeedModKey
constant stateFileMissing (line 48) | stateFileMissing
constant stateFileUnusableModKey (line 49) | stateFileUnusableModKey
type privateWatchData (line 52) | type privateWatchData struct
type RealFSOptions (line 59) | type RealFSOptions struct
function RealFS (line 65) | func RealFS(options RealFSOptions) (FS, error) {
type realOpenedFile (line 228) | type realOpenedFile struct
method Len (line 233) | func (f *realOpenedFile) Len() int {
method Read (line 237) | func (f *realOpenedFile) Read(start int, end int) ([]byte, error) {
method Close (line 257) | func (f *realOpenedFile) Close() error {
FILE: vendor/github.com/evanw/esbuild/internal/fs/fs_zip.go
type zipFS (line 29) | type zipFS struct
method checkForZip (line 64) | func (fs *zipFS) checkForZip(path string, kind EntryKind) (*zipFile, s...
method ReadDirectory (line 185) | func (fs *zipFS) ReadDirectory(path string) (entries DirEntries, canon...
method ReadFile (line 229) | func (fs *zipFS) ReadFile(path string) (contents string, canonicalErro...
method OpenFile (line 276) | func (fs *zipFS) OpenFile(path string) (result OpenedFile, canonicalEr...
method ModKey (line 283) | func (fs *zipFS) ModKey(path string) (modKey ModKey, err error) {
method IsAbs (line 290) | func (fs *zipFS) IsAbs(path string) bool {
method Abs (line 294) | func (fs *zipFS) Abs(path string) (string, bool) {
method Dir (line 298) | func (fs *zipFS) Dir(path string) string {
method Base (line 305) | func (fs *zipFS) Base(path string) string {
method Ext (line 309) | func (fs *zipFS) Ext(path string) string {
method Join (line 313) | func (fs *zipFS) Join(parts ...string) string {
method Cwd (line 317) | func (fs *zipFS) Cwd() string {
method Rel (line 321) | func (fs *zipFS) Rel(base string, target string) (string, bool) {
method EvalSymlinks (line 325) | func (fs *zipFS) EvalSymlinks(path string) (string, bool) {
method kind (line 329) | func (fs *zipFS) kind(dir string, base string) (symlink string, kind E...
method WatchData (line 333) | func (fs *zipFS) WatchData() WatchData {
type zipFile (line 36) | type zipFile struct
type compressedDir (line 45) | type compressedDir struct
type compressedFile (line 54) | type compressedFile struct
function tryToReadZipArchive (line 102) | func tryToReadZipArchive(zipPath string, archive *zipFile) {
function ParseYarnPnPVirtualPath (line 337) | func ParseYarnPnPVirtualPath(path string) (string, string, bool) {
function mangleYarnPnPVirtualPath (line 400) | func mangleYarnPnPVirtualPath(path string) string {
FILE: vendor/github.com/evanw/esbuild/internal/fs/iswin_other.go
function CheckIfWindows (line 7) | func CheckIfWindows() bool {
FILE: vendor/github.com/evanw/esbuild/internal/fs/iswin_wasm.go
function CheckIfWindows (line 13) | func CheckIfWindows() bool {
FILE: vendor/github.com/evanw/esbuild/internal/fs/iswin_windows.go
function CheckIfWindows (line 6) | func CheckIfWindows() bool {
FILE: vendor/github.com/evanw/esbuild/internal/fs/modkey_other.go
function modKey (line 13) | func modKey(path string) (ModKey, error) {
FILE: vendor/github.com/evanw/esbuild/internal/fs/modkey_unix.go
function modKey (line 12) | func modKey(path string) (ModKey, error) {
FILE: vendor/github.com/evanw/esbuild/internal/graph/graph.go
type entryPointKind (line 27) | type entryPointKind
constant entryPointNone (line 30) | entryPointNone entryPointKind = iota
constant entryPointUserSpecified (line 31) | entryPointUserSpecified
constant entryPointDynamicImport (line 32) | entryPointDynamicImport
type LinkerFile (line 35) | type LinkerFile struct
method IsEntryPoint (line 65) | func (f *LinkerFile) IsEntryPoint() bool {
method IsUserSpecifiedEntryPoint (line 69) | func (f *LinkerFile) IsUserSpecifiedEntryPoint() bool {
method LineColumnTracker (line 75) | func (f *LinkerFile) LineColumnTracker() *logger.LineColumnTracker {
type EntryPoint (line 83) | type EntryPoint struct
type LinkerGraph (line 100) | type LinkerGraph struct
method EntryPoints (line 317) | func (g *LinkerGraph) EntryPoints() []EntryPoint {
method AddPartToFile (line 321) | func (g *LinkerGraph) AddPartToFile(sourceIndex uint32, part js_ast.Pa...
method GenerateNewSymbol (line 354) | func (g *LinkerGraph) GenerateNewSymbol(sourceIndex uint32, kind ast.S...
method GenerateSymbolImportAndUse (line 373) | func (g *LinkerGraph) GenerateSymbolImportAndUse(
method GenerateRuntimeSymbolImportAndUse (line 418) | func (g *LinkerGraph) GenerateRuntimeSymbolImportAndUse(
function CloneLinkerGraph (line 126) | func CloneLinkerGraph(
FILE: vendor/github.com/evanw/esbuild/internal/graph/input.go
type InputFile (line 20) | type InputFile struct
type OutputFile (line 37) | type OutputFile struct
type SideEffects (line 48) | type SideEffects struct
type SideEffectsKind (line 55) | type SideEffectsKind
constant HasSideEffects (line 59) | HasSideEffects SideEffectsKind = iota
constant NoSideEffects_PackageJSON (line 63) | NoSideEffects_PackageJSON
constant NoSideEffects_EmptyAST (line 67) | NoSideEffects_EmptyAST
constant NoSideEffects_PureData (line 71) | NoSideEffects_PureData
constant NoSideEffects_PureData_FromPlugin (line 76) | NoSideEffects_PureData_FromPlugin
type InputFileRepr (line 79) | type InputFileRepr interface
type JSRepr (line 83) | type JSRepr struct
method ImportRecords (line 93) | func (repr *JSRepr) ImportRecords() *[]ast.ImportRecord {
method TopLevelSymbolToParts (line 97) | func (repr *JSRepr) TopLevelSymbolToParts(ref ast.Ref) []uint32 {
type CSSRepr (line 107) | type CSSRepr struct
method ImportRecords (line 116) | func (repr *CSSRepr) ImportRecords() *[]ast.ImportRecord {
type CopyRepr (line 120) | type CopyRepr struct
method ImportRecords (line 125) | func (repr *CopyRepr) ImportRecords() *[]ast.ImportRecord {
FILE: vendor/github.com/evanw/esbuild/internal/graph/meta.go
type WrapKind (line 13) | type WrapKind
constant WrapNone (line 16) | WrapNone WrapKind = iota
constant WrapCJS (line 28) | WrapCJS
constant WrapESM (line 44) | WrapESM
type JSReprMeta (line 52) | type JSReprMeta struct
type ImportData (line 161) | type ImportData struct
type ExportData (line 175) | type ExportData struct
FILE: vendor/github.com/evanw/esbuild/internal/helpers/bitset.go
type BitSet (line 5) | type BitSet struct
method HasBit (line 13) | func (bs BitSet) HasBit(bit uint) bool {
method SetBit (line 17) | func (bs BitSet) SetBit(bit uint) {
method Equals (line 21) | func (bs BitSet) Equals(other BitSet) bool {
method String (line 25) | func (bs BitSet) String() string {
function NewBitSet (line 9) | func NewBitSet(bitCount uint) BitSet {
FILE: vendor/github.com/evanw/esbuild/internal/helpers/dataurl.go
function EncodeStringAsShortestDataURL (line 11) | func EncodeStringAsShortestDataURL(mimeType string, text string) string {
function EncodeStringAsPercentEscapedDataURL (line 21) | func EncodeStringAsPercentEscapedDataURL(mimeType string, text string) (...
function isHex (line 70) | func isHex(c byte) bool {
FILE: vendor/github.com/evanw/esbuild/internal/helpers/float.go
type F64 (line 28) | type F64 struct
method Value (line 36) | func (a F64) Value() float64 {
method IsNaN (line 40) | func (a F64) IsNaN() bool {
method Neg (line 44) | func (a F64) Neg() F64 {
method Abs (line 48) | func (a F64) Abs() F64 {
method Sin (line 52) | func (a F64) Sin() F64 {
method Cos (line 56) | func (a F64) Cos() F64 {
method Log2 (line 60) | func (a F64) Log2() F64 {
method Round (line 64) | func (a F64) Round() F64 {
method Floor (line 68) | func (a F64) Floor() F64 {
method Ceil (line 72) | func (a F64) Ceil() F64 {
method Squared (line 76) | func (a F64) Squared() F64 {
method Cubed (line 80) | func (a F64) Cubed() F64 {
method Sqrt (line 84) | func (a F64) Sqrt() F64 {
method Cbrt (line 88) | func (a F64) Cbrt() F64 {
method Add (line 92) | func (a F64) Add(b F64) F64 {
method AddConst (line 96) | func (a F64) AddConst(b float64) F64 {
method Sub (line 100) | func (a F64) Sub(b F64) F64 {
method SubConst (line 104) | func (a F64) SubConst(b float64) F64 {
method Mul (line 108) | func (a F64) Mul(b F64) F64 {
method MulConst (line 112) | func (a F64) MulConst(b float64) F64 {
method Div (line 116) | func (a F64) Div(b F64) F64 {
method DivConst (line 120) | func (a F64) DivConst(b float64) F64 {
method Pow (line 124) | func (a F64) Pow(b F64) F64 {
method PowConst (line 128) | func (a F64) PowConst(b float64) F64 {
method Atan2 (line 132) | func (a F64) Atan2(b F64) F64 {
method WithSignFrom (line 136) | func (a F64) WithSignFrom(b F64) F64 {
function NewF64 (line 32) | func NewF64(a float64) F64 {
function Min2 (line 140) | func Min2(a F64, b F64) F64 {
function Max2 (line 144) | func Max2(a F64, b F64) F64 {
function Min3 (line 148) | func Min3(a F64, b F64, c F64) F64 {
function Max3 (line 152) | func Max3(a F64, b F64, c F64) F64 {
function Lerp (line 156) | func Lerp(a F64, b F64, t F64) F64 {
FILE: vendor/github.com/evanw/esbuild/internal/helpers/glob.go
type GlobWildcard (line 5) | type GlobWildcard
constant GlobNone (line 8) | GlobNone GlobWildcard = iota
constant GlobAllExceptSlash (line 9) | GlobAllExceptSlash
constant GlobAllIncludingSlash (line 10) | GlobAllIncludingSlash
type GlobPart (line 13) | type GlobPart struct
function ParseGlobPattern (line 21) | func ParseGlobPattern(text string) (pattern []GlobPart) {
function GlobPatternToString (line 46) | func GlobPatternToString(pattern []GlobPart) string {
FILE: vendor/github.com/evanw/esbuild/internal/helpers/hash.go
function HashCombine (line 4) | func HashCombine(seed uint32, hash uint32) uint32 {
function HashCombineString (line 8) | func HashCombineString(seed uint32, text string) uint32 {
FILE: vendor/github.com/evanw/esbuild/internal/helpers/joiner.go
type Joiner (line 12) | type Joiner struct
method AddString (line 29) | func (j *Joiner) AddString(data string) {
method AddBytes (line 37) | func (j *Joiner) AddBytes(data []byte) {
method LastByte (line 45) | func (j *Joiner) LastByte() byte {
method Length (line 49) | func (j *Joiner) Length() uint32 {
method EnsureNewlineAtEnd (line 53) | func (j *Joiner) EnsureNewlineAtEnd() {
method Done (line 59) | func (j *Joiner) Done() []byte {
method Contains (line 74) | func (j *Joiner) Contains(s string, b []byte) bool {
type joinerString (line 19) | type joinerString struct
type joinerBytes (line 24) | type joinerBytes struct
FILE: vendor/github.com/evanw/esbuild/internal/helpers/mime.go
function MimeTypeByExtension (line 43) | func MimeTypeByExtension(ext string) string {
FILE: vendor/github.com/evanw/esbuild/internal/helpers/path.go
function IsInsideNodeModules (line 10) | func IsInsideNodeModules(path string) bool {
function IsFileURL (line 29) | func IsFileURL(fileURL *url.URL) bool {
function FileURLFromFilePath (line 33) | func FileURLFromFilePath(filePath string) *url.URL {
function FilePathFromFileURL (line 48) | func FilePathFromFileURL(fs fs.FS, fileURL *url.URL) string {
FILE: vendor/github.com/evanw/esbuild/internal/helpers/quote.go
constant hexChars (line 5) | hexChars = "0123456789ABCDEF"
constant firstASCII (line 6) | firstASCII = 0x20
constant lastASCII (line 7) | lastASCII = 0x7E
constant firstHighSurrogate (line 8) | firstHighSurrogate = 0xD800
constant firstLowSurrogate (line 9) | firstLowSurrogate = 0xDC00
constant lastLowSurrogate (line 10) | lastLowSurrogate = 0xDFFF
function canPrintWithoutEscape (line 12) | func canPrintWithoutEscape(c rune, asciiOnly bool) bool {
function QuoteSingle (line 20) | func QuoteSingle(text string, asciiOnly bool) []byte {
function QuoteForJSON (line 24) | func QuoteForJSON(text string, asciiOnly bool) []byte {
function internalQuote (line 28) | func internalQuote(text string, asciiOnly bool, quoteChar byte) []byte {
FILE: vendor/github.com/evanw/esbuild/internal/helpers/serializer.go
type Serializer (line 6) | type Serializer struct
method Enter (line 18) | func (s *Serializer) Enter(i int) {
method Leave (line 24) | func (s *Serializer) Leave(i int) {
function MakeSerializer (line 10) | func MakeSerializer(count int) Serializer {
FILE: vendor/github.com/evanw/esbuild/internal/helpers/stack.go
function PrettyPrintedStack (line 8) | func PrettyPrintedStack() string {
FILE: vendor/github.com/evanw/esbuild/internal/helpers/strings.go
function StringArraysEqual (line 8) | func StringArraysEqual(a []string, b []string) bool {
function StringArrayArraysEqual (line 20) | func StringArrayArraysEqual(a [][]string, b [][]string) bool {
function StringArrayToQuotedCommaSeparatedString (line 32) | func StringArrayToQuotedCommaSeparatedString(a []string) string {
FILE: vendor/github.com/evanw/esbuild/internal/helpers/typos.go
type TypoDetector (line 5) | type TypoDetector struct
method MaybeCorrectTypo (line 24) | func (detector TypoDetector) MaybeCorrectTypo(typo string) (string, bo...
function MakeTypoDetector (line 9) | func MakeTypoDetector(valid []string) TypoDetector {
FILE: vendor/github.com/evanw/esbuild/internal/helpers/waitgroup.go
type ThreadSafeWaitGroup (line 12) | type ThreadSafeWaitGroup struct
method Add (line 23) | func (wg *ThreadSafeWaitGroup) Add(delta int32) {
method Done (line 31) | func (wg *ThreadSafeWaitGroup) Done() {
method Wait (line 35) | func (wg *ThreadSafeWaitGroup) Wait() {
function MakeThreadSafeWaitGroup (line 17) | func MakeThreadSafeWaitGroup() *ThreadSafeWaitGroup {
FILE: vendor/github.com/evanw/esbuild/internal/js_ast/js_ast.go
type L (line 25) | type L
constant LLowest (line 29) | LLowest L = iota
constant LComma (line 30) | LComma
constant LSpread (line 31) | LSpread
constant LYield (line 32) | LYield
constant LAssign (line 33) | LAssign
constant LConditional (line 34) | LConditional
constant LNullishCoalescing (line 35) | LNullishCoalescing
constant LLogicalOr (line 36) | LLogicalOr
constant LLogicalAnd (line 37) | LLogicalAnd
constant LBitwiseOr (line 38) | LBitwiseOr
constant LBitwiseXor (line 39) | LBitwiseXor
constant LBitwiseAnd (line 40) | LBitwiseAnd
constant LEquals (line 41) | LEquals
constant LCompare (line 42) | LCompare
constant LShift (line 43) | LShift
constant LAdd (line 44) | LAdd
constant LMultiply (line 45) | LMultiply
constant LExponentiation (line 46) | LExponentiation
constant LPrefix (line 47) | LPrefix
constant LPostfix (line 48) | LPostfix
constant LNew (line 49) | LNew
constant LCall (line 50) | LCall
constant LMember (line 51) | LMember
type OpCode (line 54) | type OpCode
method IsPrefix (line 56) | func (op OpCode) IsPrefix() bool {
method UnaryAssignTarget (line 60) | func (op OpCode) UnaryAssignTarget() AssignTarget {
method IsLeftAssociative (line 67) | func (op OpCode) IsLeftAssociative() bool {
method IsRightAssociative (line 71) | func (op OpCode) IsRightAssociative() bool {
method BinaryAssignTarget (line 75) | func (op OpCode) BinaryAssignTarget() AssignTarget {
method IsShortCircuit (line 85) | func (op OpCode) IsShortCircuit() bool {
type AssignTarget (line 95) | type AssignTarget
constant AssignTargetNone (line 98) | AssignTargetNone AssignTarget = iota
constant AssignTargetReplace (line 99) | AssignTargetReplace
constant AssignTargetUpdate (line 100) | AssignTargetUpdate
constant UnOpPos (line 106) | UnOpPos OpCode = iota
constant UnOpNeg (line 107) | UnOpNeg
constant UnOpCpl (line 108) | UnOpCpl
constant UnOpNot (line 109) | UnOpNot
constant UnOpVoid (line 110) | UnOpVoid
constant UnOpTypeof (line 111) | UnOpTypeof
constant UnOpDelete (line 112) | UnOpDelete
constant UnOpPreDec (line 115) | UnOpPreDec
constant UnOpPreInc (line 116) | UnOpPreInc
constant UnOpPostDec (line 119) | UnOpPostDec
constant UnOpPostInc (line 120) | UnOpPostInc
constant BinOpAdd (line 123) | BinOpAdd
constant BinOpSub (line 124) | BinOpSub
constant BinOpMul (line 125) | BinOpMul
constant BinOpDiv (line 126) | BinOpDiv
constant BinOpRem (line 127) | BinOpRem
constant BinOpPow (line 128) | BinOpPow
constant BinOpLt (line 129) | BinOpLt
constant BinOpLe (line 130) | BinOpLe
constant BinOpGt (line 131) | BinOpGt
constant BinOpGe (line 132) | BinOpGe
constant BinOpIn (line 133) | BinOpIn
constant BinOpInstanceof (line 134) | BinOpInstanceof
constant BinOpShl (line 135) | BinOpShl
constant BinOpShr (line 136) | BinOpShr
constant BinOpUShr (line 137) | BinOpUShr
constant BinOpLooseEq (line 138) | BinOpLooseEq
constant BinOpLooseNe (line 139) | BinOpLooseNe
constant BinOpStrictEq (line 140) | BinOpStrictEq
constant BinOpStrictNe (line 141) | BinOpStrictNe
constant BinOpNullishCoalescing (line 142) | BinOpNullishCoalescing
constant BinOpLogicalOr (line 143) | BinOpLogicalOr
constant BinOpLogicalAnd (line 144) | BinOpLogicalAnd
constant BinOpBitwiseOr (line 145) | BinOpBitwiseOr
constant BinOpBitwiseAnd (line 146) | BinOpBitwiseAnd
constant BinOpBitwiseXor (line 147) | BinOpBitwiseXor
constant BinOpComma (line 150) | BinOpComma
constant BinOpAssign (line 153) | BinOpAssign
constant BinOpAddAssign (line 154) | BinOpAddAssign
constant BinOpSubAssign (line 155) | BinOpSubAssign
constant BinOpMulAssign (line 156) | BinOpMulAssign
constant BinOpDivAssign (line 157) | BinOpDivAssign
constant BinOpRemAssign (line 158) | BinOpRemAssign
constant BinOpPowAssign (line 159) | BinOpPowAssign
constant BinOpShlAssign (line 160) | BinOpShlAssign
constant BinOpShrAssign (line 161) | BinOpShrAssign
constant BinOpUShrAssign (line 162) | BinOpUShrAssign
constant BinOpBitwiseOrAssign (line 163) | BinOpBitwiseOrAssign
constant BinOpBitwiseAndAssign (line 164) | BinOpBitwiseAndAssign
constant BinOpBitwiseXorAssign (line 165) | BinOpBitwiseXorAssign
constant BinOpNullishCoalescingAssign (line 166) | BinOpNullishCoalescingAssign
constant BinOpLogicalOrAssign (line 167) | BinOpLogicalOrAssign
constant BinOpLogicalAndAssign (line 168) | BinOpLogicalAndAssign
type OpTableEntry (line 171) | type OpTableEntry struct
type Decorator (line 244) | type Decorator struct
type PropertyKind (line 250) | type PropertyKind
method IsMethodDefinition (line 275) | func (kind PropertyKind) IsMethodDefinition() bool {
constant PropertyField (line 253) | PropertyField PropertyKind = iota
constant PropertyMethod (line 254) | PropertyMethod
constant PropertyGetter (line 255) | PropertyGetter
constant PropertySetter (line 256) | PropertySetter
constant PropertyAutoAccessor (line 257) | PropertyAutoAccessor
constant PropertySpread (line 258) | PropertySpread
constant PropertyDeclareOrAbstract (line 259) | PropertyDeclareOrAbstract
constant PropertyClassStaticBlock (line 260) | PropertyClassStaticBlock
type ClassStaticBlock (line 279) | type ClassStaticBlock struct
type PropertyFlags (line 284) | type PropertyFlags
method Has (line 293) | func (flags PropertyFlags) Has(flag PropertyFlags) bool {
constant PropertyIsComputed (line 287) | PropertyIsComputed PropertyFlags = 1 << iota
constant PropertyIsStatic (line 288) | PropertyIsStatic
constant PropertyWasShorthand (line 289) | PropertyWasShorthand
constant PropertyPreferQuotedKey (line 290) | PropertyPreferQuotedKey
type Property (line 297) | type Property struct
type PropertyBinding (line 324) | type PropertyBinding struct
type Arg (line 335) | type Arg struct
type Fn (line 344) | type Fn struct
type FnBody (line 363) | type FnBody struct
type Class (line 368) | type Class struct
type ArrayBinding (line 409) | type ArrayBinding struct
type Binding (line 415) | type Binding struct
type B (line 422) | type B interface
type BMissing (line 429) | type BMissing struct
method isBinding (line 424) | func (*BMissing) isBinding() {}
type BIdentifier (line 431) | type BIdentifier struct
method isBinding (line 425) | func (*BIdentifier) isBinding() {}
type BArray (line 433) | type BArray struct
method isBinding (line 426) | func (*BArray) isBinding() {}
type BObject (line 440) | type BObject struct
method isBinding (line 427) | func (*BObject) isBinding() {}
type Expr (line 446) | type Expr struct
type E (line 453) | type E interface
type EArray (line 496) | type EArray struct
method isExpr (line 455) | func (*EArray) isExpr() {}
type EUnary (line 504) | type EUnary struct
method isExpr (line 456) | func (*EUnary) isExpr() {}
type EBinary (line 542) | type EBinary struct
method isExpr (line 457) | func (*EBinary) isExpr() {}
type EBoolean (line 548) | type EBoolean struct
method isExpr (line 458) | func (*EBoolean) isExpr() {}
type EMissing (line 550) | type EMissing struct
method isExpr (line 478) | func (*EMissing) isExpr() {}
type ESuper (line 552) | type ESuper struct
method isExpr (line 459) | func (*ESuper) isExpr() {}
type ENull (line 554) | type ENull struct
method isExpr (line 460) | func (*ENull) isExpr() {}
type EUndefined (line 556) | type EUndefined struct
method isExpr (line 461) | func (*EUndefined) isExpr() {}
type EThis (line 558) | type EThis struct
method isExpr (line 462) | func (*EThis) isExpr() {}
type ENewTarget (line 560) | type ENewTarget struct
method isExpr (line 464) | func (*ENewTarget) isExpr() {}
type EImportMeta (line 564) | type EImportMeta struct
method isExpr (line 465) | func (*EImportMeta) isExpr() {}
type ENew (line 580) | type ENew struct
method isExpr (line 463) | func (*ENew) isExpr() {}
type CallKind (line 592) | type CallKind
constant NormalCall (line 595) | NormalCall CallKind = iota
constant DirectEval (line 596) | DirectEval
constant TargetWasOriginallyPropertyAccess (line 597) | TargetWasOriginallyPropertyAccess
type OptionalChain (line 600) | type OptionalChain
constant OptionalChainNone (line 604) | OptionalChainNone OptionalChain = iota
constant OptionalChainStart (line 607) | OptionalChainStart
constant OptionalChainContinue (line 611) | OptionalChainContinue
type ECall (line 614) | type ECall struct
method isExpr (line 466) | func (*ECall) isExpr() {}
method HasSameFlagsAs (line 633) | func (a *ECall) HasSameFlagsAs(b *ECall) bool {
type EDot (line 639) | type EDot struct
method isExpr (line 467) | func (*EDot) isExpr() {}
method HasSameFlagsAs (line 659) | func (a *EDot) HasSameFlagsAs(b *EDot) bool {
type EIndex (line 666) | type EIndex struct
method isExpr (line 468) | func (*EIndex) isExpr() {}
method HasSameFlagsAs (line 686) | func (a *EIndex) HasSameFlagsAs(b *EIndex) bool {
type EArrow (line 693) | type EArrow struct
method isExpr (line 469) | func (*EArrow) isExpr() {}
type EFunction (line 708) | type EFunction struct
method isExpr (line 470) | func (*EFunction) isExpr() {}
type EClass (line 715) | type EClass struct
method isExpr (line 471) | func (*EClass) isExpr() {}
type EIdentifier (line 717) | type EIdentifier struct
method isExpr (line 472) | func (*EIdentifier) isExpr() {}
type EImportIdentifier (line 756) | type EImportIdentifier struct
method isExpr (line 473) | func (*EImportIdentifier) isExpr() {}
type EPrivateIdentifier (line 769) | type EPrivateIdentifier struct
method isExpr (line 474) | func (*EPrivateIdentifier) isExpr() {}
type ENameOfSymbol (line 775) | type ENameOfSymbol struct
method isExpr (line 475) | func (*ENameOfSymbol) isExpr() {}
type EJSXElement (line 780) | type EJSXElement struct
method isExpr (line 476) | func (*EJSXElement) isExpr() {}
type EJSXText (line 813) | type EJSXText struct
method isExpr (line 477) | func (*EJSXText) isExpr() {}
type ENumber (line 817) | type ENumber struct
method isExpr (line 479) | func (*ENumber) isExpr() {}
type EBigInt (line 819) | type EBigInt struct
method isExpr (line 480) | func (*EBigInt) isExpr() {}
type EObject (line 821) | type EObject struct
method isExpr (line 481) | func (*EObject) isExpr() {}
type ESpread (line 829) | type ESpread struct
method isExpr (line 482) | func (*ESpread) isExpr() {}
type EString (line 833) | type EString struct
method isExpr (line 483) | func (*EString) isExpr() {}
type TemplatePart (line 841) | type TemplatePart struct
type ETemplate (line 848) | type ETemplate struct
method isExpr (line 484) | func (*ETemplate) isExpr() {}
type ERegExp (line 872) | type ERegExp struct
method isExpr (line 485) | func (*ERegExp) isExpr() {}
type EInlinedEnum (line 874) | type EInlinedEnum struct
method isExpr (line 486) | func (*EInlinedEnum) isExpr() {}
type AnnotationFlags (line 879) | type AnnotationFlags
method Has (line 888) | func (flags AnnotationFlags) Has(flag AnnotationFlags) bool {
constant CanBeRemovedIfUnusedFlag (line 885) | CanBeRemovedIfUnusedFlag AnnotationFlags = 1 << iota
type EAnnotation (line 892) | type EAnnotation struct
method isExpr (line 487) | func (*EAnnotation) isExpr() {}
type EAwait (line 897) | type EAwait struct
method isExpr (line 488) | func (*EAwait) isExpr() {}
type EYield (line 901) | type EYield struct
method isExpr (line 489) | func (*EYield) isExpr() {}
type EIf (line 906) | type EIf struct
method isExpr (line 490) | func (*EIf) isExpr() {}
type ERequireString (line 912) | type ERequireString struct
method isExpr (line 491) | func (*ERequireString) isExpr() {}
type ERequireResolveString (line 917) | type ERequireResolveString struct
method isExpr (line 492) | func (*ERequireResolveString) isExpr() {}
type EImportString (line 922) | type EImportString struct
method isExpr (line 493) | func (*EImportString) isExpr() {}
type EImportCall (line 927) | type EImportCall struct
method isExpr (line 494) | func (*EImportCall) isExpr() {}
type Stmt (line 934) | type Stmt struct
type S (line 941) | type S interface
type SBlock (line 977) | type SBlock struct
method isStmt (line 943) | func (*SBlock) isStmt() {}
type SEmpty (line 982) | type SEmpty struct
method isStmt (line 947) | func (*SEmpty) isStmt() {}
type STypeScript (line 985) | type STypeScript struct
method isStmt (line 948) | func (*STypeScript) isStmt() {}
type SComment (line 989) | type SComment struct
method isStmt (line 944) | func (*SComment) isStmt() {}
type SDebugger (line 994) | type SDebugger struct
method isStmt (line 945) | func (*SDebugger) isStmt() {}
type SDirective (line 996) | type SDirective struct
method isStmt (line 946) | func (*SDirective) isStmt() {}
type SExportClause (line 1001) | type SExportClause struct
method isStmt (line 949) | func (*SExportClause) isStmt() {}
type SExportFrom (line 1006) | type SExportFrom struct
method isStmt (line 950) | func (*SExportFrom) isStmt() {}
type SExportDefault (line 1013) | type SExportDefault struct
method isStmt (line 951) | func (*SExportDefault) isStmt() {}
type ExportStarAlias (line 1018) | type ExportStarAlias struct
type SExportStar (line 1027) | type SExportStar struct
method isStmt (line 952) | func (*SExportStar) isStmt() {}
type SExportEquals (line 1034) | type SExportEquals struct
method isStmt (line 953) | func (*SExportEquals) isStmt() {}
type SLazyExport (line 1040) | type SLazyExport struct
method isStmt (line 954) | func (*SLazyExport) isStmt() {}
type SExpr (line 1044) | type SExpr struct
method isStmt (line 955) | func (*SExpr) isStmt() {}
type EnumValue (line 1056) | type EnumValue struct
type SEnum (line 1063) | type SEnum struct
method isStmt (line 956) | func (*SEnum) isStmt() {}
type SNamespace (line 1070) | type SNamespace struct
method isStmt (line 957) | func (*SNamespace) isStmt() {}
type SFunction (line 1077) | type SFunction struct
method isStmt (line 958) | func (*SFunction) isStmt() {}
type SClass (line 1082) | type SClass struct
method isStmt (line 959) | func (*SClass) isStmt() {}
type SLabel (line 1087) | type SLabel struct
method isStmt (line 960) | func (*SLabel) isStmt() {}
type SIf (line 1093) | type SIf struct
method isStmt (line 961) | func (*SIf) isStmt() {}
type SFor (line 1101) | type SFor struct
method isStmt (line 962) | func (*SFor) isStmt() {}
type SForIn (line 1110) | type SForIn struct
method isStmt (line 963) | func (*SForIn) isStmt() {}
type SForOf (line 1117) | type SForOf struct
method isStmt (line 964) | func (*SForOf) isStmt() {}
type SDoWhile (line 1125) | type SDoWhile struct
method isStmt (line 965) | func (*SDoWhile) isStmt() {}
type SWhile (line 1130) | type SWhile struct
method isStmt (line 966) | func (*SWhile) isStmt() {}
type SWith (line 1136) | type SWith struct
method isStmt (line 967) | func (*SWith) isStmt() {}
type Catch (line 1143) | type Catch struct
type Finally (line 1150) | type Finally struct
type STry (line 1155) | type STry struct
method isStmt (line 968) | func (*STry) isStmt() {}
type Case (line 1162) | type Case struct
type SSwitch (line 1168) | type SSwitch struct
method isStmt (line 969) | func (*SSwitch) isStmt() {}
type SImport (line 1185) | type SImport struct
method isStmt (line 970) | func (*SImport) isStmt() {}
type SReturn (line 1202) | type SReturn struct
method isStmt (line 971) | func (*SReturn) isStmt() {}
type SThrow (line 1206) | type SThrow struct
method isStmt (line 972) | func (*SThrow) isStmt() {}
type LocalKind (line 1210) | type LocalKind
method IsUsing (line 1220) | func (kind LocalKind) IsUsing() bool {
constant LocalVar (line 1213) | LocalVar LocalKind = iota
constant LocalLet (line 1214) | LocalLet
constant LocalConst (line 1215) | LocalConst
constant LocalUsing (line 1216) | LocalUsing
constant LocalAwaitUsing (line 1217) | LocalAwaitUsing
type SLocal (line 1224) | type SLocal struct
method isStmt (line 973) | func (*SLocal) isStmt() {}
type SBreak (line 1234) | type SBreak struct
method isStmt (line 974) | func (*SBreak) isStmt() {}
type SContinue (line 1238) | type SContinue struct
method isStmt (line 975) | func (*SContinue) isStmt() {}
type ClauseItem (line 1242) | type ClauseItem struct
type Decl (line 1259) | type Decl struct
type ScopeKind (line 1264) | type ScopeKind
method StopsHoisting (line 1281) | func (kind ScopeKind) StopsHoisting() bool {
constant ScopeBlock (line 1267) | ScopeBlock ScopeKind = iota
constant ScopeWith (line 1268) | ScopeWith
constant ScopeLabel (line 1269) | ScopeLabel
constant ScopeClassName (line 1270) | ScopeClassName
constant ScopeClassBody (line 1271) | ScopeClassBody
constant ScopeCatchBinding (line 1272) | ScopeCatchBinding
constant ScopeEntry (line 1275) | ScopeEntry
constant ScopeFunctionArgs (line 1276) | ScopeFunctionArgs
constant ScopeFunctionBody (line 1277) | ScopeFunctionBody
constant ScopeClassStaticInit (line 1278) | ScopeClassStaticInit
type ScopeMember (line 1285) | type ScopeMember struct
type Scope (line 1290) | type Scope struct
method RecursiveSetStrictMode (line 1335) | func (s *Scope) RecursiveSetStrictMode(kind StrictModeKind) {
type StrictModeKind (line 1324) | type StrictModeKind
constant SloppyMode (line 1327) | SloppyMode StrictModeKind = iota
constant ExplicitStrictMode (line 1328) | ExplicitStrictMode
constant ImplicitStrictModeClass (line 1329) | ImplicitStrictModeClass
constant ImplicitStrictModeESM (line 1330) | ImplicitStrictModeESM
constant ImplicitStrictModeTSAlwaysStrict (line 1331) | ImplicitStrictModeTSAlwaysStrict
constant ImplicitStrictModeJSXAutomaticRuntime (line 1332) | ImplicitStrictModeJSXAutomaticRuntime
type TSNamespaceScope (line 1375) | type TSNamespaceScope struct
type TSNamespaceMembers (line 1446) | type TSNamespaceMembers
type TSNamespaceMember (line 1448) | type TSNamespaceMember struct
type TSNamespaceMemberData (line 1454) | type TSNamespaceMemberData interface
type TSNamespaceMemberProperty (line 1464) | type TSNamespaceMemberProperty struct
method isTSNamespaceMember (line 1458) | func (TSNamespaceMemberProperty) isTSNamespaceMember() {}
type TSNamespaceMemberNamespace (line 1467) | type TSNamespaceMemberNamespace struct
method isTSNamespaceMember (line 1459) | func (TSNamespaceMemberNamespace) isTSNamespaceMember() {}
type TSNamespaceMemberEnumNumber (line 1472) | type TSNamespaceMemberEnumNumber struct
method isTSNamespaceMember (line 1460) | func (TSNamespaceMemberEnumNumber) isTSNamespaceMember() {}
type TSNamespaceMemberEnumString (line 1477) | type TSNamespaceMemberEnumString struct
method isTSNamespaceMember (line 1461) | func (TSNamespaceMemberEnumString) isTSNamespaceMember() {}
type ExportsKind (line 1481) | type ExportsKind
method IsDynamic (line 1511) | func (kind ExportsKind) IsDynamic() bool {
constant ExportsNone (line 1486) | ExportsNone ExportsKind = iota
constant ExportsCommonJS (line 1491) | ExportsCommonJS
constant ExportsESM (line 1497) | ExportsESM
constant ExportsESMWithDynamicFallback (line 1508) | ExportsESMWithDynamicFallback
type ModuleType (line 1515) | type ModuleType
method IsCommonJS (line 1531) | func (mt ModuleType) IsCommonJS() bool {
method IsESM (line 1535) | func (mt ModuleType) IsESM() bool {
constant ModuleUnknown (line 1518) | ModuleUnknown ModuleType = iota
constant ModuleCommonJS_CJS (line 1521) | ModuleCommonJS_CJS
constant ModuleCommonJS_CTS (line 1522) | ModuleCommonJS_CTS
constant ModuleCommonJS_PackageJSON (line 1523) | ModuleCommonJS_PackageJSON
constant ModuleESM_MJS (line 1526) | ModuleESM_MJS
constant ModuleESM_MTS (line 1527) | ModuleESM_MTS
constant ModuleESM_PackageJSON (line 1528) | ModuleESM_PackageJSON
type ModuleTypeData (line 1539) | type ModuleTypeData struct
constant NSExportPartIndex (line 1550) | NSExportPartIndex = uint32(0)
type AST (line 1552) | type AST struct
type TSEnumValue (line 1626) | type TSEnumValue struct
type ConstValueKind (line 1631) | type ConstValueKind
constant ConstValueNone (line 1634) | ConstValueNone ConstValueKind = iota
constant ConstValueNull (line 1635) | ConstValueNull
constant ConstValueUndefined (line 1636) | ConstValueUndefined
constant ConstValueTrue (line 1637) | ConstValueTrue
constant ConstValueFalse (line 1638) | ConstValueFalse
constant ConstValueNumber (line 1639) | ConstValueNumber
constant ConstValueString (line 1640) | ConstValueString
type ConstValue (line 1643) | type ConstValue struct
function ExprToConstValue (line 1649) | func ExprToConstValue(expr Expr) ConstValue {
function ConstValueToExpr (line 1687) | func ConstValueToExpr(loc logger.Loc, value ConstValue) Expr {
type NamedImport (line 1711) | type NamedImport struct
type NamedExport (line 1732) | type NamedExport struct
type Part (line 1742) | type Part struct
type Dependency (line 1788) | type Dependency struct
type DeclaredSymbol (line 1793) | type DeclaredSymbol struct
type SymbolUse (line 1798) | type SymbolUse struct
type SymbolCallUse (line 1802) | type SymbolCallUse struct
function GenerateNonUniqueNameFromPath (line 1818) | func GenerateNonUniqueNameFromPath(path string) string {
function EnsureValidIdentifier (line 1836) | func EnsureValidIdentifier(base string) string {
FILE: vendor/github.com/evanw/esbuild/internal/js_ast/js_ast_helpers.go
type HelperContext (line 14) | type HelperContext struct
method SimplifyUnusedExpr (line 534) | func (ctx HelperContext) SimplifyUnusedExpr(expr Expr, unsupportedFeat...
method SimplifyBooleanExpr (line 2096) | func (ctx HelperContext) SimplifyBooleanExpr(expr Expr) Expr {
method StmtsCanBeRemovedIfUnused (line 2200) | func (ctx HelperContext) StmtsCanBeRemovedIfUnused(stmts []Stmt, flags...
method ClassCanBeRemovedIfUnused (line 2335) | func (ctx HelperContext) ClassCanBeRemovedIfUnused(class Class) bool {
method ExprCanBeRemovedIfUnused (line 2432) | func (ctx HelperContext) ExprCanBeRemovedIfUnused(expr Expr) bool {
method isSideEffectFreeUnboundIdentifierRef (line 2637) | func (ctx HelperContext) isSideEffectFreeUnboundIdentifierRef(value Ex...
method MangleIfExpr (line 2788) | func (ctx HelperContext) MangleIfExpr(loc logger.Loc, e *EIf, unsuppor...
function MakeHelperContext (line 18) | func MakeHelperContext(isUnbound func(ast.Ref) bool) HelperContext {
function IsPropertyAccess (line 26) | func IsPropertyAccess(expr Expr) bool {
function IsOptionalChain (line 34) | func IsOptionalChain(value Expr) bool {
function Assign (line 46) | func Assign(a Expr, b Expr) Expr {
function AssignStmt (line 50) | func AssignStmt(a Expr, b Expr) Stmt {
function Not (line 58) | func Not(expr Expr) Expr {
function MaybeSimplifyNot (line 73) | func MaybeSimplifyNot(expr Expr) (Expr, bool) {
function MaybeSimplifyEqualityComparison (line 141) | func MaybeSimplifyEqualityComparison(loc logger.Loc, e *EBinary, unsuppo...
function IsSymbolInstance (line 187) | func IsSymbolInstance(data E) bool {
function IsPrimitiveLiteral (line 198) | func IsPrimitiveLiteral(data E) bool {
type PrimitiveType (line 212) | type PrimitiveType
constant PrimitiveUnknown (line 215) | PrimitiveUnknown PrimitiveType = iota
constant PrimitiveMixed (line 216) | PrimitiveMixed
constant PrimitiveNull (line 217) | PrimitiveNull
constant PrimitiveUndefined (line 218) | PrimitiveUndefined
constant PrimitiveBoolean (line 219) | PrimitiveBoolean
constant PrimitiveNumber (line 220) | PrimitiveNumber
constant PrimitiveString (line 221) | PrimitiveString
constant PrimitiveBigInt (line 222) | PrimitiveBigInt
function MergedKnownPrimitiveTypes (line 226) | func MergedKnownPrimitiveTypes(a Expr, b Expr) PrimitiveType {
function KnownPrimitiveType (line 245) | func KnownPrimitiveType(expr E) PrimitiveType {
function CanChangeStrictToLoose (line 376) | func CanChangeStrictToLoose(a Expr, b Expr) bool {
function TypeofWithoutSideEffects (line 385) | func TypeofWithoutSideEffects(data E) (string, bool) {
function JoinWithLeftAssociativeOp (line 429) | func JoinWithLeftAssociativeOp(op OpCode, a Expr, b Expr) Expr {
function JoinWithComma (line 454) | func JoinWithComma(a Expr, b Expr) Expr {
function JoinAllWithComma (line 464) | func JoinAllWithComma(all []Expr) (result Expr) {
function ConvertBindingToExpr (line 471) | func ConvertBindingToExpr(binding Binding, wrapIdentifier func(logger.Lo...
function simplifyUnusedStringAdditionChain (line 893) | func simplifyUnusedStringAdditionChain(expr Expr) (Expr, bool) {
function ToInt32 (line 931) | func ToInt32(f float64) int32 {
function ToUint32 (line 951) | func ToUint32(f float64) uint32 {
function isInt32OrUint32 (line 956) | func isInt32OrUint32(data E) bool {
function ToNumberWithoutSideEffects (line 973) | func ToNumberWithoutSideEffects(data E) (float64, bool) {
function ToStringWithoutSideEffects (line 1024) | func ToStringWithoutSideEffects(data E) (string, bool) {
function extractNumericValue (line 1069) | func extractNumericValue(data E) (float64, bool) {
function extractNumericValues (line 1084) | func extractNumericValues(left Expr, right Expr) (float64, float64, bool) {
function extractStringValue (line 1093) | func extractStringValue(data E) ([]uint16, bool) {
function extractStringValues (line 1108) | func extractStringValues(left Expr, right Expr) ([]uint16, []uint16, boo...
function stringCompareUCS2 (line 1117) | func stringCompareUCS2(a []uint16, b []uint16) int {
function approximatePrintedIntCharCount (line 1132) | func approximatePrintedIntCharCount(intValue float64) int {
function ShouldFoldBinaryOperatorWhenMinifying (line 1140) | func ShouldFoldBinaryOperatorWhenMinifying(binary *EBinary) bool {
function FoldBinaryOperator (line 1235) | func FoldBinaryOperator(loc logger.Loc, e *EBinary) Expr {
function IsBinaryNullAndUndefined (line 1379) | func IsBinaryNullAndUndefined(left Expr, right Expr, op OpCode) (Expr, E...
function CheckEqualityBigInt (line 1416) | func CheckEqualityBigInt(a string, b string) (equal bool, ok bool) {
type EqualityKind (line 1432) | type EqualityKind
constant LooseEquality (line 1435) | LooseEquality EqualityKind = iota
constant StrictEquality (line 1436) | StrictEquality
function CheckEqualityIfNoSideEffects (line 1442) | func CheckEqualityIfNoSideEffects(left E, right E, kind EqualityKind) (e...
function ValuesLookTheSame (line 1593) | func ValuesLookTheSame(left E, right E) bool {
function TryToInsertOptionalChain (line 1661) | func TryToInsertOptionalChain(test Expr, expr Expr) bool {
function joinStrings (line 1703) | func joinStrings(a []uint16, b []uint16) []uint16 {
function TryToStringOnNumberSafely (line 1715) | func TryToStringOnNumberSafely(n float64, radix int) (string, bool) {
function foldAdditionPreProcess (line 1732) | func foldAdditionPreProcess(expr Expr) Expr {
type StringAdditionKind (line 1770) | type StringAdditionKind
constant StringAdditionNormal (line 1773) | StringAdditionNormal StringAdditionKind = iota
constant StringAdditionWithNestedLeft (line 1774) | StringAdditionWithNestedLeft
function FoldStringAddition (line 1779) | func FoldStringAddition(left Expr, right Expr, kind StringAdditionKind) ...
function InlinePrimitivesIntoTemplate (line 1889) | func InlinePrimitivesIntoTemplate(loc logger.Loc, e *ETemplate) Expr {
type SideEffects (line 1932) | type SideEffects
constant CouldHaveSideEffects (line 1935) | CouldHaveSideEffects SideEffects = iota
constant NoSideEffects (line 1936) | NoSideEffects
function ToNullOrUndefinedWithSideEffects (line 1939) | func ToNullOrUndefinedWithSideEffects(data E) (isNullOrUndefined bool, s...
function ToBooleanWithSideEffects (line 2014) | func ToBooleanWithSideEffects(data E) (boolean bool, sideEffects SideEff...
type StmtsCanBeRemovedIfUnusedFlags (line 2193) | type StmtsCanBeRemovedIfUnusedFlags
constant KeepExportClauses (line 2196) | KeepExportClauses StmtsCanBeRemovedIfUnusedFlags = 1 << iota
constant ReturnCanBeRemovedIfUnused (line 2197) | ReturnCanBeRemovedIfUnused
function StringToEquivalentNumberValue (line 2684) | func StringToEquivalentNumberValue(value []uint16) (float64, bool) {
function InlineSpreadsOfArrayLiterals (line 2716) | func InlineSpreadsOfArrayLiterals(values []Expr) (results []Expr) {
function MangleObjectSpread (line 2737) | func MangleObjectSpread(properties []Property) []Property {
function ForEachIdentifierBindingInDecls (line 2990) | func ForEachIdentifierBindingInDecls(decls []Decl, callback func(loc log...
function ForEachIdentifierBinding (line 2996) | func ForEachIdentifierBinding(binding Binding, callback func(loc logger....
FILE: vendor/github.com/evanw/esbuild/internal/js_ast/js_ident.go
function IsIdentifier (line 9) | func IsIdentifier(text string) bool {
function IsIdentifierES5AndESNext (line 27) | func IsIdentifierES5AndESNext(text string) bool {
function ForceValidIdentifier (line 45) | func ForceValidIdentifier(prefix string, text string) string {
function IsIdentifierUTF16 (line 77) | func IsIdentifierUTF16(text []uint16) bool {
function IsIdentifierES5AndESNextUTF16 (line 105) | func IsIdentifierES5AndESNextUTF16(text []uint16) bool {
function IsIdentifierStart (line 132) | func IsIdentifierStart(codePoint rune) bool {
function IsIdentifierContinue (line 150) | func IsIdentifierContinue(codePoint rune) bool {
function IsIdentifierStartES5AndESNext (line 173) | func IsIdentifierStartES5AndESNext(codePoint rune) bool {
function IsIdentifierContinueES5AndESNext (line 191) | func IsIdentifierContinueES5AndESNext(codePoint rune) bool {
function IsWhitespace (line 215) | func IsWhitespace(codePoint rune) bool {
FILE: vendor/github.com/evanw/esbuild/internal/js_parser/js_parser_lower_class.go
method privateSymbolNeedsToBeLowered (line 14) | func (p *parser) privateSymbolNeedsToBeLowered(private *js_ast.EPrivateI...
method lowerPrivateBrandCheck (line 19) | func (p *parser) lowerPrivateBrandCheck(target js_ast.Expr, loc logger.L...
method lowerPrivateGet (line 27) | func (p *parser) lowerPrivateGet(target js_ast.Expr, loc logger.Loc, pri...
method lowerPrivateSet (line 59) | func (p *parser) lowerPrivateSet(
method lowerPrivateSetUnOp (line 88) | func (p *parser) lowerPrivateSetUnOp(target js_ast.Expr, loc logger.Loc,...
method lowerPrivateSetBinOp (line 137) | func (p *parser) lowerPrivateSetBinOp(target js_ast.Expr, loc logger.Loc...
method extractPrivateIndex (line 149) | func (p *parser) extractPrivateIndex(target js_ast.Expr) (js_ast.Expr, l...
method extractSuperProperty (line 160) | func (p *parser) extractSuperProperty(target js_ast.Expr) js_ast.Expr {
method lowerSuperPropertyOrPrivateInAssign (line 174) | func (p *parser) lowerSuperPropertyOrPrivateInAssign(expr js_ast.Expr) (...
method shouldLowerSuperPropertyAccess (line 251) | func (p *parser) shouldLowerSuperPropertyAccess(expr js_ast.Expr) bool {
method callSuperPropertyWrapper (line 259) | func (p *parser) callSuperPropertyWrapper(loc logger.Loc, key js_ast.Exp...
method lowerSuperPropertyGet (line 284) | func (p *parser) lowerSuperPropertyGet(loc logger.Loc, key js_ast.Expr) ...
method lowerSuperPropertySet (line 309) | func (p *parser) lowerSuperPropertySet(loc logger.Loc, key js_ast.Expr, ...
method lowerSuperPropertySetBinOp (line 337) | func (p *parser) lowerSuperPropertySetBinOp(loc logger.Loc, property js_...
method maybeLowerSuperPropertyGetInsideCall (line 349) | func (p *parser) maybeLowerSuperPropertyGetInsideCall(call *js_ast.ECall) {
type classLoweringInfo (line 381) | type classLoweringInfo struct
method computeClassLoweringInfo (line 387) | func (p *parser) computeClassLoweringInfo(class *js_ast.Class) (result c...
type classKind (line 615) | type classKind
constant classKindExpr (line 618) | classKindExpr classKind = iota
constant classKindStmt (line 619) | classKindStmt
constant classKindExportStmt (line 620) | classKindExportStmt
constant classKindExportDefaultStmt (line 621) | classKindExportDefaultStmt
type lowerClassContext (line 624) | type lowerClassContext struct
method enableNameCapture (line 746) | func (ctx *lowerClassContext) enableNameCapture(p *parser, result visi...
method lowerField (line 818) | func (ctx *lowerClassContext) lowerField(
method lowerPrivateMethod (line 978) | func (ctx *lowerClassContext) lowerPrivateMethod(p *parser, prop js_as...
method lowerMethod (line 1047) | func (ctx *lowerClassContext) lowerMethod(p *parser, prop js_ast.Prope...
method analyzeProperty (line 1106) | func (ctx *lowerClassContext) analyzeProperty(p *parser, prop js_ast.P...
method hoistComputedProperties (line 1201) | func (ctx *lowerClassContext) hoistComputedProperties(p *parser, class...
method processProperties (line 1453) | func (ctx *lowerClassContext) processProperties(p *parser, classLoweri...
method lowerStaticBlock (line 1788) | func (ctx *lowerClassContext) lowerStaticBlock(p *parser, loc logger.L...
method rewriteAutoAccessorToGetSet (line 1822) | func (ctx *lowerClassContext) rewriteAutoAccessorToGetSet(
method insertInitializersIntoConstructor (line 1956) | func (ctx *lowerClassContext) insertInitializersIntoConstructor(p *par...
method finishAndGenerateCode (line 2032) | func (ctx *lowerClassContext) finishAndGenerateCode(p *parser, result ...
method lowerClass (line 682) | func (p *parser) lowerClass(stmt js_ast.Stmt, expr js_ast.Expr, result v...
type propertyAnalysis (line 1094) | type propertyAnalysis struct
method propertyNameHint (line 1188) | func (p *parser) propertyNameHint(key js_ast.Expr) string {
function fieldOrAccessorOrder (line 1436) | func fieldOrAccessorOrder(kind js_ast.PropertyKind, flags js_ast.Propert...
function cloneKeyForLowerClass (line 2403) | func cloneKeyForLowerClass(key js_ast.Expr) js_ast.Expr {
method insertStmtsAfterSuperCall (line 2429) | func (p *parser) insertStmtsAfterSuperCall(body *js_ast.FnBody, stmtsToI...
function findFirstTopLevelSuperCall (line 2558) | func findFirstTopLevelSuperCall(expr js_ast.Expr, superCtorRef ast.Ref) ...
FILE: vendor/github.com/evanw/esbuild/internal/js_parser/sourcemap_parser.go
function ParseSourceMap (line 18) | func ParseSourceMap(log logger.Log, source logger.Source) *sourcemap.Sou...
type mappingArray (line 427) | type mappingArray
method Len (line 429) | func (a mappingArray) Len() int { return len(a) }
method Swap (line 430) | func (a mappingArray) Swap(i int, j int) { a[i], a[j] = a[j], a[i] }
method Less (line 432) | func (a mappingArray) Less(i int, j int) bool {
FILE: vendor/github.com/evanw/esbuild/internal/logger/logger.go
constant defaultTerminalWidth (line 25) | defaultTerminalWidth = 80
type Log (line 27) | type Log struct
method AddError (line 1829) | func (log Log) AddError(tracker *LineColumnTracker, r Range, text stri...
method AddID (line 1836) | func (log Log) AddID(id MsgID, kind MsgKind, tracker *LineColumnTracke...
method AddErrorWithNotes (line 1846) | func (log Log) AddErrorWithNotes(tracker *LineColumnTracker, r Range, ...
method AddIDWithNotes (line 1854) | func (log Log) AddIDWithNotes(id MsgID, kind MsgKind, tracker *LineCol...
method AddMsgID (line 1865) | func (log Log) AddMsgID(id MsgID, msg Msg) {
type LogLevel (line 38) | type LogLevel
constant LevelNone (line 41) | LevelNone LogLevel = iota
constant LevelVerbose (line 42) | LevelVerbose
constant LevelDebug (line 43) | LevelDebug
constant LevelInfo (line 44) | LevelInfo
constant LevelWarning (line 45) | LevelWarning
constant LevelError (line 46) | LevelError
constant LevelSilent (line 47) | LevelSilent
type MsgKind (line 50) | type MsgKind
method String (line 61) | func (kind MsgKind) String() string {
method Icon (line 80) | func (kind MsgKind) Icon() string {
constant Error (line 53) | Error MsgKind = iota
constant Warning (line 54) | Warning
constant Info (line 55) | Info
constant Note (line 56) | Note
constant Debug (line 57) | Debug
constant Verbose (line 58) | Verbose
function isProbablyWindowsCommandPrompt (line 125) | func isProbablyWindowsCommandPrompt() bool {
type Msg (line 147) | type Msg struct
method String (line 1209) | func (msg Msg) String(options OutputOptions, terminalInfo TerminalInfo...
type MsgData (line 155) | type MsgData struct
type MsgLocation (line 165) | type MsgLocation struct
type Loc (line 175) | type Loc struct
type Range (line 180) | type Range struct
method End (line 185) | func (r Range) End() int32 {
method ExpandBy (line 189) | func (a *Range) ExpandBy(b Range) {
type Span (line 204) | type Span struct
type SortableMsgs (line 210) | type SortableMsgs
method Len (line 212) | func (a SortableMsgs) Len() int { return len(a) }
method Swap (line 213) | func (a SortableMsgs) Swap(i int, j int) { a[i], a[j] = a[j], a[i] }
method Less (line 215) | func (a SortableMsgs) Less(i int, j int) bool {
type Path (line 242) | type Path struct
method IsDisabled (line 332) | func (p Path) IsDisabled() bool {
type ImportAttributes (line 265) | type ImportAttributes struct
method DecodeIntoArray (line 275) | func (attrs ImportAttributes) DecodeIntoArray() (result []ImportAttrib...
method DecodeIntoMap (line 292) | func (attrs ImportAttributes) DecodeIntoMap() (result map[string]strin...
type ImportAttribute (line 269) | type ImportAttribute struct
function EncodeImportAttributes (line 302) | func EncodeImportAttributes(value map[string]string) ImportAttributes {
type PathFlags (line 325) | type PathFlags
constant PathDisabled (line 329) | PathDisabled PathFlags = 1 << iota
function hasNoColorEnvironmentVariable (line 339) | func hasNoColorEnvironmentVariable() bool {
function PlatformIndependentPathDirBaseExt (line 353) | func PlatformIndependentPathDirBaseExt(path string) (dir string, base st...
type PrettyPaths (line 406) | type PrettyPaths struct
method Select (line 431) | func (paths *PrettyPaths) Select(style PathStyle) string {
type PathStyle (line 424) | type PathStyle
constant RelPath (line 427) | RelPath PathStyle = iota
constant AbsPath (line 428) | AbsPath
type Source (line 438) | type Source struct
method TextForRange (line 465) | func (s *Source) TextForRange(r Range) string {
method LocBeforeWhitespace (line 469) | func (s *Source) LocBeforeWhitespace(loc Loc) Loc {
method RangeOfOperatorBefore (line 480) | func (s *Source) RangeOfOperatorBefore(loc Loc, op string) Range {
method RangeOfOperatorAfter (line 489) | func (s *Source) RangeOfOperatorAfter(loc Loc, op string) Range {
method RangeOfString (line 498) | func (s *Source) RangeOfString(loc Loc) Range {
method RangeOfNumber (line 534) | func (s *Source) RangeOfNumber(loc Loc) (r Range) {
method RangeOfLegacyOctalEscape (line 553) | func (s *Source) RangeOfLegacyOctalEscape(loc Loc) (r Range) {
method CommentTextWithoutIndent (line 570) | func (s *Source) CommentTextWithoutIndent(r Range) string {
function plural (line 638) | func plural(prefix string, count int, shown int, someAreMissing bool) st...
function errorAndWarningSummary (line 653) | func errorAndWarningSummary(errors int, warnings int, shownErrors int, s...
type APIKind (line 667) | type APIKind
constant GoAPI (line 670) | GoAPI APIKind = iota
constant CLIAPI (line 671) | CLIAPI
constant JSAPI (line 672) | JSAPI
type TerminalInfo (line 678) | type TerminalInfo struct
function NewStderrLog (line 685) | func NewStderrLog(options OutputOptions) Log {
function PrintErrorToStderr (line 816) | func PrintErrorToStderr(osArgs []string, text string) {
function PrintErrorWithNoteToStderr (line 820) | func PrintErrorWithNoteToStderr(osArgs []string, text string, note strin...
function OutputOptionsForArgs (line 831) | func OutputOptionsForArgs(osArgs []string) OutputOptions {
function PrintMessageToStderr (line 856) | func PrintMessageToStderr(osArgs []string, msg Msg) {
type Colors (line 862) | type Colors struct
function PrintText (line 920) | func PrintText(file *os.File, level LogLevel, osArgs []string, callback ...
function PrintTextWithColor (line 931) | func PrintTextWithColor(file *os.File, useColor UseColor, callback func(...
type SummaryTableEntry (line 949) | type SummaryTableEntry struct
type SummaryTable (line 958) | type SummaryTable
method Len (line 960) | func (t SummaryTable) Len() int { return len(t) }
method Swap (line 961) | func (t SummaryTable) Swap(i int, j int) { t[i], t[j] = t[j], t[i] }
method Less (line 963) | func (t SummaryTable) Less(i int, j int) bool {
constant sizeWarningThreshold (line 996) | sizeWarningThreshold = 1024 * 1024
function PrintSummary (line 998) | func PrintSummary(useColor UseColor, table SummaryTable, start *time.Tim...
type DeferLogKind (line 1143) | type DeferLogKind
constant DeferLogAll (line 1146) | DeferLogAll DeferLogKind = iota
constant DeferLogNoVerboseOrDebug (line 1147) | DeferLogNoVerboseOrDebug
function NewDeferLog (line 1150) | func NewDeferLog(kind DeferLogKind, overrides map[MsgID]LogLevel) Log {
type UseColor (line 1192) | type UseColor
constant ColorIfTerminal (line 1195) | ColorIfTerminal UseColor = iota
constant ColorNever (line 1196) | ColorNever
constant ColorAlways (line 1197) | ColorAlways
type OutputOptions (line 1200) | type OutputOptions struct
constant extraMarginChars (line 1232) | extraMarginChars = 9
function marginWithLineText (line 1234) | func marginWithLineText(maxMargin int, line int) string {
function emptyMarginText (line 1239) | func emptyMarginText(maxMargin int, isLast bool) string {
function msgString (line 1247) | func msgString(includeSource bool, pathStyle PathStyle, terminalInfo Ter...
function linkifyText (line 1358) | func linkifyText(text string, underline string, reset string) string {
function wrapWordsInString (line 1401) | func wrapWordsInString(text string, width int) []string {
type MsgDetail (line 1458) | type MsgDetail struct
type LineColumnTracker (line 1491) | type LineColumnTracker struct
method MsgData (line 1518) | func (tracker *LineColumnTracker) MsgData(r Range, text string) MsgData {
method scanTo (line 1525) | func (t *LineColumnTracker) scanTo(offset int32) {
method computeLineAndColumn (line 1588) | func (t *LineColumnTracker) computeLineAndColumn(offset int) (lineCoun...
method MsgLocationOrNil (line 1625) | func (tracker *LineColumnTracker) MsgLocationOrNil(r Range) *MsgLocati...
function MakeLineColumnTracker (line 1503) | func MakeLineColumnTracker(source *Source) LineColumnTracker {
function detailStruct (line 1642) | func detailStruct(data MsgData, pathStyle PathStyle, terminalInfo Termin...
function estimateWidthInTerminal (line 1789) | func estimateWidthInTerminal(text string) int {
function renderTabStops (line 1805) | func renderTabStops(withTabs string, spacesPerTab int) string {
function allowOverride (line 1873) | func allowOverride(overrides map[MsgID]LogLevel, id MsgID, kind MsgKind)...
type StringInJSTableEntry (line 1894) | type StringInJSTableEntry struct
function GenerateStringInJSTable (line 1904) | func GenerateStringInJSTable(outerContents string, outerStringLiteralLoc...
function RemapStringInJSLoc (line 1997) | func RemapStringInJSLoc(table []StringInJSTableEntry, innerLoc Loc) Loc {
function NewStringInJSLog (line 2020) | func NewStringInJSLog(log Log, outerTracker *LineColumnTracker, table []...