release

package
v0.0.0-...-b04011d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Branch string
}

type Release

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

func New

func New(config Config) (*Release, error)

func (*Release) ReleaseComponents

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

func (*Release) Validate

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

type ReleaseObject

type ReleaseObject struct {
	Kind     string
	Metadata ReleaseObjectMetadata
	Spec     ReleaseObjectSpec
	Version  string
}

type ReleaseObjectMetadata

type ReleaseObjectMetadata struct {
	Name        string
	Annotations map[string]string
}

type ReleaseObjectSpec

type ReleaseObjectSpec struct {
	Date       string
	Apps       []ReleaseObjectSpecApp
	Components []ReleaseObjectSpecComponent
	State      string
	Version    string
}

type ReleaseObjectSpecApp

type ReleaseObjectSpecApp struct {
	ComponentVersion string
	Name             string
	Version          string
}

type ReleaseObjectSpecComponent

type ReleaseObjectSpecComponent struct {
	Name    string
	Version string
}

Jump to

Keyboard shortcuts

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