Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the commonnetworkpolicies v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/bells17/common-network-policy-operator/pkg/apis/commonnetworkpolicies +k8s:defaulter-gen=TypeMeta +groupName=commonnetworkpolicies.bells17.io
Package v1alpha1 contains API Schema definitions for the commonnetworkpolicies v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/bells17/common-network-policy-operator/pkg/apis/commonnetworkpolicies +k8s:defaulter-gen=TypeMeta +groupName=commonnetworkpolicies.bells17.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "commonnetworkpolicies.bells17.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds all registered types to s. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type CommonNetworkPolicy ¶
type CommonNetworkPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CommonNetworkPolicySpec `json:"spec,omitempty"` Status CommonNetworkPolicyStatus `json:"status,omitempty"` }
CommonNetworkPolicy is the Schema for the commonnetworkpolicies API +k8s:openapi-gen=true
type CommonNetworkPolicyList ¶
type CommonNetworkPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CommonNetworkPolicy `json:"items"` }
CommonNetworkPolicyList contains a list of CommonNetworkPolicy
type CommonNetworkPolicySpec ¶
type CommonNetworkPolicySpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file NamePrefix string `json:"namePrefix,omitempty"` ExcludeNamespaces []string `json:"excludeNamespaces,omitempty"` PolicySpec networkingv1.NetworkPolicySpec `json:"policySpec"` }
CommonNetworkPolicySpec defines the desired state of CommonNetworkPolicy
type CommonNetworkPolicyStatus ¶
type CommonNetworkPolicyStatus struct { }
CommonNetworkPolicyStatus defines the observed state of CommonNetworkPolicy