fake

package
v0.0.0-...-6c868a8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Copyright 2018 The rss-operator 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.

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.

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClusterlabsV1alpha1

type FakeClusterlabsV1alpha1 struct {
	*testing.Fake
}

func (*FakeClusterlabsV1alpha1) RESTClient

func (c *FakeClusterlabsV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeClusterlabsV1alpha1) ReplicatedStatefulSets

func (c *FakeClusterlabsV1alpha1) ReplicatedStatefulSets(namespace string) v1alpha1.ReplicatedStatefulSetInterface

type FakeReplicatedStatefulSets

type FakeReplicatedStatefulSets struct {
	Fake *FakeClusterlabsV1alpha1
	// contains filtered or unexported fields
}

FakeReplicatedStatefulSets implements ReplicatedStatefulSetInterface

func (*FakeReplicatedStatefulSets) Create

func (c *FakeReplicatedStatefulSets) Create(replicatedStatefulSet *v1alpha1.ReplicatedStatefulSet) (result *v1alpha1.ReplicatedStatefulSet, err error)

Create takes the representation of a replicatedStatefulSet and creates it. Returns the server's representation of the replicatedStatefulSet, and an error, if there is any.

func (*FakeReplicatedStatefulSets) Delete

func (c *FakeReplicatedStatefulSets) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the replicatedStatefulSet and deletes it. Returns an error if one occurs.

func (*FakeReplicatedStatefulSets) DeleteCollection

func (c *FakeReplicatedStatefulSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeReplicatedStatefulSets) Get

func (c *FakeReplicatedStatefulSets) Get(name string, options v1.GetOptions) (result *v1alpha1.ReplicatedStatefulSet, err error)

Get takes name of the replicatedStatefulSet, and returns the corresponding replicatedStatefulSet object, and an error if there is any.

func (*FakeReplicatedStatefulSets) List

List takes label and field selectors, and returns the list of ReplicatedStatefulSets that match those selectors.

func (*FakeReplicatedStatefulSets) Patch

func (c *FakeReplicatedStatefulSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ReplicatedStatefulSet, err error)

Patch applies the patch and returns the patched replicatedStatefulSet.

func (*FakeReplicatedStatefulSets) Update

func (c *FakeReplicatedStatefulSets) Update(replicatedStatefulSet *v1alpha1.ReplicatedStatefulSet) (result *v1alpha1.ReplicatedStatefulSet, err error)

Update takes the representation of a replicatedStatefulSet and updates it. Returns the server's representation of the replicatedStatefulSet, and an error, if there is any.

func (*FakeReplicatedStatefulSets) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeReplicatedStatefulSets) Watch

Watch returns a watch.Interface that watches the requested replicatedStatefulSets.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL