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.

fake_flux.weave.works_client.go 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. Copyright 2018 Weaveworks Ltd.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. // Code generated by client-gen. DO NOT EDIT.
  14. package fake
  15. import (
  16. v1beta1 "github.com/fluxcd/flux/integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1"
  17. rest "k8s.io/client-go/rest"
  18. testing "k8s.io/client-go/testing"
  19. )
  20. type FakeFluxV1beta1 struct {
  21. *testing.Fake
  22. }
  23. func (c *FakeFluxV1beta1) HelmReleases(namespace string) v1beta1.HelmReleaseInterface {
  24. return &FakeHelmReleases{c, namespace}
  25. }
  26. // RESTClient returns a RESTClient that is used to communicate
  27. // with API server by this client implementation.
  28. func (c *FakeFluxV1beta1) RESTClient() rest.Interface {
  29. var ret *rest.RESTClient
  30. return ret
  31. }