Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterInfoImportExpansion
- type ClusterInfoImportInterface
- type ClusterInfoImportsGetter
- type ClusterSetExpansion
- type ClusterSetInterface
- type ClusterSetsGetter
- type GatewayExpansion
- type GatewayInterface
- type GatewaysGetter
- type LabelIdentitiesGetter
- type LabelIdentityExpansion
- type LabelIdentityInterface
- type MemberClusterAnnounceExpansion
- type MemberClusterAnnounceInterface
- type MemberClusterAnnouncesGetter
- type MulticlusterV1alpha1Client
- func (c *MulticlusterV1alpha1Client) ClusterInfoImports(namespace string) ClusterInfoImportInterface
- func (c *MulticlusterV1alpha1Client) ClusterSets(namespace string) ClusterSetInterface
- func (c *MulticlusterV1alpha1Client) Gateways(namespace string) GatewayInterface
- func (c *MulticlusterV1alpha1Client) LabelIdentities() LabelIdentityInterface
- func (c *MulticlusterV1alpha1Client) MemberClusterAnnounces(namespace string) MemberClusterAnnounceInterface
- func (c *MulticlusterV1alpha1Client) RESTClient() rest.Interface
- func (c *MulticlusterV1alpha1Client) ResourceExports(namespace string) ResourceExportInterface
- func (c *MulticlusterV1alpha1Client) ResourceImports(namespace string) ResourceImportInterface
- type MulticlusterV1alpha1Interface
- type ResourceExportExpansion
- type ResourceExportInterface
- type ResourceExportsGetter
- type ResourceImportExpansion
- type ResourceImportInterface
- type ResourceImportsGetter
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 ¶
func New(c rest.Interface) *MulticlusterV1alpha1Client
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
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 (c *MulticlusterV1alpha1Client) LabelIdentities() LabelIdentityInterface
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 MulticlusterV1alpha1Interface ¶
type MulticlusterV1alpha1Interface interface { RESTClient() rest.Interface ClusterInfoImportsGetter ClusterSetsGetter GatewaysGetter LabelIdentitiesGetter MemberClusterAnnouncesGetter ResourceExportsGetter ResourceImportsGetter }
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.