http

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Get(ctx context.Context, absPath string) ([]byte, error)
	List(ctx context.Context, absPath string, option types.Option) ([]byte, error)
	Create(ctx context.Context, absPath string, data []byte, option types.Option) ([]byte, error)
	Update(ctx context.Context, absPath string, data []byte, option types.Option) ([]byte, error)
	Patch(ctx context.Context, absPath string, pt types2.PatchType, data []byte) ([]byte, error)
	Delete(ctx context.Context, absPath string, option types.Option) ([]byte, error)
}

Interface for http requests

func NewForConfig

func NewForConfig(cfg *rest.Config) (Interface, error)

NewForConfig returns http client interface

Jump to

Keyboard shortcuts

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