Help us shape the future of Go! Take the 2026 Go Developer Survey

hub

package
v0.48.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResource added in v0.24.0

func GetResource(ctx context.Context, cs *params.Run, catalogName, resource, kind string) (string, error)

GetResource returns a resource from the hub.

Types

type Client added in v0.37.0

type Client interface {
	GetResource(ctx context.Context, catalogName, resource, kind string) (string, error)
}

Client is an interface for a hub client.

func NewClient added in v0.37.0

func NewClient(_ context.Context, cs *params.Run, catalogName string) (Client, error)

NewClient returns a new hub client.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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