portal

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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 ClusterProperty struct {
	ID    string `xml:"id,attr"`
	Name  string `xml:"Name"`
	Value string `xml:"Value"`
}

type HttpMapping

type HttpMapping struct {
	UrlPattern string `xml:"UrlPattern"`
	Verbs      Verbs  `xml:"Verbs"`
}

type Item

type Item struct {
	Name     string   `xml:"Name"`
	ID       string   `xml:"Id"`
	Type     string   `xml:"Type"`
	Resource Resource `xml:"Resource"`
}

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 Mappings

type Mappings struct {
	Mapping []Mapping `xml:"Mapping"`
}

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 PolicyDetail struct {
	FolderId   string                 `xml:"folderId,attr"`
	Guid       string                 `xml:"guid,attr"`
	ID         string                 `xml:"id,attr"`
	Name       string                 `xml:"Name"`
	PolicyType string                 `xml:"PolicyType"`
	Properties PolicyDetailProperties `xml:"Properties"`
}

type PolicyDetailProperties

type PolicyDetailProperties struct {
	Text     string `xml:",chardata"`
	Property []PolicyProperty
}

type PolicyProperty

type PolicyProperty struct {
	Text         string `xml:",chardata"`
	Key          string `xml:"key,attr"`
	LongValue    string `xml:"LongValue"`
	BooleanValue string `xml:"BooleanValue"`
}

type PolicyResource

type PolicyResource struct {
	Type string `xml:"type,attr"`
	Text string `xml:",chardata"`
}

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 Property

type Property struct {
	Key          string `xml:"key,attr"`
	StringValue  string `xml:"StringValue,omitempty"`
	BooleanValue bool   `xml:"BooleanValue,omitempty"`
}

type References

type References struct {
	Item []Item `xml:"Item"`
}

type Resource

type Resource struct {
	Policy  *Policy  `xml:"Policy,omitempty"`
	Service *Service `xml:"Service,omitempty"`
}

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 ServiceProperty struct {
	Key          string `xml:"key,attr"`
	BooleanValue string `xml:"BooleanValue"`
	StringValue  string `xml:"StringValue"`
}

type ServiceResource

type ServiceResource struct {
	Text string `xml:",chardata"`
	Type string `xml:"type,attr"`
}

type ServiceResourceSet

type ServiceResourceSet struct {
	Tag      string          `xml:"tag,attr"`
	Resource ServiceResource `xml:"Resource"`
}

type ServiceResources

type ServiceResources struct {
	ResourceSet ServiceResourceSet `xml:"ResourceSet"`
}

type Verbs

type Verbs struct {
	Verb []string `xml:"Verb"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL