downstream

package
v1.15.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDownstreamVersionStatus

func GetDownstreamVersionStatus(appID string, sequence int64) (string, error)

GetDownstreamVersionStatus gets the status for the downstream version with the given sequence and app id

func GetIgnoreRBACErrors

func GetIgnoreRBACErrors(appID string, sequence int64) (bool, error)

func ListDownstreamsForApp

func ListDownstreamsForApp(appID string) ([]*types.Downstream, error)

func SetDownstreamVersionPendingPreflight

func SetDownstreamVersionPendingPreflight(appID string, sequence int64) error

SetDownstreamVersionPendingPreflight sets the status for the downstream version with the given sequence and app id to "pending_preflight"

func SetDownstreamVersionReady

func SetDownstreamVersionReady(appID string, sequence int64) error

SetDownstreamVersionReady sets the status for the downstream version with the given sequence and app id to "pending"

func SetIgnorePreflightPermissionErrors

func SetIgnorePreflightPermissionErrors(appID string, sequence int64) error

Types

type Diff

type Diff struct {
	FilesChanged int `json:"filesChanged"`
	LinesAdded   int `json:"linesAdded"`
	LinesRemoved int `json:"linesRemoved"`
}

func DiffAppVersionsForDownstream added in v1.15.0

func DiffAppVersionsForDownstream(downstreamName string, archive string, diffBasePath string, kustomizeVersion string) (*Diff, error)

DiffAppVersionsForDownstream will generate a diff of the rendered yaml between two different archivedirs

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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