fake

package
v0.0.0-...-41d4ab8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAciV1

type FakeAciV1 struct {
	*testing.Fake
}

func (*FakeAciV1) FabricVlanPools

func (c *FakeAciV1) FabricVlanPools(namespace string) v1.FabricVlanPoolInterface

func (*FakeAciV1) NadVlanMaps

func (c *FakeAciV1) NadVlanMaps(namespace string) v1.NadVlanMapInterface

func (*FakeAciV1) NetworkFabricConfigurations

func (c *FakeAciV1) NetworkFabricConfigurations() v1.NetworkFabricConfigurationInterface

func (*FakeAciV1) NetworkFabricL3Configurations

func (c *FakeAciV1) NetworkFabricL3Configurations() v1.NetworkFabricL3ConfigurationInterface

func (*FakeAciV1) NodeFabricNetworkAttachments

func (c *FakeAciV1) NodeFabricNetworkAttachments(namespace string) v1.NodeFabricNetworkAttachmentInterface

func (*FakeAciV1) NodeFabricNetworkL3Peers

func (c *FakeAciV1) NodeFabricNetworkL3Peers() v1.NodeFabricNetworkL3PeerInterface

func (*FakeAciV1) RESTClient

func (c *FakeAciV1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type FakeFabricVlanPools

type FakeFabricVlanPools struct {
	Fake *FakeAciV1
	// contains filtered or unexported fields
}

FakeFabricVlanPools implements FabricVlanPoolInterface

func (*FakeFabricVlanPools) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied fabricVlanPool.

func (*FakeFabricVlanPools) ApplyStatus

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeFabricVlanPools) Create

func (c *FakeFabricVlanPools) Create(ctx context.Context, fabricVlanPool *v1.FabricVlanPool, opts metav1.CreateOptions) (result *v1.FabricVlanPool, err error)

Create takes the representation of a fabricVlanPool and creates it. Returns the server's representation of the fabricVlanPool, and an error, if there is any.

func (*FakeFabricVlanPools) Delete

func (c *FakeFabricVlanPools) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the fabricVlanPool and deletes it. Returns an error if one occurs.

func (*FakeFabricVlanPools) DeleteCollection

func (c *FakeFabricVlanPools) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeFabricVlanPools) Get

func (c *FakeFabricVlanPools) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.FabricVlanPool, err error)

Get takes name of the fabricVlanPool, and returns the corresponding fabricVlanPool object, and an error if there is any.

func (*FakeFabricVlanPools) List

func (c *FakeFabricVlanPools) List(ctx context.Context, opts metav1.ListOptions) (result *v1.FabricVlanPoolList, err error)

List takes label and field selectors, and returns the list of FabricVlanPools that match those selectors.

func (*FakeFabricVlanPools) Patch

func (c *FakeFabricVlanPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.FabricVlanPool, err error)

Patch applies the patch and returns the patched fabricVlanPool.

func (*FakeFabricVlanPools) Update

func (c *FakeFabricVlanPools) Update(ctx context.Context, fabricVlanPool *v1.FabricVlanPool, opts metav1.UpdateOptions) (result *v1.FabricVlanPool, err error)

Update takes the representation of a fabricVlanPool and updates it. Returns the server's representation of the fabricVlanPool, and an error, if there is any.

func (*FakeFabricVlanPools) UpdateStatus

func (c *FakeFabricVlanPools) UpdateStatus(ctx context.Context, fabricVlanPool *v1.FabricVlanPool, opts metav1.UpdateOptions) (*v1.FabricVlanPool, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeFabricVlanPools) Watch

Watch returns a watch.Interface that watches the requested fabricVlanPools.

type FakeNadVlanMaps

type FakeNadVlanMaps struct {
	Fake *FakeAciV1
	// contains filtered or unexported fields
}

FakeNadVlanMaps implements NadVlanMapInterface

func (*FakeNadVlanMaps) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied nadVlanMap.

func (*FakeNadVlanMaps) ApplyStatus

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeNadVlanMaps) Create

func (c *FakeNadVlanMaps) Create(ctx context.Context, nadVlanMap *v1.NadVlanMap, opts metav1.CreateOptions) (result *v1.NadVlanMap, err error)

Create takes the representation of a nadVlanMap and creates it. Returns the server's representation of the nadVlanMap, and an error, if there is any.

func (*FakeNadVlanMaps) Delete

func (c *FakeNadVlanMaps) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the nadVlanMap and deletes it. Returns an error if one occurs.

func (*FakeNadVlanMaps) DeleteCollection

func (c *FakeNadVlanMaps) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNadVlanMaps) Get

func (c *FakeNadVlanMaps) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.NadVlanMap, err error)

Get takes name of the nadVlanMap, and returns the corresponding nadVlanMap object, and an error if there is any.

func (*FakeNadVlanMaps) List

func (c *FakeNadVlanMaps) List(ctx context.Context, opts metav1.ListOptions) (result *v1.NadVlanMapList, err error)

List takes label and field selectors, and returns the list of NadVlanMaps that match those selectors.

func (*FakeNadVlanMaps) Patch

func (c *FakeNadVlanMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.NadVlanMap, err error)

Patch applies the patch and returns the patched nadVlanMap.

func (*FakeNadVlanMaps) Update

func (c *FakeNadVlanMaps) Update(ctx context.Context, nadVlanMap *v1.NadVlanMap, opts metav1.UpdateOptions) (result *v1.NadVlanMap, err error)

Update takes the representation of a nadVlanMap and updates it. Returns the server's representation of the nadVlanMap, and an error, if there is any.

func (*FakeNadVlanMaps) UpdateStatus

func (c *FakeNadVlanMaps) UpdateStatus(ctx context.Context, nadVlanMap *v1.NadVlanMap, opts metav1.UpdateOptions) (*v1.NadVlanMap, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeNadVlanMaps) Watch

Watch returns a watch.Interface that watches the requested nadVlanMaps.

type FakeNetworkFabricConfigurations

type FakeNetworkFabricConfigurations struct {
	Fake *FakeAciV1
}

FakeNetworkFabricConfigurations implements NetworkFabricConfigurationInterface

func (*FakeNetworkFabricConfigurations) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied networkFabricConfiguration.

func (*FakeNetworkFabricConfigurations) ApplyStatus

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeNetworkFabricConfigurations) Create

Create takes the representation of a networkFabricConfiguration and creates it. Returns the server's representation of the networkFabricConfiguration, and an error, if there is any.

func (*FakeNetworkFabricConfigurations) Delete

Delete takes name of the networkFabricConfiguration and deletes it. Returns an error if one occurs.

func (*FakeNetworkFabricConfigurations) DeleteCollection

DeleteCollection deletes a collection of objects.

func (*FakeNetworkFabricConfigurations) Get

Get takes name of the networkFabricConfiguration, and returns the corresponding networkFabricConfiguration object, and an error if there is any.

func (*FakeNetworkFabricConfigurations) List

List takes label and field selectors, and returns the list of NetworkFabricConfigurations that match those selectors.

func (*FakeNetworkFabricConfigurations) Patch

func (c *FakeNetworkFabricConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.NetworkFabricConfiguration, err error)

Patch applies the patch and returns the patched networkFabricConfiguration.

func (*FakeNetworkFabricConfigurations) Update

Update takes the representation of a networkFabricConfiguration and updates it. Returns the server's representation of the networkFabricConfiguration, and an error, if there is any.

func (*FakeNetworkFabricConfigurations) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeNetworkFabricConfigurations) Watch

Watch returns a watch.Interface that watches the requested networkFabricConfigurations.

type FakeNetworkFabricL3Configurations

type FakeNetworkFabricL3Configurations struct {
	Fake *FakeAciV1
}

FakeNetworkFabricL3Configurations implements NetworkFabricL3ConfigurationInterface

func (*FakeNetworkFabricL3Configurations) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied networkFabricL3Configuration.

func (*FakeNetworkFabricL3Configurations) ApplyStatus

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeNetworkFabricL3Configurations) Create

Create takes the representation of a networkFabricL3Configuration and creates it. Returns the server's representation of the networkFabricL3Configuration, and an error, if there is any.

func (*FakeNetworkFabricL3Configurations) Delete

Delete takes name of the networkFabricL3Configuration and deletes it. Returns an error if one occurs.

func (*FakeNetworkFabricL3Configurations) DeleteCollection

DeleteCollection deletes a collection of objects.

func (*FakeNetworkFabricL3Configurations) Get

Get takes name of the networkFabricL3Configuration, and returns the corresponding networkFabricL3Configuration object, and an error if there is any.

func (*FakeNetworkFabricL3Configurations) List

List takes label and field selectors, and returns the list of NetworkFabricL3Configurations that match those selectors.

func (*FakeNetworkFabricL3Configurations) Patch

func (c *FakeNetworkFabricL3Configurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.NetworkFabricL3Configuration, err error)

Patch applies the patch and returns the patched networkFabricL3Configuration.

func (*FakeNetworkFabricL3Configurations) Update

Update takes the representation of a networkFabricL3Configuration and updates it. Returns the server's representation of the networkFabricL3Configuration, and an error, if there is any.

func (*FakeNetworkFabricL3Configurations) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeNetworkFabricL3Configurations) Watch

Watch returns a watch.Interface that watches the requested networkFabricL3Configurations.

type FakeNodeFabricNetworkAttachments

type FakeNodeFabricNetworkAttachments struct {
	Fake *FakeAciV1
	// contains filtered or unexported fields
}

FakeNodeFabricNetworkAttachments implements NodeFabricNetworkAttachmentInterface

func (*FakeNodeFabricNetworkAttachments) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied nodeFabricNetworkAttachment.

func (*FakeNodeFabricNetworkAttachments) ApplyStatus

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeNodeFabricNetworkAttachments) Create

Create takes the representation of a nodeFabricNetworkAttachment and creates it. Returns the server's representation of the nodeFabricNetworkAttachment, and an error, if there is any.

func (*FakeNodeFabricNetworkAttachments) Delete

Delete takes name of the nodeFabricNetworkAttachment and deletes it. Returns an error if one occurs.

func (*FakeNodeFabricNetworkAttachments) DeleteCollection

DeleteCollection deletes a collection of objects.

func (*FakeNodeFabricNetworkAttachments) Get

Get takes name of the nodeFabricNetworkAttachment, and returns the corresponding nodeFabricNetworkAttachment object, and an error if there is any.

func (*FakeNodeFabricNetworkAttachments) List

List takes label and field selectors, and returns the list of NodeFabricNetworkAttachments that match those selectors.

func (*FakeNodeFabricNetworkAttachments) Patch

func (c *FakeNodeFabricNetworkAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.NodeFabricNetworkAttachment, err error)

Patch applies the patch and returns the patched nodeFabricNetworkAttachment.

func (*FakeNodeFabricNetworkAttachments) Update

Update takes the representation of a nodeFabricNetworkAttachment and updates it. Returns the server's representation of the nodeFabricNetworkAttachment, and an error, if there is any.

func (*FakeNodeFabricNetworkAttachments) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeNodeFabricNetworkAttachments) Watch

Watch returns a watch.Interface that watches the requested nodeFabricNetworkAttachments.

type FakeNodeFabricNetworkL3Peers

type FakeNodeFabricNetworkL3Peers struct {
	Fake *FakeAciV1
}

FakeNodeFabricNetworkL3Peers implements NodeFabricNetworkL3PeerInterface

func (*FakeNodeFabricNetworkL3Peers) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied nodeFabricNetworkL3Peer.

func (*FakeNodeFabricNetworkL3Peers) Create

func (c *FakeNodeFabricNetworkL3Peers) Create(ctx context.Context, nodeFabricNetworkL3Peer *v1.NodeFabricNetworkL3Peer, opts metav1.CreateOptions) (result *v1.NodeFabricNetworkL3Peer, err error)

Create takes the representation of a nodeFabricNetworkL3Peer and creates it. Returns the server's representation of the nodeFabricNetworkL3Peer, and an error, if there is any.

func (*FakeNodeFabricNetworkL3Peers) Delete

Delete takes name of the nodeFabricNetworkL3Peer and deletes it. Returns an error if one occurs.

func (*FakeNodeFabricNetworkL3Peers) DeleteCollection

func (c *FakeNodeFabricNetworkL3Peers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNodeFabricNetworkL3Peers) Get

Get takes name of the nodeFabricNetworkL3Peer, and returns the corresponding nodeFabricNetworkL3Peer object, and an error if there is any.

func (*FakeNodeFabricNetworkL3Peers) List

List takes label and field selectors, and returns the list of NodeFabricNetworkL3Peers that match those selectors.

func (*FakeNodeFabricNetworkL3Peers) Patch

func (c *FakeNodeFabricNetworkL3Peers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.NodeFabricNetworkL3Peer, err error)

Patch applies the patch and returns the patched nodeFabricNetworkL3Peer.

func (*FakeNodeFabricNetworkL3Peers) Update

func (c *FakeNodeFabricNetworkL3Peers) Update(ctx context.Context, nodeFabricNetworkL3Peer *v1.NodeFabricNetworkL3Peer, opts metav1.UpdateOptions) (result *v1.NodeFabricNetworkL3Peer, err error)

Update takes the representation of a nodeFabricNetworkL3Peer and updates it. Returns the server's representation of the nodeFabricNetworkL3Peer, and an error, if there is any.

func (*FakeNodeFabricNetworkL3Peers) Watch

Watch returns a watch.Interface that watches the requested nodeFabricNetworkL3Peers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL