url

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(client *occlient.Client, name string) error

Delete deletes a URL

func GetUrlString added in v0.0.4

func GetUrlString(url URL) string

Types

type URL

type URL struct {
	Name     string
	URL      string
	Protocol string
}

func Create

func Create(client *occlient.Client, componentName, applicationName string) (*URL, error)

Create creates a URL

func List

func List(client *occlient.Client, componentName string, applicationName string) ([]URL, error)

List lists the URLs in an application. The results can further be narrowed down if a component name is provided, which will only list URLs for the given component

Jump to

Keyboard shortcuts

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