MCPcopy
hub / github.com/argoproj/argo-cd / ParametersAnnouncementStream

Interface ParametersAnnouncementStream

cmpserver/plugin/plugin.go:376–379  ·  view source on GitHub ↗

ParametersAnnouncementStream defines an interface able to send/receive a stream of parameter announcements.

Source from the content-addressed store, hash-verified

374
375// ParametersAnnouncementStream defines an interface able to send/receive a stream of parameter announcements.
376type ParametersAnnouncementStream interface {
377 Stream
378 SendAndClose(response *apiclient.ParametersAnnouncementResponse) error
379}
380
381// GetParametersAnnouncement gets parameter announcements for a given Application and repo contents.
382func (s *Service) GetParametersAnnouncement(stream apiclient.ConfigManagementPluginService_GetParametersAnnouncementServer) error {

Callers

nothing calls this directly

Implementers 9

MockGenerateManifestStreamcmpserver/plugin/plugin_test.go
MockMatchRepositoryStreamcmpserver/plugin/plugin_test.go
MockParametersAnnouncementStreamcmpserver/plugin/plugin_test.go
repoServerServiceGenerateManifestWithFilesServerreposerver/apiclient/repository.pb.go
applicationServiceGetManifestsWithFilesServerpkg/apiclient/application/application.
TestServerStreamserver/application/application_test.go

Calls

no outgoing calls

Tested by

no test coverage detected