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) NetworkPolicies(namespace string) NetworkPolicyInterface
- func (c *CrdV1alpha1Client) RESTClient() rest.Interface
- func (c *CrdV1alpha1Client) Tiers() TierInterface
- func (c *CrdV1alpha1Client) Traceflows() TraceflowInterface
- type CrdV1alpha1Interface
- type NetworkPoliciesGetter
- type NetworkPolicyExpansion
- type NetworkPolicyInterface
- 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.
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) 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) Tiers ¶
func (c *CrdV1alpha1Client) Tiers() TierInterface
func (*CrdV1alpha1Client) Traceflows ¶
func (c *CrdV1alpha1Client) Traceflows() TraceflowInterface
type CrdV1alpha1Interface ¶
type CrdV1alpha1Interface interface { RESTClient() rest.Interface ClusterNetworkPoliciesGetter NetworkPoliciesGetter TiersGetter TraceflowsGetter }
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 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.