GitOps for k8s
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

api.go 548B

12345678910111213141516171819202122232425
  1. // This package defines the types for Flux API version 11.
  2. package v11
  3. import (
  4. "context"
  5. "github.com/fluxcd/flux/api/v10"
  6. "github.com/fluxcd/flux/api/v6"
  7. "github.com/fluxcd/flux/resource"
  8. )
  9. type ListServicesOptions struct {
  10. Namespace string
  11. Services []resource.ID
  12. }
  13. type Server interface {
  14. v10.Server
  15. ListServicesWithOptions(ctx context.Context, opts ListServicesOptions) ([]v6.ControllerStatus, error)
  16. // NB Upstream methods move into the public API, since
  17. // weaveworks/flux-adapter now relies on the public API
  18. v10.Upstream
  19. }