software

package
v1.11.8 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerImage

type ContainerImage struct {
	Name string `json:"name"`
	HREF string `json:"href,omitempty"`
}

type Software

type Software struct {
	Links      lowlevel.LinkList `json:"_links,omitempty"`
	Identifier string            `json:"identifier"`
	Name       string            `json:"name"`
	Versions   []Version         `json:"versions"`
}

func (*Software) LatestVersion

func (s *Software) LatestVersion() *Version

type SoftwareClient

type SoftwareClient interface {
	List() ([]Software, error)
	ListWithVersions() ([]Software, error)
	Get(softwareID string) (*Software, error)
}

func NewSoftwareClient

func NewSoftwareClient(client *lowlevel.SpacesLowlevelClient, group string) SoftwareClient

type Version

type Version struct {
	Number         string         `json:"number"`
	HREF           string         `json:"href,omitempty"`
	ContainerImage ContainerImage `json:"containerImage"`
}

Jump to

Keyboard shortcuts

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