examples

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package examples contains fake client with the same interface as real client to overcome import-cycle problem to allow real E2E examples for apis in this package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(_ string, _ string) *fakeClient

func NewClientWithOptions

func NewClientWithOptions(_ string, _ string, _ *Options) *fakeClient

Types

type Options

type Options struct {
}

Options is fake options to satisfy Client interface

func DefaultOptions

func DefaultOptions() *Options

func (*Options) SetBatchSize

func (o *Options) SetBatchSize(_ uint) *Options

Jump to

Keyboard shortcuts

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