fake

package
v0.0.0-...-3569260 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: 10 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 FakeAuthenticationReviews

type FakeAuthenticationReviews struct {
	Fake *FakeProjectcalicoV3
}

FakeAuthenticationReviews implements AuthenticationReviewInterface

func (*FakeAuthenticationReviews) Create

func (c *FakeAuthenticationReviews) Create(ctx context.Context, authenticationReview *v3.AuthenticationReview, opts v1.CreateOptions) (result *v3.AuthenticationReview, err error)

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

func (*FakeAuthenticationReviews) Delete

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

func (*FakeAuthenticationReviews) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAuthenticationReviews) Get

func (c *FakeAuthenticationReviews) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.AuthenticationReview, err error)

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

func (*FakeAuthenticationReviews) List

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

func (*FakeAuthenticationReviews) Patch

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

Patch applies the patch and returns the patched authenticationReview.

func (*FakeAuthenticationReviews) Update

func (c *FakeAuthenticationReviews) Update(ctx context.Context, authenticationReview *v3.AuthenticationReview, opts v1.UpdateOptions) (result *v3.AuthenticationReview, err error)

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

func (*FakeAuthenticationReviews) UpdateStatus

func (c *FakeAuthenticationReviews) UpdateStatus(ctx context.Context, authenticationReview *v3.AuthenticationReview, opts v1.UpdateOptions) (*v3.AuthenticationReview, error)

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

func (*FakeAuthenticationReviews) Watch

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

type FakeAuthorizationReviews

type FakeAuthorizationReviews struct {
	Fake *FakeProjectcalicoV3
}

FakeAuthorizationReviews implements AuthorizationReviewInterface

func (*FakeAuthorizationReviews) Create

func (c *FakeAuthorizationReviews) Create(ctx context.Context, authorizationReview *v3.AuthorizationReview, opts v1.CreateOptions) (result *v3.AuthorizationReview, err error)

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

func (*FakeAuthorizationReviews) Delete

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

func (*FakeAuthorizationReviews) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAuthorizationReviews) Get

func (c *FakeAuthorizationReviews) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.AuthorizationReview, err error)

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

func (*FakeAuthorizationReviews) List

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

func (*FakeAuthorizationReviews) Patch

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

Patch applies the patch and returns the patched authorizationReview.

func (*FakeAuthorizationReviews) Update

func (c *FakeAuthorizationReviews) Update(ctx context.Context, authorizationReview *v3.AuthorizationReview, opts v1.UpdateOptions) (result *v3.AuthorizationReview, err error)

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

func (*FakeAuthorizationReviews) UpdateStatus

func (c *FakeAuthorizationReviews) UpdateStatus(ctx context.Context, authorizationReview *v3.AuthorizationReview, opts v1.UpdateOptions) (*v3.AuthorizationReview, error)

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

func (*FakeAuthorizationReviews) Watch

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

type FakeBGPConfigurations

type FakeBGPConfigurations struct {
	Fake *FakeProjectcalicoV3
}

FakeBGPConfigurations implements BGPConfigurationInterface

func (*FakeBGPConfigurations) Create

func (c *FakeBGPConfigurations) Create(ctx context.Context, bGPConfiguration *v3.BGPConfiguration, opts v1.CreateOptions) (result *v3.BGPConfiguration, err error)

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

func (*FakeBGPConfigurations) Delete

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

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

func (*FakeBGPConfigurations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBGPConfigurations) Get

func (c *FakeBGPConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.BGPConfiguration, err error)

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

func (*FakeBGPConfigurations) List

func (c *FakeBGPConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v3.BGPConfigurationList, err error)

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

func (*FakeBGPConfigurations) Patch

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

Patch applies the patch and returns the patched bGPConfiguration.

func (*FakeBGPConfigurations) Update

func (c *FakeBGPConfigurations) Update(ctx context.Context, bGPConfiguration *v3.BGPConfiguration, opts v1.UpdateOptions) (result *v3.BGPConfiguration, err error)

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

func (*FakeBGPConfigurations) Watch

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

type FakeBGPPeers

type FakeBGPPeers struct {
	Fake *FakeProjectcalicoV3
}

FakeBGPPeers implements BGPPeerInterface

func (*FakeBGPPeers) Create

func (c *FakeBGPPeers) Create(ctx context.Context, bGPPeer *v3.BGPPeer, opts v1.CreateOptions) (result *v3.BGPPeer, err error)

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

func (*FakeBGPPeers) Delete

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

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

func (*FakeBGPPeers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBGPPeers) Get

func (c *FakeBGPPeers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.BGPPeer, err error)

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

func (*FakeBGPPeers) List

func (c *FakeBGPPeers) List(ctx context.Context, opts v1.ListOptions) (result *v3.BGPPeerList, err error)

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

func (*FakeBGPPeers) Patch

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

Patch applies the patch and returns the patched bGPPeer.

func (*FakeBGPPeers) Update

func (c *FakeBGPPeers) Update(ctx context.Context, bGPPeer *v3.BGPPeer, opts v1.UpdateOptions) (result *v3.BGPPeer, err error)

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

func (*FakeBGPPeers) Watch

func (c *FakeBGPPeers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeClusterInformations

type FakeClusterInformations struct {
	Fake *FakeProjectcalicoV3
}

FakeClusterInformations implements ClusterInformationInterface

func (*FakeClusterInformations) Create

func (c *FakeClusterInformations) Create(ctx context.Context, clusterInformation *v3.ClusterInformation, opts v1.CreateOptions) (result *v3.ClusterInformation, err error)

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

func (*FakeClusterInformations) Delete

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

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

func (*FakeClusterInformations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterInformations) Get

func (c *FakeClusterInformations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.ClusterInformation, err error)

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

func (*FakeClusterInformations) List

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

func (*FakeClusterInformations) Patch

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

Patch applies the patch and returns the patched clusterInformation.

func (*FakeClusterInformations) Update

func (c *FakeClusterInformations) Update(ctx context.Context, clusterInformation *v3.ClusterInformation, opts v1.UpdateOptions) (result *v3.ClusterInformation, err error)

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

func (*FakeClusterInformations) Watch

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

type FakeDeepPacketInspections

type FakeDeepPacketInspections struct {
	Fake *FakeProjectcalicoV3
	// contains filtered or unexported fields
}

FakeDeepPacketInspections implements DeepPacketInspectionInterface

func (*FakeDeepPacketInspections) Create

func (c *FakeDeepPacketInspections) Create(ctx context.Context, deepPacketInspection *v3.DeepPacketInspection, opts v1.CreateOptions) (result *v3.DeepPacketInspection, err error)

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

func (*FakeDeepPacketInspections) Delete

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

func (*FakeDeepPacketInspections) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDeepPacketInspections) Get

func (c *FakeDeepPacketInspections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.DeepPacketInspection, err error)

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

func (*FakeDeepPacketInspections) List

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

func (*FakeDeepPacketInspections) Patch

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

Patch applies the patch and returns the patched deepPacketInspection.

func (*FakeDeepPacketInspections) Update

func (c *FakeDeepPacketInspections) Update(ctx context.Context, deepPacketInspection *v3.DeepPacketInspection, opts v1.UpdateOptions) (result *v3.DeepPacketInspection, err error)

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

func (*FakeDeepPacketInspections) UpdateStatus

func (c *FakeDeepPacketInspections) UpdateStatus(ctx context.Context, deepPacketInspection *v3.DeepPacketInspection, opts v1.UpdateOptions) (*v3.DeepPacketInspection, error)

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

func (*FakeDeepPacketInspections) Watch

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

type FakeFelixConfigurations

type FakeFelixConfigurations struct {
	Fake *FakeProjectcalicoV3
}

FakeFelixConfigurations implements FelixConfigurationInterface

func (*FakeFelixConfigurations) Create

func (c *FakeFelixConfigurations) Create(ctx context.Context, felixConfiguration *v3.FelixConfiguration, opts v1.CreateOptions) (result *v3.FelixConfiguration, err error)

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

func (*FakeFelixConfigurations) Delete

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

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

func (*FakeFelixConfigurations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFelixConfigurations) Get

func (c *FakeFelixConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.FelixConfiguration, err error)

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

func (*FakeFelixConfigurations) List

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

func (*FakeFelixConfigurations) Patch

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

Patch applies the patch and returns the patched felixConfiguration.

func (*FakeFelixConfigurations) Update

func (c *FakeFelixConfigurations) Update(ctx context.Context, felixConfiguration *v3.FelixConfiguration, opts v1.UpdateOptions) (result *v3.FelixConfiguration, err error)

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

func (*FakeFelixConfigurations) Watch

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

type FakeGlobalAlertTemplates

type FakeGlobalAlertTemplates struct {
	Fake *FakeProjectcalicoV3
}

FakeGlobalAlertTemplates implements GlobalAlertTemplateInterface

func (*FakeGlobalAlertTemplates) Create

func (c *FakeGlobalAlertTemplates) Create(ctx context.Context, globalAlertTemplate *v3.GlobalAlertTemplate, opts v1.CreateOptions) (result *v3.GlobalAlertTemplate, err error)

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

func (*FakeGlobalAlertTemplates) Delete

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

func (*FakeGlobalAlertTemplates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGlobalAlertTemplates) Get

func (c *FakeGlobalAlertTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.GlobalAlertTemplate, err error)

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

func (*FakeGlobalAlertTemplates) List

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

func (*FakeGlobalAlertTemplates) Patch

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

Patch applies the patch and returns the patched globalAlertTemplate.

func (*FakeGlobalAlertTemplates) Update

func (c *FakeGlobalAlertTemplates) Update(ctx context.Context, globalAlertTemplate *v3.GlobalAlertTemplate, opts v1.UpdateOptions) (result *v3.GlobalAlertTemplate, err error)

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

func (*FakeGlobalAlertTemplates) Watch

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

type FakeGlobalAlerts

type FakeGlobalAlerts struct {
	Fake *FakeProjectcalicoV3
}

FakeGlobalAlerts implements GlobalAlertInterface

func (*FakeGlobalAlerts) Create

func (c *FakeGlobalAlerts) Create(ctx context.Context, globalAlert *v3.GlobalAlert, opts v1.CreateOptions) (result *v3.GlobalAlert, err error)

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

func (*FakeGlobalAlerts) Delete

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

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

func (*FakeGlobalAlerts) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGlobalAlerts) Get

func (c *FakeGlobalAlerts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.GlobalAlert, err error)

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

func (*FakeGlobalAlerts) List

func (c *FakeGlobalAlerts) List(ctx context.Context, opts v1.ListOptions) (result *v3.GlobalAlertList, err error)

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

func (*FakeGlobalAlerts) Patch

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

Patch applies the patch and returns the patched globalAlert.

func (*FakeGlobalAlerts) Update

func (c *FakeGlobalAlerts) Update(ctx context.Context, globalAlert *v3.GlobalAlert, opts v1.UpdateOptions) (result *v3.GlobalAlert, err error)

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

func (*FakeGlobalAlerts) UpdateStatus

func (c *FakeGlobalAlerts) UpdateStatus(ctx context.Context, globalAlert *v3.GlobalAlert, opts v1.UpdateOptions) (*v3.GlobalAlert, error)

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

func (*FakeGlobalAlerts) Watch

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

type FakeGlobalNetworkPolicies

type FakeGlobalNetworkPolicies struct {
	Fake *FakeProjectcalicoV3
}

FakeGlobalNetworkPolicies implements GlobalNetworkPolicyInterface

func (*FakeGlobalNetworkPolicies) Create

func (c *FakeGlobalNetworkPolicies) Create(ctx context.Context, globalNetworkPolicy *v3.GlobalNetworkPolicy, opts v1.CreateOptions) (result *v3.GlobalNetworkPolicy, err error)

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

func (*FakeGlobalNetworkPolicies) Delete

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

func (*FakeGlobalNetworkPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGlobalNetworkPolicies) Get

func (c *FakeGlobalNetworkPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.GlobalNetworkPolicy, err error)

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

func (*FakeGlobalNetworkPolicies) List

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

func (*FakeGlobalNetworkPolicies) Patch

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

Patch applies the patch and returns the patched globalNetworkPolicy.

func (*FakeGlobalNetworkPolicies) Update

func (c *FakeGlobalNetworkPolicies) Update(ctx context.Context, globalNetworkPolicy *v3.GlobalNetworkPolicy, opts v1.UpdateOptions) (result *v3.GlobalNetworkPolicy, err error)

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

func (*FakeGlobalNetworkPolicies) Watch

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

type FakeGlobalNetworkSets

type FakeGlobalNetworkSets struct {
	Fake *FakeProjectcalicoV3
}

FakeGlobalNetworkSets implements GlobalNetworkSetInterface

func (*FakeGlobalNetworkSets) Create

func (c *FakeGlobalNetworkSets) Create(ctx context.Context, globalNetworkSet *v3.GlobalNetworkSet, opts v1.CreateOptions) (result *v3.GlobalNetworkSet, err error)

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

func (*FakeGlobalNetworkSets) Delete

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

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

func (*FakeGlobalNetworkSets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGlobalNetworkSets) Get

func (c *FakeGlobalNetworkSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.GlobalNetworkSet, err error)

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

func (*FakeGlobalNetworkSets) List

func (c *FakeGlobalNetworkSets) List(ctx context.Context, opts v1.ListOptions) (result *v3.GlobalNetworkSetList, err error)

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

func (*FakeGlobalNetworkSets) Patch

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

Patch applies the patch and returns the patched globalNetworkSet.

func (*FakeGlobalNetworkSets) Update

func (c *FakeGlobalNetworkSets) Update(ctx context.Context, globalNetworkSet *v3.GlobalNetworkSet, opts v1.UpdateOptions) (result *v3.GlobalNetworkSet, err error)

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

func (*FakeGlobalNetworkSets) Watch

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

type FakeGlobalReportTypes

type FakeGlobalReportTypes struct {
	Fake *FakeProjectcalicoV3
}

FakeGlobalReportTypes implements GlobalReportTypeInterface

func (*FakeGlobalReportTypes) Create

func (c *FakeGlobalReportTypes) Create(ctx context.Context, globalReportType *v3.GlobalReportType, opts v1.CreateOptions) (result *v3.GlobalReportType, err error)

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

func (*FakeGlobalReportTypes) Delete

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

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

func (*FakeGlobalReportTypes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGlobalReportTypes) Get

func (c *FakeGlobalReportTypes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.GlobalReportType, err error)

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

func (*FakeGlobalReportTypes) List

func (c *FakeGlobalReportTypes) List(ctx context.Context, opts v1.ListOptions) (result *v3.GlobalReportTypeList, err error)

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

func (*FakeGlobalReportTypes) Patch

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

Patch applies the patch and returns the patched globalReportType.

func (*FakeGlobalReportTypes) Update

func (c *FakeGlobalReportTypes) Update(ctx context.Context, globalReportType *v3.GlobalReportType, opts v1.UpdateOptions) (result *v3.GlobalReportType, err error)

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

func (*FakeGlobalReportTypes) Watch

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

type FakeGlobalReports

type FakeGlobalReports struct {
	Fake *FakeProjectcalicoV3
}

FakeGlobalReports implements GlobalReportInterface

func (*FakeGlobalReports) Create

func (c *FakeGlobalReports) Create(ctx context.Context, globalReport *v3.GlobalReport, opts v1.CreateOptions) (result *v3.GlobalReport, err error)

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

func (*FakeGlobalReports) Delete

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

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

func (*FakeGlobalReports) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGlobalReports) Get

func (c *FakeGlobalReports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.GlobalReport, err error)

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

func (*FakeGlobalReports) List

func (c *FakeGlobalReports) List(ctx context.Context, opts v1.ListOptions) (result *v3.GlobalReportList, err error)

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

func (*FakeGlobalReports) Patch

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

Patch applies the patch and returns the patched globalReport.

func (*FakeGlobalReports) Update

func (c *FakeGlobalReports) Update(ctx context.Context, globalReport *v3.GlobalReport, opts v1.UpdateOptions) (result *v3.GlobalReport, err error)

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

func (*FakeGlobalReports) UpdateStatus

func (c *FakeGlobalReports) UpdateStatus(ctx context.Context, globalReport *v3.GlobalReport, opts v1.UpdateOptions) (*v3.GlobalReport, error)

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

func (*FakeGlobalReports) Watch

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

type FakeGlobalThreatFeeds

type FakeGlobalThreatFeeds struct {
	Fake *FakeProjectcalicoV3
}

FakeGlobalThreatFeeds implements GlobalThreatFeedInterface

func (*FakeGlobalThreatFeeds) Create

func (c *FakeGlobalThreatFeeds) Create(ctx context.Context, globalThreatFeed *v3.GlobalThreatFeed, opts v1.CreateOptions) (result *v3.GlobalThreatFeed, err error)

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

func (*FakeGlobalThreatFeeds) Delete

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

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

func (*FakeGlobalThreatFeeds) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGlobalThreatFeeds) Get

func (c *FakeGlobalThreatFeeds) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.GlobalThreatFeed, err error)

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

func (*FakeGlobalThreatFeeds) List

func (c *FakeGlobalThreatFeeds) List(ctx context.Context, opts v1.ListOptions) (result *v3.GlobalThreatFeedList, err error)

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

func (*FakeGlobalThreatFeeds) Patch

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

Patch applies the patch and returns the patched globalThreatFeed.

func (*FakeGlobalThreatFeeds) Update

func (c *FakeGlobalThreatFeeds) Update(ctx context.Context, globalThreatFeed *v3.GlobalThreatFeed, opts v1.UpdateOptions) (result *v3.GlobalThreatFeed, err error)

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

func (*FakeGlobalThreatFeeds) UpdateStatus

func (c *FakeGlobalThreatFeeds) UpdateStatus(ctx context.Context, globalThreatFeed *v3.GlobalThreatFeed, opts v1.UpdateOptions) (*v3.GlobalThreatFeed, error)

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

func (*FakeGlobalThreatFeeds) Watch

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

type FakeHostEndpoints

type FakeHostEndpoints struct {
	Fake *FakeProjectcalicoV3
}

FakeHostEndpoints implements HostEndpointInterface

func (*FakeHostEndpoints) Create

func (c *FakeHostEndpoints) Create(ctx context.Context, hostEndpoint *v3.HostEndpoint, opts v1.CreateOptions) (result *v3.HostEndpoint, err error)

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

func (*FakeHostEndpoints) Delete

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

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

func (*FakeHostEndpoints) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHostEndpoints) Get

func (c *FakeHostEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.HostEndpoint, err error)

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

func (*FakeHostEndpoints) List

func (c *FakeHostEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v3.HostEndpointList, err error)

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

func (*FakeHostEndpoints) Patch

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

Patch applies the patch and returns the patched hostEndpoint.

func (*FakeHostEndpoints) Update

func (c *FakeHostEndpoints) Update(ctx context.Context, hostEndpoint *v3.HostEndpoint, opts v1.UpdateOptions) (result *v3.HostEndpoint, err error)

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

func (*FakeHostEndpoints) Watch

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

type FakeIPPools

type FakeIPPools struct {
	Fake *FakeProjectcalicoV3
}

FakeIPPools implements IPPoolInterface

func (*FakeIPPools) Create

func (c *FakeIPPools) Create(ctx context.Context, iPPool *v3.IPPool, opts v1.CreateOptions) (result *v3.IPPool, err error)

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

func (*FakeIPPools) Delete

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

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

func (*FakeIPPools) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIPPools) Get

func (c *FakeIPPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.IPPool, err error)

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

func (*FakeIPPools) List

func (c *FakeIPPools) List(ctx context.Context, opts v1.ListOptions) (result *v3.IPPoolList, err error)

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

func (*FakeIPPools) Patch

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

Patch applies the patch and returns the patched iPPool.

func (*FakeIPPools) Update

func (c *FakeIPPools) Update(ctx context.Context, iPPool *v3.IPPool, opts v1.UpdateOptions) (result *v3.IPPool, err error)

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

func (*FakeIPPools) Watch

func (c *FakeIPPools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeKubeControllersConfigurations

type FakeKubeControllersConfigurations struct {
	Fake *FakeProjectcalicoV3
}

FakeKubeControllersConfigurations implements KubeControllersConfigurationInterface

func (*FakeKubeControllersConfigurations) Create

func (c *FakeKubeControllersConfigurations) Create(ctx context.Context, kubeControllersConfiguration *v3.KubeControllersConfiguration, opts v1.CreateOptions) (result *v3.KubeControllersConfiguration, err error)

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

func (*FakeKubeControllersConfigurations) Delete

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

func (*FakeKubeControllersConfigurations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKubeControllersConfigurations) Get

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

func (*FakeKubeControllersConfigurations) List

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

func (*FakeKubeControllersConfigurations) Patch

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

Patch applies the patch and returns the patched kubeControllersConfiguration.

func (*FakeKubeControllersConfigurations) Update

func (c *FakeKubeControllersConfigurations) Update(ctx context.Context, kubeControllersConfiguration *v3.KubeControllersConfiguration, opts v1.UpdateOptions) (result *v3.KubeControllersConfiguration, err error)

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

func (*FakeKubeControllersConfigurations) UpdateStatus

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

func (*FakeKubeControllersConfigurations) Watch

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

type FakeLicenseKeys

type FakeLicenseKeys struct {
	Fake *FakeProjectcalicoV3
}

FakeLicenseKeys implements LicenseKeyInterface

func (*FakeLicenseKeys) Create

func (c *FakeLicenseKeys) Create(ctx context.Context, licenseKey *v3.LicenseKey, opts v1.CreateOptions) (result *v3.LicenseKey, err error)

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

func (*FakeLicenseKeys) Delete

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

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

func (*FakeLicenseKeys) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLicenseKeys) Get

func (c *FakeLicenseKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.LicenseKey, err error)

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

func (*FakeLicenseKeys) List

func (c *FakeLicenseKeys) List(ctx context.Context, opts v1.ListOptions) (result *v3.LicenseKeyList, err error)

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

func (*FakeLicenseKeys) Patch

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

Patch applies the patch and returns the patched licenseKey.

func (*FakeLicenseKeys) Update

func (c *FakeLicenseKeys) Update(ctx context.Context, licenseKey *v3.LicenseKey, opts v1.UpdateOptions) (result *v3.LicenseKey, err error)

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

func (*FakeLicenseKeys) UpdateStatus

func (c *FakeLicenseKeys) UpdateStatus(ctx context.Context, licenseKey *v3.LicenseKey, opts v1.UpdateOptions) (*v3.LicenseKey, error)

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

func (*FakeLicenseKeys) Watch

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

type FakeManagedClusters

type FakeManagedClusters struct {
	Fake *FakeProjectcalicoV3
}

FakeManagedClusters implements ManagedClusterInterface

func (*FakeManagedClusters) Create

func (c *FakeManagedClusters) Create(ctx context.Context, managedCluster *v3.ManagedCluster, opts v1.CreateOptions) (result *v3.ManagedCluster, err error)

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

func (*FakeManagedClusters) Delete

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

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

func (*FakeManagedClusters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeManagedClusters) Get

func (c *FakeManagedClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.ManagedCluster, err error)

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

func (*FakeManagedClusters) List

func (c *FakeManagedClusters) List(ctx context.Context, opts v1.ListOptions) (result *v3.ManagedClusterList, err error)

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

func (*FakeManagedClusters) Patch

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

Patch applies the patch and returns the patched managedCluster.

func (*FakeManagedClusters) Update

func (c *FakeManagedClusters) Update(ctx context.Context, managedCluster *v3.ManagedCluster, opts v1.UpdateOptions) (result *v3.ManagedCluster, err error)

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

func (*FakeManagedClusters) UpdateStatus

func (c *FakeManagedClusters) UpdateStatus(ctx context.Context, managedCluster *v3.ManagedCluster, opts v1.UpdateOptions) (*v3.ManagedCluster, error)

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

func (*FakeManagedClusters) Watch

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

type FakeNetworkPolicies

type FakeNetworkPolicies struct {
	Fake *FakeProjectcalicoV3
	// contains filtered or unexported fields
}

FakeNetworkPolicies implements NetworkPolicyInterface

func (*FakeNetworkPolicies) Create

func (c *FakeNetworkPolicies) Create(ctx context.Context, networkPolicy *v3.NetworkPolicy, opts v1.CreateOptions) (result *v3.NetworkPolicy, err error)

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

func (*FakeNetworkPolicies) Delete

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

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

func (*FakeNetworkPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkPolicies) Get

func (c *FakeNetworkPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.NetworkPolicy, err error)

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

func (*FakeNetworkPolicies) List

func (c *FakeNetworkPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v3.NetworkPolicyList, err error)

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

func (*FakeNetworkPolicies) Patch

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

Patch applies the patch and returns the patched networkPolicy.

func (*FakeNetworkPolicies) Update

func (c *FakeNetworkPolicies) Update(ctx context.Context, networkPolicy *v3.NetworkPolicy, opts v1.UpdateOptions) (result *v3.NetworkPolicy, err error)

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

func (*FakeNetworkPolicies) Watch

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

type FakeNetworkSets

type FakeNetworkSets struct {
	Fake *FakeProjectcalicoV3
	// contains filtered or unexported fields
}

FakeNetworkSets implements NetworkSetInterface

func (*FakeNetworkSets) Create

func (c *FakeNetworkSets) Create(ctx context.Context, networkSet *v3.NetworkSet, opts v1.CreateOptions) (result *v3.NetworkSet, err error)

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

func (*FakeNetworkSets) Delete

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

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

func (*FakeNetworkSets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkSets) Get

func (c *FakeNetworkSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.NetworkSet, err error)

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

func (*FakeNetworkSets) List

func (c *FakeNetworkSets) List(ctx context.Context, opts v1.ListOptions) (result *v3.NetworkSetList, err error)

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

func (*FakeNetworkSets) Patch

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

Patch applies the patch and returns the patched networkSet.

func (*FakeNetworkSets) Update

func (c *FakeNetworkSets) Update(ctx context.Context, networkSet *v3.NetworkSet, opts v1.UpdateOptions) (result *v3.NetworkSet, err error)

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

func (*FakeNetworkSets) Watch

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

type FakePacketCaptures

type FakePacketCaptures struct {
	Fake *FakeProjectcalicoV3
	// contains filtered or unexported fields
}

FakePacketCaptures implements PacketCaptureInterface

func (*FakePacketCaptures) Create

func (c *FakePacketCaptures) Create(ctx context.Context, packetCapture *v3.PacketCapture, opts v1.CreateOptions) (result *v3.PacketCapture, err error)

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

func (*FakePacketCaptures) Delete

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

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

func (*FakePacketCaptures) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePacketCaptures) Get

func (c *FakePacketCaptures) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.PacketCapture, err error)

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

func (*FakePacketCaptures) List

func (c *FakePacketCaptures) List(ctx context.Context, opts v1.ListOptions) (result *v3.PacketCaptureList, err error)

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

func (*FakePacketCaptures) Patch

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

Patch applies the patch and returns the patched packetCapture.

func (*FakePacketCaptures) Update

func (c *FakePacketCaptures) Update(ctx context.Context, packetCapture *v3.PacketCapture, opts v1.UpdateOptions) (result *v3.PacketCapture, err error)

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

func (*FakePacketCaptures) UpdateStatus

func (c *FakePacketCaptures) UpdateStatus(ctx context.Context, packetCapture *v3.PacketCapture, opts v1.UpdateOptions) (*v3.PacketCapture, error)

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

func (*FakePacketCaptures) Watch

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

type FakeProfiles

type FakeProfiles struct {
	Fake *FakeProjectcalicoV3
}

FakeProfiles implements ProfileInterface

func (*FakeProfiles) Create

func (c *FakeProfiles) Create(ctx context.Context, profile *v3.Profile, opts v1.CreateOptions) (result *v3.Profile, err error)

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

func (*FakeProfiles) Delete

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

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

func (*FakeProfiles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeProfiles) Get

func (c *FakeProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.Profile, err error)

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

func (*FakeProfiles) List

func (c *FakeProfiles) List(ctx context.Context, opts v1.ListOptions) (result *v3.ProfileList, err error)

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

func (*FakeProfiles) Patch

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

Patch applies the patch and returns the patched profile.

func (*FakeProfiles) Update

func (c *FakeProfiles) Update(ctx context.Context, profile *v3.Profile, opts v1.UpdateOptions) (result *v3.Profile, err error)

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

func (*FakeProfiles) Watch

func (c *FakeProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeProjectcalicoV3

type FakeProjectcalicoV3 struct {
	*testing.Fake
}

func (*FakeProjectcalicoV3) AuthenticationReviews

func (c *FakeProjectcalicoV3) AuthenticationReviews() v3.AuthenticationReviewInterface

func (*FakeProjectcalicoV3) AuthorizationReviews

func (c *FakeProjectcalicoV3) AuthorizationReviews() v3.AuthorizationReviewInterface

func (*FakeProjectcalicoV3) BGPConfigurations

func (c *FakeProjectcalicoV3) BGPConfigurations() v3.BGPConfigurationInterface

func (*FakeProjectcalicoV3) BGPPeers

func (c *FakeProjectcalicoV3) BGPPeers() v3.BGPPeerInterface

func (*FakeProjectcalicoV3) ClusterInformations

func (c *FakeProjectcalicoV3) ClusterInformations() v3.ClusterInformationInterface

func (*FakeProjectcalicoV3) DeepPacketInspections

func (c *FakeProjectcalicoV3) DeepPacketInspections(namespace string) v3.DeepPacketInspectionInterface

func (*FakeProjectcalicoV3) FelixConfigurations

func (c *FakeProjectcalicoV3) FelixConfigurations() v3.FelixConfigurationInterface

func (*FakeProjectcalicoV3) GlobalAlertTemplates

func (c *FakeProjectcalicoV3) GlobalAlertTemplates() v3.GlobalAlertTemplateInterface

func (*FakeProjectcalicoV3) GlobalAlerts

func (c *FakeProjectcalicoV3) GlobalAlerts() v3.GlobalAlertInterface

func (*FakeProjectcalicoV3) GlobalNetworkPolicies

func (c *FakeProjectcalicoV3) GlobalNetworkPolicies() v3.GlobalNetworkPolicyInterface

func (*FakeProjectcalicoV3) GlobalNetworkSets

func (c *FakeProjectcalicoV3) GlobalNetworkSets() v3.GlobalNetworkSetInterface

func (*FakeProjectcalicoV3) GlobalReportTypes

func (c *FakeProjectcalicoV3) GlobalReportTypes() v3.GlobalReportTypeInterface

func (*FakeProjectcalicoV3) GlobalReports

func (c *FakeProjectcalicoV3) GlobalReports() v3.GlobalReportInterface

func (*FakeProjectcalicoV3) GlobalThreatFeeds

func (c *FakeProjectcalicoV3) GlobalThreatFeeds() v3.GlobalThreatFeedInterface

func (*FakeProjectcalicoV3) HostEndpoints

func (c *FakeProjectcalicoV3) HostEndpoints() v3.HostEndpointInterface

func (*FakeProjectcalicoV3) IPPools

func (c *FakeProjectcalicoV3) IPPools() v3.IPPoolInterface

func (*FakeProjectcalicoV3) KubeControllersConfigurations

func (c *FakeProjectcalicoV3) KubeControllersConfigurations() v3.KubeControllersConfigurationInterface

func (*FakeProjectcalicoV3) LicenseKeys

func (c *FakeProjectcalicoV3) LicenseKeys() v3.LicenseKeyInterface

func (*FakeProjectcalicoV3) ManagedClusters

func (c *FakeProjectcalicoV3) ManagedClusters() v3.ManagedClusterInterface

func (*FakeProjectcalicoV3) NetworkPolicies

func (c *FakeProjectcalicoV3) NetworkPolicies(namespace string) v3.NetworkPolicyInterface

func (*FakeProjectcalicoV3) NetworkSets

func (c *FakeProjectcalicoV3) NetworkSets(namespace string) v3.NetworkSetInterface

func (*FakeProjectcalicoV3) PacketCaptures

func (c *FakeProjectcalicoV3) PacketCaptures(namespace string) v3.PacketCaptureInterface

func (*FakeProjectcalicoV3) Profiles

func (c *FakeProjectcalicoV3) Profiles() v3.ProfileInterface

func (*FakeProjectcalicoV3) RESTClient

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

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

func (*FakeProjectcalicoV3) RemoteClusterConfigurations

func (c *FakeProjectcalicoV3) RemoteClusterConfigurations() v3.RemoteClusterConfigurationInterface

func (*FakeProjectcalicoV3) StagedGlobalNetworkPolicies

func (c *FakeProjectcalicoV3) StagedGlobalNetworkPolicies() v3.StagedGlobalNetworkPolicyInterface

func (*FakeProjectcalicoV3) StagedKubernetesNetworkPolicies

func (c *FakeProjectcalicoV3) StagedKubernetesNetworkPolicies(namespace string) v3.StagedKubernetesNetworkPolicyInterface

func (*FakeProjectcalicoV3) StagedNetworkPolicies

func (c *FakeProjectcalicoV3) StagedNetworkPolicies(namespace string) v3.StagedNetworkPolicyInterface

func (*FakeProjectcalicoV3) Tiers

type FakeRemoteClusterConfigurations

type FakeRemoteClusterConfigurations struct {
	Fake *FakeProjectcalicoV3
}

FakeRemoteClusterConfigurations implements RemoteClusterConfigurationInterface

func (*FakeRemoteClusterConfigurations) Create

func (c *FakeRemoteClusterConfigurations) Create(ctx context.Context, remoteClusterConfiguration *v3.RemoteClusterConfiguration, opts v1.CreateOptions) (result *v3.RemoteClusterConfiguration, err error)

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

func (*FakeRemoteClusterConfigurations) Delete

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

func (*FakeRemoteClusterConfigurations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRemoteClusterConfigurations) Get

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

func (*FakeRemoteClusterConfigurations) List

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

func (*FakeRemoteClusterConfigurations) Patch

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

Patch applies the patch and returns the patched remoteClusterConfiguration.

func (*FakeRemoteClusterConfigurations) Update

func (c *FakeRemoteClusterConfigurations) Update(ctx context.Context, remoteClusterConfiguration *v3.RemoteClusterConfiguration, opts v1.UpdateOptions) (result *v3.RemoteClusterConfiguration, err error)

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

func (*FakeRemoteClusterConfigurations) Watch

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

type FakeStagedGlobalNetworkPolicies

type FakeStagedGlobalNetworkPolicies struct {
	Fake *FakeProjectcalicoV3
}

FakeStagedGlobalNetworkPolicies implements StagedGlobalNetworkPolicyInterface

func (*FakeStagedGlobalNetworkPolicies) Create

func (c *FakeStagedGlobalNetworkPolicies) Create(ctx context.Context, stagedGlobalNetworkPolicy *v3.StagedGlobalNetworkPolicy, opts v1.CreateOptions) (result *v3.StagedGlobalNetworkPolicy, err error)

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

func (*FakeStagedGlobalNetworkPolicies) Delete

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

func (*FakeStagedGlobalNetworkPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeStagedGlobalNetworkPolicies) Get

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

func (*FakeStagedGlobalNetworkPolicies) List

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

func (*FakeStagedGlobalNetworkPolicies) Patch

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

Patch applies the patch and returns the patched stagedGlobalNetworkPolicy.

func (*FakeStagedGlobalNetworkPolicies) Update

func (c *FakeStagedGlobalNetworkPolicies) Update(ctx context.Context, stagedGlobalNetworkPolicy *v3.StagedGlobalNetworkPolicy, opts v1.UpdateOptions) (result *v3.StagedGlobalNetworkPolicy, err error)

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

func (*FakeStagedGlobalNetworkPolicies) Watch

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

type FakeStagedKubernetesNetworkPolicies

type FakeStagedKubernetesNetworkPolicies struct {
	Fake *FakeProjectcalicoV3
	// contains filtered or unexported fields
}

FakeStagedKubernetesNetworkPolicies implements StagedKubernetesNetworkPolicyInterface

func (*FakeStagedKubernetesNetworkPolicies) Create

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

func (*FakeStagedKubernetesNetworkPolicies) Delete

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

func (*FakeStagedKubernetesNetworkPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeStagedKubernetesNetworkPolicies) Get

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

func (*FakeStagedKubernetesNetworkPolicies) List

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

func (*FakeStagedKubernetesNetworkPolicies) Patch

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

Patch applies the patch and returns the patched stagedKubernetesNetworkPolicy.

func (*FakeStagedKubernetesNetworkPolicies) Update

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

func (*FakeStagedKubernetesNetworkPolicies) Watch

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

type FakeStagedNetworkPolicies

type FakeStagedNetworkPolicies struct {
	Fake *FakeProjectcalicoV3
	// contains filtered or unexported fields
}

FakeStagedNetworkPolicies implements StagedNetworkPolicyInterface

func (*FakeStagedNetworkPolicies) Create

func (c *FakeStagedNetworkPolicies) Create(ctx context.Context, stagedNetworkPolicy *v3.StagedNetworkPolicy, opts v1.CreateOptions) (result *v3.StagedNetworkPolicy, err error)

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

func (*FakeStagedNetworkPolicies) Delete

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

func (*FakeStagedNetworkPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeStagedNetworkPolicies) Get

func (c *FakeStagedNetworkPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.StagedNetworkPolicy, err error)

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

func (*FakeStagedNetworkPolicies) List

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

func (*FakeStagedNetworkPolicies) Patch

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

Patch applies the patch and returns the patched stagedNetworkPolicy.

func (*FakeStagedNetworkPolicies) Update

func (c *FakeStagedNetworkPolicies) Update(ctx context.Context, stagedNetworkPolicy *v3.StagedNetworkPolicy, opts v1.UpdateOptions) (result *v3.StagedNetworkPolicy, err error)

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

func (*FakeStagedNetworkPolicies) Watch

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

type FakeTiers

type FakeTiers struct {
	Fake *FakeProjectcalicoV3
}

FakeTiers implements TierInterface

func (*FakeTiers) Create

func (c *FakeTiers) Create(ctx context.Context, tier *v3.Tier, opts v1.CreateOptions) (result *v3.Tier, err error)

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

func (*FakeTiers) Delete

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

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

func (*FakeTiers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTiers) Get

func (c *FakeTiers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v3.Tier, err error)

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

func (*FakeTiers) List

func (c *FakeTiers) List(ctx context.Context, opts v1.ListOptions) (result *v3.TierList, err error)

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

func (*FakeTiers) Patch

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

Patch applies the patch and returns the patched tier.

func (*FakeTiers) Update

func (c *FakeTiers) Update(ctx context.Context, tier *v3.Tier, opts v1.UpdateOptions) (result *v3.Tier, err error)

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

func (*FakeTiers) Watch

func (c *FakeTiers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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