Documentation ¶
Index ¶
- func NewConfigMap(portal *securityv1alpha1.L7Portal, apiSummary []byte) *corev1.ConfigMap
- type Bundle
- type ClusterProperty
- type HttpMapping
- type Item
- type Mapping
- type Mappings
- type Policy
- type PolicyDetail
- type PolicyDetailProperties
- type PolicyProperty
- type PolicyResource
- type PolicyResourceSet
- type PolicyResources
- type Properties
- type Property
- type References
- type Resource
- type Service
- type ServiceDetail
- type ServiceMappings
- type ServiceProperties
- type ServiceProperty
- type ServiceResource
- type ServiceResourceSet
- type ServiceResources
- type Verbs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigMap ¶
func NewConfigMap(portal *securityv1alpha1.L7Portal, apiSummary []byte) *corev1.ConfigMap
NewConfigMap
Types ¶
type Bundle ¶
type Bundle struct { XMLName xml.Name `xml:"Bundle"` XMLNS string `xml:"xmlns:l7,attr"` References References `xml:"References"` Mappings Mappings `xml:"Mappings"` }
type ClusterProperty ¶
type HttpMapping ¶
type Mapping ¶
type Mapping struct { Action string `xml:"action,attr"` SrcId string `xml:"srcId,attr"` Type string `xml:"type,attr"` Properties Properties `xml:"Properties"` }
type Policy ¶
type Policy struct { Guid string `xml:"guid,attr"` ID string `xml:"id,attr"` Version string `xml:"version,attr"` PolicyDetail PolicyDetail `xml:"PolicyDetail"` Resources PolicyResources }
type PolicyDetail ¶
type PolicyDetailProperties ¶
type PolicyDetailProperties struct { Text string `xml:",chardata"` Property []PolicyProperty }
type PolicyProperty ¶
type PolicyResource ¶
type PolicyResourceSet ¶
type PolicyResourceSet struct { Tag string `xml:"tag,attr"` Resource PolicyResource `xml:"Resource"` }
type PolicyResources ¶
type PolicyResources struct {
ResourceSet PolicyResourceSet `xml:"ResourceSet"`
}
type Properties ¶
type Properties struct {
Property []Property `xml:"Property"`
}
type References ¶
type References struct {
Item []Item `xml:"Item"`
}
type Service ¶
type Service struct { ID string `xml:"id,attr"` L7 string `xml:"l7,attr"` ServiceDetail ServiceDetail `xml:"ServiceDetail"` Properties ServiceProperty `xml:"Properties"` Resources ServiceResources `xml:"Resources"` }
type ServiceDetail ¶
type ServiceDetail struct { Text string `xml:",chardata"` FolderId string `xml:"folderId,attr"` ID string `xml:"id,attr"` Name string `xml:"Name"` Enabled bool `xml:"Enabled"` ServiceMappings ServiceMappings `xml:"ServiceMappings"` Properties ServiceProperties `xml:"Properties"` }
type ServiceMappings ¶
type ServiceMappings struct {
HttpMapping HttpMapping
}
type ServiceProperties ¶
type ServiceProperties struct {
Property []ServiceProperty `xml:"Property"`
}
type ServiceProperty ¶
type ServiceResource ¶
type ServiceResourceSet ¶
type ServiceResourceSet struct { Tag string `xml:"tag,attr"` Resource ServiceResource `xml:"Resource"` }
type ServiceResources ¶
type ServiceResources struct {
ResourceSet ServiceResourceSet `xml:"ResourceSet"`
}
Click to show internal directories.
Click to hide internal directories.