v1

package
v0.8.8 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 9 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 IPInstanceExpansion

type IPInstanceExpansion interface{}

type IPInstanceInterface

type IPInstanceInterface interface {
	Create(ctx context.Context, iPInstance *v1.IPInstance, opts metav1.CreateOptions) (*v1.IPInstance, error)
	Update(ctx context.Context, iPInstance *v1.IPInstance, opts metav1.UpdateOptions) (*v1.IPInstance, error)
	UpdateStatus(ctx context.Context, iPInstance *v1.IPInstance, opts metav1.UpdateOptions) (*v1.IPInstance, 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.IPInstance, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.IPInstanceList, 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.IPInstance, err error)
	IPInstanceExpansion
}

IPInstanceInterface has methods to work with IPInstance resources.

type IPInstancesGetter

type IPInstancesGetter interface {
	IPInstances(namespace string) IPInstanceInterface
}

IPInstancesGetter has a method to return a IPInstanceInterface. A group's client should implement this interface.

type NetworkExpansion

type NetworkExpansion interface{}

type NetworkInterface

type NetworkInterface interface {
	Create(ctx context.Context, network *v1.Network, opts metav1.CreateOptions) (*v1.Network, error)
	Update(ctx context.Context, network *v1.Network, opts metav1.UpdateOptions) (*v1.Network, error)
	UpdateStatus(ctx context.Context, network *v1.Network, opts metav1.UpdateOptions) (*v1.Network, 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.Network, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.NetworkList, 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.Network, err error)
	NetworkExpansion
}

NetworkInterface has methods to work with Network resources.

type NetworkingV1Client

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

NetworkingV1Client is used to interact with features provided by the networking 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 added in v0.8.0

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) IPInstances

func (c *NetworkingV1Client) IPInstances(namespace string) IPInstanceInterface

func (*NetworkingV1Client) Networks

func (c *NetworkingV1Client) Networks() NetworkInterface

func (*NetworkingV1Client) NodeInfos added in v0.8.0

func (c *NetworkingV1Client) NodeInfos() NodeInfoInterface

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) Subnets

func (c *NetworkingV1Client) Subnets() SubnetInterface

type NetworkingV1Interface

type NetworkingV1Interface interface {
	RESTClient() rest.Interface
	IPInstancesGetter
	NetworksGetter
	NodeInfosGetter
	SubnetsGetter
}

type NetworksGetter

type NetworksGetter interface {
	Networks() NetworkInterface
}

NetworksGetter has a method to return a NetworkInterface. A group's client should implement this interface.

type NodeInfoExpansion added in v0.8.0

type NodeInfoExpansion interface{}

type NodeInfoInterface added in v0.8.0

type NodeInfoInterface interface {
	Create(ctx context.Context, nodeInfo *v1.NodeInfo, opts metav1.CreateOptions) (*v1.NodeInfo, error)
	Update(ctx context.Context, nodeInfo *v1.NodeInfo, opts metav1.UpdateOptions) (*v1.NodeInfo, error)
	UpdateStatus(ctx context.Context, nodeInfo *v1.NodeInfo, opts metav1.UpdateOptions) (*v1.NodeInfo, 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.NodeInfo, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.NodeInfoList, 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.NodeInfo, err error)
	NodeInfoExpansion
}

NodeInfoInterface has methods to work with NodeInfo resources.

type NodeInfosGetter added in v0.8.0

type NodeInfosGetter interface {
	NodeInfos() NodeInfoInterface
}

NodeInfosGetter has a method to return a NodeInfoInterface. A group's client should implement this interface.

type SubnetExpansion

type SubnetExpansion interface{}

type SubnetInterface

type SubnetInterface interface {
	Create(ctx context.Context, subnet *v1.Subnet, opts metav1.CreateOptions) (*v1.Subnet, error)
	Update(ctx context.Context, subnet *v1.Subnet, opts metav1.UpdateOptions) (*v1.Subnet, error)
	UpdateStatus(ctx context.Context, subnet *v1.Subnet, opts metav1.UpdateOptions) (*v1.Subnet, 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.Subnet, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.SubnetList, 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.Subnet, err error)
	SubnetExpansion
}

SubnetInterface has methods to work with Subnet resources.

type SubnetsGetter

type SubnetsGetter interface {
	Subnets() SubnetInterface
}

SubnetsGetter has a method to return a SubnetInterface. A group's client should implement this interface.

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