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