downstream

package
v1.14.0-beta.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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"`
	LinedRemoved int `json:"linesRemoved"`
}

func DiffAppVersionsForDownstreams

func DiffAppVersionsForDownstreams(downstreamName string, archive string, diffBasePath string) (*Diff, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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