client

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewClient = newGRPCClient

NewClient defines an (overridable) means of creating a new client.

Functions

func DefaultStorage

func DefaultStorage() (storage.ConfigStore, storage.SecretStore)

DefaultStorage returns the default configured config store and secret store.

func DialOptsFromFlags

func DialOptsFromFlags(cmd *cobra.Command, token storage.Token) ([]grpc.DialOption, error)

DialOptsFromFlags returns the dial options from the CLI-specified flags.

Types

type Client

Client defines an interface for making calls to SpiceDB API.

Jump to

Keyboard shortcuts

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