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 MulticlusterV1Client

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

MulticlusterV1Client is used to interact with features provided by the multicluster group.

func New

New creates a new MulticlusterV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new MulticlusterV1Client 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) (*MulticlusterV1Client, error)

NewForConfigAndClient creates a new MulticlusterV1Client 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) *MulticlusterV1Client

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

func (*MulticlusterV1Client) RESTClient

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

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

func (*MulticlusterV1Client) RemoteClusters

func (c *MulticlusterV1Client) RemoteClusters() RemoteClusterInterface

func (*MulticlusterV1Client) RemoteEndpointSlices

func (c *MulticlusterV1Client) RemoteEndpointSlices() RemoteEndpointSliceInterface

func (*MulticlusterV1Client) RemoteSubnets

func (c *MulticlusterV1Client) RemoteSubnets() RemoteSubnetInterface

func (*MulticlusterV1Client) RemoteVteps

func (c *MulticlusterV1Client) RemoteVteps() RemoteVtepInterface

type RemoteClusterExpansion

type RemoteClusterExpansion interface{}

type RemoteClusterInterface

type RemoteClusterInterface interface {
	Create(ctx context.Context, remoteCluster *v1.RemoteCluster, opts metav1.CreateOptions) (*v1.RemoteCluster, error)
	Update(ctx context.Context, remoteCluster *v1.RemoteCluster, opts metav1.UpdateOptions) (*v1.RemoteCluster, error)
	UpdateStatus(ctx context.Context, remoteCluster *v1.RemoteCluster, opts metav1.UpdateOptions) (*v1.RemoteCluster, 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.RemoteCluster, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.RemoteClusterList, 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.RemoteCluster, err error)
	RemoteClusterExpansion
}

RemoteClusterInterface has methods to work with RemoteCluster resources.

type RemoteClustersGetter

type RemoteClustersGetter interface {
	RemoteClusters() RemoteClusterInterface
}

RemoteClustersGetter has a method to return a RemoteClusterInterface. A group's client should implement this interface.

type RemoteEndpointSliceExpansion

type RemoteEndpointSliceExpansion interface{}

type RemoteEndpointSliceInterface

type RemoteEndpointSliceInterface interface {
	Create(ctx context.Context, remoteEndpointSlice *v1.RemoteEndpointSlice, opts metav1.CreateOptions) (*v1.RemoteEndpointSlice, error)
	Update(ctx context.Context, remoteEndpointSlice *v1.RemoteEndpointSlice, opts metav1.UpdateOptions) (*v1.RemoteEndpointSlice, error)
	UpdateStatus(ctx context.Context, remoteEndpointSlice *v1.RemoteEndpointSlice, opts metav1.UpdateOptions) (*v1.RemoteEndpointSlice, 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.RemoteEndpointSlice, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.RemoteEndpointSliceList, 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.RemoteEndpointSlice, err error)
	RemoteEndpointSliceExpansion
}

RemoteEndpointSliceInterface has methods to work with RemoteEndpointSlice resources.

type RemoteEndpointSlicesGetter

type RemoteEndpointSlicesGetter interface {
	RemoteEndpointSlices() RemoteEndpointSliceInterface
}

RemoteEndpointSlicesGetter has a method to return a RemoteEndpointSliceInterface. A group's client should implement this interface.

type RemoteSubnetExpansion

type RemoteSubnetExpansion interface{}

type RemoteSubnetInterface

type RemoteSubnetInterface interface {
	Create(ctx context.Context, remoteSubnet *v1.RemoteSubnet, opts metav1.CreateOptions) (*v1.RemoteSubnet, error)
	Update(ctx context.Context, remoteSubnet *v1.RemoteSubnet, opts metav1.UpdateOptions) (*v1.RemoteSubnet, error)
	UpdateStatus(ctx context.Context, remoteSubnet *v1.RemoteSubnet, opts metav1.UpdateOptions) (*v1.RemoteSubnet, 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.RemoteSubnet, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.RemoteSubnetList, 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.RemoteSubnet, err error)
	RemoteSubnetExpansion
}

RemoteSubnetInterface has methods to work with RemoteSubnet resources.

type RemoteSubnetsGetter

type RemoteSubnetsGetter interface {
	RemoteSubnets() RemoteSubnetInterface
}

RemoteSubnetsGetter has a method to return a RemoteSubnetInterface. A group's client should implement this interface.

type RemoteVtepExpansion

type RemoteVtepExpansion interface{}

type RemoteVtepInterface

type RemoteVtepInterface interface {
	Create(ctx context.Context, remoteVtep *v1.RemoteVtep, opts metav1.CreateOptions) (*v1.RemoteVtep, error)
	Update(ctx context.Context, remoteVtep *v1.RemoteVtep, opts metav1.UpdateOptions) (*v1.RemoteVtep, error)
	UpdateStatus(ctx context.Context, remoteVtep *v1.RemoteVtep, opts metav1.UpdateOptions) (*v1.RemoteVtep, 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.RemoteVtep, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.RemoteVtepList, 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.RemoteVtep, err error)
	RemoteVtepExpansion
}

RemoteVtepInterface has methods to work with RemoteVtep resources.

type RemoteVtepsGetter

type RemoteVtepsGetter interface {
	RemoteVteps() RemoteVtepInterface
}

RemoteVtepsGetter has a method to return a RemoteVtepInterface. 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