sdk

package module
v0.202638.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

README

RDP SDK for Go

The RDP SDK for Go is part of the unified SDK family for client applications interacting with Raft Data Platform (RDP). It provides Go-friendly configuration, authentication, TLS, timeout, and logging helpers while exposing generated service clients for the RDP API surface.

For platform concepts, API guides, and integration details, see https://developer.teamraft.com.

See Terms of Use.

Installation

From an existing Go module:

go get github.com/raft-tech/rdp-sdk-go@latest

For a new project, create a module first:

mkdir my-rdp-client
cd my-rdp-client
go mod init example.com/my-rdp-client
go get github.com/raft-tech/rdp-sdk-go@latest

The SDK consumes the public Go packages generated from the raft/wdm Buf module. Applications import WDM protobuf types from buf.build/gen/go/raft/wdm/protocolbuffers/go as shown below; the SDK wires its service clients from the matching ConnectRPC module.

Quick Start

export RDP_SERVER_URL=https://rdp.example.com
export RDP_API_KEY=your-api-key

Save the following as main.go:

package main

import (
    "context"
    "fmt"
    "log"

    wdmsvc "buf.build/gen/go/raft/wdm/protocolbuffers/go/raft/wdm/v1/service"
    "connectrpc.com/connect"
    rdpsdk "github.com/raft-tech/rdp-sdk-go"
)

func main() {
    // Load RDP_SERVER_URL and authentication from the environment.
    cfg, err := rdpsdk.LoadConfig()
    if err != nil {
        log.Fatal(err)
    }

    // Create a client from the loaded config.
    client, err := rdpsdk.NewFromConfig(cfg)
    if err != nil {
        log.Fatal(err)
    }

    // Request the first 10 WDM objects.
    resp, err := client.ObjectService().SearchObjects(
        context.Background(),
        connect.NewRequest(&wdmsvc.SearchObjectsRequest{PageSize: 10}),
    )
    if err != nil {
        log.Fatal(err)
    }

    objects := resp.Msg.GetObjects()
    if len(objects) == 0 {
        fmt.Println("No WDM objects found.")
        return
    }

    for _, object := range objects {
        fmt.Printf("%s\t%s\n", object.GetId(), object.GetName())
    }
}

Run it with:

go run ./main.go

For more examples, see examples.

Configuration

LoadConfig reads connection settings from environment variables and returns a validated config for NewFromConfig. It reads only the process environment unless you pass WithEnvFile(path).

Variable Required Description
RDP_SERVER_URL No Base RDP endpoint. Defaults to https://rdp.local; use scheme and host only.
RDP_SERVER_PORT No Optional port override for the endpoint.
TLS_SKIP_VERIFY No Set to true only for development or test endpoints with self-signed certificates.
Authentication

API key authentication is the preferred method for client applications. Use OAuth2 client credentials or a static Bearer token only when your deployment requires it.

Method Variables Request behavior
API key RDP_API_KEY Sends the value on each request as an API key header.
OAuth2 client credentials RDP_CLIENT_ID, RDP_CLIENT_SECRET Fetches a token from {RDP_SERVER_URL}/api/v1/auth/token and sends it as a bearer token.
Bearer RDP_BEARER_TOKEN Sends Authorization: Bearer <token>.

Providing multiple auth methods is an error. If no method is configured, requests are sent without auth and the SDK logs a warning.

Functional Configuration

Use functional options with New(endpoint, ...opts) or as overrides after environment loading with NewFromConfig(cfg, ...opts). Call-site options are applied after LoadConfig options, so they can override the loaded configuration.

For direct construction:

logger := slog.Default()

client, err := rdpsdk.New(
    "https://rdp.example.com",
    rdpsdk.WithAPIKey("your-api-key"),
    rdpsdk.WithTimeout(10*time.Second),
    rdpsdk.WithLogger(logger),
)
if err != nil {
    log.Fatal(err)
}

Static Authorization header auth can be configured directly as well:

bearerClient, err := rdpsdk.New(
    "https://rdp.example.com",
    rdpsdk.WithBearerToken("token"),
)

For environment-first configuration with call-site overrides:

cfg, err := rdpsdk.LoadConfig(
    rdpsdk.WithEnvFile(".env.local"),
    rdpsdk.WithConfigLogger(logger),
)
if err != nil {
    log.Fatal(err)
}

client, err := rdpsdk.NewFromConfig(
    cfg,
    rdpsdk.WithTimeout(10*time.Second),
)
if err != nil {
    log.Fatal(err)
}

Use WithClientCredentials(clientID, clientSecret) only when your deployment requires OAuth2 client credentials. Use WithTLSSkipVerify() only for development or test endpoints with self-signed certificates.

Documentation

Overview

Package sdk is the Go SDK for client applications interacting with RDP.

The client constructor wires up authentication, TLS, timeout, and logging, then exposes the Buf-generated ConnectRPC service stubs directly via the service accessor methods on Client. It also exposes fluent Catalog, Pipelines, and Transformers REST/OpenAPI clients via Client.Catalog, Client.Pipelines, and Client.Transformers. Consumers use the generated protobuf types for WDM request/response construction and the REST subpackages for request/response types.

import rdpsdk "github.com/raft-tech/rdp-sdk-go"

client, err := rdpsdk.New("https://rdp.example.com",
    rdpsdk.WithClientCredentials(clientID, clientSecret),
)
if err != nil {
    log.Fatal(err)
}
resp, err := client.ObjectService().PublishObject(ctx, connect.NewRequest(req))

Index

Constants

View Source
const DefaultEndpoint = internal.DefaultEndpoint

DefaultEndpoint is the default WDM server URL when none is specified.

Variables

View Source
var (
	WithAPIKey            = internal.WithAPIKey
	WithBearerToken       = internal.WithBearerToken
	WithClientCredentials = internal.WithClientCredentials
	WithLogger            = internal.WithLogger
	WithTimeout           = internal.WithTimeout
	WithTLSSkipVerify     = internal.WithTLSSkipVerify
)

Option constructors — aliased to the internal package's so the facade owns the user-facing surface and the internal package stays hidden. Mirrors every With* defined in internal/options.go.

View Source
var (
	LoadConfig       = internal.LoadConfig
	WithEnvFile      = internal.WithEnvFile
	WithConfigLogger = internal.WithConfigLogger
)

LoadConfig and its options — aliased to the internal package's.

View Source
var Version = internal.Version

Version is the SDK version, re-exported from internal. It is overridden at build time via ldflags targeting the internal package:

go build -ldflags "-X github.com/raft-tech/rdp-sdk-go/internal.Version=<semver>"

Falls back to "dev" when not set (e.g. plain `go test`).

Functions

This section is empty.

Types

type CatalogClient added in v0.202631.0

type CatalogClient struct {
	// contains filtered or unexported fields
}

CatalogClient provides fluent access to the RDP Catalog API.

func (*CatalogClient) DataSources added in v0.202631.0

func (c *CatalogClient) DataSources() *CatalogDataSources

DataSources returns fluent DataSource operations.

func (*CatalogClient) Datasets added in v0.202631.0

func (c *CatalogClient) Datasets() *CatalogDatasets

Datasets returns fluent top-level DataSet operations.

func (*CatalogClient) Enablements added in v0.202631.0

func (c *CatalogClient) Enablements() *CatalogEnablements

Enablements returns fluent top-level DataSource enablement operations.

func (*CatalogClient) Raw added in v0.202631.0

Raw returns the generated OpenAPI response client for advanced use.

func (*CatalogClient) Search added in v0.202631.0

func (c *CatalogClient) Search() *CatalogSearch

Search returns fluent global catalog search operations.

func (*CatalogClient) Storages added in v0.202631.0

func (c *CatalogClient) Storages() *CatalogStorages

Storages returns fluent top-level DataSet storage operations.

type CatalogDataSource added in v0.202631.0

type CatalogDataSource struct {
	// contains filtered or unexported fields
}

CatalogDataSource provides fluent operations for one DataSource.

func (*CatalogDataSource) Datasets added in v0.202631.0

func (*CatalogDataSource) Delete added in v0.202631.0

func (*CatalogDataSource) Documents added in v0.202631.0

func (*CatalogDataSource) Enablements added in v0.202631.0

func (*CatalogDataSource) Get added in v0.202631.0

func (*CatalogDataSource) Labels added in v0.202631.0

func (*CatalogDataSource) Patch added in v0.202631.0

func (*CatalogDataSource) Update added in v0.202631.0

type CatalogDataSourceDatasets added in v0.202631.0

type CatalogDataSourceDatasets struct {
	// contains filtered or unexported fields
}

CatalogDataSourceDatasets provides fluent cross-enablement DataSet operations for one DataSource.

func (*CatalogDataSourceDatasets) Count added in v0.202631.0

func (*CatalogDataSourceDatasets) Search added in v0.202631.0

type CatalogDataSourceDocument added in v0.202631.0

type CatalogDataSourceDocument struct {
	// contains filtered or unexported fields
}

CatalogDataSourceDocument provides fluent operations for one DataSource document.

func (*CatalogDataSourceDocument) Delete added in v0.202631.0

func (*CatalogDataSourceDocument) Get added in v0.202631.0

type CatalogDataSourceDocuments added in v0.202631.0

type CatalogDataSourceDocuments struct {
	// contains filtered or unexported fields
}

CatalogDataSourceDocuments provides fluent DataSource document operations.

func (*CatalogDataSourceDocuments) Add added in v0.202631.0

func (*CatalogDataSourceDocuments) ID added in v0.202631.0

func (*CatalogDataSourceDocuments) List added in v0.202631.0

type CatalogDataSourceEnablement added in v0.202631.0

type CatalogDataSourceEnablement struct {
	// contains filtered or unexported fields
}

CatalogDataSourceEnablement provides fluent nested dataset helpers for one DataSource enablement.

func (*CatalogDataSourceEnablement) DatasetIngestionStatuses added in v0.202631.0

func (*CatalogDataSourceEnablement) Datasets added in v0.202631.0

type CatalogDataSourceEnablementDataset added in v0.202631.0

type CatalogDataSourceEnablementDataset struct {
	// contains filtered or unexported fields
}

CatalogDataSourceEnablementDataset provides non-deprecated nested DataSet helpers.

func (*CatalogDataSourceEnablementDataset) Documents added in v0.202631.0

func (*CatalogDataSourceEnablementDataset) Metadata added in v0.202631.0

type CatalogDataSourceEnablementDatasets added in v0.202631.0

type CatalogDataSourceEnablementDatasets struct {
	// contains filtered or unexported fields
}

CatalogDataSourceEnablementDatasets provides fluent nested dataset helpers.

func (*CatalogDataSourceEnablementDatasets) ID added in v0.202631.0

type CatalogDataSourceEnablements added in v0.202631.0

type CatalogDataSourceEnablements struct {
	// contains filtered or unexported fields
}

CatalogDataSourceEnablements provides fluent nested enablement helpers for one DataSource.

func (*CatalogDataSourceEnablements) ID added in v0.202631.0

type CatalogDataSourceLabels added in v0.202631.0

type CatalogDataSourceLabels struct {
	// contains filtered or unexported fields
}

CatalogDataSourceLabels provides fluent DataSource label operations.

func (*CatalogDataSourceLabels) Add added in v0.202631.0

func (*CatalogDataSourceLabels) Count added in v0.202631.0

func (*CatalogDataSourceLabels) Delete added in v0.202631.0

func (*CatalogDataSourceLabels) Get added in v0.202631.0

func (*CatalogDataSourceLabels) Replace added in v0.202631.0

type CatalogDataSources added in v0.202631.0

type CatalogDataSources struct {
	// contains filtered or unexported fields
}

CatalogDataSources provides fluent DataSource collection operations.

func (*CatalogDataSources) AllDatasets added in v0.202631.0

func (*CatalogDataSources) AllEnablements added in v0.202631.0

func (*CatalogDataSources) Count added in v0.202631.0

func (*CatalogDataSources) CountAllDatasets added in v0.202631.0

func (*CatalogDataSources) CountAllEnablements added in v0.202631.0

func (*CatalogDataSources) Create added in v0.202631.0

func (*CatalogDataSources) ID added in v0.202631.0

func (*CatalogDataSources) Search added in v0.202631.0

type CatalogDataset added in v0.202631.0

type CatalogDataset struct {
	// contains filtered or unexported fields
}

CatalogDataset provides fluent operations for one top-level DataSet.

func (*CatalogDataset) AccessControls added in v0.202631.0

func (r *CatalogDataset) AccessControls() *CatalogDatasetAccessControls

func (*CatalogDataset) Delete added in v0.202631.0

func (*CatalogDataset) Filters added in v0.202631.0

func (r *CatalogDataset) Filters() *CatalogDatasetFilters

func (*CatalogDataset) Get added in v0.202631.0

func (*CatalogDataset) Ingestion added in v0.202631.0

func (r *CatalogDataset) Ingestion() *CatalogDatasetIngestion

func (*CatalogDataset) Labels added in v0.202631.0

func (*CatalogDataset) Patch added in v0.202631.0

func (*CatalogDataset) Pipelines added in v0.202631.0

func (r *CatalogDataset) Pipelines() *CatalogDatasetPipelines

func (*CatalogDataset) Schema added in v0.202631.0

func (r *CatalogDataset) Schema() *CatalogDatasetSchema

func (*CatalogDataset) Update added in v0.202631.0

type CatalogDatasetAccessControls added in v0.202631.0

type CatalogDatasetAccessControls struct {
	// contains filtered or unexported fields
}

CatalogDatasetAccessControls provides fluent top-level DataSet access-control operations.

func (*CatalogDatasetAccessControls) Delete added in v0.202631.0

func (*CatalogDatasetAccessControls) DeleteOne added in v0.202631.0

func (*CatalogDatasetAccessControls) Get added in v0.202631.0

func (*CatalogDatasetAccessControls) PatchWithBody added in v0.202631.0

type CatalogDatasetDocument added in v0.202631.0

type CatalogDatasetDocument struct {
	// contains filtered or unexported fields
}

CatalogDatasetDocument provides fluent operations for one nested DataSet document.

func (*CatalogDatasetDocument) Delete added in v0.202631.0

func (*CatalogDatasetDocument) Get added in v0.202631.0

type CatalogDatasetDocuments added in v0.202631.0

type CatalogDatasetDocuments struct {
	// contains filtered or unexported fields
}

CatalogDatasetDocuments provides fluent nested DataSet document operations.

func (*CatalogDatasetDocuments) Add added in v0.202631.0

func (*CatalogDatasetDocuments) ID added in v0.202631.0

func (*CatalogDatasetDocuments) List added in v0.202631.0

type CatalogDatasetFilters added in v0.202631.0

type CatalogDatasetFilters struct {
	// contains filtered or unexported fields
}

CatalogDatasetFilters provides fluent top-level DataSet filtering operations.

func (*CatalogDatasetFilters) Derived added in v0.202631.0

type CatalogDatasetIngestion added in v0.202631.0

type CatalogDatasetIngestion struct {
	// contains filtered or unexported fields
}

CatalogDatasetIngestion provides fluent top-level DataSet ingestion operations.

func (*CatalogDatasetIngestion) Get added in v0.202631.0

func (*CatalogDatasetIngestion) Stop added in v0.202631.0

type CatalogDatasetLabelsByID added in v0.202631.0

type CatalogDatasetLabelsByID struct {
	// contains filtered or unexported fields
}

CatalogDatasetLabelsByID provides fluent top-level DataSet label operations.

func (*CatalogDatasetLabelsByID) Add added in v0.202631.0

func (*CatalogDatasetLabelsByID) Count added in v0.202631.0

func (*CatalogDatasetLabelsByID) Delete added in v0.202631.0

func (*CatalogDatasetLabelsByID) Get added in v0.202631.0

func (*CatalogDatasetLabelsByID) Replace added in v0.202631.0

type CatalogDatasetMetadata added in v0.202631.0

type CatalogDatasetMetadata struct {
	// contains filtered or unexported fields
}

CatalogDatasetMetadata provides fluent nested DataSet metadata operations.

func (*CatalogDatasetMetadata) Get added in v0.202631.0

func (*CatalogDatasetMetadata) Replace added in v0.202631.0

type CatalogDatasetPipelines added in v0.202631.0

type CatalogDatasetPipelines struct {
	// contains filtered or unexported fields
}

CatalogDatasetPipelines provides fluent top-level DataSet pipeline operations.

func (*CatalogDatasetPipelines) List added in v0.202631.0

type CatalogDatasetSchema added in v0.202631.0

type CatalogDatasetSchema struct {
	// contains filtered or unexported fields
}

CatalogDatasetSchema provides fluent top-level DataSet schema operations.

func (*CatalogDatasetSchema) Get added in v0.202631.0

func (*CatalogDatasetSchema) Hints added in v0.202631.0

type CatalogDatasetSchemaHints added in v0.202631.0

type CatalogDatasetSchemaHints struct {
	// contains filtered or unexported fields
}

CatalogDatasetSchemaHints provides fluent top-level DataSet schema hint operations.

func (*CatalogDatasetSchemaHints) Delete added in v0.202631.0

func (*CatalogDatasetSchemaHints) Get added in v0.202631.0

func (*CatalogDatasetSchemaHints) PatchWithBody added in v0.202631.0

type CatalogDatasets added in v0.202631.0

type CatalogDatasets struct {
	// contains filtered or unexported fields
}

CatalogDatasets provides fluent top-level DataSet operations.

func (*CatalogDatasets) Count added in v0.202631.0

func (*CatalogDatasets) Create added in v0.202631.0

func (*CatalogDatasets) DeleteAll added in v0.202631.0

func (*CatalogDatasets) ID added in v0.202631.0

func (*CatalogDatasets) Search added in v0.202631.0

type CatalogEnablement added in v0.202631.0

type CatalogEnablement struct {
	// contains filtered or unexported fields
}

CatalogEnablement provides fluent operations for one top-level enablement.

func (*CatalogEnablement) Delete added in v0.202631.0

func (*CatalogEnablement) Get added in v0.202631.0

func (*CatalogEnablement) Patch added in v0.202631.0

func (*CatalogEnablement) Update added in v0.202631.0

type CatalogEnablements added in v0.202631.0

type CatalogEnablements struct {
	// contains filtered or unexported fields
}

CatalogEnablements provides fluent top-level enablement operations.

func (*CatalogEnablements) Count added in v0.202631.0

func (*CatalogEnablements) Create added in v0.202631.0

func (*CatalogEnablements) DeleteAll added in v0.202631.0

func (*CatalogEnablements) ID added in v0.202631.0

func (*CatalogEnablements) Search added in v0.202631.0

type CatalogSearch added in v0.202631.0

type CatalogSearch struct {
	// contains filtered or unexported fields
}

CatalogSearch provides fluent global catalog search operations.

type CatalogStorage added in v0.202631.0

type CatalogStorage struct {
	// contains filtered or unexported fields
}

CatalogStorage provides fluent operations for one top-level DataSet storage.

func (*CatalogStorage) Delete added in v0.202631.0

func (*CatalogStorage) Get added in v0.202631.0

func (*CatalogStorage) Patch added in v0.202631.0

func (*CatalogStorage) Update added in v0.202631.0

type CatalogStorages added in v0.202631.0

type CatalogStorages struct {
	// contains filtered or unexported fields
}

CatalogStorages provides fluent top-level DataSet storage operations.

func (*CatalogStorages) Count added in v0.202631.0

func (*CatalogStorages) Create added in v0.202631.0

func (*CatalogStorages) DeleteAll added in v0.202631.0

func (*CatalogStorages) ID added in v0.202631.0

func (*CatalogStorages) Search added in v0.202631.0

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client provides access to the canonical WDM services (ObjectService + ActionService) via ConnectRPC and the Catalog, Pipelines, and Transformers APIs via HTTP/OpenAPI. Construct with New or NewFromConfig.

func New

func New(endpoint string, opts ...Option) (*Client, error)

New returns a RDP SDK client connected to endpoint and configured from opts. If endpoint is empty, DefaultEndpoint is used.

Example:

import rdpsdk "github.com/raft-tech/rdp-sdk-go"

client, err := rdpsdk.New("https://wdm.example.com",
    rdpsdk.WithAPIKey(os.Getenv("RDP_API_KEY")),
)

func NewFromConfig

func NewFromConfig(cfg *Config, opts ...Option) (*Client, error)

NewFromConfig builds a Client from a Config previously returned by LoadConfig. Call-site opts are applied after cfg.Options (last-write wins), letting callers start from an env-loaded baseline and layer on programmatic overrides.

func (*Client) ActionService

func (c *Client) ActionService() serviceconnect.ActionServiceClient

ActionService returns the ConnectRPC ActionServiceClient.

func (*Client) Catalog added in v0.202631.0

func (c *Client) Catalog() *CatalogClient

Catalog returns the fluent Catalog API client.

func (*Client) ObjectService

func (c *Client) ObjectService() serviceconnect.ObjectServiceClient

ObjectService returns the ConnectRPC ObjectServiceClient.

func (*Client) Pipelines added in v0.202631.0

func (c *Client) Pipelines() *PipelinesClient

Pipelines returns the fluent v2 Pipelines API client.

func (*Client) Transformers added in v0.202631.0

func (c *Client) Transformers() *TransformersClient

Transformers returns the fluent v2 Transformers API client.

type ClientCredentials

type ClientCredentials = internal.ClientCredentials

ClientCredentials holds the OAuth2 client credentials grant parameters.

type Config

type Config = internal.Config

Config is the validated SDK configuration produced by LoadConfig.

type ConfigOption

type ConfigOption = internal.ConfigOption

ConfigOption customizes LoadConfig behavior.

type Option

type Option = internal.Option

Option configures a RDP SDK Client. See the With* constructors.

type PipelineCanvas added in v0.202631.0

type PipelineCanvas struct {
	// contains filtered or unexported fields
}

PipelineCanvas provides fluent pipeline canvas catalog operations.

func (*PipelineCanvas) Catalog added in v0.202631.0

type PipelineEvents added in v0.202631.0

type PipelineEvents struct {
	// contains filtered or unexported fields
}

PipelineEvents provides fluent pipeline event stream operations.

func (*PipelineEvents) All added in v0.202631.0

All streams events for all accessible pipelines. The caller owns and must close the response body.

type PipelineInstance added in v0.202631.0

type PipelineInstance struct {
	// contains filtered or unexported fields
}

PipelineInstance provides fluent operations for one pipeline instance.

func (*PipelineInstance) AccessControls added in v0.202631.0

func (r *PipelineInstance) AccessControls() *PipelineInstanceAccessControls

func (*PipelineInstance) Delete added in v0.202631.0

func (*PipelineInstance) Events added in v0.202631.0

Events streams lifecycle events for this pipeline. The caller owns and must close the response body.

func (*PipelineInstance) Get added in v0.202631.0

func (*PipelineInstance) Patch added in v0.202631.0

func (*PipelineInstance) Restart added in v0.202631.0

func (*PipelineInstance) Start added in v0.202631.0

func (*PipelineInstance) Status added in v0.202631.0

func (*PipelineInstance) Stop added in v0.202631.0

func (*PipelineInstance) Transformer added in v0.202631.0

func (r *PipelineInstance) Transformer(transformerInstanceUID string) *PipelineTransformerInstance

func (*PipelineInstance) Update added in v0.202631.0

func (*PipelineInstance) UpdateLayout added in v0.202631.0

type PipelineInstanceAccessControls added in v0.202631.0

type PipelineInstanceAccessControls struct {
	// contains filtered or unexported fields
}

PipelineInstanceAccessControls provides fluent pipeline instance access-control operations.

func (*PipelineInstanceAccessControls) DeleteOne added in v0.202631.0

func (*PipelineInstanceAccessControls) Get added in v0.202631.0

type PipelineInstances added in v0.202631.0

type PipelineInstances struct {
	// contains filtered or unexported fields
}

PipelineInstances provides fluent pipeline instance collection operations.

func (*PipelineInstances) Events added in v0.202631.0

func (r *PipelineInstances) Events() *PipelineEvents

func (*PipelineInstances) ID added in v0.202631.0

func (*PipelineInstances) List added in v0.202631.0

type PipelineMigration added in v0.202631.0

type PipelineMigration struct {
	// contains filtered or unexported fields
}

PipelineMigration provides fluent operations for one pipeline migration.

func (*PipelineMigration) Migrate added in v0.202631.0

type PipelineMigrationInstance added in v0.202631.0

type PipelineMigrationInstance struct {
	// contains filtered or unexported fields
}

PipelineMigrationInstance provides fluent operations for one migration instance.

func (*PipelineMigrationInstance) Delete added in v0.202631.0

func (*PipelineMigrationInstance) Get added in v0.202631.0

type PipelineMigrationInstances added in v0.202631.0

type PipelineMigrationInstances struct {
	// contains filtered or unexported fields
}

PipelineMigrationInstances provides fluent v1-to-v2 migration instance operations.

func (*PipelineMigrationInstances) ID added in v0.202631.0

func (*PipelineMigrationInstances) List added in v0.202631.0

type PipelineMigrations added in v0.202631.0

type PipelineMigrations struct {
	// contains filtered or unexported fields
}

PipelineMigrations provides fluent pipeline migration operations.

func (*PipelineMigrations) ID added in v0.202631.0

func (*PipelineMigrations) Instances added in v0.202631.0

func (*PipelineMigrations) MigrateAll added in v0.202631.0

type PipelineQoS added in v0.202631.0

type PipelineQoS struct {
	// contains filtered or unexported fields
}

PipelineQoS provides fluent pipeline quality-of-service configuration operations.

func (*PipelineQoS) Configuration added in v0.202631.0

func (*PipelineQoS) List added in v0.202631.0

type PipelineQoSConfiguration added in v0.202631.0

type PipelineQoSConfiguration struct {
	// contains filtered or unexported fields
}

PipelineQoSConfiguration provides fluent operations for one pipeline QoS configuration.

func (*PipelineQoSConfiguration) Delete added in v0.202631.0

func (*PipelineQoSConfiguration) Get added in v0.202631.0

type PipelineTemplate added in v0.202631.0

type PipelineTemplate struct {
	// contains filtered or unexported fields
}

PipelineTemplate provides fluent operations for one pipeline template.

func (*PipelineTemplate) AccessControls added in v0.202631.0

func (r *PipelineTemplate) AccessControls() *PipelineTemplateAccessControls

func (*PipelineTemplate) Delete added in v0.202631.0

func (*PipelineTemplate) Get added in v0.202631.0

func (*PipelineTemplate) Update added in v0.202631.0

type PipelineTemplateAccessControls added in v0.202631.0

type PipelineTemplateAccessControls struct {
	// contains filtered or unexported fields
}

PipelineTemplateAccessControls provides fluent pipeline template access-control operations.

func (*PipelineTemplateAccessControls) DeleteOne added in v0.202631.0

func (*PipelineTemplateAccessControls) Get added in v0.202631.0

type PipelineTemplates added in v0.202631.0

type PipelineTemplates struct {
	// contains filtered or unexported fields
}

PipelineTemplates provides fluent pipeline template collection operations.

func (*PipelineTemplates) Create added in v0.202631.0

func (*PipelineTemplates) ID added in v0.202631.0

func (*PipelineTemplates) List added in v0.202631.0

type PipelineTransformerInstance added in v0.202631.0

type PipelineTransformerInstance struct {
	// contains filtered or unexported fields
}

PipelineTransformerInstance provides fluent operations for one transformer instance in a pipeline.

func (*PipelineTransformerInstance) Logs added in v0.202631.0

Logs streams logs for this transformer instance. The caller owns and must close the response body.

type PipelinesClient added in v0.202631.0

type PipelinesClient struct {
	// contains filtered or unexported fields
}

PipelinesClient provides fluent access to the RDP v2 Pipelines API.

func (*PipelinesClient) Canvas added in v0.202631.0

func (c *PipelinesClient) Canvas() *PipelineCanvas

Canvas returns fluent pipeline canvas catalog operations.

func (*PipelinesClient) Instances added in v0.202631.0

func (c *PipelinesClient) Instances() *PipelineInstances

Instances returns fluent pipeline instance operations.

func (*PipelinesClient) Migrations added in v0.202631.0

func (c *PipelinesClient) Migrations() *PipelineMigrations

Migrations returns fluent pipeline migration operations.

func (*PipelinesClient) QoS added in v0.202631.0

func (c *PipelinesClient) QoS() *PipelineQoS

QoS returns fluent pipeline quality-of-service operations.

func (*PipelinesClient) Raw added in v0.202631.0

Raw returns the generated OpenAPI response client for advanced use.

func (*PipelinesClient) Templates added in v0.202631.0

func (c *PipelinesClient) Templates() *PipelineTemplates

Templates returns fluent pipeline template operations.

type Transformer added in v0.202631.0

type Transformer struct {
	// contains filtered or unexported fields
}

Transformer provides fluent operations for one transformer working copy.

func (*Transformer) Delete added in v0.202631.0

func (*Transformer) Get added in v0.202631.0

func (*Transformer) Versions added in v0.202631.0

func (r *Transformer) Versions() *TransformerVersions

type TransformerCatalog added in v0.202631.0

type TransformerCatalog struct {
	// contains filtered or unexported fields
}

TransformerCatalog provides fluent transformer catalog operations.

func (*TransformerCatalog) List added in v0.202631.0

List returns transformer catalog entries.

type TransformerVersion added in v0.202631.0

type TransformerVersion struct {
	// contains filtered or unexported fields
}

TransformerVersion provides fluent operations for one published transformer version.

func (*TransformerVersion) Get added in v0.202631.0

type TransformerVersions added in v0.202631.0

type TransformerVersions struct {
	// contains filtered or unexported fields
}

TransformerVersions provides fluent published-version operations for one transformer.

func (*TransformerVersions) List added in v0.202631.0

func (*TransformerVersions) Version added in v0.202631.0

func (r *TransformerVersions) Version(version string) *TransformerVersion

type TransformersClient added in v0.202631.0

type TransformersClient struct {
	// contains filtered or unexported fields
}

TransformersClient provides fluent access to the RDP v2 Transformers API.

func (*TransformersClient) Catalog added in v0.202631.0

func (c *TransformersClient) Catalog() *TransformerCatalog

Catalog returns fluent transformer catalog operations.

func (*TransformersClient) Create added in v0.202631.0

Create creates a transformer working copy.

func (*TransformersClient) ID added in v0.202631.0

ID returns fluent operations for one transformer working copy.

func (*TransformersClient) List added in v0.202631.0

List returns transformer working copies.

func (*TransformersClient) Raw added in v0.202631.0

Raw returns the generated OpenAPI response client for advanced use.

func (*TransformersClient) Types added in v0.202631.0

Types lists supported transformer type values.

Directories

Path Synopsis
Package catalog provides primitives to interact with the openapi HTTP API.
Package catalog provides primitives to interact with the openapi HTTP API.
examples
objects-publish command
Run:
Run:
objects-search command
Run:
Run:
Package internal holds the shared HTTP/auth/config infrastructure used by the public SDK facade package.
Package internal holds the shared HTTP/auth/config infrastructure used by the public SDK facade package.
Package pipelines provides primitives to interact with the openapi HTTP API.
Package pipelines provides primitives to interact with the openapi HTTP API.
Package transformers provides primitives to interact with the openapi HTTP API.
Package transformers provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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