v1beta2

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

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 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{}

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

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

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

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 (*ControlplaneV1beta2Client) AppliedToGroups

func (*ControlplaneV1beta2Client) ClusterGroupMembers

func (*ControlplaneV1beta2Client) EgressGroups

func (*ControlplaneV1beta2Client) GroupAssociations

func (c *ControlplaneV1beta2Client) GroupAssociations(namespace string) GroupAssociationInterface

func (*ControlplaneV1beta2Client) NetworkPolicies

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 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 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 SupportBundleCollectionExpansion interface {
	UpdateStatus(ctx context.Context, name string, status *v1beta2.SupportBundleCollectionStatus) error
}

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.

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