util

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentUser

func GetCurrentUser(cookies []*http.Cookie) (string, error)

func GetParams

func GetParams(regEx, url string) (paramsMap map[string]string)

*

  • Parses url with the given regular expression and returns the
  • group values defined in the expression. *

func GetProjectId

func GetProjectId() (string, error)

func GetRancherClient

func GetRancherClient() (*client.RancherClient, error)

func RandStringRunes

func RandStringRunes(n int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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