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.
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.
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.
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.
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 FakeDhcpOptions
- func (c *FakeDhcpOptions) Create(dhcpOption *v1alpha1.DhcpOption) (result *v1alpha1.DhcpOption, err error)
- func (c *FakeDhcpOptions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDhcpOptions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDhcpOptions) Get(name string, options v1.GetOptions) (result *v1alpha1.DhcpOption, err error)
- func (c *FakeDhcpOptions) List(opts v1.ListOptions) (result *v1alpha1.DhcpOptionList, err error)
- func (c *FakeDhcpOptions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DhcpOption, err error)
- func (c *FakeDhcpOptions) Update(dhcpOption *v1alpha1.DhcpOption) (result *v1alpha1.DhcpOption, err error)
- func (c *FakeDhcpOptions) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeInstances
- func (c *FakeInstances) Create(instance *v1alpha1.Instance) (result *v1alpha1.Instance, err error)
- func (c *FakeInstances) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeInstances) Get(name string, options v1.GetOptions) (result *v1alpha1.Instance, err error)
- func (c *FakeInstances) List(opts v1.ListOptions) (result *v1alpha1.InstanceList, err error)
- func (c *FakeInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Instance, err error)
- func (c *FakeInstances) Update(instance *v1alpha1.Instance) (result *v1alpha1.Instance, err error)
- func (c *FakeInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeInternetGatewaies
- func (c *FakeInternetGatewaies) Create(internetGateway *v1alpha1.InternetGateway) (result *v1alpha1.InternetGateway, err error)
- func (c *FakeInternetGatewaies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeInternetGatewaies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeInternetGatewaies) Get(name string, options v1.GetOptions) (result *v1alpha1.InternetGateway, err error)
- func (c *FakeInternetGatewaies) List(opts v1.ListOptions) (result *v1alpha1.InternetGatewayList, err error)
- func (c *FakeInternetGatewaies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.InternetGateway, err error)
- func (c *FakeInternetGatewaies) Update(internetGateway *v1alpha1.InternetGateway) (result *v1alpha1.InternetGateway, err error)
- func (c *FakeInternetGatewaies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeOcicoreV1alpha1
- func (c *FakeOcicoreV1alpha1) DhcpOptions(namespace string) v1alpha1.DhcpOptionInterface
- func (c *FakeOcicoreV1alpha1) Instances(namespace string) v1alpha1.InstanceInterface
- func (c *FakeOcicoreV1alpha1) InternetGatewaies(namespace string) v1alpha1.InternetGatewayInterface
- func (c *FakeOcicoreV1alpha1) RESTClient() rest.Interface
- func (c *FakeOcicoreV1alpha1) RouteTables(namespace string) v1alpha1.RouteTableInterface
- func (c *FakeOcicoreV1alpha1) SecurityRuleSets(namespace string) v1alpha1.SecurityRuleSetInterface
- func (c *FakeOcicoreV1alpha1) Subnets(namespace string) v1alpha1.SubnetInterface
- func (c *FakeOcicoreV1alpha1) Vcns(namespace string) v1alpha1.VcnInterface
- func (c *FakeOcicoreV1alpha1) VolumeBackups(namespace string) v1alpha1.VolumeBackupInterface
- func (c *FakeOcicoreV1alpha1) Volumes(namespace string) v1alpha1.VolumeInterface
- type FakeRouteTables
- func (c *FakeRouteTables) Create(routeTable *v1alpha1.RouteTable) (result *v1alpha1.RouteTable, err error)
- func (c *FakeRouteTables) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRouteTables) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRouteTables) Get(name string, options v1.GetOptions) (result *v1alpha1.RouteTable, err error)
- func (c *FakeRouteTables) List(opts v1.ListOptions) (result *v1alpha1.RouteTableList, err error)
- func (c *FakeRouteTables) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.RouteTable, err error)
- func (c *FakeRouteTables) Update(routeTable *v1alpha1.RouteTable) (result *v1alpha1.RouteTable, err error)
- func (c *FakeRouteTables) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSecurityRuleSets
- func (c *FakeSecurityRuleSets) Create(securityRuleSet *v1alpha1.SecurityRuleSet) (result *v1alpha1.SecurityRuleSet, err error)
- func (c *FakeSecurityRuleSets) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSecurityRuleSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSecurityRuleSets) Get(name string, options v1.GetOptions) (result *v1alpha1.SecurityRuleSet, err error)
- func (c *FakeSecurityRuleSets) List(opts v1.ListOptions) (result *v1alpha1.SecurityRuleSetList, err error)
- func (c *FakeSecurityRuleSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SecurityRuleSet, err error)
- func (c *FakeSecurityRuleSets) Update(securityRuleSet *v1alpha1.SecurityRuleSet) (result *v1alpha1.SecurityRuleSet, err error)
- func (c *FakeSecurityRuleSets) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSubnets
- func (c *FakeSubnets) Create(subnet *v1alpha1.Subnet) (result *v1alpha1.Subnet, err error)
- func (c *FakeSubnets) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSubnets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSubnets) Get(name string, options v1.GetOptions) (result *v1alpha1.Subnet, err error)
- func (c *FakeSubnets) List(opts v1.ListOptions) (result *v1alpha1.SubnetList, err error)
- func (c *FakeSubnets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Subnet, err error)
- func (c *FakeSubnets) Update(subnet *v1alpha1.Subnet) (result *v1alpha1.Subnet, err error)
- func (c *FakeSubnets) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeVcns
- func (c *FakeVcns) Create(vcn *v1alpha1.Vcn) (result *v1alpha1.Vcn, err error)
- func (c *FakeVcns) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeVcns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeVcns) Get(name string, options v1.GetOptions) (result *v1alpha1.Vcn, err error)
- func (c *FakeVcns) List(opts v1.ListOptions) (result *v1alpha1.VcnList, err error)
- func (c *FakeVcns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Vcn, err error)
- func (c *FakeVcns) Update(vcn *v1alpha1.Vcn) (result *v1alpha1.Vcn, err error)
- func (c *FakeVcns) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumeBackups
- func (c *FakeVolumeBackups) Create(volumeBackup *v1alpha1.VolumeBackup) (result *v1alpha1.VolumeBackup, err error)
- func (c *FakeVolumeBackups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeVolumeBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeVolumeBackups) Get(name string, options v1.GetOptions) (result *v1alpha1.VolumeBackup, err error)
- func (c *FakeVolumeBackups) List(opts v1.ListOptions) (result *v1alpha1.VolumeBackupList, err error)
- func (c *FakeVolumeBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.VolumeBackup, err error)
- func (c *FakeVolumeBackups) Update(volumeBackup *v1alpha1.VolumeBackup) (result *v1alpha1.VolumeBackup, err error)
- func (c *FakeVolumeBackups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumes
- func (c *FakeVolumes) Create(volume *v1alpha1.Volume) (result *v1alpha1.Volume, err error)
- func (c *FakeVolumes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeVolumes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeVolumes) Get(name string, options v1.GetOptions) (result *v1alpha1.Volume, err error)
- func (c *FakeVolumes) List(opts v1.ListOptions) (result *v1alpha1.VolumeList, err error)
- func (c *FakeVolumes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Volume, err error)
- func (c *FakeVolumes) Update(volume *v1alpha1.Volume) (result *v1alpha1.Volume, err error)
- func (c *FakeVolumes) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDhcpOptions ¶
type FakeDhcpOptions struct { Fake *FakeOcicoreV1alpha1 // contains filtered or unexported fields }
FakeDhcpOptions implements DhcpOptionInterface
func (*FakeDhcpOptions) Create ¶
func (c *FakeDhcpOptions) Create(dhcpOption *v1alpha1.DhcpOption) (result *v1alpha1.DhcpOption, err error)
Create takes the representation of a dhcpOption and creates it. Returns the server's representation of the dhcpOption, and an error, if there is any.
func (*FakeDhcpOptions) Delete ¶
func (c *FakeDhcpOptions) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the dhcpOption and deletes it. Returns an error if one occurs.
func (*FakeDhcpOptions) DeleteCollection ¶
func (c *FakeDhcpOptions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDhcpOptions) Get ¶
func (c *FakeDhcpOptions) Get(name string, options v1.GetOptions) (result *v1alpha1.DhcpOption, err error)
Get takes name of the dhcpOption, and returns the corresponding dhcpOption object, and an error if there is any.
func (*FakeDhcpOptions) List ¶
func (c *FakeDhcpOptions) List(opts v1.ListOptions) (result *v1alpha1.DhcpOptionList, err error)
List takes label and field selectors, and returns the list of DhcpOptions that match those selectors.
func (*FakeDhcpOptions) Patch ¶
func (c *FakeDhcpOptions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DhcpOption, err error)
Patch applies the patch and returns the patched dhcpOption.
func (*FakeDhcpOptions) Update ¶
func (c *FakeDhcpOptions) Update(dhcpOption *v1alpha1.DhcpOption) (result *v1alpha1.DhcpOption, err error)
Update takes the representation of a dhcpOption and updates it. Returns the server's representation of the dhcpOption, and an error, if there is any.
func (*FakeDhcpOptions) Watch ¶
func (c *FakeDhcpOptions) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dhcpOptions.
type FakeInstances ¶
type FakeInstances struct { Fake *FakeOcicoreV1alpha1 // contains filtered or unexported fields }
FakeInstances implements InstanceInterface
func (*FakeInstances) Create ¶
Create takes the representation of a instance and creates it. Returns the server's representation of the instance, and an error, if there is any.
func (*FakeInstances) Delete ¶
func (c *FakeInstances) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the instance and deletes it. Returns an error if one occurs.
func (*FakeInstances) DeleteCollection ¶
func (c *FakeInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInstances) Get ¶
func (c *FakeInstances) Get(name string, options v1.GetOptions) (result *v1alpha1.Instance, err error)
Get takes name of the instance, and returns the corresponding instance object, and an error if there is any.
func (*FakeInstances) List ¶
func (c *FakeInstances) List(opts v1.ListOptions) (result *v1alpha1.InstanceList, err error)
List takes label and field selectors, and returns the list of Instances that match those selectors.
func (*FakeInstances) Patch ¶
func (c *FakeInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Instance, err error)
Patch applies the patch and returns the patched instance.
func (*FakeInstances) Update ¶
Update takes the representation of a instance and updates it. Returns the server's representation of the instance, and an error, if there is any.
func (*FakeInstances) Watch ¶
func (c *FakeInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested instances.
type FakeInternetGatewaies ¶
type FakeInternetGatewaies struct { Fake *FakeOcicoreV1alpha1 // contains filtered or unexported fields }
FakeInternetGatewaies implements InternetGatewayInterface
func (*FakeInternetGatewaies) Create ¶
func (c *FakeInternetGatewaies) Create(internetGateway *v1alpha1.InternetGateway) (result *v1alpha1.InternetGateway, err error)
Create takes the representation of a internetGateway and creates it. Returns the server's representation of the internetGateway, and an error, if there is any.
func (*FakeInternetGatewaies) Delete ¶
func (c *FakeInternetGatewaies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the internetGateway and deletes it. Returns an error if one occurs.
func (*FakeInternetGatewaies) DeleteCollection ¶
func (c *FakeInternetGatewaies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInternetGatewaies) Get ¶
func (c *FakeInternetGatewaies) Get(name string, options v1.GetOptions) (result *v1alpha1.InternetGateway, err error)
Get takes name of the internetGateway, and returns the corresponding internetGateway object, and an error if there is any.
func (*FakeInternetGatewaies) List ¶
func (c *FakeInternetGatewaies) List(opts v1.ListOptions) (result *v1alpha1.InternetGatewayList, err error)
List takes label and field selectors, and returns the list of InternetGatewaies that match those selectors.
func (*FakeInternetGatewaies) Patch ¶
func (c *FakeInternetGatewaies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.InternetGateway, err error)
Patch applies the patch and returns the patched internetGateway.
func (*FakeInternetGatewaies) Update ¶
func (c *FakeInternetGatewaies) Update(internetGateway *v1alpha1.InternetGateway) (result *v1alpha1.InternetGateway, err error)
Update takes the representation of a internetGateway and updates it. Returns the server's representation of the internetGateway, and an error, if there is any.
func (*FakeInternetGatewaies) Watch ¶
func (c *FakeInternetGatewaies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested internetGatewaies.
type FakeOcicoreV1alpha1 ¶
func (*FakeOcicoreV1alpha1) DhcpOptions ¶
func (c *FakeOcicoreV1alpha1) DhcpOptions(namespace string) v1alpha1.DhcpOptionInterface
func (*FakeOcicoreV1alpha1) Instances ¶
func (c *FakeOcicoreV1alpha1) Instances(namespace string) v1alpha1.InstanceInterface
func (*FakeOcicoreV1alpha1) InternetGatewaies ¶
func (c *FakeOcicoreV1alpha1) InternetGatewaies(namespace string) v1alpha1.InternetGatewayInterface
func (*FakeOcicoreV1alpha1) RESTClient ¶
func (c *FakeOcicoreV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeOcicoreV1alpha1) RouteTables ¶
func (c *FakeOcicoreV1alpha1) RouteTables(namespace string) v1alpha1.RouteTableInterface
func (*FakeOcicoreV1alpha1) SecurityRuleSets ¶
func (c *FakeOcicoreV1alpha1) SecurityRuleSets(namespace string) v1alpha1.SecurityRuleSetInterface
func (*FakeOcicoreV1alpha1) Subnets ¶
func (c *FakeOcicoreV1alpha1) Subnets(namespace string) v1alpha1.SubnetInterface
func (*FakeOcicoreV1alpha1) Vcns ¶
func (c *FakeOcicoreV1alpha1) Vcns(namespace string) v1alpha1.VcnInterface
func (*FakeOcicoreV1alpha1) VolumeBackups ¶
func (c *FakeOcicoreV1alpha1) VolumeBackups(namespace string) v1alpha1.VolumeBackupInterface
func (*FakeOcicoreV1alpha1) Volumes ¶
func (c *FakeOcicoreV1alpha1) Volumes(namespace string) v1alpha1.VolumeInterface
type FakeRouteTables ¶
type FakeRouteTables struct { Fake *FakeOcicoreV1alpha1 // contains filtered or unexported fields }
FakeRouteTables implements RouteTableInterface
func (*FakeRouteTables) Create ¶
func (c *FakeRouteTables) Create(routeTable *v1alpha1.RouteTable) (result *v1alpha1.RouteTable, err error)
Create takes the representation of a routeTable and creates it. Returns the server's representation of the routeTable, and an error, if there is any.
func (*FakeRouteTables) Delete ¶
func (c *FakeRouteTables) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the routeTable and deletes it. Returns an error if one occurs.
func (*FakeRouteTables) DeleteCollection ¶
func (c *FakeRouteTables) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRouteTables) Get ¶
func (c *FakeRouteTables) Get(name string, options v1.GetOptions) (result *v1alpha1.RouteTable, err error)
Get takes name of the routeTable, and returns the corresponding routeTable object, and an error if there is any.
func (*FakeRouteTables) List ¶
func (c *FakeRouteTables) List(opts v1.ListOptions) (result *v1alpha1.RouteTableList, err error)
List takes label and field selectors, and returns the list of RouteTables that match those selectors.
func (*FakeRouteTables) Patch ¶
func (c *FakeRouteTables) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.RouteTable, err error)
Patch applies the patch and returns the patched routeTable.
func (*FakeRouteTables) Update ¶
func (c *FakeRouteTables) Update(routeTable *v1alpha1.RouteTable) (result *v1alpha1.RouteTable, err error)
Update takes the representation of a routeTable and updates it. Returns the server's representation of the routeTable, and an error, if there is any.
func (*FakeRouteTables) Watch ¶
func (c *FakeRouteTables) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested routeTables.
type FakeSecurityRuleSets ¶
type FakeSecurityRuleSets struct { Fake *FakeOcicoreV1alpha1 // contains filtered or unexported fields }
FakeSecurityRuleSets implements SecurityRuleSetInterface
func (*FakeSecurityRuleSets) Create ¶
func (c *FakeSecurityRuleSets) Create(securityRuleSet *v1alpha1.SecurityRuleSet) (result *v1alpha1.SecurityRuleSet, err error)
Create takes the representation of a securityRuleSet and creates it. Returns the server's representation of the securityRuleSet, and an error, if there is any.
func (*FakeSecurityRuleSets) Delete ¶
func (c *FakeSecurityRuleSets) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the securityRuleSet and deletes it. Returns an error if one occurs.
func (*FakeSecurityRuleSets) DeleteCollection ¶
func (c *FakeSecurityRuleSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSecurityRuleSets) Get ¶
func (c *FakeSecurityRuleSets) Get(name string, options v1.GetOptions) (result *v1alpha1.SecurityRuleSet, err error)
Get takes name of the securityRuleSet, and returns the corresponding securityRuleSet object, and an error if there is any.
func (*FakeSecurityRuleSets) List ¶
func (c *FakeSecurityRuleSets) List(opts v1.ListOptions) (result *v1alpha1.SecurityRuleSetList, err error)
List takes label and field selectors, and returns the list of SecurityRuleSets that match those selectors.
func (*FakeSecurityRuleSets) Patch ¶
func (c *FakeSecurityRuleSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SecurityRuleSet, err error)
Patch applies the patch and returns the patched securityRuleSet.
func (*FakeSecurityRuleSets) Update ¶
func (c *FakeSecurityRuleSets) Update(securityRuleSet *v1alpha1.SecurityRuleSet) (result *v1alpha1.SecurityRuleSet, err error)
Update takes the representation of a securityRuleSet and updates it. Returns the server's representation of the securityRuleSet, and an error, if there is any.
func (*FakeSecurityRuleSets) Watch ¶
func (c *FakeSecurityRuleSets) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested securityRuleSets.
type FakeSubnets ¶
type FakeSubnets struct { Fake *FakeOcicoreV1alpha1 // contains filtered or unexported fields }
FakeSubnets implements SubnetInterface
func (*FakeSubnets) Create ¶
Create takes the representation of a subnet and creates it. Returns the server's representation of the subnet, and an error, if there is any.
func (*FakeSubnets) Delete ¶
func (c *FakeSubnets) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the subnet and deletes it. Returns an error if one occurs.
func (*FakeSubnets) DeleteCollection ¶
func (c *FakeSubnets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSubnets) Get ¶
func (c *FakeSubnets) Get(name string, options v1.GetOptions) (result *v1alpha1.Subnet, err error)
Get takes name of the subnet, and returns the corresponding subnet object, and an error if there is any.
func (*FakeSubnets) List ¶
func (c *FakeSubnets) List(opts v1.ListOptions) (result *v1alpha1.SubnetList, err error)
List takes label and field selectors, and returns the list of Subnets that match those selectors.
func (*FakeSubnets) Patch ¶
func (c *FakeSubnets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Subnet, err error)
Patch applies the patch and returns the patched subnet.
func (*FakeSubnets) Update ¶
Update takes the representation of a subnet and updates it. Returns the server's representation of the subnet, and an error, if there is any.
func (*FakeSubnets) Watch ¶
func (c *FakeSubnets) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested subnets.
type FakeVcns ¶
type FakeVcns struct { Fake *FakeOcicoreV1alpha1 // contains filtered or unexported fields }
FakeVcns implements VcnInterface
func (*FakeVcns) Create ¶
Create takes the representation of a vcn and creates it. Returns the server's representation of the vcn, and an error, if there is any.
func (*FakeVcns) Delete ¶
func (c *FakeVcns) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the vcn and deletes it. Returns an error if one occurs.
func (*FakeVcns) DeleteCollection ¶
func (c *FakeVcns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVcns) Get ¶
Get takes name of the vcn, and returns the corresponding vcn object, and an error if there is any.
func (*FakeVcns) List ¶
List takes label and field selectors, and returns the list of Vcns that match those selectors.
func (*FakeVcns) Patch ¶
func (c *FakeVcns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Vcn, err error)
Patch applies the patch and returns the patched vcn.
type FakeVolumeBackups ¶
type FakeVolumeBackups struct { Fake *FakeOcicoreV1alpha1 // contains filtered or unexported fields }
FakeVolumeBackups implements VolumeBackupInterface
func (*FakeVolumeBackups) Create ¶
func (c *FakeVolumeBackups) Create(volumeBackup *v1alpha1.VolumeBackup) (result *v1alpha1.VolumeBackup, err error)
Create takes the representation of a volumeBackup and creates it. Returns the server's representation of the volumeBackup, and an error, if there is any.
func (*FakeVolumeBackups) Delete ¶
func (c *FakeVolumeBackups) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the volumeBackup and deletes it. Returns an error if one occurs.
func (*FakeVolumeBackups) DeleteCollection ¶
func (c *FakeVolumeBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumeBackups) Get ¶
func (c *FakeVolumeBackups) Get(name string, options v1.GetOptions) (result *v1alpha1.VolumeBackup, err error)
Get takes name of the volumeBackup, and returns the corresponding volumeBackup object, and an error if there is any.
func (*FakeVolumeBackups) List ¶
func (c *FakeVolumeBackups) List(opts v1.ListOptions) (result *v1alpha1.VolumeBackupList, err error)
List takes label and field selectors, and returns the list of VolumeBackups that match those selectors.
func (*FakeVolumeBackups) Patch ¶
func (c *FakeVolumeBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.VolumeBackup, err error)
Patch applies the patch and returns the patched volumeBackup.
func (*FakeVolumeBackups) Update ¶
func (c *FakeVolumeBackups) Update(volumeBackup *v1alpha1.VolumeBackup) (result *v1alpha1.VolumeBackup, err error)
Update takes the representation of a volumeBackup and updates it. Returns the server's representation of the volumeBackup, and an error, if there is any.
func (*FakeVolumeBackups) Watch ¶
func (c *FakeVolumeBackups) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumeBackups.
type FakeVolumes ¶
type FakeVolumes struct { Fake *FakeOcicoreV1alpha1 // contains filtered or unexported fields }
FakeVolumes implements VolumeInterface
func (*FakeVolumes) Create ¶
Create takes the representation of a volume and creates it. Returns the server's representation of the volume, and an error, if there is any.
func (*FakeVolumes) Delete ¶
func (c *FakeVolumes) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the volume and deletes it. Returns an error if one occurs.
func (*FakeVolumes) DeleteCollection ¶
func (c *FakeVolumes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumes) Get ¶
func (c *FakeVolumes) Get(name string, options v1.GetOptions) (result *v1alpha1.Volume, err error)
Get takes name of the volume, and returns the corresponding volume object, and an error if there is any.
func (*FakeVolumes) List ¶
func (c *FakeVolumes) List(opts v1.ListOptions) (result *v1alpha1.VolumeList, err error)
List takes label and field selectors, and returns the list of Volumes that match those selectors.
func (*FakeVolumes) Patch ¶
func (c *FakeVolumes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Volume, err error)
Patch applies the patch and returns the patched volume.
func (*FakeVolumes) Update ¶
Update takes the representation of a volume and updates it. Returns the server's representation of the volume, and an error, if there is any.
func (*FakeVolumes) Watch ¶
func (c *FakeVolumes) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumes.