Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterNetworkPoliciesGetter
- type ClusterNetworkPolicyExpansion
- type ClusterNetworkPolicyInterface
- type CrdV1alpha1Client
- func (c *CrdV1alpha1Client) ClusterNetworkPolicies() ClusterNetworkPolicyInterface
- func (c *CrdV1alpha1Client) ExternalNodes(namespace string) ExternalNodeInterface
- func (c *CrdV1alpha1Client) NetworkPolicies(namespace string) NetworkPolicyInterface
- func (c *CrdV1alpha1Client) RESTClient() rest.Interface
- func (c *CrdV1alpha1Client) SupportBundleCollections() SupportBundleCollectionInterface
- func (c *CrdV1alpha1Client) Tiers() TierInterface
- func (c *CrdV1alpha1Client) Traceflows() TraceflowInterface
- type CrdV1alpha1Interface
- type ExternalNodeExpansion
- type ExternalNodeInterface
- type ExternalNodesGetter
- type NetworkPoliciesGetter
- type NetworkPolicyExpansion
- type NetworkPolicyInterface
- type SupportBundleCollectionExpansion
- type SupportBundleCollectionInterface
- type SupportBundleCollectionsGetter
- type TierExpansion
- type TierInterface
- type TiersGetter
- type TraceflowExpansion
- type TraceflowInterface
- type TraceflowsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterNetworkPoliciesGetter ¶
type ClusterNetworkPoliciesGetter interface {
ClusterNetworkPolicies() ClusterNetworkPolicyInterface
}
ClusterNetworkPoliciesGetter has a method to return a ClusterNetworkPolicyInterface. A group's client should implement this interface.
type ClusterNetworkPolicyExpansion ¶
type ClusterNetworkPolicyExpansion interface{}
type ClusterNetworkPolicyInterface ¶
type ClusterNetworkPolicyInterface interface { Create(ctx context.Context, clusterNetworkPolicy *v1alpha1.ClusterNetworkPolicy, opts v1.CreateOptions) (*v1alpha1.ClusterNetworkPolicy, error) Update(ctx context.Context, clusterNetworkPolicy *v1alpha1.ClusterNetworkPolicy, opts v1.UpdateOptions) (*v1alpha1.ClusterNetworkPolicy, error) UpdateStatus(ctx context.Context, clusterNetworkPolicy *v1alpha1.ClusterNetworkPolicy, opts v1.UpdateOptions) (*v1alpha1.ClusterNetworkPolicy, 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.ClusterNetworkPolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterNetworkPolicyList, 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.ClusterNetworkPolicy, err error) ClusterNetworkPolicyExpansion }
ClusterNetworkPolicyInterface has methods to work with ClusterNetworkPolicy resources.
type CrdV1alpha1Client ¶
type CrdV1alpha1Client struct {
// contains filtered or unexported fields
}
CrdV1alpha1Client is used to interact with features provided by the crd.antrea.io group.
func New ¶
func New(c rest.Interface) *CrdV1alpha1Client
New creates a new CrdV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*CrdV1alpha1Client, error)
NewForConfig creates a new CrdV1alpha1Client 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 CrdV1alpha1Client 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) *CrdV1alpha1Client
NewForConfigOrDie creates a new CrdV1alpha1Client for the given config and panics if there is an error in the config.
func (*CrdV1alpha1Client) ClusterNetworkPolicies ¶
func (c *CrdV1alpha1Client) ClusterNetworkPolicies() ClusterNetworkPolicyInterface
func (*CrdV1alpha1Client) ExternalNodes ¶ added in v1.8.0
func (c *CrdV1alpha1Client) ExternalNodes(namespace string) ExternalNodeInterface
func (*CrdV1alpha1Client) NetworkPolicies ¶
func (c *CrdV1alpha1Client) NetworkPolicies(namespace string) NetworkPolicyInterface
func (*CrdV1alpha1Client) RESTClient ¶
func (c *CrdV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*CrdV1alpha1Client) SupportBundleCollections ¶ added in v1.9.0
func (c *CrdV1alpha1Client) SupportBundleCollections() SupportBundleCollectionInterface
func (*CrdV1alpha1Client) Tiers ¶
func (c *CrdV1alpha1Client) Tiers() TierInterface
func (*CrdV1alpha1Client) Traceflows ¶
func (c *CrdV1alpha1Client) Traceflows() TraceflowInterface
type CrdV1alpha1Interface ¶
type CrdV1alpha1Interface interface { RESTClient() rest.Interface ClusterNetworkPoliciesGetter ExternalNodesGetter NetworkPoliciesGetter SupportBundleCollectionsGetter TiersGetter TraceflowsGetter }
type ExternalNodeExpansion ¶ added in v1.8.0
type ExternalNodeExpansion interface{}
type ExternalNodeInterface ¶ added in v1.8.0
type ExternalNodeInterface interface { Create(ctx context.Context, externalNode *v1alpha1.ExternalNode, opts v1.CreateOptions) (*v1alpha1.ExternalNode, error) Update(ctx context.Context, externalNode *v1alpha1.ExternalNode, opts v1.UpdateOptions) (*v1alpha1.ExternalNode, 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.ExternalNode, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ExternalNodeList, 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.ExternalNode, err error) ExternalNodeExpansion }
ExternalNodeInterface has methods to work with ExternalNode resources.
type ExternalNodesGetter ¶ added in v1.8.0
type ExternalNodesGetter interface {
ExternalNodes(namespace string) ExternalNodeInterface
}
ExternalNodesGetter has a method to return a ExternalNodeInterface. A group's client should implement this interface.
type NetworkPoliciesGetter ¶
type NetworkPoliciesGetter interface {
NetworkPolicies(namespace string) NetworkPolicyInterface
}
NetworkPoliciesGetter has a method to return a NetworkPolicyInterface. A group's client should implement this interface.
type NetworkPolicyExpansion ¶
type NetworkPolicyExpansion interface{}
type NetworkPolicyInterface ¶
type NetworkPolicyInterface interface { Create(ctx context.Context, networkPolicy *v1alpha1.NetworkPolicy, opts v1.CreateOptions) (*v1alpha1.NetworkPolicy, error) Update(ctx context.Context, networkPolicy *v1alpha1.NetworkPolicy, opts v1.UpdateOptions) (*v1alpha1.NetworkPolicy, error) UpdateStatus(ctx context.Context, networkPolicy *v1alpha1.NetworkPolicy, opts v1.UpdateOptions) (*v1alpha1.NetworkPolicy, 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.NetworkPolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NetworkPolicyList, 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.NetworkPolicy, err error) NetworkPolicyExpansion }
NetworkPolicyInterface has methods to work with NetworkPolicy resources.
type SupportBundleCollectionExpansion ¶ added in v1.9.0
type SupportBundleCollectionExpansion interface{}
type SupportBundleCollectionInterface ¶ added in v1.9.0
type SupportBundleCollectionInterface interface { Create(ctx context.Context, supportBundleCollection *v1alpha1.SupportBundleCollection, opts v1.CreateOptions) (*v1alpha1.SupportBundleCollection, error) Update(ctx context.Context, supportBundleCollection *v1alpha1.SupportBundleCollection, opts v1.UpdateOptions) (*v1alpha1.SupportBundleCollection, error) UpdateStatus(ctx context.Context, supportBundleCollection *v1alpha1.SupportBundleCollection, opts v1.UpdateOptions) (*v1alpha1.SupportBundleCollection, 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.SupportBundleCollection, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SupportBundleCollectionList, 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.SupportBundleCollection, err error) SupportBundleCollectionExpansion }
SupportBundleCollectionInterface has methods to work with SupportBundleCollection resources.
type SupportBundleCollectionsGetter ¶ added in v1.9.0
type SupportBundleCollectionsGetter interface {
SupportBundleCollections() SupportBundleCollectionInterface
}
SupportBundleCollectionsGetter has a method to return a SupportBundleCollectionInterface. A group's client should implement this interface.
type TierExpansion ¶
type TierExpansion interface{}
type TierInterface ¶
type TierInterface interface { Create(ctx context.Context, tier *v1alpha1.Tier, opts v1.CreateOptions) (*v1alpha1.Tier, error) Update(ctx context.Context, tier *v1alpha1.Tier, opts v1.UpdateOptions) (*v1alpha1.Tier, 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.Tier, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TierList, 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.Tier, err error) TierExpansion }
TierInterface has methods to work with Tier resources.
type TiersGetter ¶
type TiersGetter interface {
Tiers() TierInterface
}
TiersGetter has a method to return a TierInterface. A group's client should implement this interface.
type TraceflowExpansion ¶
type TraceflowExpansion interface{}
type TraceflowInterface ¶
type TraceflowInterface interface { Create(ctx context.Context, traceflow *v1alpha1.Traceflow, opts v1.CreateOptions) (*v1alpha1.Traceflow, error) Update(ctx context.Context, traceflow *v1alpha1.Traceflow, opts v1.UpdateOptions) (*v1alpha1.Traceflow, error) UpdateStatus(ctx context.Context, traceflow *v1alpha1.Traceflow, opts v1.UpdateOptions) (*v1alpha1.Traceflow, 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.Traceflow, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TraceflowList, 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.Traceflow, err error) TraceflowExpansion }
TraceflowInterface has methods to work with Traceflow resources.
type TraceflowsGetter ¶
type TraceflowsGetter interface {
Traceflows() TraceflowInterface
}
TraceflowsGetter has a method to return a TraceflowInterface. A group's client should implement this interface.