Documentation
¶
Index ¶
- Constants
- type Clients
- func (c Clients) CreateAuditLogExportDestination(ctx context.Context, params kernel.AuditLogExportDestinationNewParams) (*kernel.AuditLogExportDestination, error)
- func (c Clients) CreateBrowserPool(ctx context.Context, projectID string, params kernel.BrowserPoolNewParams) (*kernel.BrowserPool, error)
- func (c Clients) CreateProfile(ctx context.Context, projectID string, params kernel.ProfileNewParams) (*kernel.Profile, error)
- func (c Clients) CreateProject(ctx context.Context, params kernel.ProjectNewParams) (*kernel.Project, error)
- func (c Clients) CreateProxy(ctx context.Context, projectID string, params kernel.ProxyNewParams) (*kernel.ProxyNewResponse, error)
- func (c Clients) CreateTelemetryDestination(ctx context.Context, params kernel.TelemetryDestinationNewParams) (*kernel.OtlpDestination, error)
- func (c Clients) DefaultProjectID() string
- func (c Clients) DeleteAuditLogExportDestination(ctx context.Context, id string) error
- func (c Clients) DeleteBrowserPool(ctx context.Context, projectID, id string) error
- func (c Clients) DeleteExtension(ctx context.Context, projectID, id string) error
- func (c Clients) DeleteProfile(ctx context.Context, projectID, idOrName string) error
- func (c Clients) DeleteProject(ctx context.Context, id string) error
- func (c Clients) DeleteProxy(ctx context.Context, projectID, id string) error
- func (c Clients) DeleteTelemetryDestination(ctx context.Context, id string) error
- func (c Clients) GetAuditLogExportDestination(ctx context.Context, id string) (*kernel.AuditLogExportDestination, error)
- func (c Clients) GetBrowserPool(ctx context.Context, projectID, id string) (*kernel.BrowserPool, error)
- func (c Clients) GetExtension(ctx context.Context, projectID, idOrName string) (*kernel.ExtensionGetResponse, error)
- func (c Clients) GetProfile(ctx context.Context, projectID, idOrName string) (*kernel.Profile, error)
- func (c Clients) GetProject(ctx context.Context, idOrName string) (*kernel.Project, error)
- func (c Clients) GetProxy(ctx context.Context, projectID, id string) (*kernel.ProxyGetResponse, error)
- func (c Clients) GetTelemetryDestination(ctx context.Context, id string) (*kernel.OtlpDestination, error)
- func (c Clients) ListProfilePage(ctx context.Context, projectID, query string, offset int64) (ProfilePage, error)
- func (c Clients) ListProxyPage(ctx context.Context, projectID string, offset int64) (ProxyPage, error)
- func (c Clients) UpdateAuditLogExportDestination(ctx context.Context, id string, ...) (*kernel.AuditLogExportDestination, error)
- func (c Clients) UpdateBrowserPool(ctx context.Context, projectID, id string, ...) (*kernel.BrowserPool, error)
- func (c Clients) UpdateProject(ctx context.Context, id string, params kernel.ProjectUpdateParams) (*kernel.Project, error)
- func (c Clients) UpdateTelemetryDestination(ctx context.Context, id string, params kernel.TelemetryDestinationUpdateParams) (*kernel.OtlpDestination, error)
- func (c Clients) UploadExtension(ctx context.Context, projectID string, params kernel.ExtensionUploadParams) (*kernel.ExtensionUploadResponse, error)
- type Config
- type Option
- type Page
- type ProfilePage
- type ProxyPage
Constants ¶
const DefaultRequestTimeout = 2 * time.Minute
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clients ¶
type Clients struct {
// contains filtered or unexported fields
}
func (Clients) CreateAuditLogExportDestination ¶ added in v0.3.0
func (c Clients) CreateAuditLogExportDestination(ctx context.Context, params kernel.AuditLogExportDestinationNewParams) (*kernel.AuditLogExportDestination, error)
func (Clients) CreateBrowserPool ¶
func (c Clients) CreateBrowserPool(ctx context.Context, projectID string, params kernel.BrowserPoolNewParams) (*kernel.BrowserPool, error)
func (Clients) CreateProfile ¶
func (Clients) CreateProject ¶
func (Clients) CreateProxy ¶
func (c Clients) CreateProxy(ctx context.Context, projectID string, params kernel.ProxyNewParams) (*kernel.ProxyNewResponse, error)
func (Clients) CreateTelemetryDestination ¶ added in v0.2.0
func (c Clients) CreateTelemetryDestination(ctx context.Context, params kernel.TelemetryDestinationNewParams) (*kernel.OtlpDestination, error)
func (Clients) DefaultProjectID ¶
func (Clients) DeleteAuditLogExportDestination ¶ added in v0.3.0
func (Clients) DeleteBrowserPool ¶
func (Clients) DeleteExtension ¶
func (Clients) DeleteProfile ¶
func (Clients) DeleteProxy ¶
func (Clients) DeleteTelemetryDestination ¶ added in v0.2.0
func (Clients) GetAuditLogExportDestination ¶ added in v0.3.0
func (Clients) GetBrowserPool ¶
func (Clients) GetExtension ¶
func (c Clients) GetExtension(ctx context.Context, projectID, idOrName string) (*kernel.ExtensionGetResponse, error)
GetExtension resolves an extension by ID or by name within the project; the API treats the path parameter as id-or-name and returns metadata only.
func (Clients) GetProfile ¶
func (Clients) GetProject ¶
GetProject resolves a project by ID or by name; the API treats the path parameter as id-or-name (names are unique within an organization).
func (Clients) GetTelemetryDestination ¶ added in v0.2.0
func (Clients) ListProfilePage ¶
func (Clients) ListProxyPage ¶
func (Clients) UpdateAuditLogExportDestination ¶ added in v0.3.0
func (c Clients) UpdateAuditLogExportDestination(ctx context.Context, id string, params kernel.AuditLogExportDestinationUpdateParams) (*kernel.AuditLogExportDestination, error)
func (Clients) UpdateBrowserPool ¶
func (c Clients) UpdateBrowserPool(ctx context.Context, projectID, id string, params kernel.BrowserPoolUpdateParams) (*kernel.BrowserPool, error)
func (Clients) UpdateProject ¶
func (Clients) UpdateTelemetryDestination ¶ added in v0.2.0
func (c Clients) UpdateTelemetryDestination(ctx context.Context, id string, params kernel.TelemetryDestinationUpdateParams) (*kernel.OtlpDestination, error)
func (Clients) UploadExtension ¶
func (c Clients) UploadExtension(ctx context.Context, projectID string, params kernel.ExtensionUploadParams) (*kernel.ExtensionUploadResponse, error)
type Config ¶
Config configures the shared Kernel API clients. ProjectID is a default only; the client never applies it implicitly.
type ProfilePage ¶
type ProxyPage ¶
type ProxyPage = Page[kernel.ProxyListResponse]