catalog

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists added in v0.0.4

func Exists(client *occlient.Client, componentType string) (bool, error)

Exists returns true if the given component type is valid, false if not

func Search(client *occlient.Client, name string) ([]string, error)

Search searches for the component

func VersionExists added in v0.0.9

func VersionExists(client *occlient.Client, componentType string, componentVersion string) (bool, error)

VersionExists checks if that version exists, returns true if the given version exists, false if not

Types

type CatalogImage added in v0.0.9

type CatalogImage struct {
	Name          string
	Namespace     string
	AllTags       []string
	NonHiddenTags []string
}

func List

func List(client *occlient.Client) ([]CatalogImage, error)

List lists all the available component types

Jump to

Keyboard shortcuts

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