Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeService ¶ added in v0.0.7
type FakeService struct { DeleteFn func(name *core.NamespacedName, envName string, committer state.Committer) error DeleteCallCount int }
func (*FakeService) Delete ¶ added in v0.0.7
func (f *FakeService) Delete(name *core.NamespacedName, envName 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) (int64, error)
type Service ¶
type Service interface { Update(deployment *core.DeploymentConfig, committer state.Committer, dryRun bool) (riserRevision int64, err error) Delete(name *core.NamespacedName, envName string, committer state.Committer) error }
func NewService ¶
func NewService( apps core.AppRepository, namespaceService namespace.Service, secrets core.SecretMetaRepository, environments core.EnvironmentRepository, deployments core.DeploymentRepository, reservationService deploymentreservation.Service) Service
Click to show internal directories.
Click to hide internal directories.