Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound error = fmt.Errorf("not found")
View Source
var RolloutServiceUser auth.User = auth.User{
Email: "kuberpult-rollout-service@local",
Name: "kuberpult-rollout-service",
}
This is a the user that the rollout service uses to query the versions. It is not written to the repository.
Functions ¶
This section is empty.
Types ¶
type KuberpultEvent ¶
type VersionClient ¶
type VersionClient interface { GetVersion(ctx context.Context, revision, environment, application string) (*VersionInfo, error) ConsumeEvents(ctx context.Context, processor VersionEventProcessor, hr *setup.HealthReporter) error GetArgoProcessor() *argo.ArgoAppProcessor }
func New ¶
func New(oclient api.OverviewServiceClient, vclient api.VersionServiceClient, appClient application.ApplicationServiceClient, manageArgoApplicationEnabled bool, manageArgoApplicationFilter []string) VersionClient
type VersionEventProcessor ¶
type VersionEventProcessor interface {
ProcessKuberpultEvent(ctx context.Context, ev KuberpultEvent)
}
type VersionInfo ¶
var ZeroVersion VersionInfo
func (*VersionInfo) Equal ¶
func (v *VersionInfo) Equal(w *VersionInfo) bool
Click to show internal directories.
Click to hide internal directories.