gsrelease

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apps added in v0.2.0

type Apps struct {
	ComponentVersion string `json:"componentVersion"`
	Name             string `json:"name"`
	Version          string `json:"version"`
}

type Components added in v0.2.0

type Components struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

type Config

type Config struct {
	NoCache bool
}

type GSRelease

type GSRelease struct {
	// contains filtered or unexported fields
}

func New

func New(c Config) (*GSRelease, error)

func (*GSRelease) ReleaseComponents

func (r *GSRelease) ReleaseComponents(version string) map[string]string

func (*GSRelease) Validate

func (r *GSRelease) Validate(version string) bool

type Release

type Release struct {
	Kind     string          `json:"kind"`
	Metadata ReleaseMetadata `json:"metadata"`
	Spec     ReleaseSpec     `json:"spec"`
	Version  string          `json:"apiVersion"`
}

type ReleaseMetadata added in v0.2.0

type ReleaseMetadata struct {
	Name        string            `json:"name"`
	Annotations map[string]string `json:"annotations"`
}

type ReleaseSpec added in v0.2.0

type ReleaseSpec struct {
	Date       string       `json:"date"`
	Apps       []Apps       `json:"apps"`
	Components []Components `json:"components"`
	State      string       `json:"state"`
	Version    string       `json:"version"`
}

Jump to

Keyboard shortcuts

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