Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AddressGroupExpansion
- type AddressGroupInterface
- type AddressGroupsGetter
- type AppliedToGroupExpansion
- type AppliedToGroupInterface
- type AppliedToGroupsGetter
- type ClusterGroupMembersExpansion
- type ClusterGroupMembersGetter
- type ClusterGroupMembersInterface
- type ControlplaneV1beta2Client
- func (c *ControlplaneV1beta2Client) AddressGroups() AddressGroupInterface
- func (c *ControlplaneV1beta2Client) AppliedToGroups() AppliedToGroupInterface
- func (c *ControlplaneV1beta2Client) ClusterGroupMembers() ClusterGroupMembersInterface
- func (c *ControlplaneV1beta2Client) EgressGroups() EgressGroupInterface
- func (c *ControlplaneV1beta2Client) GroupAssociations(namespace string) GroupAssociationInterface
- func (c *ControlplaneV1beta2Client) GroupMembers(namespace string) GroupMembersInterface
- func (c *ControlplaneV1beta2Client) IPGroupAssociations() IPGroupAssociationInterface
- func (c *ControlplaneV1beta2Client) NetworkPolicies() NetworkPolicyInterface
- func (c *ControlplaneV1beta2Client) NodeStatsSummaries() NodeStatsSummaryInterface
- func (c *ControlplaneV1beta2Client) RESTClient() rest.Interface
- func (c *ControlplaneV1beta2Client) SupportBundleCollections() SupportBundleCollectionInterface
- type ControlplaneV1beta2Interface
- type EgressGroupExpansion
- type EgressGroupInterface
- type EgressGroupsGetter
- type GroupAssociationExpansion
- type GroupAssociationInterface
- type GroupAssociationsGetter
- type GroupMembersExpansion
- type GroupMembersGetter
- type GroupMembersInterface
- type IPGroupAssociationExpansion
- type IPGroupAssociationInterface
- type IPGroupAssociationsGetter
- type NetworkPoliciesGetter
- type NetworkPolicyExpansion
- type NetworkPolicyInterface
- type NodeStatsSummariesGetter
- type NodeStatsSummaryExpansion
- type NodeStatsSummaryInterface
- type SupportBundleCollectionExpansion
- type SupportBundleCollectionInterface
- type SupportBundleCollectionsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressGroupExpansion ¶
type AddressGroupExpansion interface{}
type AddressGroupInterface ¶
type AddressGroupInterface interface { Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.AddressGroup, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta2.AddressGroupList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) AddressGroupExpansion }
AddressGroupInterface has methods to work with AddressGroup resources.
type AddressGroupsGetter ¶
type AddressGroupsGetter interface {
AddressGroups() AddressGroupInterface
}
AddressGroupsGetter has a method to return a AddressGroupInterface. A group's client should implement this interface.
type AppliedToGroupExpansion ¶
type AppliedToGroupExpansion interface{}
type AppliedToGroupInterface ¶
type AppliedToGroupInterface interface { Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.AppliedToGroup, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta2.AppliedToGroupList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) AppliedToGroupExpansion }
AppliedToGroupInterface has methods to work with AppliedToGroup resources.
type AppliedToGroupsGetter ¶
type AppliedToGroupsGetter interface {
AppliedToGroups() AppliedToGroupInterface
}
AppliedToGroupsGetter has a method to return a AppliedToGroupInterface. A group's client should implement this interface.
type ClusterGroupMembersExpansion ¶
type ClusterGroupMembersExpansion interface {
PaginatedGet(ctx context.Context, name string, pagination v1beta2.PaginationGetOptions, options v1.GetOptions) (result *v1beta2.ClusterGroupMembers, err error)
}
The ClusterGroupMembersExpansion interface allows manually adding extra methods to the ClusterGroupMembersInterface.
type ClusterGroupMembersGetter ¶
type ClusterGroupMembersGetter interface {
ClusterGroupMembers() ClusterGroupMembersInterface
}
ClusterGroupMembersGetter has a method to return a ClusterGroupMembersInterface. A group's client should implement this interface.
type ClusterGroupMembersInterface ¶
type ClusterGroupMembersInterface interface { Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.ClusterGroupMembers, error) ClusterGroupMembersExpansion }
ClusterGroupMembersInterface has methods to work with ClusterGroupMembers resources.
type ControlplaneV1beta2Client ¶
type ControlplaneV1beta2Client struct {
// contains filtered or unexported fields
}
ControlplaneV1beta2Client is used to interact with features provided by the controlplane.antrea.io group.
func New ¶
func New(c rest.Interface) *ControlplaneV1beta2Client
New creates a new ControlplaneV1beta2Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ControlplaneV1beta2Client, error)
NewForConfig creates a new ControlplaneV1beta2Client 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 ControlplaneV1beta2Client 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) *ControlplaneV1beta2Client
NewForConfigOrDie creates a new ControlplaneV1beta2Client for the given config and panics if there is an error in the config.
func (*ControlplaneV1beta2Client) AddressGroups ¶
func (c *ControlplaneV1beta2Client) AddressGroups() AddressGroupInterface
func (*ControlplaneV1beta2Client) AppliedToGroups ¶
func (c *ControlplaneV1beta2Client) AppliedToGroups() AppliedToGroupInterface
func (*ControlplaneV1beta2Client) ClusterGroupMembers ¶
func (c *ControlplaneV1beta2Client) ClusterGroupMembers() ClusterGroupMembersInterface
func (*ControlplaneV1beta2Client) EgressGroups ¶
func (c *ControlplaneV1beta2Client) EgressGroups() EgressGroupInterface
func (*ControlplaneV1beta2Client) GroupAssociations ¶
func (c *ControlplaneV1beta2Client) GroupAssociations(namespace string) GroupAssociationInterface
func (*ControlplaneV1beta2Client) GroupMembers ¶ added in v1.14.0
func (c *ControlplaneV1beta2Client) GroupMembers(namespace string) GroupMembersInterface
func (*ControlplaneV1beta2Client) IPGroupAssociations ¶ added in v1.12.0
func (c *ControlplaneV1beta2Client) IPGroupAssociations() IPGroupAssociationInterface
func (*ControlplaneV1beta2Client) NetworkPolicies ¶
func (c *ControlplaneV1beta2Client) NetworkPolicies() NetworkPolicyInterface
func (*ControlplaneV1beta2Client) NodeStatsSummaries ¶
func (c *ControlplaneV1beta2Client) NodeStatsSummaries() NodeStatsSummaryInterface
func (*ControlplaneV1beta2Client) RESTClient ¶
func (c *ControlplaneV1beta2Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*ControlplaneV1beta2Client) SupportBundleCollections ¶ added in v1.10.0
func (c *ControlplaneV1beta2Client) SupportBundleCollections() SupportBundleCollectionInterface
type ControlplaneV1beta2Interface ¶
type ControlplaneV1beta2Interface interface { RESTClient() rest.Interface AddressGroupsGetter AppliedToGroupsGetter ClusterGroupMembersGetter EgressGroupsGetter GroupAssociationsGetter GroupMembersGetter IPGroupAssociationsGetter NetworkPoliciesGetter NodeStatsSummariesGetter SupportBundleCollectionsGetter }
type EgressGroupExpansion ¶
type EgressGroupExpansion interface{}
type EgressGroupInterface ¶
type EgressGroupInterface interface { Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.EgressGroup, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta2.EgressGroupList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) EgressGroupExpansion }
EgressGroupInterface has methods to work with EgressGroup resources.
type EgressGroupsGetter ¶
type EgressGroupsGetter interface {
EgressGroups() EgressGroupInterface
}
EgressGroupsGetter has a method to return a EgressGroupInterface. A group's client should implement this interface.
type GroupAssociationExpansion ¶
type GroupAssociationExpansion interface{}
type GroupAssociationInterface ¶
type GroupAssociationInterface interface { Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.GroupAssociation, error) GroupAssociationExpansion }
GroupAssociationInterface has methods to work with GroupAssociation resources.
type GroupAssociationsGetter ¶
type GroupAssociationsGetter interface {
GroupAssociations(namespace string) GroupAssociationInterface
}
GroupAssociationsGetter has a method to return a GroupAssociationInterface. A group's client should implement this interface.
type GroupMembersExpansion ¶ added in v1.14.0
type GroupMembersExpansion interface {
PaginatedGet(ctx context.Context, name string, pagination v1beta2.PaginationGetOptions, options v1.GetOptions) (result *v1beta2.GroupMembers, err error)
}
The GroupMembersExpansion interface allows manually adding extra methods to the GroupMembersInterface.
type GroupMembersGetter ¶ added in v1.14.0
type GroupMembersGetter interface {
GroupMembers(namespace string) GroupMembersInterface
}
GroupMembersGetter has a method to return a GroupMembersInterface. A group's client should implement this interface.
type GroupMembersInterface ¶ added in v1.14.0
type GroupMembersInterface interface { Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.GroupMembers, error) GroupMembersExpansion }
GroupMembersInterface has methods to work with GroupMembers resources.
type IPGroupAssociationExpansion ¶ added in v1.12.0
type IPGroupAssociationExpansion interface{}
type IPGroupAssociationInterface ¶ added in v1.12.0
type IPGroupAssociationInterface interface { Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.IPGroupAssociation, error) IPGroupAssociationExpansion }
IPGroupAssociationInterface has methods to work with IPGroupAssociation resources.
type IPGroupAssociationsGetter ¶ added in v1.12.0
type IPGroupAssociationsGetter interface {
IPGroupAssociations() IPGroupAssociationInterface
}
IPGroupAssociationsGetter has a method to return a IPGroupAssociationInterface. A group's client should implement this interface.
type NetworkPoliciesGetter ¶
type NetworkPoliciesGetter interface {
NetworkPolicies() NetworkPolicyInterface
}
NetworkPoliciesGetter has a method to return a NetworkPolicyInterface. A group's client should implement this interface.
type NetworkPolicyExpansion ¶
type NetworkPolicyExpansion interface {
UpdateStatus(ctx context.Context, name string, status *v1beta2.NetworkPolicyStatus) error
}
The NetworkPolicyExpansion interface allows manually adding extra methods to the NetworkPolicyInterface.
type NetworkPolicyInterface ¶
type NetworkPolicyInterface interface { Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.NetworkPolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta2.NetworkPolicyList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) NetworkPolicyExpansion }
NetworkPolicyInterface has methods to work with NetworkPolicy resources.
type NodeStatsSummariesGetter ¶
type NodeStatsSummariesGetter interface {
NodeStatsSummaries() NodeStatsSummaryInterface
}
NodeStatsSummariesGetter has a method to return a NodeStatsSummaryInterface. A group's client should implement this interface.
type NodeStatsSummaryExpansion ¶
type NodeStatsSummaryExpansion interface{}
type NodeStatsSummaryInterface ¶
type NodeStatsSummaryInterface interface { Create(ctx context.Context, nodeStatsSummary *v1beta2.NodeStatsSummary, opts v1.CreateOptions) (*v1beta2.NodeStatsSummary, error) NodeStatsSummaryExpansion }
NodeStatsSummaryInterface has methods to work with NodeStatsSummary resources.
type SupportBundleCollectionExpansion ¶ added in v1.10.0
type SupportBundleCollectionInterface ¶ added in v1.10.0
type SupportBundleCollectionInterface interface { Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.SupportBundleCollection, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta2.SupportBundleCollectionList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) SupportBundleCollectionExpansion }
SupportBundleCollectionInterface has methods to work with SupportBundleCollection resources.
type SupportBundleCollectionsGetter ¶ added in v1.10.0
type SupportBundleCollectionsGetter interface {
SupportBundleCollections() SupportBundleCollectionInterface
}
SupportBundleCollectionsGetter has a method to return a SupportBundleCollectionInterface. A group's client should implement this interface.
Source Files
¶
- addressgroup.go
- appliedtogroup.go
- clustergroupmembers.go
- clustergroupmembers_expansion.go
- controlplane_client.go
- doc.go
- egressgroup.go
- generated_expansion.go
- groupassociation.go
- groupmembers.go
- groupmembers_expansion.go
- ipgroupassociation.go
- networkpolicy.go
- networkpolicy_expansion.go
- nodestatssummary.go
- supportbundlecollection.go
- supportbundlecollection_expansion.go