tritonx

package
v0.0.106 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigSchemaID = "clinia://triton-config"

Variables

View Source
var ConfigSchema string

Functions

func AddConfigSchema added in v0.0.100

func AddConfigSchema(c interface {
	AddResource(url string, r io.Reader) error
},
) error

AddConfigSchema adds the tracing schema to the compiler. The interface is specified instead of `jsonschema.Compiler` to allow the use of any jsonschema library fork or version.

Types

type Client

type Client struct {
	Inference tritongrpc.GRPCInferenceServiceClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context, cfg Config) (*Client, error)

func (*Client) Close

func (t *Client) Close() error

type Config

type Config struct {
	Insecure bool   `json:"insecure"`
	Host     string `json:"host"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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