Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAntreaAgentInfos
- func (c *FakeAntreaAgentInfos) Create(ctx context.Context, antreaAgentInfo *v1beta1.AntreaAgentInfo, ...) (result *v1beta1.AntreaAgentInfo, err error)
- func (c *FakeAntreaAgentInfos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAntreaAgentInfos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAntreaAgentInfos) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AntreaAgentInfo, err error)
- func (c *FakeAntreaAgentInfos) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AntreaAgentInfoList, err error)
- func (c *FakeAntreaAgentInfos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.AntreaAgentInfo, err error)
- func (c *FakeAntreaAgentInfos) Update(ctx context.Context, antreaAgentInfo *v1beta1.AntreaAgentInfo, ...) (result *v1beta1.AntreaAgentInfo, err error)
- func (c *FakeAntreaAgentInfos) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAntreaControllerInfos
- func (c *FakeAntreaControllerInfos) Create(ctx context.Context, antreaControllerInfo *v1beta1.AntreaControllerInfo, ...) (result *v1beta1.AntreaControllerInfo, err error)
- func (c *FakeAntreaControllerInfos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAntreaControllerInfos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAntreaControllerInfos) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AntreaControllerInfo, err error)
- func (c *FakeAntreaControllerInfos) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AntreaControllerInfoList, err error)
- func (c *FakeAntreaControllerInfos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.AntreaControllerInfo, err error)
- func (c *FakeAntreaControllerInfos) Update(ctx context.Context, antreaControllerInfo *v1beta1.AntreaControllerInfo, ...) (result *v1beta1.AntreaControllerInfo, err error)
- func (c *FakeAntreaControllerInfos) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterinformationV1beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAntreaAgentInfos ¶
type FakeAntreaAgentInfos struct {
Fake *FakeClusterinformationV1beta1
}
FakeAntreaAgentInfos implements AntreaAgentInfoInterface
func (*FakeAntreaAgentInfos) Create ¶
func (c *FakeAntreaAgentInfos) Create(ctx context.Context, antreaAgentInfo *v1beta1.AntreaAgentInfo, opts v1.CreateOptions) (result *v1beta1.AntreaAgentInfo, err error)
Create takes the representation of a antreaAgentInfo and creates it. Returns the server's representation of the antreaAgentInfo, and an error, if there is any.
func (*FakeAntreaAgentInfos) Delete ¶
func (c *FakeAntreaAgentInfos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the antreaAgentInfo and deletes it. Returns an error if one occurs.
func (*FakeAntreaAgentInfos) DeleteCollection ¶
func (c *FakeAntreaAgentInfos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAntreaAgentInfos) Get ¶
func (c *FakeAntreaAgentInfos) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AntreaAgentInfo, err error)
Get takes name of the antreaAgentInfo, and returns the corresponding antreaAgentInfo object, and an error if there is any.
func (*FakeAntreaAgentInfos) List ¶
func (c *FakeAntreaAgentInfos) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AntreaAgentInfoList, err error)
List takes label and field selectors, and returns the list of AntreaAgentInfos that match those selectors.
func (*FakeAntreaAgentInfos) Patch ¶
func (c *FakeAntreaAgentInfos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.AntreaAgentInfo, err error)
Patch applies the patch and returns the patched antreaAgentInfo.
func (*FakeAntreaAgentInfos) Update ¶
func (c *FakeAntreaAgentInfos) Update(ctx context.Context, antreaAgentInfo *v1beta1.AntreaAgentInfo, opts v1.UpdateOptions) (result *v1beta1.AntreaAgentInfo, err error)
Update takes the representation of a antreaAgentInfo and updates it. Returns the server's representation of the antreaAgentInfo, and an error, if there is any.
func (*FakeAntreaAgentInfos) Watch ¶
func (c *FakeAntreaAgentInfos) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested antreaAgentInfos.
type FakeAntreaControllerInfos ¶
type FakeAntreaControllerInfos struct {
Fake *FakeClusterinformationV1beta1
}
FakeAntreaControllerInfos implements AntreaControllerInfoInterface
func (*FakeAntreaControllerInfos) Create ¶
func (c *FakeAntreaControllerInfos) Create(ctx context.Context, antreaControllerInfo *v1beta1.AntreaControllerInfo, opts v1.CreateOptions) (result *v1beta1.AntreaControllerInfo, err error)
Create takes the representation of a antreaControllerInfo and creates it. Returns the server's representation of the antreaControllerInfo, and an error, if there is any.
func (*FakeAntreaControllerInfos) Delete ¶
func (c *FakeAntreaControllerInfos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the antreaControllerInfo and deletes it. Returns an error if one occurs.
func (*FakeAntreaControllerInfos) DeleteCollection ¶
func (c *FakeAntreaControllerInfos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAntreaControllerInfos) Get ¶
func (c *FakeAntreaControllerInfos) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AntreaControllerInfo, err error)
Get takes name of the antreaControllerInfo, and returns the corresponding antreaControllerInfo object, and an error if there is any.
func (*FakeAntreaControllerInfos) List ¶
func (c *FakeAntreaControllerInfos) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AntreaControllerInfoList, err error)
List takes label and field selectors, and returns the list of AntreaControllerInfos that match those selectors.
func (*FakeAntreaControllerInfos) Patch ¶
func (c *FakeAntreaControllerInfos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.AntreaControllerInfo, err error)
Patch applies the patch and returns the patched antreaControllerInfo.
func (*FakeAntreaControllerInfos) Update ¶
func (c *FakeAntreaControllerInfos) Update(ctx context.Context, antreaControllerInfo *v1beta1.AntreaControllerInfo, opts v1.UpdateOptions) (result *v1beta1.AntreaControllerInfo, err error)
Update takes the representation of a antreaControllerInfo and updates it. Returns the server's representation of the antreaControllerInfo, and an error, if there is any.
func (*FakeAntreaControllerInfos) Watch ¶
func (c *FakeAntreaControllerInfos) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested antreaControllerInfos.
type FakeClusterinformationV1beta1 ¶
func (*FakeClusterinformationV1beta1) AntreaAgentInfos ¶
func (c *FakeClusterinformationV1beta1) AntreaAgentInfos() v1beta1.AntreaAgentInfoInterface
func (*FakeClusterinformationV1beta1) AntreaControllerInfos ¶
func (c *FakeClusterinformationV1beta1) AntreaControllerInfos() v1beta1.AntreaControllerInfoInterface
func (*FakeClusterinformationV1beta1) RESTClient ¶
func (c *FakeClusterinformationV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.