provider

package
v0.7.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ListPerPageOpt represents the value for PerPage in list options.
	ListPerPageOpt = 30
)

Variables

This section is empty.

Functions

func ParseRepoURL added in v0.7.1

func ParseRepoURL(url string) (string, string)

ParseRepoURL is a helper func to parse the repo url, such as https://github.com/caicloud/test.git to return owner(caicloud) and name(test).

func ParseServerURL added in v0.7.1

func ParseServerURL(url string) string

ParseServerURL is a helper func to parse the server url, such as https://github.com/ to return server(github.com).

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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