Documentation ¶
Overview ¶
Package types contains the Service Manager cascade query
Package types contains the Service Manager web entities ¶
Package types contains the Service Manager web entities
Index ¶
- type Cascade
- type CascadeChildren
- type CascadeErrors
- type CascadedOperations
- type ChildrenCriterion
- type CriterionConjunction
- type CriterionDisjunction
- type DuplicatesCleaner
- type Error
- type ParentInstanceLabelKeys
- type PlatformCascade
- type ServiceBrokerCascade
- type ServiceInstanceCascade
- type TenantCascade
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cascade ¶
type Cascade interface {
GetChildrenCriterion() ChildrenCriterion
}
type CascadeChildren ¶
type CascadeChildren = map[types.ObjectType]types.ObjectList
type CascadeErrors ¶
type CascadeErrors struct {
Errors []*Error `json:"cascade_errors"`
}
func (*CascadeErrors) Add ¶
func (c *CascadeErrors) Add(e *Error)
type CascadedOperations ¶
type ChildrenCriterion ¶
type ChildrenCriterion = map[types.ObjectType]CriterionDisjunction
type CriterionConjunction ¶ added in v0.19.5
CriterionConjunction - represents AND logic gate: <criteria> AND <criteria> (...AND <criteria>)
type CriterionDisjunction ¶ added in v0.19.5
type CriterionDisjunction = []CriterionConjunction
CriterionDisjunction - represents OR logic gate: <criteria> OR <criteria> (...OR <criteria>)
type DuplicatesCleaner ¶
type DuplicatesCleaner interface {
CleanDuplicates(children CascadeChildren)
}
type Error ¶
type Error struct { ParentType types.ObjectType `json:"parent_type,omitempty"` ParentID string `json:"parent_id,omitempty"` ResourceType types.ObjectType `json:"resource_type"` ResourceID string `json:"resource_id"` Message json.RawMessage `json:"message"` }
type ParentInstanceLabelKeys ¶ added in v0.18.2
type ParentInstanceLabelKeys struct{}
key for configurable hierarchies
type PlatformCascade ¶
func (*PlatformCascade) GetChildrenCriterion ¶
func (p *PlatformCascade) GetChildrenCriterion() ChildrenCriterion
type ServiceBrokerCascade ¶
type ServiceBrokerCascade struct {
*types.ServiceBroker
}
func (*ServiceBrokerCascade) GetChildrenCriterion ¶
func (sb *ServiceBrokerCascade) GetChildrenCriterion() ChildrenCriterion
type ServiceInstanceCascade ¶
type ServiceInstanceCascade struct { *types.ServiceInstance // contains filtered or unexported fields }
func (*ServiceInstanceCascade) GetChildrenCriterion ¶
func (si *ServiceInstanceCascade) GetChildrenCriterion() ChildrenCriterion
type TenantCascade ¶
func (*TenantCascade) CleanDuplicates ¶
func (tc *TenantCascade) CleanDuplicates(children CascadeChildren)
func (*TenantCascade) GetChildrenCriterion ¶
func (tc *TenantCascade) GetChildrenCriterion() ChildrenCriterion
Click to show internal directories.
Click to hide internal directories.