deployment

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultExposeProtocol = "http"

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeService added in v0.0.7

type FakeService struct {
	DeleteFn        func(deploymentName, namespace, stageName string, committer state.Committer) error
	DeleteCallCount int
}

func (*FakeService) Delete added in v0.0.7

func (f *FakeService) Delete(deploymentName, namespace, stageName string, committer state.Committer) error

func (*FakeService) Update added in v0.0.7

func (f *FakeService) Update(deployment *core.DeploymentConfig, committer state.Committer, dryRun bool) error

type Service

type Service interface {
	Update(deployment *core.DeploymentConfig, committer state.Committer, dryRun bool) error
	Delete(deploymentName, namespace, stageName string, committer state.Committer) error
}

func NewService

func NewService(secrets secret.Service, stages core.StageRepository, deployments core.DeploymentRepository) Service

Jump to

Keyboard shortcuts

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