v1

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FloatingIPExpansion

type FloatingIPExpansion interface{}

type FloatingIPInterface

type FloatingIPInterface interface {
	Create(ctx context.Context, floatingIP *v1.FloatingIP, opts metav1.CreateOptions) (*v1.FloatingIP, error)
	Update(ctx context.Context, floatingIP *v1.FloatingIP, opts metav1.UpdateOptions) (*v1.FloatingIP, error)
	UpdateStatus(ctx context.Context, floatingIP *v1.FloatingIP, opts metav1.UpdateOptions) (*v1.FloatingIP, 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) (*v1.FloatingIP, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.FloatingIPList, 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 *v1.FloatingIP, err error)
	FloatingIPExpansion
}

FloatingIPInterface has methods to work with FloatingIP resources.

type FloatingIPRangeExpansion

type FloatingIPRangeExpansion interface{}

type FloatingIPRangeInterface

type FloatingIPRangeInterface interface {
	Create(ctx context.Context, floatingIPRange *v1.FloatingIPRange, opts metav1.CreateOptions) (*v1.FloatingIPRange, error)
	Update(ctx context.Context, floatingIPRange *v1.FloatingIPRange, opts metav1.UpdateOptions) (*v1.FloatingIPRange, error)
	UpdateStatus(ctx context.Context, floatingIPRange *v1.FloatingIPRange, opts metav1.UpdateOptions) (*v1.FloatingIPRange, 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) (*v1.FloatingIPRange, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.FloatingIPRangeList, 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 *v1.FloatingIPRange, err error)
	FloatingIPRangeExpansion
}

FloatingIPRangeInterface has methods to work with FloatingIPRange resources.

type FloatingIPRangesGetter

type FloatingIPRangesGetter interface {
	FloatingIPRanges() FloatingIPRangeInterface
}

FloatingIPRangesGetter has a method to return a FloatingIPRangeInterface. A group's client should implement this interface.

type FloatingIPsGetter

type FloatingIPsGetter interface {
	FloatingIPs(namespace string) FloatingIPInterface
}

FloatingIPsGetter has a method to return a FloatingIPInterface. A group's client should implement this interface.

type KubefipV1Client

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

KubefipV1Client is used to interact with features provided by the kubefip.k8s.binbash.org group.

func New

New creates a new KubefipV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new KubefipV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *KubefipV1Client

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

func (*KubefipV1Client) FloatingIPRanges

func (c *KubefipV1Client) FloatingIPRanges() FloatingIPRangeInterface

func (*KubefipV1Client) FloatingIPs

func (c *KubefipV1Client) FloatingIPs(namespace string) FloatingIPInterface

func (*KubefipV1Client) RESTClient

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

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

type KubefipV1Interface

type KubefipV1Interface interface {
	RESTClient() rest.Interface
	FloatingIPsGetter
	FloatingIPRangesGetter
}

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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