Documentation ¶
Overview ¶
Copyright 2017 The helm-apiserver Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Package fake has the automatically generated clients.
Copyright 2017 The helm-apiserver Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 The helm-apiserver Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- type FakeHelmV1alpha1
- type FakeReleases
- func (c *FakeReleases) Create(release *v1alpha1.Release) (result *v1alpha1.Release, err error)
- func (c *FakeReleases) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeReleases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeReleases) Get(name string, options v1.GetOptions) (result *v1alpha1.Release, err error)
- func (c *FakeReleases) List(opts v1.ListOptions) (result *v1alpha1.ReleaseList, err error)
- func (c *FakeReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Release, err error)
- func (c *FakeReleases) Update(release *v1alpha1.Release) (result *v1alpha1.Release, err error)
- func (c *FakeReleases) UpdateStatus(release *v1alpha1.Release) (*v1alpha1.Release, error)
- func (c *FakeReleases) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHelmV1alpha1 ¶
func (*FakeHelmV1alpha1) RESTClient ¶
func (c *FakeHelmV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeHelmV1alpha1) Releases ¶
func (c *FakeHelmV1alpha1) Releases(namespace string) v1alpha1.ReleaseInterface
type FakeReleases ¶
type FakeReleases struct { Fake *FakeHelmV1alpha1 // contains filtered or unexported fields }
FakeReleases implements ReleaseInterface
func (*FakeReleases) Create ¶
Create takes the representation of a release and creates it. Returns the server's representation of the release, and an error, if there is any.
func (*FakeReleases) Delete ¶
func (c *FakeReleases) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the release and deletes it. Returns an error if one occurs.
func (*FakeReleases) DeleteCollection ¶
func (c *FakeReleases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeReleases) Get ¶
func (c *FakeReleases) Get(name string, options v1.GetOptions) (result *v1alpha1.Release, err error)
Get takes name of the release, and returns the corresponding release object, and an error if there is any.
func (*FakeReleases) List ¶
func (c *FakeReleases) List(opts v1.ListOptions) (result *v1alpha1.ReleaseList, err error)
List takes label and field selectors, and returns the list of Releases that match those selectors.
func (*FakeReleases) Patch ¶
func (c *FakeReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Release, err error)
Patch applies the patch and returns the patched release.
func (*FakeReleases) Update ¶
Update takes the representation of a release and updates it. Returns the server's representation of the release, and an error, if there is any.
func (*FakeReleases) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeReleases) Watch ¶
func (c *FakeReleases) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested releases.