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.
Index ¶
- type FakeBackendSets
- func (c *FakeBackendSets) Create(backendSet *v1alpha1.BackendSet) (result *v1alpha1.BackendSet, err error)
- func (c *FakeBackendSets) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBackendSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBackendSets) Get(name string, options v1.GetOptions) (result *v1alpha1.BackendSet, err error)
- func (c *FakeBackendSets) List(opts v1.ListOptions) (result *v1alpha1.BackendSetList, err error)
- func (c *FakeBackendSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BackendSet, err error)
- func (c *FakeBackendSets) Update(backendSet *v1alpha1.BackendSet) (result *v1alpha1.BackendSet, err error)
- func (c *FakeBackendSets) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBackends
- func (c *FakeBackends) Create(backend *v1alpha1.Backend) (result *v1alpha1.Backend, err error)
- func (c *FakeBackends) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBackends) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBackends) Get(name string, options v1.GetOptions) (result *v1alpha1.Backend, err error)
- func (c *FakeBackends) List(opts v1.ListOptions) (result *v1alpha1.BackendList, err error)
- func (c *FakeBackends) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Backend, err error)
- func (c *FakeBackends) Update(backend *v1alpha1.Backend) (result *v1alpha1.Backend, err error)
- func (c *FakeBackends) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCertificates
- func (c *FakeCertificates) Create(certificate *v1alpha1.Certificate) (result *v1alpha1.Certificate, err error)
- func (c *FakeCertificates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCertificates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCertificates) Get(name string, options v1.GetOptions) (result *v1alpha1.Certificate, err error)
- func (c *FakeCertificates) List(opts v1.ListOptions) (result *v1alpha1.CertificateList, err error)
- func (c *FakeCertificates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Certificate, err error)
- func (c *FakeCertificates) Update(certificate *v1alpha1.Certificate) (result *v1alpha1.Certificate, err error)
- func (c *FakeCertificates) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeListeners
- func (c *FakeListeners) Create(listener *v1alpha1.Listener) (result *v1alpha1.Listener, err error)
- func (c *FakeListeners) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeListeners) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeListeners) Get(name string, options v1.GetOptions) (result *v1alpha1.Listener, err error)
- func (c *FakeListeners) List(opts v1.ListOptions) (result *v1alpha1.ListenerList, err error)
- func (c *FakeListeners) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Listener, err error)
- func (c *FakeListeners) Update(listener *v1alpha1.Listener) (result *v1alpha1.Listener, err error)
- func (c *FakeListeners) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeLoadBalancers
- func (c *FakeLoadBalancers) Create(loadBalancer *v1alpha1.LoadBalancer) (result *v1alpha1.LoadBalancer, err error)
- func (c *FakeLoadBalancers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeLoadBalancers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeLoadBalancers) Get(name string, options v1.GetOptions) (result *v1alpha1.LoadBalancer, err error)
- func (c *FakeLoadBalancers) List(opts v1.ListOptions) (result *v1alpha1.LoadBalancerList, err error)
- func (c *FakeLoadBalancers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.LoadBalancer, err error)
- func (c *FakeLoadBalancers) Update(loadBalancer *v1alpha1.LoadBalancer) (result *v1alpha1.LoadBalancer, err error)
- func (c *FakeLoadBalancers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeOcilbV1alpha1
- func (c *FakeOcilbV1alpha1) BackendSets(namespace string) v1alpha1.BackendSetInterface
- func (c *FakeOcilbV1alpha1) Backends(namespace string) v1alpha1.BackendInterface
- func (c *FakeOcilbV1alpha1) Certificates(namespace string) v1alpha1.CertificateInterface
- func (c *FakeOcilbV1alpha1) Listeners(namespace string) v1alpha1.ListenerInterface
- func (c *FakeOcilbV1alpha1) LoadBalancers(namespace string) v1alpha1.LoadBalancerInterface
- func (c *FakeOcilbV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBackendSets ¶
type FakeBackendSets struct { Fake *FakeOcilbV1alpha1 // contains filtered or unexported fields }
FakeBackendSets implements BackendSetInterface
func (*FakeBackendSets) Create ¶
func (c *FakeBackendSets) Create(backendSet *v1alpha1.BackendSet) (result *v1alpha1.BackendSet, err error)
Create takes the representation of a backendSet and creates it. Returns the server's representation of the backendSet, and an error, if there is any.
func (*FakeBackendSets) Delete ¶
func (c *FakeBackendSets) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the backendSet and deletes it. Returns an error if one occurs.
func (*FakeBackendSets) DeleteCollection ¶
func (c *FakeBackendSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackendSets) Get ¶
func (c *FakeBackendSets) Get(name string, options v1.GetOptions) (result *v1alpha1.BackendSet, err error)
Get takes name of the backendSet, and returns the corresponding backendSet object, and an error if there is any.
func (*FakeBackendSets) List ¶
func (c *FakeBackendSets) List(opts v1.ListOptions) (result *v1alpha1.BackendSetList, err error)
List takes label and field selectors, and returns the list of BackendSets that match those selectors.
func (*FakeBackendSets) Patch ¶
func (c *FakeBackendSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BackendSet, err error)
Patch applies the patch and returns the patched backendSet.
func (*FakeBackendSets) Update ¶
func (c *FakeBackendSets) Update(backendSet *v1alpha1.BackendSet) (result *v1alpha1.BackendSet, err error)
Update takes the representation of a backendSet and updates it. Returns the server's representation of the backendSet, and an error, if there is any.
func (*FakeBackendSets) Watch ¶
func (c *FakeBackendSets) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backendSets.
type FakeBackends ¶
type FakeBackends struct { Fake *FakeOcilbV1alpha1 // contains filtered or unexported fields }
FakeBackends implements BackendInterface
func (*FakeBackends) Create ¶
Create takes the representation of a backend and creates it. Returns the server's representation of the backend, and an error, if there is any.
func (*FakeBackends) Delete ¶
func (c *FakeBackends) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the backend and deletes it. Returns an error if one occurs.
func (*FakeBackends) DeleteCollection ¶
func (c *FakeBackends) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackends) Get ¶
func (c *FakeBackends) Get(name string, options v1.GetOptions) (result *v1alpha1.Backend, err error)
Get takes name of the backend, and returns the corresponding backend object, and an error if there is any.
func (*FakeBackends) List ¶
func (c *FakeBackends) List(opts v1.ListOptions) (result *v1alpha1.BackendList, err error)
List takes label and field selectors, and returns the list of Backends that match those selectors.
func (*FakeBackends) Patch ¶
func (c *FakeBackends) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Backend, err error)
Patch applies the patch and returns the patched backend.
func (*FakeBackends) Update ¶
Update takes the representation of a backend and updates it. Returns the server's representation of the backend, and an error, if there is any.
func (*FakeBackends) Watch ¶
func (c *FakeBackends) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backends.
type FakeCertificates ¶
type FakeCertificates struct { Fake *FakeOcilbV1alpha1 // contains filtered or unexported fields }
FakeCertificates implements CertificateInterface
func (*FakeCertificates) Create ¶
func (c *FakeCertificates) Create(certificate *v1alpha1.Certificate) (result *v1alpha1.Certificate, err error)
Create takes the representation of a certificate and creates it. Returns the server's representation of the certificate, and an error, if there is any.
func (*FakeCertificates) Delete ¶
func (c *FakeCertificates) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the certificate and deletes it. Returns an error if one occurs.
func (*FakeCertificates) DeleteCollection ¶
func (c *FakeCertificates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCertificates) Get ¶
func (c *FakeCertificates) Get(name string, options v1.GetOptions) (result *v1alpha1.Certificate, err error)
Get takes name of the certificate, and returns the corresponding certificate object, and an error if there is any.
func (*FakeCertificates) List ¶
func (c *FakeCertificates) List(opts v1.ListOptions) (result *v1alpha1.CertificateList, err error)
List takes label and field selectors, and returns the list of Certificates that match those selectors.
func (*FakeCertificates) Patch ¶
func (c *FakeCertificates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Certificate, err error)
Patch applies the patch and returns the patched certificate.
func (*FakeCertificates) Update ¶
func (c *FakeCertificates) Update(certificate *v1alpha1.Certificate) (result *v1alpha1.Certificate, err error)
Update takes the representation of a certificate and updates it. Returns the server's representation of the certificate, and an error, if there is any.
func (*FakeCertificates) Watch ¶
func (c *FakeCertificates) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested certificates.
type FakeListeners ¶
type FakeListeners struct { Fake *FakeOcilbV1alpha1 // contains filtered or unexported fields }
FakeListeners implements ListenerInterface
func (*FakeListeners) Create ¶
Create takes the representation of a listener and creates it. Returns the server's representation of the listener, and an error, if there is any.
func (*FakeListeners) Delete ¶
func (c *FakeListeners) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the listener and deletes it. Returns an error if one occurs.
func (*FakeListeners) DeleteCollection ¶
func (c *FakeListeners) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeListeners) Get ¶
func (c *FakeListeners) Get(name string, options v1.GetOptions) (result *v1alpha1.Listener, err error)
Get takes name of the listener, and returns the corresponding listener object, and an error if there is any.
func (*FakeListeners) List ¶
func (c *FakeListeners) List(opts v1.ListOptions) (result *v1alpha1.ListenerList, err error)
List takes label and field selectors, and returns the list of Listeners that match those selectors.
func (*FakeListeners) Patch ¶
func (c *FakeListeners) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Listener, err error)
Patch applies the patch and returns the patched listener.
func (*FakeListeners) Update ¶
Update takes the representation of a listener and updates it. Returns the server's representation of the listener, and an error, if there is any.
func (*FakeListeners) Watch ¶
func (c *FakeListeners) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested listeners.
type FakeLoadBalancers ¶
type FakeLoadBalancers struct { Fake *FakeOcilbV1alpha1 // contains filtered or unexported fields }
FakeLoadBalancers implements LoadBalancerInterface
func (*FakeLoadBalancers) Create ¶
func (c *FakeLoadBalancers) Create(loadBalancer *v1alpha1.LoadBalancer) (result *v1alpha1.LoadBalancer, err error)
Create takes the representation of a loadBalancer and creates it. Returns the server's representation of the loadBalancer, and an error, if there is any.
func (*FakeLoadBalancers) Delete ¶
func (c *FakeLoadBalancers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the loadBalancer and deletes it. Returns an error if one occurs.
func (*FakeLoadBalancers) DeleteCollection ¶
func (c *FakeLoadBalancers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLoadBalancers) Get ¶
func (c *FakeLoadBalancers) Get(name string, options v1.GetOptions) (result *v1alpha1.LoadBalancer, err error)
Get takes name of the loadBalancer, and returns the corresponding loadBalancer object, and an error if there is any.
func (*FakeLoadBalancers) List ¶
func (c *FakeLoadBalancers) List(opts v1.ListOptions) (result *v1alpha1.LoadBalancerList, err error)
List takes label and field selectors, and returns the list of LoadBalancers that match those selectors.
func (*FakeLoadBalancers) Patch ¶
func (c *FakeLoadBalancers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.LoadBalancer, err error)
Patch applies the patch and returns the patched loadBalancer.
func (*FakeLoadBalancers) Update ¶
func (c *FakeLoadBalancers) Update(loadBalancer *v1alpha1.LoadBalancer) (result *v1alpha1.LoadBalancer, err error)
Update takes the representation of a loadBalancer and updates it. Returns the server's representation of the loadBalancer, and an error, if there is any.
func (*FakeLoadBalancers) Watch ¶
func (c *FakeLoadBalancers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested loadBalancers.
type FakeOcilbV1alpha1 ¶
func (*FakeOcilbV1alpha1) BackendSets ¶
func (c *FakeOcilbV1alpha1) BackendSets(namespace string) v1alpha1.BackendSetInterface
func (*FakeOcilbV1alpha1) Backends ¶
func (c *FakeOcilbV1alpha1) Backends(namespace string) v1alpha1.BackendInterface
func (*FakeOcilbV1alpha1) Certificates ¶
func (c *FakeOcilbV1alpha1) Certificates(namespace string) v1alpha1.CertificateInterface
func (*FakeOcilbV1alpha1) Listeners ¶
func (c *FakeOcilbV1alpha1) Listeners(namespace string) v1alpha1.ListenerInterface
func (*FakeOcilbV1alpha1) LoadBalancers ¶
func (c *FakeOcilbV1alpha1) LoadBalancers(namespace string) v1alpha1.LoadBalancerInterface
func (*FakeOcilbV1alpha1) RESTClient ¶
func (c *FakeOcilbV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.