Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeContivppV1
- func (c *FakeContivppV1) CustomConfigurations(namespace string) v1.CustomConfigurationInterface
- func (c *FakeContivppV1) CustomNetworks(namespace string) v1.CustomNetworkInterface
- func (c *FakeContivppV1) ExternalInterfaces(namespace string) v1.ExternalInterfaceInterface
- func (c *FakeContivppV1) RESTClient() rest.Interface
- func (c *FakeContivppV1) ServiceFunctionChains(namespace string) v1.ServiceFunctionChainInterface
- type FakeCustomConfigurations
- func (c *FakeCustomConfigurations) Create(customConfiguration *contivppiov1.CustomConfiguration) (result *contivppiov1.CustomConfiguration, err error)
- func (c *FakeCustomConfigurations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCustomConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCustomConfigurations) Get(name string, options v1.GetOptions) (result *contivppiov1.CustomConfiguration, err error)
- func (c *FakeCustomConfigurations) List(opts v1.ListOptions) (result *contivppiov1.CustomConfigurationList, err error)
- func (c *FakeCustomConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *contivppiov1.CustomConfiguration, err error)
- func (c *FakeCustomConfigurations) Update(customConfiguration *contivppiov1.CustomConfiguration) (result *contivppiov1.CustomConfiguration, err error)
- func (c *FakeCustomConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCustomNetworks
- func (c *FakeCustomNetworks) Create(customNetwork *contivppiov1.CustomNetwork) (result *contivppiov1.CustomNetwork, err error)
- func (c *FakeCustomNetworks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCustomNetworks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCustomNetworks) Get(name string, options v1.GetOptions) (result *contivppiov1.CustomNetwork, err error)
- func (c *FakeCustomNetworks) List(opts v1.ListOptions) (result *contivppiov1.CustomNetworkList, err error)
- func (c *FakeCustomNetworks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *contivppiov1.CustomNetwork, err error)
- func (c *FakeCustomNetworks) Update(customNetwork *contivppiov1.CustomNetwork) (result *contivppiov1.CustomNetwork, err error)
- func (c *FakeCustomNetworks) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeExternalInterfaces
- func (c *FakeExternalInterfaces) Create(externalInterface *contivppiov1.ExternalInterface) (result *contivppiov1.ExternalInterface, err error)
- func (c *FakeExternalInterfaces) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeExternalInterfaces) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeExternalInterfaces) Get(name string, options v1.GetOptions) (result *contivppiov1.ExternalInterface, err error)
- func (c *FakeExternalInterfaces) List(opts v1.ListOptions) (result *contivppiov1.ExternalInterfaceList, err error)
- func (c *FakeExternalInterfaces) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *contivppiov1.ExternalInterface, err error)
- func (c *FakeExternalInterfaces) Update(externalInterface *contivppiov1.ExternalInterface) (result *contivppiov1.ExternalInterface, err error)
- func (c *FakeExternalInterfaces) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceFunctionChains
- func (c *FakeServiceFunctionChains) Create(serviceFunctionChain *contivppiov1.ServiceFunctionChain) (result *contivppiov1.ServiceFunctionChain, err error)
- func (c *FakeServiceFunctionChains) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeServiceFunctionChains) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeServiceFunctionChains) Get(name string, options v1.GetOptions) (result *contivppiov1.ServiceFunctionChain, err error)
- func (c *FakeServiceFunctionChains) List(opts v1.ListOptions) (result *contivppiov1.ServiceFunctionChainList, err error)
- func (c *FakeServiceFunctionChains) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *contivppiov1.ServiceFunctionChain, err error)
- func (c *FakeServiceFunctionChains) Update(serviceFunctionChain *contivppiov1.ServiceFunctionChain) (result *contivppiov1.ServiceFunctionChain, err error)
- func (c *FakeServiceFunctionChains) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeContivppV1 ¶
func (*FakeContivppV1) CustomConfigurations ¶
func (c *FakeContivppV1) CustomConfigurations(namespace string) v1.CustomConfigurationInterface
func (*FakeContivppV1) CustomNetworks ¶
func (c *FakeContivppV1) CustomNetworks(namespace string) v1.CustomNetworkInterface
func (*FakeContivppV1) ExternalInterfaces ¶
func (c *FakeContivppV1) ExternalInterfaces(namespace string) v1.ExternalInterfaceInterface
func (*FakeContivppV1) RESTClient ¶
func (c *FakeContivppV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeContivppV1) ServiceFunctionChains ¶
func (c *FakeContivppV1) ServiceFunctionChains(namespace string) v1.ServiceFunctionChainInterface
type FakeCustomConfigurations ¶
type FakeCustomConfigurations struct { Fake *FakeContivppV1 // contains filtered or unexported fields }
FakeCustomConfigurations implements CustomConfigurationInterface
func (*FakeCustomConfigurations) Create ¶
func (c *FakeCustomConfigurations) Create(customConfiguration *contivppiov1.CustomConfiguration) (result *contivppiov1.CustomConfiguration, err error)
Create takes the representation of a customConfiguration and creates it. Returns the server's representation of the customConfiguration, and an error, if there is any.
func (*FakeCustomConfigurations) Delete ¶
func (c *FakeCustomConfigurations) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the customConfiguration and deletes it. Returns an error if one occurs.
func (*FakeCustomConfigurations) DeleteCollection ¶
func (c *FakeCustomConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCustomConfigurations) Get ¶
func (c *FakeCustomConfigurations) Get(name string, options v1.GetOptions) (result *contivppiov1.CustomConfiguration, err error)
Get takes name of the customConfiguration, and returns the corresponding customConfiguration object, and an error if there is any.
func (*FakeCustomConfigurations) List ¶
func (c *FakeCustomConfigurations) List(opts v1.ListOptions) (result *contivppiov1.CustomConfigurationList, err error)
List takes label and field selectors, and returns the list of CustomConfigurations that match those selectors.
func (*FakeCustomConfigurations) Patch ¶
func (c *FakeCustomConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *contivppiov1.CustomConfiguration, err error)
Patch applies the patch and returns the patched customConfiguration.
func (*FakeCustomConfigurations) Update ¶
func (c *FakeCustomConfigurations) Update(customConfiguration *contivppiov1.CustomConfiguration) (result *contivppiov1.CustomConfiguration, err error)
Update takes the representation of a customConfiguration and updates it. Returns the server's representation of the customConfiguration, and an error, if there is any.
func (*FakeCustomConfigurations) Watch ¶
func (c *FakeCustomConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested customConfigurations.
type FakeCustomNetworks ¶
type FakeCustomNetworks struct { Fake *FakeContivppV1 // contains filtered or unexported fields }
FakeCustomNetworks implements CustomNetworkInterface
func (*FakeCustomNetworks) Create ¶
func (c *FakeCustomNetworks) Create(customNetwork *contivppiov1.CustomNetwork) (result *contivppiov1.CustomNetwork, err error)
Create takes the representation of a customNetwork and creates it. Returns the server's representation of the customNetwork, and an error, if there is any.
func (*FakeCustomNetworks) Delete ¶
func (c *FakeCustomNetworks) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the customNetwork and deletes it. Returns an error if one occurs.
func (*FakeCustomNetworks) DeleteCollection ¶
func (c *FakeCustomNetworks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCustomNetworks) Get ¶
func (c *FakeCustomNetworks) Get(name string, options v1.GetOptions) (result *contivppiov1.CustomNetwork, err error)
Get takes name of the customNetwork, and returns the corresponding customNetwork object, and an error if there is any.
func (*FakeCustomNetworks) List ¶
func (c *FakeCustomNetworks) List(opts v1.ListOptions) (result *contivppiov1.CustomNetworkList, err error)
List takes label and field selectors, and returns the list of CustomNetworks that match those selectors.
func (*FakeCustomNetworks) Patch ¶
func (c *FakeCustomNetworks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *contivppiov1.CustomNetwork, err error)
Patch applies the patch and returns the patched customNetwork.
func (*FakeCustomNetworks) Update ¶
func (c *FakeCustomNetworks) Update(customNetwork *contivppiov1.CustomNetwork) (result *contivppiov1.CustomNetwork, err error)
Update takes the representation of a customNetwork and updates it. Returns the server's representation of the customNetwork, and an error, if there is any.
func (*FakeCustomNetworks) Watch ¶
func (c *FakeCustomNetworks) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested customNetworks.
type FakeExternalInterfaces ¶
type FakeExternalInterfaces struct { Fake *FakeContivppV1 // contains filtered or unexported fields }
FakeExternalInterfaces implements ExternalInterfaceInterface
func (*FakeExternalInterfaces) Create ¶
func (c *FakeExternalInterfaces) Create(externalInterface *contivppiov1.ExternalInterface) (result *contivppiov1.ExternalInterface, err error)
Create takes the representation of a externalInterface and creates it. Returns the server's representation of the externalInterface, and an error, if there is any.
func (*FakeExternalInterfaces) Delete ¶
func (c *FakeExternalInterfaces) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the externalInterface and deletes it. Returns an error if one occurs.
func (*FakeExternalInterfaces) DeleteCollection ¶
func (c *FakeExternalInterfaces) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExternalInterfaces) Get ¶
func (c *FakeExternalInterfaces) Get(name string, options v1.GetOptions) (result *contivppiov1.ExternalInterface, err error)
Get takes name of the externalInterface, and returns the corresponding externalInterface object, and an error if there is any.
func (*FakeExternalInterfaces) List ¶
func (c *FakeExternalInterfaces) List(opts v1.ListOptions) (result *contivppiov1.ExternalInterfaceList, err error)
List takes label and field selectors, and returns the list of ExternalInterfaces that match those selectors.
func (*FakeExternalInterfaces) Patch ¶
func (c *FakeExternalInterfaces) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *contivppiov1.ExternalInterface, err error)
Patch applies the patch and returns the patched externalInterface.
func (*FakeExternalInterfaces) Update ¶
func (c *FakeExternalInterfaces) Update(externalInterface *contivppiov1.ExternalInterface) (result *contivppiov1.ExternalInterface, err error)
Update takes the representation of a externalInterface and updates it. Returns the server's representation of the externalInterface, and an error, if there is any.
func (*FakeExternalInterfaces) Watch ¶
func (c *FakeExternalInterfaces) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested externalInterfaces.
type FakeServiceFunctionChains ¶
type FakeServiceFunctionChains struct { Fake *FakeContivppV1 // contains filtered or unexported fields }
FakeServiceFunctionChains implements ServiceFunctionChainInterface
func (*FakeServiceFunctionChains) Create ¶
func (c *FakeServiceFunctionChains) Create(serviceFunctionChain *contivppiov1.ServiceFunctionChain) (result *contivppiov1.ServiceFunctionChain, err error)
Create takes the representation of a serviceFunctionChain and creates it. Returns the server's representation of the serviceFunctionChain, and an error, if there is any.
func (*FakeServiceFunctionChains) Delete ¶
func (c *FakeServiceFunctionChains) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the serviceFunctionChain and deletes it. Returns an error if one occurs.
func (*FakeServiceFunctionChains) DeleteCollection ¶
func (c *FakeServiceFunctionChains) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceFunctionChains) Get ¶
func (c *FakeServiceFunctionChains) Get(name string, options v1.GetOptions) (result *contivppiov1.ServiceFunctionChain, err error)
Get takes name of the serviceFunctionChain, and returns the corresponding serviceFunctionChain object, and an error if there is any.
func (*FakeServiceFunctionChains) List ¶
func (c *FakeServiceFunctionChains) List(opts v1.ListOptions) (result *contivppiov1.ServiceFunctionChainList, err error)
List takes label and field selectors, and returns the list of ServiceFunctionChains that match those selectors.
func (*FakeServiceFunctionChains) Patch ¶
func (c *FakeServiceFunctionChains) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *contivppiov1.ServiceFunctionChain, err error)
Patch applies the patch and returns the patched serviceFunctionChain.
func (*FakeServiceFunctionChains) Update ¶
func (c *FakeServiceFunctionChains) Update(serviceFunctionChain *contivppiov1.ServiceFunctionChain) (result *contivppiov1.ServiceFunctionChain, err error)
Update takes the representation of a serviceFunctionChain and updates it. Returns the server's representation of the serviceFunctionChain, and an error, if there is any.
func (*FakeServiceFunctionChains) Watch ¶
func (c *FakeServiceFunctionChains) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceFunctionChains.