Documentation ¶
Overview ¶
Package controlplane contains the latest (or "internal") version of the Antrea NetworkPolicy API messages. This is the API messages as represented in memory. The contract presented to clients is located in the versioned packages, which are sub-directories. The first one is "v1beta1". The messages are generated based on the stored NetworkPolicy objects, i.e. the objects defined in antrea/pkg/controller/types/networkpolicy.go.
Index ¶
Constants ¶
View Source
const GroupName = "controlplane.antrea.tanzu.vmware.com"
GroupName is the group name used in this package.
Variables ¶
View Source
var ( // SchemeBuilder points to a list of functions added to Scheme. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme applies all the stored functions to the scheme. AddToScheme = SchemeBuilder.AddToScheme )
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.