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.
Index ¶
- type FakeCompartments
- func (c *FakeCompartments) Create(compartment *v1alpha1.Compartment) (result *v1alpha1.Compartment, err error)
- func (c *FakeCompartments) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCompartments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCompartments) Get(name string, options v1.GetOptions) (result *v1alpha1.Compartment, err error)
- func (c *FakeCompartments) List(opts v1.ListOptions) (result *v1alpha1.CompartmentList, err error)
- func (c *FakeCompartments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Compartment, err error)
- func (c *FakeCompartments) Update(compartment *v1alpha1.Compartment) (result *v1alpha1.Compartment, err error)
- func (c *FakeCompartments) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDynamicGroups
- func (c *FakeDynamicGroups) Create(dynamicGroup *v1alpha1.DynamicGroup) (result *v1alpha1.DynamicGroup, err error)
- func (c *FakeDynamicGroups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDynamicGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDynamicGroups) Get(name string, options v1.GetOptions) (result *v1alpha1.DynamicGroup, err error)
- func (c *FakeDynamicGroups) List(opts v1.ListOptions) (result *v1alpha1.DynamicGroupList, err error)
- func (c *FakeDynamicGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DynamicGroup, err error)
- func (c *FakeDynamicGroups) Update(dynamicGroup *v1alpha1.DynamicGroup) (result *v1alpha1.DynamicGroup, err error)
- func (c *FakeDynamicGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeOciidentityV1alpha1
- func (c *FakeOciidentityV1alpha1) Compartments(namespace string) v1alpha1.CompartmentInterface
- func (c *FakeOciidentityV1alpha1) DynamicGroups(namespace string) v1alpha1.DynamicGroupInterface
- func (c *FakeOciidentityV1alpha1) Policies(namespace string) v1alpha1.PolicyInterface
- func (c *FakeOciidentityV1alpha1) RESTClient() rest.Interface
- type FakePolicies
- func (c *FakePolicies) Create(policy *v1alpha1.Policy) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePolicies) Get(name string, options v1.GetOptions) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) List(opts v1.ListOptions) (result *v1alpha1.PolicyList, err error)
- func (c *FakePolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) Update(policy *v1alpha1.Policy) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCompartments ¶
type FakeCompartments struct { Fake *FakeOciidentityV1alpha1 // contains filtered or unexported fields }
FakeCompartments implements CompartmentInterface
func (*FakeCompartments) Create ¶
func (c *FakeCompartments) Create(compartment *v1alpha1.Compartment) (result *v1alpha1.Compartment, err error)
Create takes the representation of a compartment and creates it. Returns the server's representation of the compartment, and an error, if there is any.
func (*FakeCompartments) Delete ¶
func (c *FakeCompartments) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the compartment and deletes it. Returns an error if one occurs.
func (*FakeCompartments) DeleteCollection ¶
func (c *FakeCompartments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCompartments) Get ¶
func (c *FakeCompartments) Get(name string, options v1.GetOptions) (result *v1alpha1.Compartment, err error)
Get takes name of the compartment, and returns the corresponding compartment object, and an error if there is any.
func (*FakeCompartments) List ¶
func (c *FakeCompartments) List(opts v1.ListOptions) (result *v1alpha1.CompartmentList, err error)
List takes label and field selectors, and returns the list of Compartments that match those selectors.
func (*FakeCompartments) Patch ¶
func (c *FakeCompartments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Compartment, err error)
Patch applies the patch and returns the patched compartment.
func (*FakeCompartments) Update ¶
func (c *FakeCompartments) Update(compartment *v1alpha1.Compartment) (result *v1alpha1.Compartment, err error)
Update takes the representation of a compartment and updates it. Returns the server's representation of the compartment, and an error, if there is any.
func (*FakeCompartments) Watch ¶
func (c *FakeCompartments) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested compartments.
type FakeDynamicGroups ¶
type FakeDynamicGroups struct { Fake *FakeOciidentityV1alpha1 // contains filtered or unexported fields }
FakeDynamicGroups implements DynamicGroupInterface
func (*FakeDynamicGroups) Create ¶
func (c *FakeDynamicGroups) Create(dynamicGroup *v1alpha1.DynamicGroup) (result *v1alpha1.DynamicGroup, err error)
Create takes the representation of a dynamicGroup and creates it. Returns the server's representation of the dynamicGroup, and an error, if there is any.
func (*FakeDynamicGroups) Delete ¶
func (c *FakeDynamicGroups) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the dynamicGroup and deletes it. Returns an error if one occurs.
func (*FakeDynamicGroups) DeleteCollection ¶
func (c *FakeDynamicGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDynamicGroups) Get ¶
func (c *FakeDynamicGroups) Get(name string, options v1.GetOptions) (result *v1alpha1.DynamicGroup, err error)
Get takes name of the dynamicGroup, and returns the corresponding dynamicGroup object, and an error if there is any.
func (*FakeDynamicGroups) List ¶
func (c *FakeDynamicGroups) List(opts v1.ListOptions) (result *v1alpha1.DynamicGroupList, err error)
List takes label and field selectors, and returns the list of DynamicGroups that match those selectors.
func (*FakeDynamicGroups) Patch ¶
func (c *FakeDynamicGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DynamicGroup, err error)
Patch applies the patch and returns the patched dynamicGroup.
func (*FakeDynamicGroups) Update ¶
func (c *FakeDynamicGroups) Update(dynamicGroup *v1alpha1.DynamicGroup) (result *v1alpha1.DynamicGroup, err error)
Update takes the representation of a dynamicGroup and updates it. Returns the server's representation of the dynamicGroup, and an error, if there is any.
func (*FakeDynamicGroups) Watch ¶
func (c *FakeDynamicGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dynamicGroups.
type FakeOciidentityV1alpha1 ¶
func (*FakeOciidentityV1alpha1) Compartments ¶
func (c *FakeOciidentityV1alpha1) Compartments(namespace string) v1alpha1.CompartmentInterface
func (*FakeOciidentityV1alpha1) DynamicGroups ¶
func (c *FakeOciidentityV1alpha1) DynamicGroups(namespace string) v1alpha1.DynamicGroupInterface
func (*FakeOciidentityV1alpha1) Policies ¶
func (c *FakeOciidentityV1alpha1) Policies(namespace string) v1alpha1.PolicyInterface
func (*FakeOciidentityV1alpha1) RESTClient ¶
func (c *FakeOciidentityV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePolicies ¶
type FakePolicies struct { Fake *FakeOciidentityV1alpha1 // contains filtered or unexported fields }
FakePolicies implements PolicyInterface
func (*FakePolicies) Create ¶
Create takes the representation of a policy and creates it. Returns the server's representation of the policy, and an error, if there is any.
func (*FakePolicies) Delete ¶
func (c *FakePolicies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the policy and deletes it. Returns an error if one occurs.
func (*FakePolicies) DeleteCollection ¶
func (c *FakePolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolicies) Get ¶
func (c *FakePolicies) Get(name string, options v1.GetOptions) (result *v1alpha1.Policy, err error)
Get takes name of the policy, and returns the corresponding policy object, and an error if there is any.
func (*FakePolicies) List ¶
func (c *FakePolicies) List(opts v1.ListOptions) (result *v1alpha1.PolicyList, err error)
List takes label and field selectors, and returns the list of Policies that match those selectors.
func (*FakePolicies) Patch ¶
func (c *FakePolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Policy, err error)
Patch applies the patch and returns the patched policy.
func (*FakePolicies) Update ¶
Update takes the representation of a policy and updates it. Returns the server's representation of the policy, and an error, if there is any.
func (*FakePolicies) Watch ¶
func (c *FakePolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policies.