package v1

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

This package has the automatically generated typed clients.

Index

Types

type IPAddressExpansion

type IPAddressExpansion interface{}

type IPAddressInterface

IPAddressInterface has methods to work with IPAddress resources.

type IPAddressesGetter

type IPAddressesGetter interface {
	IPAddresses() IPAddressInterface
}

IPAddressesGetter has a method to return a IPAddressInterface. A group's client should implement this interface.

type IngressClassExpansion

type IngressClassExpansion interface{}

type IngressClassInterface

IngressClassInterface has methods to work with IngressClass resources.

type IngressClassesGetter

type IngressClassesGetter interface {
	IngressClasses() IngressClassInterface
}

IngressClassesGetter has a method to return a IngressClassInterface. A group's client should implement this interface.

type IngressExpansion

type IngressExpansion interface{}

type IngressInterface

type IngressInterface interface {
	Create(ctx context.Context, ingress *networkingv1.Ingress, opts metav1.CreateOptions) (*networkingv1.Ingress, error)
	Update(ctx context.Context, ingress *networkingv1.Ingress, opts metav1.UpdateOptions) (*networkingv1.Ingress, error)
	// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
	UpdateStatus(ctx context.Context, ingress *networkingv1.Ingress, opts metav1.UpdateOptions) (*networkingv1.Ingress, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*networkingv1.Ingress, error)
	List(ctx context.Context, opts metav1.ListOptions) (*networkingv1.IngressList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *networkingv1.Ingress, err error)
	Apply(ctx context.Context, ingress *applyconfigurationsnetworkingv1.IngressApplyConfiguration, opts metav1.ApplyOptions) (result *networkingv1.Ingress, err error)
	// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
	ApplyStatus(ctx context.Context, ingress *applyconfigurationsnetworkingv1.IngressApplyConfiguration, opts metav1.ApplyOptions) (result *networkingv1.Ingress, err error)
	IngressExpansion
}

IngressInterface has methods to work with Ingress resources.

type IngressesGetter

type IngressesGetter interface {
	Ingresses(namespace string) IngressInterface
}

IngressesGetter has a method to return a IngressInterface. A group's client should implement this interface.

type NetworkPoliciesGetter

type NetworkPoliciesGetter interface {
	NetworkPolicies(namespace string) NetworkPolicyInterface
}

NetworkPoliciesGetter has a method to return a NetworkPolicyInterface. A group's client should implement this interface.

type NetworkPolicyExpansion

type NetworkPolicyExpansion interface{}

type NetworkPolicyInterface

NetworkPolicyInterface has methods to work with NetworkPolicy resources.

type NetworkingV1Client

type NetworkingV1Client struct {
	// contains filtered or unexported fields
}

NetworkingV1Client is used to interact with features provided by the networking.k8s.io group.

func New

New creates a new NetworkingV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*NetworkingV1Client, error)

NewForConfig creates a new NetworkingV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*NetworkingV1Client, error)

NewForConfigAndClient creates a new NetworkingV1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *NetworkingV1Client

NewForConfigOrDie creates a new NetworkingV1Client for the given config and panics if there is an error in the config.

func (*NetworkingV1Client) IPAddresses

func (c *NetworkingV1Client) IPAddresses() IPAddressInterface

func (*NetworkingV1Client) IngressClasses

func (c *NetworkingV1Client) IngressClasses() IngressClassInterface

func (*NetworkingV1Client) Ingresses

func (c *NetworkingV1Client) Ingresses(namespace string) IngressInterface

func (*NetworkingV1Client) NetworkPolicies

func (c *NetworkingV1Client) NetworkPolicies(namespace string) NetworkPolicyInterface

func (*NetworkingV1Client) RESTClient

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

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

func (*NetworkingV1Client) ServiceCIDRs

func (c *NetworkingV1Client) ServiceCIDRs() ServiceCIDRInterface

type NetworkingV1Interface

type ServiceCIDRExpansion

type ServiceCIDRExpansion interface{}

type ServiceCIDRInterface

type ServiceCIDRInterface interface {
	Create(ctx context.Context, serviceCIDR *networkingv1.ServiceCIDR, opts metav1.CreateOptions) (*networkingv1.ServiceCIDR, error)
	Update(ctx context.Context, serviceCIDR *networkingv1.ServiceCIDR, opts metav1.UpdateOptions) (*networkingv1.ServiceCIDR, error)
	// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
	UpdateStatus(ctx context.Context, serviceCIDR *networkingv1.ServiceCIDR, opts metav1.UpdateOptions) (*networkingv1.ServiceCIDR, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*networkingv1.ServiceCIDR, error)
	List(ctx context.Context, opts metav1.ListOptions) (*networkingv1.ServiceCIDRList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *networkingv1.ServiceCIDR, err error)
	Apply(ctx context.Context, serviceCIDR *applyconfigurationsnetworkingv1.ServiceCIDRApplyConfiguration, opts metav1.ApplyOptions) (result *networkingv1.ServiceCIDR, err error)
	// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
	ApplyStatus(ctx context.Context, serviceCIDR *applyconfigurationsnetworkingv1.ServiceCIDRApplyConfiguration, opts metav1.ApplyOptions) (result *networkingv1.ServiceCIDR, err error)
	ServiceCIDRExpansion
}

ServiceCIDRInterface has methods to work with ServiceCIDR resources.

type ServiceCIDRsGetter

type ServiceCIDRsGetter interface {
	ServiceCIDRs() ServiceCIDRInterface
}

ServiceCIDRsGetter has a method to return a ServiceCIDRInterface. A group's client should implement this interface.

Source Files

doc.go generated_expansion.go ingress.go ingressclass.go ipaddress.go networking_client.go networkpolicy.go servicecidr.go

Directories

PathSynopsis
kubernetes/typed/networking/v1/fakePackage fake has the automatically generated clients.
Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
10 packages
Last checked
3 hours ago

Tools for package owners.