Documentation ¶
Overview ¶
Copyright 2018 Jetstack Ltd.
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 2018 Jetstack Ltd.
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 2018 Jetstack Ltd.
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 2018 Jetstack Ltd.
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 2018 Jetstack Ltd.
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 FakeCassandraClusters
- func (c *FakeCassandraClusters) Create(cassandraCluster *v1alpha1.CassandraCluster) (result *v1alpha1.CassandraCluster, err error)
- func (c *FakeCassandraClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCassandraClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCassandraClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.CassandraCluster, err error)
- func (c *FakeCassandraClusters) List(opts v1.ListOptions) (result *v1alpha1.CassandraClusterList, err error)
- func (c *FakeCassandraClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CassandraCluster, err error)
- func (c *FakeCassandraClusters) Update(cassandraCluster *v1alpha1.CassandraCluster) (result *v1alpha1.CassandraCluster, err error)
- func (c *FakeCassandraClusters) UpdateStatus(cassandraCluster *v1alpha1.CassandraCluster) (*v1alpha1.CassandraCluster, error)
- func (c *FakeCassandraClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeElasticsearchClusters
- func (c *FakeElasticsearchClusters) Create(elasticsearchCluster *v1alpha1.ElasticsearchCluster) (result *v1alpha1.ElasticsearchCluster, err error)
- func (c *FakeElasticsearchClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeElasticsearchClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeElasticsearchClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.ElasticsearchCluster, err error)
- func (c *FakeElasticsearchClusters) List(opts v1.ListOptions) (result *v1alpha1.ElasticsearchClusterList, err error)
- func (c *FakeElasticsearchClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ElasticsearchCluster, err error)
- func (c *FakeElasticsearchClusters) Update(elasticsearchCluster *v1alpha1.ElasticsearchCluster) (result *v1alpha1.ElasticsearchCluster, err error)
- func (c *FakeElasticsearchClusters) UpdateStatus(elasticsearchCluster *v1alpha1.ElasticsearchCluster) (*v1alpha1.ElasticsearchCluster, error)
- func (c *FakeElasticsearchClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeNavigatorV1alpha1
- func (c *FakeNavigatorV1alpha1) CassandraClusters(namespace string) v1alpha1.CassandraClusterInterface
- func (c *FakeNavigatorV1alpha1) ElasticsearchClusters(namespace string) v1alpha1.ElasticsearchClusterInterface
- func (c *FakeNavigatorV1alpha1) Pilots(namespace string) v1alpha1.PilotInterface
- func (c *FakeNavigatorV1alpha1) RESTClient() rest.Interface
- type FakePilots
- func (c *FakePilots) Create(pilot *v1alpha1.Pilot) (result *v1alpha1.Pilot, err error)
- func (c *FakePilots) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePilots) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePilots) Get(name string, options v1.GetOptions) (result *v1alpha1.Pilot, err error)
- func (c *FakePilots) List(opts v1.ListOptions) (result *v1alpha1.PilotList, err error)
- func (c *FakePilots) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Pilot, err error)
- func (c *FakePilots) Update(pilot *v1alpha1.Pilot) (result *v1alpha1.Pilot, err error)
- func (c *FakePilots) UpdateStatus(pilot *v1alpha1.Pilot) (*v1alpha1.Pilot, error)
- func (c *FakePilots) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCassandraClusters ¶
type FakeCassandraClusters struct { Fake *FakeNavigatorV1alpha1 // contains filtered or unexported fields }
FakeCassandraClusters implements CassandraClusterInterface
func (*FakeCassandraClusters) Create ¶
func (c *FakeCassandraClusters) Create(cassandraCluster *v1alpha1.CassandraCluster) (result *v1alpha1.CassandraCluster, err error)
Create takes the representation of a cassandraCluster and creates it. Returns the server's representation of the cassandraCluster, and an error, if there is any.
func (*FakeCassandraClusters) Delete ¶
func (c *FakeCassandraClusters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cassandraCluster and deletes it. Returns an error if one occurs.
func (*FakeCassandraClusters) DeleteCollection ¶
func (c *FakeCassandraClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCassandraClusters) Get ¶
func (c *FakeCassandraClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.CassandraCluster, err error)
Get takes name of the cassandraCluster, and returns the corresponding cassandraCluster object, and an error if there is any.
func (*FakeCassandraClusters) List ¶
func (c *FakeCassandraClusters) List(opts v1.ListOptions) (result *v1alpha1.CassandraClusterList, err error)
List takes label and field selectors, and returns the list of CassandraClusters that match those selectors.
func (*FakeCassandraClusters) Patch ¶
func (c *FakeCassandraClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CassandraCluster, err error)
Patch applies the patch and returns the patched cassandraCluster.
func (*FakeCassandraClusters) Update ¶
func (c *FakeCassandraClusters) Update(cassandraCluster *v1alpha1.CassandraCluster) (result *v1alpha1.CassandraCluster, err error)
Update takes the representation of a cassandraCluster and updates it. Returns the server's representation of the cassandraCluster, and an error, if there is any.
func (*FakeCassandraClusters) UpdateStatus ¶
func (c *FakeCassandraClusters) UpdateStatus(cassandraCluster *v1alpha1.CassandraCluster) (*v1alpha1.CassandraCluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCassandraClusters) Watch ¶
func (c *FakeCassandraClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cassandraClusters.
type FakeElasticsearchClusters ¶
type FakeElasticsearchClusters struct { Fake *FakeNavigatorV1alpha1 // contains filtered or unexported fields }
FakeElasticsearchClusters implements ElasticsearchClusterInterface
func (*FakeElasticsearchClusters) Create ¶
func (c *FakeElasticsearchClusters) Create(elasticsearchCluster *v1alpha1.ElasticsearchCluster) (result *v1alpha1.ElasticsearchCluster, err error)
Create takes the representation of a elasticsearchCluster and creates it. Returns the server's representation of the elasticsearchCluster, and an error, if there is any.
func (*FakeElasticsearchClusters) Delete ¶
func (c *FakeElasticsearchClusters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the elasticsearchCluster and deletes it. Returns an error if one occurs.
func (*FakeElasticsearchClusters) DeleteCollection ¶
func (c *FakeElasticsearchClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeElasticsearchClusters) Get ¶
func (c *FakeElasticsearchClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.ElasticsearchCluster, err error)
Get takes name of the elasticsearchCluster, and returns the corresponding elasticsearchCluster object, and an error if there is any.
func (*FakeElasticsearchClusters) List ¶
func (c *FakeElasticsearchClusters) List(opts v1.ListOptions) (result *v1alpha1.ElasticsearchClusterList, err error)
List takes label and field selectors, and returns the list of ElasticsearchClusters that match those selectors.
func (*FakeElasticsearchClusters) Patch ¶
func (c *FakeElasticsearchClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ElasticsearchCluster, err error)
Patch applies the patch and returns the patched elasticsearchCluster.
func (*FakeElasticsearchClusters) Update ¶
func (c *FakeElasticsearchClusters) Update(elasticsearchCluster *v1alpha1.ElasticsearchCluster) (result *v1alpha1.ElasticsearchCluster, err error)
Update takes the representation of a elasticsearchCluster and updates it. Returns the server's representation of the elasticsearchCluster, and an error, if there is any.
func (*FakeElasticsearchClusters) UpdateStatus ¶
func (c *FakeElasticsearchClusters) UpdateStatus(elasticsearchCluster *v1alpha1.ElasticsearchCluster) (*v1alpha1.ElasticsearchCluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeElasticsearchClusters) Watch ¶
func (c *FakeElasticsearchClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested elasticsearchClusters.
type FakeNavigatorV1alpha1 ¶
type FakeNavigatorV1alpha1 struct {
}func (*FakeNavigatorV1alpha1) CassandraClusters ¶
func (c *FakeNavigatorV1alpha1) CassandraClusters(namespace string) v1alpha1.CassandraClusterInterface
func (*FakeNavigatorV1alpha1) ElasticsearchClusters ¶
func (c *FakeNavigatorV1alpha1) ElasticsearchClusters(namespace string) v1alpha1.ElasticsearchClusterInterface
func (*FakeNavigatorV1alpha1) Pilots ¶
func (c *FakeNavigatorV1alpha1) Pilots(namespace string) v1alpha1.PilotInterface
func (*FakeNavigatorV1alpha1) RESTClient ¶
func (c *FakeNavigatorV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePilots ¶
type FakePilots struct { Fake *FakeNavigatorV1alpha1 // contains filtered or unexported fields }
FakePilots implements PilotInterface
func (*FakePilots) Create ¶
Create takes the representation of a pilot and creates it. Returns the server's representation of the pilot, and an error, if there is any.
func (*FakePilots) Delete ¶
func (c *FakePilots) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the pilot and deletes it. Returns an error if one occurs.
func (*FakePilots) DeleteCollection ¶
func (c *FakePilots) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePilots) Get ¶
func (c *FakePilots) Get(name string, options v1.GetOptions) (result *v1alpha1.Pilot, err error)
Get takes name of the pilot, and returns the corresponding pilot object, and an error if there is any.
func (*FakePilots) List ¶
func (c *FakePilots) List(opts v1.ListOptions) (result *v1alpha1.PilotList, err error)
List takes label and field selectors, and returns the list of Pilots that match those selectors.
func (*FakePilots) Patch ¶
func (c *FakePilots) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Pilot, err error)
Patch applies the patch and returns the patched pilot.
func (*FakePilots) Update ¶
Update takes the representation of a pilot and updates it. Returns the server's representation of the pilot, and an error, if there is any.
func (*FakePilots) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePilots) Watch ¶
func (c *FakePilots) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pilots.