searchquery

package
v2.28.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AIBridgeInterceptions added in v2.27.0

func AuditLogs

AuditLogs requires the database to fetch an organization by name to convert to organization uuid.

Supported query parameters:

  • request_id: UUID (can be used to search for associated audits e.g. connect/disconnect or open/close)
  • resource_id: UUID
  • resource_target: string
  • username: string
  • email: string
  • date_from: string (date in format "2006-01-02")
  • date_to: string (date in format "2006-01-02")
  • organization: string (organization UUID or name)
  • resource_type: string (enum)
  • action: string (enum)
  • build_reason: string (enum)

func Members added in v2.27.0

func Members(query string, organizationID uuid.UUID) (database.OrganizationMembersParams, []codersdk.ValidationError)

func Tasks added in v2.28.0

Tasks parses a search query for tasks.

Supported query parameters:

  • owner: string (username, UUID, or 'me' for current user)
  • organization: string (organization UUID or name)
  • status: string (pending, initializing, active, paused, error, unknown)

func Templates added in v2.14.0

func Workspaces

func Workspaces(ctx context.Context, db database.Store, query string, page codersdk.Pagination, agentInactiveDisconnectTimeout time.Duration) (database.GetWorkspacesParams, []codersdk.ValidationError)

Types

This section is empty.

Jump to

Keyboard shortcuts

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