client-go: k8s.io/client-go/kubernetes/typed/networking/v1beta1/fake Index | Files

package fake

import "k8s.io/client-go/kubernetes/typed/networking/v1beta1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_ingress.go fake_ingressclass.go fake_networking_client.go

type FakeIngressClasses Uses

type FakeIngressClasses struct {
    Fake *FakeNetworkingV1beta1
}

FakeIngressClasses implements IngressClassInterface

func (*FakeIngressClasses) Create Uses

func (c *FakeIngressClasses) Create(ctx context.Context, ingressClass *v1beta1.IngressClass, opts v1.CreateOptions) (result *v1beta1.IngressClass, err error)

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

func (*FakeIngressClasses) Delete Uses

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

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

func (*FakeIngressClasses) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeIngressClasses) Get Uses

func (c *FakeIngressClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.IngressClass, err error)

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

func (*FakeIngressClasses) List Uses

func (c *FakeIngressClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.IngressClassList, err error)

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

func (*FakeIngressClasses) Patch Uses

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

Patch applies the patch and returns the patched ingressClass.

func (*FakeIngressClasses) Update Uses

func (c *FakeIngressClasses) Update(ctx context.Context, ingressClass *v1beta1.IngressClass, opts v1.UpdateOptions) (result *v1beta1.IngressClass, err error)

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

func (*FakeIngressClasses) Watch Uses

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

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

type FakeIngresses Uses

type FakeIngresses struct {
    Fake *FakeNetworkingV1beta1
    // contains filtered or unexported fields
}

FakeIngresses implements IngressInterface

func (*FakeIngresses) Create Uses

func (c *FakeIngresses) Create(ctx context.Context, ingress *v1beta1.Ingress, opts v1.CreateOptions) (result *v1beta1.Ingress, err error)

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

func (*FakeIngresses) Delete Uses

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

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

func (*FakeIngresses) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeIngresses) Get Uses

func (c *FakeIngresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Ingress, err error)

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

func (*FakeIngresses) List Uses

func (c *FakeIngresses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.IngressList, err error)

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

func (*FakeIngresses) Patch Uses

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

Patch applies the patch and returns the patched ingress.

func (*FakeIngresses) Update Uses

func (c *FakeIngresses) Update(ctx context.Context, ingress *v1beta1.Ingress, opts v1.UpdateOptions) (result *v1beta1.Ingress, err error)

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

func (*FakeIngresses) UpdateStatus Uses

func (c *FakeIngresses) UpdateStatus(ctx context.Context, ingress *v1beta1.Ingress, opts v1.UpdateOptions) (*v1beta1.Ingress, error)

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

func (*FakeIngresses) Watch Uses

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

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

type FakeNetworkingV1beta1 Uses

type FakeNetworkingV1beta1 struct {
    *testing.Fake
}

func (*FakeNetworkingV1beta1) IngressClasses Uses

func (c *FakeNetworkingV1beta1) IngressClasses() v1beta1.IngressClassInterface

func (*FakeNetworkingV1beta1) Ingresses Uses

func (c *FakeNetworkingV1beta1) Ingresses(namespace string) v1beta1.IngressInterface

func (*FakeNetworkingV1beta1) RESTClient Uses

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

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

Package fake imports 10 packages (graph) and is imported by 5 packages. Updated 2020-03-11. Refresh now. Tools for package owners.