http

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsURL

func IsURL(str string) bool

IsURL returns true if string is an URL

func Read

func Read(urlPath string) (*bytes.Buffer, error)

Read returns a buffer for the file at the url

func ToRuntimeObjects

func ToRuntimeObjects(urlPath string) ([]runtime.Object, error)

ToRuntimeObjects takes a url, pulls the file and returns []runtime.Object url must be a full path to a manifest file. that file can have multiple runtime objects.

Types

This section is empty.

Jump to

Keyboard shortcuts

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