Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAntreaClusterNetworkPolicyStats
- func (c *FakeAntreaClusterNetworkPolicyStats) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AntreaClusterNetworkPolicyStats, err error)
- func (c *FakeAntreaClusterNetworkPolicyStats) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AntreaClusterNetworkPolicyStatsList, err error)
- func (c *FakeAntreaClusterNetworkPolicyStats) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAntreaNetworkPolicyStats
- func (c *FakeAntreaNetworkPolicyStats) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AntreaNetworkPolicyStats, err error)
- func (c *FakeAntreaNetworkPolicyStats) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AntreaNetworkPolicyStatsList, err error)
- func (c *FakeAntreaNetworkPolicyStats) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkPolicyStats
- func (c *FakeNetworkPolicyStats) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkPolicyStats, err error)
- func (c *FakeNetworkPolicyStats) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkPolicyStatsList, err error)
- func (c *FakeNetworkPolicyStats) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeStatsV1alpha1
- func (c *FakeStatsV1alpha1) AntreaClusterNetworkPolicyStats() v1alpha1.AntreaClusterNetworkPolicyStatsInterface
- func (c *FakeStatsV1alpha1) AntreaNetworkPolicyStats(namespace string) v1alpha1.AntreaNetworkPolicyStatsInterface
- func (c *FakeStatsV1alpha1) NetworkPolicyStats(namespace string) v1alpha1.NetworkPolicyStatsInterface
- func (c *FakeStatsV1alpha1) RESTClient() rest.Interface
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 ¶
func (c *FakeAntreaClusterNetworkPolicyStats) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AntreaClusterNetworkPolicyStats, err error)
Get takes name of the antreaClusterNetworkPolicyStats, and returns the corresponding antreaClusterNetworkPolicyStats object, and an error if there is any.
func (*FakeAntreaClusterNetworkPolicyStats) List ¶
func (c *FakeAntreaClusterNetworkPolicyStats) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AntreaClusterNetworkPolicyStatsList, err error)
List takes label and field selectors, and returns the list of AntreaClusterNetworkPolicyStats that match those selectors.
func (*FakeAntreaClusterNetworkPolicyStats) Watch ¶
func (c *FakeAntreaClusterNetworkPolicyStats) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeAntreaNetworkPolicyStats) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AntreaNetworkPolicyStats, err error)
Get takes name of the antreaNetworkPolicyStats, and returns the corresponding antreaNetworkPolicyStats object, and an error if there is any.
func (*FakeAntreaNetworkPolicyStats) List ¶
func (c *FakeAntreaNetworkPolicyStats) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AntreaNetworkPolicyStatsList, err error)
List takes label and field selectors, and returns the list of AntreaNetworkPolicyStats that match those selectors.
func (*FakeAntreaNetworkPolicyStats) Watch ¶
func (c *FakeAntreaNetworkPolicyStats) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeNetworkPolicyStats) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkPolicyStatsList, err error)
List takes label and field selectors, and returns the list of NetworkPolicyStats that match those selectors.
func (*FakeNetworkPolicyStats) Watch ¶
func (c *FakeNetworkPolicyStats) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkPolicyStats.
type FakeStatsV1alpha1 ¶
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.