fake

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: Apache-2.0 Imports: 9 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 FakeAntreaClusterNetworkPolicyStats

type FakeAntreaClusterNetworkPolicyStats struct {
	Fake *FakeStatsV1alpha1
}

FakeAntreaClusterNetworkPolicyStats implements AntreaClusterNetworkPolicyStatsInterface

func (*FakeAntreaClusterNetworkPolicyStats) Get

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

func (*FakeAntreaClusterNetworkPolicyStats) List

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

func (*FakeAntreaClusterNetworkPolicyStats) Watch

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

type FakeAntreaNetworkPolicyStats

type FakeAntreaNetworkPolicyStats struct {
	Fake *FakeStatsV1alpha1
	// contains filtered or unexported fields
}

FakeAntreaNetworkPolicyStats implements AntreaNetworkPolicyStatsInterface

func (*FakeAntreaNetworkPolicyStats) Get

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

func (*FakeAntreaNetworkPolicyStats) List

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

func (*FakeAntreaNetworkPolicyStats) Watch

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

type FakeNetworkPolicyStats

type FakeNetworkPolicyStats struct {
	Fake *FakeStatsV1alpha1
	// contains filtered or unexported fields
}

FakeNetworkPolicyStats implements NetworkPolicyStatsInterface

func (*FakeNetworkPolicyStats) Get

func (c *FakeNetworkPolicyStats) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkPolicyStats, err error)

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

func (*FakeNetworkPolicyStats) List

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

func (*FakeNetworkPolicyStats) Watch

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

type FakeStatsV1alpha1

type FakeStatsV1alpha1 struct {
	*testing.Fake
}

func (*FakeStatsV1alpha1) AntreaClusterNetworkPolicyStats

func (c *FakeStatsV1alpha1) AntreaClusterNetworkPolicyStats() v1alpha1.AntreaClusterNetworkPolicyStatsInterface

func (*FakeStatsV1alpha1) AntreaNetworkPolicyStats

func (c *FakeStatsV1alpha1) AntreaNetworkPolicyStats(namespace string) v1alpha1.AntreaNetworkPolicyStatsInterface

func (*FakeStatsV1alpha1) NetworkPolicyStats

func (c *FakeStatsV1alpha1) NetworkPolicyStats(namespace string) v1alpha1.NetworkPolicyStatsInterface

func (*FakeStatsV1alpha1) RESTClient

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

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

Jump to

Keyboard shortcuts

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