Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterNetworks
- func (c *FakeClusterNetworks) Create(ctx context.Context, clusterNetwork *danmv1.ClusterNetwork, ...) (result *danmv1.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *danmv1.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) List(ctx context.Context, opts v1.ListOptions) (result *danmv1.ClusterNetworkList, err error)
- func (c *FakeClusterNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *danmv1.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) Update(ctx context.Context, clusterNetwork *danmv1.ClusterNetwork, ...) (result *danmv1.ClusterNetwork, err error)
- func (c *FakeClusterNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDanmEps
- func (c *FakeDanmEps) Create(ctx context.Context, danmEp *danmv1.DanmEp, opts v1.CreateOptions) (result *danmv1.DanmEp, err error)
- func (c *FakeDanmEps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDanmEps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDanmEps) Get(ctx context.Context, name string, options v1.GetOptions) (result *danmv1.DanmEp, err error)
- func (c *FakeDanmEps) List(ctx context.Context, opts v1.ListOptions) (result *danmv1.DanmEpList, err error)
- func (c *FakeDanmEps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *danmv1.DanmEp, err error)
- func (c *FakeDanmEps) Update(ctx context.Context, danmEp *danmv1.DanmEp, opts v1.UpdateOptions) (result *danmv1.DanmEp, err error)
- func (c *FakeDanmEps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDanmNets
- func (c *FakeDanmNets) Create(ctx context.Context, danmNet *danmv1.DanmNet, opts v1.CreateOptions) (result *danmv1.DanmNet, err error)
- func (c *FakeDanmNets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDanmNets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDanmNets) Get(ctx context.Context, name string, options v1.GetOptions) (result *danmv1.DanmNet, err error)
- func (c *FakeDanmNets) List(ctx context.Context, opts v1.ListOptions) (result *danmv1.DanmNetList, err error)
- func (c *FakeDanmNets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *danmv1.DanmNet, err error)
- func (c *FakeDanmNets) Update(ctx context.Context, danmNet *danmv1.DanmNet, opts v1.UpdateOptions) (result *danmv1.DanmNet, err error)
- func (c *FakeDanmNets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDanmV1
- func (c *FakeDanmV1) ClusterNetworks() v1.ClusterNetworkInterface
- func (c *FakeDanmV1) DanmEps(namespace string) v1.DanmEpInterface
- func (c *FakeDanmV1) DanmNets(namespace string) v1.DanmNetInterface
- func (c *FakeDanmV1) RESTClient() rest.Interface
- func (c *FakeDanmV1) TenantConfigs() v1.TenantConfigInterface
- func (c *FakeDanmV1) TenantNetworks(namespace string) v1.TenantNetworkInterface
- type FakeTenantConfigs
- func (c *FakeTenantConfigs) Create(ctx context.Context, tenantConfig *danmv1.TenantConfig, opts v1.CreateOptions) (result *danmv1.TenantConfig, err error)
- func (c *FakeTenantConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTenantConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTenantConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *danmv1.TenantConfig, err error)
- func (c *FakeTenantConfigs) List(ctx context.Context, opts v1.ListOptions) (result *danmv1.TenantConfigList, err error)
- func (c *FakeTenantConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *danmv1.TenantConfig, err error)
- func (c *FakeTenantConfigs) Update(ctx context.Context, tenantConfig *danmv1.TenantConfig, opts v1.UpdateOptions) (result *danmv1.TenantConfig, err error)
- func (c *FakeTenantConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTenantNetworks
- func (c *FakeTenantNetworks) Create(ctx context.Context, tenantNetwork *danmv1.TenantNetwork, ...) (result *danmv1.TenantNetwork, err error)
- func (c *FakeTenantNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTenantNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTenantNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *danmv1.TenantNetwork, err error)
- func (c *FakeTenantNetworks) List(ctx context.Context, opts v1.ListOptions) (result *danmv1.TenantNetworkList, err error)
- func (c *FakeTenantNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *danmv1.TenantNetwork, err error)
- func (c *FakeTenantNetworks) Update(ctx context.Context, tenantNetwork *danmv1.TenantNetwork, ...) (result *danmv1.TenantNetwork, err error)
- func (c *FakeTenantNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterNetworks ¶
type FakeClusterNetworks struct {
Fake *FakeDanmV1
}
FakeClusterNetworks implements ClusterNetworkInterface
func (*FakeClusterNetworks) Create ¶
func (c *FakeClusterNetworks) Create(ctx context.Context, clusterNetwork *danmv1.ClusterNetwork, opts v1.CreateOptions) (result *danmv1.ClusterNetwork, err error)
Create takes the representation of a clusterNetwork and creates it. Returns the server's representation of the clusterNetwork, and an error, if there is any.
func (*FakeClusterNetworks) Delete ¶
func (c *FakeClusterNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterNetwork and deletes it. Returns an error if one occurs.
func (*FakeClusterNetworks) DeleteCollection ¶
func (c *FakeClusterNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterNetworks) Get ¶
func (c *FakeClusterNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *danmv1.ClusterNetwork, err error)
Get takes name of the clusterNetwork, and returns the corresponding clusterNetwork object, and an error if there is any.
func (*FakeClusterNetworks) List ¶
func (c *FakeClusterNetworks) List(ctx context.Context, opts v1.ListOptions) (result *danmv1.ClusterNetworkList, err error)
List takes label and field selectors, and returns the list of ClusterNetworks that match those selectors.
func (*FakeClusterNetworks) Patch ¶
func (c *FakeClusterNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *danmv1.ClusterNetwork, err error)
Patch applies the patch and returns the patched clusterNetwork.
func (*FakeClusterNetworks) Update ¶
func (c *FakeClusterNetworks) Update(ctx context.Context, clusterNetwork *danmv1.ClusterNetwork, opts v1.UpdateOptions) (result *danmv1.ClusterNetwork, err error)
Update takes the representation of a clusterNetwork and updates it. Returns the server's representation of the clusterNetwork, and an error, if there is any.
func (*FakeClusterNetworks) Watch ¶
func (c *FakeClusterNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterNetworks.
type FakeDanmEps ¶
type FakeDanmEps struct { Fake *FakeDanmV1 // contains filtered or unexported fields }
FakeDanmEps implements DanmEpInterface
func (*FakeDanmEps) Create ¶
func (c *FakeDanmEps) Create(ctx context.Context, danmEp *danmv1.DanmEp, opts v1.CreateOptions) (result *danmv1.DanmEp, err error)
Create takes the representation of a danmEp and creates it. Returns the server's representation of the danmEp, and an error, if there is any.
func (*FakeDanmEps) Delete ¶
func (c *FakeDanmEps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the danmEp and deletes it. Returns an error if one occurs.
func (*FakeDanmEps) DeleteCollection ¶
func (c *FakeDanmEps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDanmEps) Get ¶
func (c *FakeDanmEps) Get(ctx context.Context, name string, options v1.GetOptions) (result *danmv1.DanmEp, err error)
Get takes name of the danmEp, and returns the corresponding danmEp object, and an error if there is any.
func (*FakeDanmEps) List ¶
func (c *FakeDanmEps) List(ctx context.Context, opts v1.ListOptions) (result *danmv1.DanmEpList, err error)
List takes label and field selectors, and returns the list of DanmEps that match those selectors.
func (*FakeDanmEps) Patch ¶
func (c *FakeDanmEps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *danmv1.DanmEp, err error)
Patch applies the patch and returns the patched danmEp.
func (*FakeDanmEps) Update ¶
func (c *FakeDanmEps) Update(ctx context.Context, danmEp *danmv1.DanmEp, opts v1.UpdateOptions) (result *danmv1.DanmEp, err error)
Update takes the representation of a danmEp and updates it. Returns the server's representation of the danmEp, and an error, if there is any.
func (*FakeDanmEps) Watch ¶
func (c *FakeDanmEps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested danmEps.
type FakeDanmNets ¶
type FakeDanmNets struct { Fake *FakeDanmV1 // contains filtered or unexported fields }
FakeDanmNets implements DanmNetInterface
func (*FakeDanmNets) Create ¶
func (c *FakeDanmNets) Create(ctx context.Context, danmNet *danmv1.DanmNet, opts v1.CreateOptions) (result *danmv1.DanmNet, err error)
Create takes the representation of a danmNet and creates it. Returns the server's representation of the danmNet, and an error, if there is any.
func (*FakeDanmNets) Delete ¶
func (c *FakeDanmNets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the danmNet and deletes it. Returns an error if one occurs.
func (*FakeDanmNets) DeleteCollection ¶
func (c *FakeDanmNets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDanmNets) Get ¶
func (c *FakeDanmNets) Get(ctx context.Context, name string, options v1.GetOptions) (result *danmv1.DanmNet, err error)
Get takes name of the danmNet, and returns the corresponding danmNet object, and an error if there is any.
func (*FakeDanmNets) List ¶
func (c *FakeDanmNets) List(ctx context.Context, opts v1.ListOptions) (result *danmv1.DanmNetList, err error)
List takes label and field selectors, and returns the list of DanmNets that match those selectors.
func (*FakeDanmNets) Patch ¶
func (c *FakeDanmNets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *danmv1.DanmNet, err error)
Patch applies the patch and returns the patched danmNet.
func (*FakeDanmNets) Update ¶
func (c *FakeDanmNets) Update(ctx context.Context, danmNet *danmv1.DanmNet, opts v1.UpdateOptions) (result *danmv1.DanmNet, err error)
Update takes the representation of a danmNet and updates it. Returns the server's representation of the danmNet, and an error, if there is any.
func (*FakeDanmNets) Watch ¶
func (c *FakeDanmNets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested danmNets.
type FakeDanmV1 ¶
func (*FakeDanmV1) ClusterNetworks ¶
func (c *FakeDanmV1) ClusterNetworks() v1.ClusterNetworkInterface
func (*FakeDanmV1) DanmEps ¶
func (c *FakeDanmV1) DanmEps(namespace string) v1.DanmEpInterface
func (*FakeDanmV1) DanmNets ¶
func (c *FakeDanmV1) DanmNets(namespace string) v1.DanmNetInterface
func (*FakeDanmV1) RESTClient ¶
func (c *FakeDanmV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeDanmV1) TenantConfigs ¶
func (c *FakeDanmV1) TenantConfigs() v1.TenantConfigInterface
func (*FakeDanmV1) TenantNetworks ¶
func (c *FakeDanmV1) TenantNetworks(namespace string) v1.TenantNetworkInterface
type FakeTenantConfigs ¶
type FakeTenantConfigs struct {
Fake *FakeDanmV1
}
FakeTenantConfigs implements TenantConfigInterface
func (*FakeTenantConfigs) Create ¶
func (c *FakeTenantConfigs) Create(ctx context.Context, tenantConfig *danmv1.TenantConfig, opts v1.CreateOptions) (result *danmv1.TenantConfig, err error)
Create takes the representation of a tenantConfig and creates it. Returns the server's representation of the tenantConfig, and an error, if there is any.
func (*FakeTenantConfigs) Delete ¶
func (c *FakeTenantConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the tenantConfig and deletes it. Returns an error if one occurs.
func (*FakeTenantConfigs) DeleteCollection ¶
func (c *FakeTenantConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTenantConfigs) Get ¶
func (c *FakeTenantConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *danmv1.TenantConfig, err error)
Get takes name of the tenantConfig, and returns the corresponding tenantConfig object, and an error if there is any.
func (*FakeTenantConfigs) List ¶
func (c *FakeTenantConfigs) List(ctx context.Context, opts v1.ListOptions) (result *danmv1.TenantConfigList, err error)
List takes label and field selectors, and returns the list of TenantConfigs that match those selectors.
func (*FakeTenantConfigs) Patch ¶
func (c *FakeTenantConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *danmv1.TenantConfig, err error)
Patch applies the patch and returns the patched tenantConfig.
func (*FakeTenantConfigs) Update ¶
func (c *FakeTenantConfigs) Update(ctx context.Context, tenantConfig *danmv1.TenantConfig, opts v1.UpdateOptions) (result *danmv1.TenantConfig, err error)
Update takes the representation of a tenantConfig and updates it. Returns the server's representation of the tenantConfig, and an error, if there is any.
func (*FakeTenantConfigs) Watch ¶
func (c *FakeTenantConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tenantConfigs.
type FakeTenantNetworks ¶
type FakeTenantNetworks struct { Fake *FakeDanmV1 // contains filtered or unexported fields }
FakeTenantNetworks implements TenantNetworkInterface
func (*FakeTenantNetworks) Create ¶
func (c *FakeTenantNetworks) Create(ctx context.Context, tenantNetwork *danmv1.TenantNetwork, opts v1.CreateOptions) (result *danmv1.TenantNetwork, err error)
Create takes the representation of a tenantNetwork and creates it. Returns the server's representation of the tenantNetwork, and an error, if there is any.
func (*FakeTenantNetworks) Delete ¶
func (c *FakeTenantNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the tenantNetwork and deletes it. Returns an error if one occurs.
func (*FakeTenantNetworks) DeleteCollection ¶
func (c *FakeTenantNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTenantNetworks) Get ¶
func (c *FakeTenantNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *danmv1.TenantNetwork, err error)
Get takes name of the tenantNetwork, and returns the corresponding tenantNetwork object, and an error if there is any.
func (*FakeTenantNetworks) List ¶
func (c *FakeTenantNetworks) List(ctx context.Context, opts v1.ListOptions) (result *danmv1.TenantNetworkList, err error)
List takes label and field selectors, and returns the list of TenantNetworks that match those selectors.
func (*FakeTenantNetworks) Patch ¶
func (c *FakeTenantNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *danmv1.TenantNetwork, err error)
Patch applies the patch and returns the patched tenantNetwork.
func (*FakeTenantNetworks) Update ¶
func (c *FakeTenantNetworks) Update(ctx context.Context, tenantNetwork *danmv1.TenantNetwork, opts v1.UpdateOptions) (result *danmv1.TenantNetwork, err error)
Update takes the representation of a tenantNetwork and updates it. Returns the server's representation of the tenantNetwork, and an error, if there is any.
func (*FakeTenantNetworks) Watch ¶
func (c *FakeTenantNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tenantNetworks.