v1alpha1

package
v1.12.3 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 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 ClusterInfoImportExpansion added in v1.7.0

type ClusterInfoImportExpansion interface{}

type ClusterInfoImportInterface added in v1.7.0

type ClusterInfoImportInterface interface {
	Create(ctx context.Context, clusterInfoImport *v1alpha1.ClusterInfoImport, opts v1.CreateOptions) (*v1alpha1.ClusterInfoImport, error)
	Update(ctx context.Context, clusterInfoImport *v1alpha1.ClusterInfoImport, opts v1.UpdateOptions) (*v1alpha1.ClusterInfoImport, error)
	UpdateStatus(ctx context.Context, clusterInfoImport *v1alpha1.ClusterInfoImport, opts v1.UpdateOptions) (*v1alpha1.ClusterInfoImport, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.ClusterInfoImport, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterInfoImportList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterInfoImport, err error)
	ClusterInfoImportExpansion
}

ClusterInfoImportInterface has methods to work with ClusterInfoImport resources.

type ClusterInfoImportsGetter added in v1.7.0

type ClusterInfoImportsGetter interface {
	ClusterInfoImports(namespace string) ClusterInfoImportInterface
}

ClusterInfoImportsGetter has a method to return a ClusterInfoImportInterface. A group's client should implement this interface.

type ClusterSetExpansion

type ClusterSetExpansion interface{}

type ClusterSetInterface

type ClusterSetInterface interface {
	Create(ctx context.Context, clusterSet *v1alpha1.ClusterSet, opts v1.CreateOptions) (*v1alpha1.ClusterSet, error)
	Update(ctx context.Context, clusterSet *v1alpha1.ClusterSet, opts v1.UpdateOptions) (*v1alpha1.ClusterSet, error)
	UpdateStatus(ctx context.Context, clusterSet *v1alpha1.ClusterSet, opts v1.UpdateOptions) (*v1alpha1.ClusterSet, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.ClusterSet, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterSetList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterSet, err error)
	ClusterSetExpansion
}

ClusterSetInterface has methods to work with ClusterSet resources.

type ClusterSetsGetter

type ClusterSetsGetter interface {
	ClusterSets(namespace string) ClusterSetInterface
}

ClusterSetsGetter has a method to return a ClusterSetInterface. A group's client should implement this interface.

type GatewayExpansion added in v1.7.0

type GatewayExpansion interface{}

type GatewayInterface added in v1.7.0

type GatewayInterface interface {
	Create(ctx context.Context, gateway *v1alpha1.Gateway, opts v1.CreateOptions) (*v1alpha1.Gateway, error)
	Update(ctx context.Context, gateway *v1alpha1.Gateway, opts v1.UpdateOptions) (*v1alpha1.Gateway, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Gateway, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.GatewayList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Gateway, err error)
	GatewayExpansion
}

GatewayInterface has methods to work with Gateway resources.

type GatewaysGetter added in v1.7.0

type GatewaysGetter interface {
	Gateways(namespace string) GatewayInterface
}

GatewaysGetter has a method to return a GatewayInterface. A group's client should implement this interface.

type LabelIdentitiesGetter added in v1.9.0

type LabelIdentitiesGetter interface {
	LabelIdentities() LabelIdentityInterface
}

LabelIdentitiesGetter has a method to return a LabelIdentityInterface. A group's client should implement this interface.

type LabelIdentityExpansion added in v1.9.0

type LabelIdentityExpansion interface{}

type LabelIdentityInterface added in v1.9.0

type LabelIdentityInterface interface {
	Create(ctx context.Context, labelIdentity *v1alpha1.LabelIdentity, opts v1.CreateOptions) (*v1alpha1.LabelIdentity, error)
	Update(ctx context.Context, labelIdentity *v1alpha1.LabelIdentity, opts v1.UpdateOptions) (*v1alpha1.LabelIdentity, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.LabelIdentity, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.LabelIdentityList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LabelIdentity, err error)
	LabelIdentityExpansion
}

LabelIdentityInterface has methods to work with LabelIdentity resources.

type MemberClusterAnnounceExpansion

type MemberClusterAnnounceExpansion interface{}

type MemberClusterAnnounceInterface

type MemberClusterAnnounceInterface interface {
	Create(ctx context.Context, memberClusterAnnounce *v1alpha1.MemberClusterAnnounce, opts v1.CreateOptions) (*v1alpha1.MemberClusterAnnounce, error)
	Update(ctx context.Context, memberClusterAnnounce *v1alpha1.MemberClusterAnnounce, opts v1.UpdateOptions) (*v1alpha1.MemberClusterAnnounce, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.MemberClusterAnnounce, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MemberClusterAnnounceList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MemberClusterAnnounce, err error)
	MemberClusterAnnounceExpansion
}

MemberClusterAnnounceInterface has methods to work with MemberClusterAnnounce resources.

type MemberClusterAnnouncesGetter

type MemberClusterAnnouncesGetter interface {
	MemberClusterAnnounces(namespace string) MemberClusterAnnounceInterface
}

MemberClusterAnnouncesGetter has a method to return a MemberClusterAnnounceInterface. A group's client should implement this interface.

type MulticlusterV1alpha1Client

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

MulticlusterV1alpha1Client is used to interact with features provided by the multicluster.crd.antrea.io group.

func New

New creates a new MulticlusterV1alpha1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient added in v1.7.0

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

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

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

func (*MulticlusterV1alpha1Client) ClusterInfoImports added in v1.7.0

func (c *MulticlusterV1alpha1Client) ClusterInfoImports(namespace string) ClusterInfoImportInterface

func (*MulticlusterV1alpha1Client) ClusterSets

func (c *MulticlusterV1alpha1Client) ClusterSets(namespace string) ClusterSetInterface

func (*MulticlusterV1alpha1Client) Gateways added in v1.7.0

func (c *MulticlusterV1alpha1Client) Gateways(namespace string) GatewayInterface

func (*MulticlusterV1alpha1Client) LabelIdentities added in v1.9.0

func (*MulticlusterV1alpha1Client) MemberClusterAnnounces

func (c *MulticlusterV1alpha1Client) MemberClusterAnnounces(namespace string) MemberClusterAnnounceInterface

func (*MulticlusterV1alpha1Client) RESTClient

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

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

func (*MulticlusterV1alpha1Client) ResourceExports

func (c *MulticlusterV1alpha1Client) ResourceExports(namespace string) ResourceExportInterface

func (*MulticlusterV1alpha1Client) ResourceImports

func (c *MulticlusterV1alpha1Client) ResourceImports(namespace string) ResourceImportInterface

type ResourceExportExpansion

type ResourceExportExpansion interface{}

type ResourceExportInterface

type ResourceExportInterface interface {
	Create(ctx context.Context, resourceExport *v1alpha1.ResourceExport, opts v1.CreateOptions) (*v1alpha1.ResourceExport, error)
	Update(ctx context.Context, resourceExport *v1alpha1.ResourceExport, opts v1.UpdateOptions) (*v1alpha1.ResourceExport, error)
	UpdateStatus(ctx context.Context, resourceExport *v1alpha1.ResourceExport, opts v1.UpdateOptions) (*v1alpha1.ResourceExport, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.ResourceExport, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ResourceExportList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceExport, err error)
	ResourceExportExpansion
}

ResourceExportInterface has methods to work with ResourceExport resources.

type ResourceExportsGetter

type ResourceExportsGetter interface {
	ResourceExports(namespace string) ResourceExportInterface
}

ResourceExportsGetter has a method to return a ResourceExportInterface. A group's client should implement this interface.

type ResourceImportExpansion

type ResourceImportExpansion interface{}

type ResourceImportInterface

type ResourceImportInterface interface {
	Create(ctx context.Context, resourceImport *v1alpha1.ResourceImport, opts v1.CreateOptions) (*v1alpha1.ResourceImport, error)
	Update(ctx context.Context, resourceImport *v1alpha1.ResourceImport, opts v1.UpdateOptions) (*v1alpha1.ResourceImport, error)
	UpdateStatus(ctx context.Context, resourceImport *v1alpha1.ResourceImport, opts v1.UpdateOptions) (*v1alpha1.ResourceImport, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.ResourceImport, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ResourceImportList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceImport, err error)
	ResourceImportExpansion
}

ResourceImportInterface has methods to work with ResourceImport resources.

type ResourceImportsGetter

type ResourceImportsGetter interface {
	ResourceImports(namespace string) ResourceImportInterface
}

ResourceImportsGetter has a method to return a ResourceImportInterface. 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