Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operations ¶
func (*Operations) Allow ¶
func (o *Operations) Allow(operation capsulev1beta2.ProxyOperation)
type ProxyTenant ¶
type ProxyTenant struct { Tenant capsulev1beta2.Tenant ProxySetting map[capsulev1beta2.ProxyServiceKind]*Operations ClusterResources []v1beta1.ClusterResource }
func NewClusterProxy ¶ added in v0.9.0
func NewClusterProxy(ownerName string, ownerKind capsulev1beta2.OwnerKind, owners []v1beta1.GlobalSubjectSpec) *ProxyTenant
This Function returns a ProxyTenant struct for GlobalProxySettings. These Settings are currently not bound to a tenant and therefor an empty tenant and empty ProxySettings are returned.
func NewProxyTenant ¶
func NewProxyTenant(ownerName string, ownerKind capsulev1beta2.OwnerKind, tenant capsulev1beta2.Tenant, owners []v1beta1.OwnerSpec) *ProxyTenant
func (*ProxyTenant) RequestAllowed ¶
func (p *ProxyTenant) RequestAllowed(request *http.Request, serviceKind capsulev1beta2.ProxyServiceKind) (ok bool)
Click to show internal directories.
Click to hide internal directories.