Documentation ¶
Overview ¶
Copyright 2018 Oracle and/or its affiliates. All rights reserved.
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 Oracle and/or its affiliates. All rights reserved.
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 Oracle and/or its affiliates. All rights reserved.
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 FakeAutonomousDatabases
- func (c *FakeAutonomousDatabases) Create(autonomousDatabase *v1alpha1.AutonomousDatabase) (result *v1alpha1.AutonomousDatabase, err error)
- func (c *FakeAutonomousDatabases) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAutonomousDatabases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAutonomousDatabases) Get(name string, options v1.GetOptions) (result *v1alpha1.AutonomousDatabase, err error)
- func (c *FakeAutonomousDatabases) List(opts v1.ListOptions) (result *v1alpha1.AutonomousDatabaseList, err error)
- func (c *FakeAutonomousDatabases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AutonomousDatabase, err error)
- func (c *FakeAutonomousDatabases) Update(autonomousDatabase *v1alpha1.AutonomousDatabase) (result *v1alpha1.AutonomousDatabase, err error)
- func (c *FakeAutonomousDatabases) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeOcidbV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAutonomousDatabases ¶
type FakeAutonomousDatabases struct { Fake *FakeOcidbV1alpha1 // contains filtered or unexported fields }
FakeAutonomousDatabases implements AutonomousDatabaseInterface
func (*FakeAutonomousDatabases) Create ¶
func (c *FakeAutonomousDatabases) Create(autonomousDatabase *v1alpha1.AutonomousDatabase) (result *v1alpha1.AutonomousDatabase, err error)
Create takes the representation of a autonomousDatabase and creates it. Returns the server's representation of the autonomousDatabase, and an error, if there is any.
func (*FakeAutonomousDatabases) Delete ¶
func (c *FakeAutonomousDatabases) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the autonomousDatabase and deletes it. Returns an error if one occurs.
func (*FakeAutonomousDatabases) DeleteCollection ¶
func (c *FakeAutonomousDatabases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAutonomousDatabases) Get ¶
func (c *FakeAutonomousDatabases) Get(name string, options v1.GetOptions) (result *v1alpha1.AutonomousDatabase, err error)
Get takes name of the autonomousDatabase, and returns the corresponding autonomousDatabase object, and an error if there is any.
func (*FakeAutonomousDatabases) List ¶
func (c *FakeAutonomousDatabases) List(opts v1.ListOptions) (result *v1alpha1.AutonomousDatabaseList, err error)
List takes label and field selectors, and returns the list of AutonomousDatabases that match those selectors.
func (*FakeAutonomousDatabases) Patch ¶
func (c *FakeAutonomousDatabases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AutonomousDatabase, err error)
Patch applies the patch and returns the patched autonomousDatabase.
func (*FakeAutonomousDatabases) Update ¶
func (c *FakeAutonomousDatabases) Update(autonomousDatabase *v1alpha1.AutonomousDatabase) (result *v1alpha1.AutonomousDatabase, err error)
Update takes the representation of a autonomousDatabase and updates it. Returns the server's representation of the autonomousDatabase, and an error, if there is any.
func (*FakeAutonomousDatabases) Watch ¶
func (c *FakeAutonomousDatabases) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested autonomousDatabases.
type FakeOcidbV1alpha1 ¶
func (*FakeOcidbV1alpha1) AutonomousDatabases ¶
func (c *FakeOcidbV1alpha1) AutonomousDatabases(namespace string) v1alpha1.AutonomousDatabaseInterface
func (*FakeOcidbV1alpha1) RESTClient ¶
func (c *FakeOcidbV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.