Documentation
¶
Index ¶
- Variables
- func APIGatewayErrUnresolved(ii Identifiers) error
- func ApplicationErrUnresolved(ii Identifiers) error
- func AutomationWorkflowErrUnresolved(ii Identifiers) error
- func AutomationWorkflowRbacReferences(workflow string) (res *Ref, pp []*Ref, err error)
- func AutomationWorkflowResourceTranslationReferences(workflow string) (res *Ref, pp []*Ref, err error)
- func Check(a string, ii ...interface{}) bool
- func ComposeChartErrUnresolved(ii Identifiers) error
- func ComposeChartRbacReferences(namespaceID string, chart string) (res *Ref, pp []*Ref, err error)
- func ComposeChartResourceTranslationReferences(namespaceID string, self string) (res *Ref, pp []*Ref, err error)
- func ComposeModuleErrUnresolved(ii Identifiers) error
- func ComposeModuleFieldErrUnresolved(ii Identifiers) error
- func ComposeModuleFieldExtractUserFieldRoles(i interface{}) []string
- func ComposeModuleFieldRbacReferences(namespaceID string, moduleID string, moduleField string) (res *Ref, pp []*Ref, err error)
- func ComposeModuleFieldResourceTranslationReferences(namespaceID string, moduleID string, self string) (res *Ref, pp []*Ref, err error)
- func ComposeModuleRbacReferences(namespaceID string, module string) (res *Ref, pp []*Ref, err error)
- func ComposeModuleResourceTranslationReferences(namespaceID string, self string) (res *Ref, pp []*Ref, err error)
- func ComposeNamespaceErrUnresolved(ii Identifiers) error
- func ComposeNamespaceRbacReferences(namespace string) (res *Ref, pp []*Ref, err error)
- func ComposeNamespaceResourceTranslationReferences(self string) (res *Ref, pp []*Ref, err error)
- func ComposePageErrUnresolved(ii Identifiers) error
- func ComposePageLayoutErrUnresolved(ii Identifiers) error
- func ComposePageLayoutRbacReferences(namespaceID string, pageID string, pageLayout string) (res *Ref, pp []*Ref, err error)
- func ComposePageLayoutResourceTranslationReferences(namespaceID string, pageID string, self string) (res *Ref, pp []*Ref, err error)
- func ComposePageRbacReferences(namespaceID string, page string) (res *Ref, pp []*Ref, err error)
- func ComposePageResourceTranslationReferences(namespaceID string, self string) (res *Ref, pp []*Ref, err error)
- func ComposeRecordErrUnresolved(ii Identifiers) error
- func ComposeRecordRbacReferences(namespaceID string, moduleID string, record string) (res *Ref, pp []*Ref, err error)
- func ComposeRecordShaper() shaper
- func FederationExposedModuleRbacReferences(nodeID string, exposedModule string) (res *Ref, pp []*Ref, err error)
- func FederationNodeRbacReferences(node string) (res *Ref, pp []*Ref, err error)
- func FederationSharedModuleRbacReferences(nodeID string, sharedModule string) (res *Ref, pp []*Ref, err error)
- func FindAPIGateway(rr InterfaceSet, ii Identifiers) (ns *types.ApigwRoute)
- func FindApplication(rr InterfaceSet, ii Identifiers) (ap *types.Application)
- func FindAutomationWorkflow(rr InterfaceSet, ii Identifiers) (ns *types.Workflow)
- func FindComposeChart(rr InterfaceSet, ii Identifiers) (ch *types.Chart)
- func FindComposeModule(rr InterfaceSet, ii Identifiers) (ns *types.Module)
- func FindComposeModuleField(rr InterfaceSet, mod, ii Identifiers) (field *types.ModuleField)
- func FindComposeNamespace(rr InterfaceSet, ii Identifiers) (ns *types.Namespace)
- func FindComposePage(rr InterfaceSet, ii Identifiers) (pg *types.Page)
- func FindComposePageLayout(rr InterfaceSet, ii Identifiers) (pg *types.PageLayout)
- func FindReport(rr InterfaceSet, ii Identifiers) (ns *types.Report)
- func FindRole(rr InterfaceSet, ii Identifiers) (rl *types.Role)
- func FindTemplate(rr InterfaceSet, ii Identifiers) (u *types.Template)
- func FindUser(rr InterfaceSet, ii Identifiers) (u *types.User)
- func IgnoreDepResolution(ref *Ref) bool
- func ParseResourceTranslation(res string) (string, *Ref, []*Ref, error)
- func ParseRule(res string) (string, *Ref, []*Ref, error)
- func RbacResourceErrNotFound(ii Identifiers) error
- func ReportErrUnresolved(ii Identifiers) error
- func ResourceTranslationErrNotFound(ii Identifiers) error
- func RoleErrUnresolved(ii Identifiers) error
- func SystemApigwRouteRbacReferences(apigwRoute string) (res *Ref, pp []*Ref, err error)
- func SystemApplicationRbacReferences(application string) (res *Ref, pp []*Ref, err error)
- func SystemAuthClientRbacReferences(authClient string) (res *Ref, pp []*Ref, err error)
- func SystemDalConnectionRbacReferences(dalConnection string) (res *Ref, pp []*Ref, err error)
- func SystemDataPrivacyRequestRbacReferences(dataPrivacyRequest string) (res *Ref, pp []*Ref, err error)
- func SystemQueueRbacReferences(queue string) (res *Ref, pp []*Ref, err error)
- func SystemReportRbacReferences(report string) (res *Ref, pp []*Ref, err error)
- func SystemRoleRbacReferences(role string) (res *Ref, pp []*Ref, err error)
- func SystemTemplateRbacReferences(template string) (res *Ref, pp []*Ref, err error)
- func SystemUserRbacReferences(user string) (res *Ref, pp []*Ref, err error)
- func TemplateErrUnresolved(ii Identifiers) error
- func UnpackComposePage(p *types.Page) (*types.Page, *Ref, *Ref)
- func UnpackComposePageLayout(p *types.PageLayout) (*types.PageLayout, *Ref, *Ref)
- func UserErrUnresolved(ii Identifiers) error
- type APIGateway
- func (r *APIGateway) AddGatewayFilter(res *types.ApigwFilter) *APIGatewayFilter
- func (t APIGateway) AddIdentifier(ss ...string)
- func (t APIGateway) AddRef(rt string, ii ...string) *Ref
- func (t APIGateway) Config() *EnvoyConfig
- func (t APIGateway) HasRefs() bool
- func (t APIGateway) Identifiers() Identifiers
- func (t APIGateway) MarkPlaceholder()
- func (t APIGateway) Placeholder() bool
- func (r *APIGateway) RBACParts() (resource string, ref *Ref, path []*Ref)
- func (t APIGateway) ReID(ii Identifiers)
- func (t APIGateway) ReRef(old RefSet, new RefSet)
- func (t APIGateway) Ref() *Ref
- func (t APIGateway) Refs() RefSet
- func (t APIGateway) ReplaceRef(old, new *Ref)
- func (r *APIGateway) Resource() interface{}
- func (t APIGateway) ResourceType() string
- func (t APIGateway) SetConfig(cfg *EnvoyConfig)
- func (t APIGateway) SetIdentifier(ii Identifiers)
- func (t APIGateway) SetResourceType(rt string)
- func (t APIGateway) SetTimestamps(ts *Timestamps)
- func (t APIGateway) SetUserRefs(uu []*Userstamp)
- func (t APIGateway) SetUserstamps(us *Userstamps)
- func (r *APIGateway) SysID() uint64
- func (t APIGateway) Timestamps() *Timestamps
- func (t APIGateway) UserRefs() RefSet
- func (t APIGateway) Userstamps() *Userstamps
- type APIGatewayFilter
- func (t APIGatewayFilter) AddIdentifier(ss ...string)
- func (t APIGatewayFilter) AddRef(rt string, ii ...string) *Ref
- func (t APIGatewayFilter) Config() *EnvoyConfig
- func (t APIGatewayFilter) HasRefs() bool
- func (t APIGatewayFilter) Identifiers() Identifiers
- func (t APIGatewayFilter) MarkPlaceholder()
- func (t APIGatewayFilter) Placeholder() bool
- func (t APIGatewayFilter) ReID(ii Identifiers)
- func (t APIGatewayFilter) ReRef(old RefSet, new RefSet)
- func (t APIGatewayFilter) Ref() *Ref
- func (t APIGatewayFilter) Refs() RefSet
- func (t APIGatewayFilter) ReplaceRef(old, new *Ref)
- func (t APIGatewayFilter) ResourceType() string
- func (t APIGatewayFilter) SetConfig(cfg *EnvoyConfig)
- func (t APIGatewayFilter) SetIdentifier(ii Identifiers)
- func (t APIGatewayFilter) SetResourceType(rt string)
- func (t APIGatewayFilter) SetTimestamps(ts *Timestamps)
- func (t APIGatewayFilter) SetUserRefs(uu []*Userstamp)
- func (t APIGatewayFilter) SetUserstamps(us *Userstamps)
- func (t APIGatewayFilter) Timestamps() *Timestamps
- func (t APIGatewayFilter) UserRefs() RefSet
- func (t APIGatewayFilter) Userstamps() *Userstamps
- type Application
- func (t Application) AddIdentifier(ss ...string)
- func (t Application) AddRef(rt string, ii ...string) *Ref
- func (t Application) Config() *EnvoyConfig
- func (t Application) HasRefs() bool
- func (t Application) Identifiers() Identifiers
- func (t Application) MarkPlaceholder()
- func (t Application) Placeholder() bool
- func (r *Application) RBACParts() (resource string, ref *Ref, path []*Ref)
- func (t Application) ReID(ii Identifiers)
- func (t Application) ReRef(old RefSet, new RefSet)
- func (t Application) Ref() *Ref
- func (t Application) Refs() RefSet
- func (t Application) ReplaceRef(old, new *Ref)
- func (r *Application) Resource() interface{}
- func (t Application) ResourceType() string
- func (t Application) SetConfig(cfg *EnvoyConfig)
- func (t Application) SetIdentifier(ii Identifiers)
- func (t Application) SetResourceType(rt string)
- func (t Application) SetTimestamps(ts *Timestamps)
- func (t Application) SetUserRefs(uu []*Userstamp)
- func (t Application) SetUserstamps(us *Userstamps)
- func (r *Application) SysID() uint64
- func (t Application) Timestamps() *Timestamps
- func (t Application) UserRefs() RefSet
- func (t Application) Userstamps() *Userstamps
- type AutomationTrigger
- func (t AutomationTrigger) AddIdentifier(ss ...string)
- func (t AutomationTrigger) AddRef(rt string, ii ...string) *Ref
- func (t AutomationTrigger) Config() *EnvoyConfig
- func (t AutomationTrigger) HasRefs() bool
- func (t AutomationTrigger) Identifiers() Identifiers
- func (t AutomationTrigger) MarkPlaceholder()
- func (t AutomationTrigger) Placeholder() bool
- func (t AutomationTrigger) ReID(ii Identifiers)
- func (t AutomationTrigger) ReRef(old RefSet, new RefSet)
- func (t AutomationTrigger) Ref() *Ref
- func (t AutomationTrigger) Refs() RefSet
- func (t AutomationTrigger) ReplaceRef(old, new *Ref)
- func (t AutomationTrigger) ResourceType() string
- func (t AutomationTrigger) SetConfig(cfg *EnvoyConfig)
- func (t AutomationTrigger) SetIdentifier(ii Identifiers)
- func (t AutomationTrigger) SetResourceType(rt string)
- func (t AutomationTrigger) SetTimestamps(ts *Timestamps)
- func (t AutomationTrigger) SetUserRefs(uu []*Userstamp)
- func (t AutomationTrigger) SetUserstamps(us *Userstamps)
- func (t AutomationTrigger) Timestamps() *Timestamps
- func (t AutomationTrigger) UserRefs() RefSet
- func (t AutomationTrigger) Userstamps() *Userstamps
- type AutomationWorkflow
- func (r *AutomationWorkflow) AddAutomationTrigger(res *types.Trigger) *AutomationTrigger
- func (r *AutomationWorkflow) AddAutomationWorkflowPath(res *types.WorkflowPath) *AutomationWorkflowPath
- func (r *AutomationWorkflow) AddAutomationWorkflowStep(res *types.WorkflowStep) *AutomationWorkflowStep
- func (t AutomationWorkflow) AddIdentifier(ss ...string)
- func (t AutomationWorkflow) AddRef(rt string, ii ...string) *Ref
- func (t AutomationWorkflow) Config() *EnvoyConfig
- func (t AutomationWorkflow) HasRefs() bool
- func (t AutomationWorkflow) Identifiers() Identifiers
- func (t AutomationWorkflow) MarkPlaceholder()
- func (t AutomationWorkflow) Placeholder() bool
- func (r *AutomationWorkflow) RBACParts() (resource string, ref *Ref, path []*Ref)
- func (t AutomationWorkflow) ReID(ii Identifiers)
- func (t AutomationWorkflow) ReRef(old RefSet, new RefSet)
- func (t AutomationWorkflow) Ref() *Ref
- func (t AutomationWorkflow) Refs() RefSet
- func (t AutomationWorkflow) ReplaceRef(old, new *Ref)
- func (r *AutomationWorkflow) Resource() interface{}
- func (r *AutomationWorkflow) ResourceTranslationParts() (resource string, ref *Ref, path []*Ref)
- func (t AutomationWorkflow) ResourceType() string
- func (t AutomationWorkflow) SetConfig(cfg *EnvoyConfig)
- func (t AutomationWorkflow) SetIdentifier(ii Identifiers)
- func (t AutomationWorkflow) SetResourceType(rt string)
- func (t AutomationWorkflow) SetTimestamps(ts *Timestamps)
- func (t AutomationWorkflow) SetUserRefs(uu []*Userstamp)
- func (t AutomationWorkflow) SetUserstamps(us *Userstamps)
- func (r *AutomationWorkflow) SysID() uint64
- func (t AutomationWorkflow) Timestamps() *Timestamps
- func (t AutomationWorkflow) UserRefs() RefSet
- func (t AutomationWorkflow) Userstamps() *Userstamps
- type AutomationWorkflowPath
- func (t AutomationWorkflowPath) AddIdentifier(ss ...string)
- func (t AutomationWorkflowPath) AddRef(rt string, ii ...string) *Ref
- func (t AutomationWorkflowPath) Config() *EnvoyConfig
- func (t AutomationWorkflowPath) HasRefs() bool
- func (t AutomationWorkflowPath) Identifiers() Identifiers
- func (t AutomationWorkflowPath) MarkPlaceholder()
- func (t AutomationWorkflowPath) Placeholder() bool
- func (t AutomationWorkflowPath) ReID(ii Identifiers)
- func (t AutomationWorkflowPath) ReRef(old RefSet, new RefSet)
- func (t AutomationWorkflowPath) Ref() *Ref
- func (t AutomationWorkflowPath) Refs() RefSet
- func (t AutomationWorkflowPath) ReplaceRef(old, new *Ref)
- func (t AutomationWorkflowPath) ResourceType() string
- func (t AutomationWorkflowPath) SetConfig(cfg *EnvoyConfig)
- func (t AutomationWorkflowPath) SetIdentifier(ii Identifiers)
- func (t AutomationWorkflowPath) SetResourceType(rt string)
- func (t AutomationWorkflowPath) SetTimestamps(ts *Timestamps)
- func (t AutomationWorkflowPath) SetUserRefs(uu []*Userstamp)
- func (t AutomationWorkflowPath) SetUserstamps(us *Userstamps)
- func (t AutomationWorkflowPath) Timestamps() *Timestamps
- func (t AutomationWorkflowPath) UserRefs() RefSet
- func (t AutomationWorkflowPath) Userstamps() *Userstamps
- type AutomationWorkflowStep
- func (t AutomationWorkflowStep) AddIdentifier(ss ...string)
- func (t AutomationWorkflowStep) AddRef(rt string, ii ...string) *Ref
- func (t AutomationWorkflowStep) Config() *EnvoyConfig
- func (t AutomationWorkflowStep) HasRefs() bool
- func (t AutomationWorkflowStep) Identifiers() Identifiers
- func (t AutomationWorkflowStep) MarkPlaceholder()
- func (t AutomationWorkflowStep) Placeholder() bool
- func (t AutomationWorkflowStep) ReID(ii Identifiers)
- func (t AutomationWorkflowStep) ReRef(old RefSet, new RefSet)
- func (t AutomationWorkflowStep) Ref() *Ref
- func (t AutomationWorkflowStep) Refs() RefSet
- func (t AutomationWorkflowStep) ReplaceRef(old, new *Ref)
- func (t AutomationWorkflowStep) ResourceType() string
- func (t AutomationWorkflowStep) SetConfig(cfg *EnvoyConfig)
- func (t AutomationWorkflowStep) SetIdentifier(ii Identifiers)
- func (t AutomationWorkflowStep) SetResourceType(rt string)
- func (t AutomationWorkflowStep) SetTimestamps(ts *Timestamps)
- func (t AutomationWorkflowStep) SetUserRefs(uu []*Userstamp)
- func (t AutomationWorkflowStep) SetUserstamps(us *Userstamps)
- func (t AutomationWorkflowStep) Timestamps() *Timestamps
- func (t AutomationWorkflowStep) UserRefs() RefSet
- func (t AutomationWorkflowStep) Userstamps() *Userstamps
- type ComposeChart
- func (t ComposeChart) AddIdentifier(ss ...string)
- func (t ComposeChart) AddRef(rt string, ii ...string) *Ref
- func (t ComposeChart) Config() *EnvoyConfig
- func (r *ComposeChart) EncodeTranslations() ([]*ResourceTranslation, error)
- func (t ComposeChart) HasRefs() bool
- func (t ComposeChart) Identifiers() Identifiers
- func (t ComposeChart) MarkPlaceholder()
- func (t ComposeChart) Placeholder() bool
- func (r *ComposeChart) RBACParts() (resource string, ref *Ref, path []*Ref)
- func (t ComposeChart) ReID(ii Identifiers)
- func (r *ComposeChart) ReRef(old RefSet, new RefSet)
- func (t ComposeChart) Ref() *Ref
- func (t ComposeChart) Refs() RefSet
- func (t ComposeChart) ReplaceRef(old, new *Ref)
- func (r *ComposeChart) Resource() interface{}
- func (r *ComposeChart) ResourceTranslationParts() (resource string, ref *Ref, path []*Ref)
- func (t ComposeChart) ResourceType() string
- func (t ComposeChart) SetConfig(cfg *EnvoyConfig)
- func (t ComposeChart) SetIdentifier(ii Identifiers)
- func (t ComposeChart) SetResourceType(rt string)
- func (t ComposeChart) SetTimestamps(ts *Timestamps)
- func (t ComposeChart) SetUserRefs(uu []*Userstamp)
- func (t ComposeChart) SetUserstamps(us *Userstamps)
- func (r *ComposeChart) SysID() uint64
- func (t ComposeChart) Timestamps() *Timestamps
- func (t ComposeChart) UserRefs() RefSet
- func (t ComposeChart) Userstamps() *Userstamps
- type ComposeModule
- func (r *ComposeModule) AddField(f *ComposeModuleField)
- func (t ComposeModule) AddIdentifier(ss ...string)
- func (t ComposeModule) AddRef(rt string, ii ...string) *Ref
- func (t ComposeModule) Config() *EnvoyConfig
- func (r *ComposeModule) EncodeTranslations() ([]*ResourceTranslation, error)
- func (t ComposeModule) HasRefs() bool
- func (t ComposeModule) Identifiers() Identifiers
- func (t ComposeModule) MarkPlaceholder()
- func (t ComposeModule) Placeholder() bool
- func (r *ComposeModule) RBACParts() (resource string, ref *Ref, path []*Ref)
- func (t ComposeModule) ReID(ii Identifiers)
- func (r *ComposeModule) ReRef(old RefSet, new RefSet)
- func (t ComposeModule) Ref() *Ref
- func (t ComposeModule) Refs() RefSet
- func (t ComposeModule) ReplaceRef(old, new *Ref)
- func (r *ComposeModule) Resource() interface{}
- func (r *ComposeModule) ResourceTranslationParts() (resource string, ref *Ref, path []*Ref)
- func (t ComposeModule) ResourceType() string
- func (t ComposeModule) SetConfig(cfg *EnvoyConfig)
- func (t ComposeModule) SetIdentifier(ii Identifiers)
- func (t ComposeModule) SetResourceType(rt string)
- func (t ComposeModule) SetTimestamps(ts *Timestamps)
- func (t ComposeModule) SetUserRefs(uu []*Userstamp)
- func (t ComposeModule) SetUserstamps(us *Userstamps)
- func (r *ComposeModule) SysID() uint64
- func (t ComposeModule) Timestamps() *Timestamps
- func (t ComposeModule) UserRefs() RefSet
- func (t ComposeModule) Userstamps() *Userstamps
- type ComposeModuleField
- func (t ComposeModuleField) AddIdentifier(ss ...string)
- func (t ComposeModuleField) AddRef(rt string, ii ...string) *Ref
- func (t ComposeModuleField) Config() *EnvoyConfig
- func (r *ComposeModuleField) EncodeTranslations() ([]*ResourceTranslation, error)
- func (t ComposeModuleField) HasRefs() bool
- func (t ComposeModuleField) Identifiers() Identifiers
- func (t ComposeModuleField) MarkPlaceholder()
- func (t ComposeModuleField) Placeholder() bool
- func (r *ComposeModuleField) RBACParts() (resource string, ref *Ref, path []*Ref)
- func (t ComposeModuleField) ReID(ii Identifiers)
- func (t ComposeModuleField) ReRef(old RefSet, new RefSet)
- func (t ComposeModuleField) Ref() *Ref
- func (t ComposeModuleField) Refs() RefSet
- func (t ComposeModuleField) ReplaceRef(old, new *Ref)
- func (r *ComposeModuleField) Resource() interface{}
- func (r *ComposeModuleField) ResourceTranslationParts() (resource string, ref *Ref, path []*Ref)
- func (r *ComposeModuleField) ResourceTranslations() ([]*ResourceTranslation, error)
- func (t ComposeModuleField) ResourceType() string
- func (t ComposeModuleField) SetConfig(cfg *EnvoyConfig)
- func (t ComposeModuleField) SetIdentifier(ii Identifiers)
- func (t ComposeModuleField) SetResourceType(rt string)
- func (t ComposeModuleField) SetTimestamps(ts *Timestamps)
- func (t ComposeModuleField) SetUserRefs(uu []*Userstamp)
- func (t ComposeModuleField) SetUserstamps(us *Userstamps)
- func (t ComposeModuleField) Timestamps() *Timestamps
- func (t ComposeModuleField) UserRefs() RefSet
- func (t ComposeModuleField) Userstamps() *Userstamps
- type ComposeNamespace
- func (t ComposeNamespace) AddIdentifier(ss ...string)
- func (t ComposeNamespace) AddRef(rt string, ii ...string) *Ref
- func (t ComposeNamespace) Config() *EnvoyConfig
- func (r *ComposeNamespace) EncodeTranslations() ([]*ResourceTranslation, error)
- func (t ComposeNamespace) HasRefs() bool
- func (t ComposeNamespace) Identifiers() Identifiers
- func (t ComposeNamespace) MarkPlaceholder()
- func (t ComposeNamespace) Placeholder() bool
- func (r *ComposeNamespace) RBACParts() (resource string, ref *Ref, path []*Ref)
- func (t ComposeNamespace) ReID(ii Identifiers)
- func (t ComposeNamespace) ReRef(old RefSet, new RefSet)
- func (t ComposeNamespace) Ref() *Ref
- func (t ComposeNamespace) Refs() RefSet
- func (t ComposeNamespace) ReplaceRef(old, new *Ref)
- func (r *ComposeNamespace) Resource() interface{}
- func (r *ComposeNamespace) ResourceTranslationParts() (resource string, ref *Ref, path []*Ref)
- func (t ComposeNamespace) ResourceType() string
- func (t ComposeNamespace) SetConfig(cfg *EnvoyConfig)
- func (t ComposeNamespace) SetIdentifier(ii Identifiers)
- func (t ComposeNamespace) SetResourceType(rt string)
- func (t ComposeNamespace) SetTimestamps(ts *Timestamps)
- func (t ComposeNamespace) SetUserRefs(uu []*Userstamp)
- func (t ComposeNamespace) SetUserstamps(us *Userstamps)
- func (r *ComposeNamespace) SysID() uint64
- func (t ComposeNamespace) Timestamps() *Timestamps
- func (t ComposeNamespace) UserRefs() RefSet
- func (t ComposeNamespace) Userstamps() *Userstamps
- type ComposePage
- func (t ComposePage) AddIdentifier(ss ...string)
- func (t ComposePage) AddRef(rt string, ii ...string) *Ref
- func (t ComposePage) Config() *EnvoyConfig
- func (r *ComposePage) EncodeTranslations() ([]*ResourceTranslation, error)
- func (t ComposePage) HasRefs() bool
- func (t ComposePage) Identifiers() Identifiers
- func (t ComposePage) MarkPlaceholder()
- func (t ComposePage) Placeholder() bool
- func (r *ComposePage) Prune(ref *Ref)
- func (r *ComposePage) RBACParts() (resource string, ref *Ref, path []*Ref)
- func (t ComposePage) ReID(ii Identifiers)
- func (r *ComposePage) ReRef(old RefSet, new RefSet)
- func (t ComposePage) Ref() *Ref
- func (t ComposePage) Refs() RefSet
- func (t ComposePage) ReplaceRef(old, new *Ref)
- func (r *ComposePage) Resource() interface{}
- func (r *ComposePage) ResourceTranslationParts() (resource string, ref *Ref, path []*Ref)
- func (t ComposePage) ResourceType() string
- func (t ComposePage) SetConfig(cfg *EnvoyConfig)
- func (t ComposePage) SetIdentifier(ii Identifiers)
- func (t ComposePage) SetResourceType(rt string)
- func (t ComposePage) SetTimestamps(ts *Timestamps)
- func (t ComposePage) SetUserRefs(uu []*Userstamp)
- func (t ComposePage) SetUserstamps(us *Userstamps)
- func (r *ComposePage) SysID() uint64
- func (t ComposePage) Timestamps() *Timestamps
- func (t ComposePage) UserRefs() RefSet
- func (t ComposePage) Userstamps() *Userstamps
- type ComposePageLayout
- func (t ComposePageLayout) AddIdentifier(ss ...string)
- func (t ComposePageLayout) AddRef(rt string, ii ...string) *Ref
- func (t ComposePageLayout) Config() *EnvoyConfig
- func (r *ComposePageLayout) EncodeTranslations() ([]*ResourceTranslation, error)
- func (t ComposePageLayout) HasRefs() bool
- func (t ComposePageLayout) Identifiers() Identifiers
- func (t ComposePageLayout) MarkPlaceholder()
- func (t ComposePageLayout) Placeholder() bool
- func (r *ComposePageLayout) Prune(ref *Ref)
- func (r *ComposePageLayout) RBACParts() (resource string, ref *Ref, path []*Ref)
- func (t ComposePageLayout) ReID(ii Identifiers)
- func (r *ComposePageLayout) ReRef(old RefSet, new RefSet)
- func (t ComposePageLayout) Ref() *Ref
- func (t ComposePageLayout) Refs() RefSet
- func (t ComposePageLayout) ReplaceRef(old, new *Ref)
- func (r *ComposePageLayout) Resource() interface{}
- func (r *ComposePageLayout) ResourceTranslationParts() (resource string, ref *Ref, path []*Ref)
- func (t ComposePageLayout) ResourceType() string
- func (t ComposePageLayout) SetConfig(cfg *EnvoyConfig)
- func (t ComposePageLayout) SetIdentifier(ii Identifiers)
- func (t ComposePageLayout) SetResourceType(rt string)
- func (t ComposePageLayout) SetTimestamps(ts *Timestamps)
- func (t ComposePageLayout) SetUserRefs(uu []*Userstamp)
- func (t ComposePageLayout) SetUserstamps(us *Userstamps)
- func (r *ComposePageLayout) SysID() uint64
- func (t ComposePageLayout) Timestamps() *Timestamps
- func (t ComposePageLayout) UserRefs() RefSet
- func (t ComposePageLayout) Userstamps() *Userstamps
- type ComposeRecord
- func (t ComposeRecord) AddIdentifier(ss ...string)
- func (t ComposeRecord) AddRef(rt string, ii ...string) *Ref
- func (t ComposeRecord) Config() *EnvoyConfig
- func (t ComposeRecord) HasRefs() bool
- func (t ComposeRecord) Identifiers() Identifiers
- func (t ComposeRecord) MarkPlaceholder()
- func (t ComposeRecord) Placeholder() bool
- func (r *ComposeRecord) RBACParts() (resource string, ref *Ref, path []*Ref)
- func (t ComposeRecord) ReID(ii Identifiers)
- func (t ComposeRecord) ReRef(old RefSet, new RefSet)
- func (t ComposeRecord) Ref() *Ref
- func (t ComposeRecord) Refs() RefSet
- func (t ComposeRecord) ReplaceRef(old, new *Ref)
- func (r *ComposeRecord) Resource() interface{}
- func (t ComposeRecord) ResourceType() string
- func (t ComposeRecord) SetConfig(cfg *EnvoyConfig)
- func (t ComposeRecord) SetIdentifier(ii Identifiers)
- func (t ComposeRecord) SetResourceType(rt string)
- func (t ComposeRecord) SetTimestamps(ts *Timestamps)
- func (r *ComposeRecord) SetUserFlakes(uu UserstampIndex)
- func (t ComposeRecord) SetUserRefs(uu []*Userstamp)
- func (t ComposeRecord) SetUserstamps(us *Userstamps)
- func (t ComposeRecord) Timestamps() *Timestamps
- func (t ComposeRecord) UserRefs() RefSet
- func (t ComposeRecord) Userstamps() *Userstamps
- type ComposeRecordRaw
- type ComposeRecordRawSet
- type ComposeRecordTemplate
- func (t ComposeRecordTemplate) AddIdentifier(ss ...string)
- func (t ComposeRecordTemplate) AddRef(rt string, ii ...string) *Ref
- func (t ComposeRecordTemplate) Config() *EnvoyConfig
- func (t ComposeRecordTemplate) HasRefs() bool
- func (t ComposeRecordTemplate) Identifiers() Identifiers
- func (t ComposeRecordTemplate) MarkPlaceholder()
- func (t ComposeRecordTemplate) Placeholder() bool
- func (t ComposeRecordTemplate) ReID(ii Identifiers)
- func (t ComposeRecordTemplate) ReRef(old RefSet, new RefSet)
- func (t ComposeRecordTemplate) Ref() *Ref
- func (t ComposeRecordTemplate) Refs() RefSet
- func (t ComposeRecordTemplate) ReplaceRef(old, new *Ref)
- func (r *ComposeRecordTemplate) Resource() interface{}
- func (t ComposeRecordTemplate) ResourceType() string
- func (t ComposeRecordTemplate) SetConfig(cfg *EnvoyConfig)
- func (t ComposeRecordTemplate) SetIdentifier(ii Identifiers)
- func (t ComposeRecordTemplate) SetResourceType(rt string)
- func (t ComposeRecordTemplate) SetTimestamps(ts *Timestamps)
- func (t ComposeRecordTemplate) SetUserRefs(uu []*Userstamp)
- func (t ComposeRecordTemplate) SetUserstamps(us *Userstamps)
- func (t ComposeRecordTemplate) Timestamps() *Timestamps
- func (t ComposeRecordTemplate) UserRefs() RefSet
- func (t ComposeRecordTemplate) Userstamps() *Userstamps
- type CrsWalker
- type EnvoyConfig
- type ErrorWrapper
- type IdentifiableInterface
- type Identifiers
- type Interface
- type InterfaceSet
- type LocaleInterface
- type MappingTpl
- type MappingTplSet
- type MergeAlg
- type PrunableInterface
- type RBACInterface
- type RbacRule
- func (t RbacRule) AddIdentifier(ss ...string)
- func (t RbacRule) AddRef(rt string, ii ...string) *Ref
- func (t RbacRule) Config() *EnvoyConfig
- func (t RbacRule) HasRefs() bool
- func (t RbacRule) Identifiers() Identifiers
- func (t RbacRule) MarkPlaceholder()
- func (t RbacRule) Placeholder() bool
- func (t RbacRule) ReID(ii Identifiers)
- func (r *RbacRule) ReRef(old RefSet, new RefSet)
- func (t RbacRule) Ref() *Ref
- func (t RbacRule) Refs() RefSet
- func (t RbacRule) ReplaceRef(old, new *Ref)
- func (r *RbacRule) Resource() interface{}
- func (t RbacRule) ResourceType() string
- func (t RbacRule) SetConfig(cfg *EnvoyConfig)
- func (t RbacRule) SetIdentifier(ii Identifiers)
- func (t RbacRule) SetResourceType(rt string)
- func (t RbacRule) SetTimestamps(ts *Timestamps)
- func (t RbacRule) SetUserRefs(uu []*Userstamp)
- func (t RbacRule) SetUserstamps(us *Userstamps)
- func (t RbacRule) Timestamps() *Timestamps
- func (t RbacRule) UserRefs() RefSet
- func (t RbacRule) Userstamps() *Userstamps
- func (r *RbacRule) WrapError(act string, err error) error
- type Ref
- func MakeModuleRef(id uint64, handle, name string) *Ref
- func MakeNamespaceRef(id uint64, handle, name string) *Ref
- func MakePageRef(id uint64, handle, title string) *Ref
- func MakeRef(rt string, ii Identifiers) *Ref
- func MakeRoleRef(id uint64, handle, name string) *Ref
- func MakeWildRef(rt string) *Ref
- type RefSet
- type RefableInterface
- type Report
- func (t Report) AddIdentifier(ss ...string)
- func (t Report) AddRef(rt string, ii ...string) *Ref
- func (r *Report) AddReportBlock(res *types.ReportBlock) *ReportBlock
- func (r *Report) AddReportSource(res *types.ReportDataSource) *ReportSource
- func (t Report) Config() *EnvoyConfig
- func (t Report) HasRefs() bool
- func (t Report) Identifiers() Identifiers
- func (t Report) MarkPlaceholder()
- func (t Report) Placeholder() bool
- func (r *Report) RBACParts() (resource string, ref *Ref, path []*Ref)
- func (t Report) ReID(ii Identifiers)
- func (t Report) ReRef(old RefSet, new RefSet)
- func (t Report) Ref() *Ref
- func (t Report) Refs() RefSet
- func (t Report) ReplaceRef(old, new *Ref)
- func (r *Report) Resource() interface{}
- func (t Report) ResourceType() string
- func (t Report) SetConfig(cfg *EnvoyConfig)
- func (t Report) SetIdentifier(ii Identifiers)
- func (t Report) SetResourceType(rt string)
- func (t Report) SetTimestamps(ts *Timestamps)
- func (t Report) SetUserRefs(uu []*Userstamp)
- func (t Report) SetUserstamps(us *Userstamps)
- func (r *Report) SysID() uint64
- func (t Report) Timestamps() *Timestamps
- func (t Report) UserRefs() RefSet
- func (t Report) Userstamps() *Userstamps
- type ReportBlock
- func (t ReportBlock) AddIdentifier(ss ...string)
- func (t ReportBlock) AddRef(rt string, ii ...string) *Ref
- func (t ReportBlock) Config() *EnvoyConfig
- func (t ReportBlock) HasRefs() bool
- func (t ReportBlock) Identifiers() Identifiers
- func (t ReportBlock) MarkPlaceholder()
- func (t ReportBlock) Placeholder() bool
- func (t ReportBlock) ReID(ii Identifiers)
- func (t ReportBlock) ReRef(old RefSet, new RefSet)
- func (t ReportBlock) Ref() *Ref
- func (t ReportBlock) Refs() RefSet
- func (t ReportBlock) ReplaceRef(old, new *Ref)
- func (t ReportBlock) ResourceType() string
- func (t ReportBlock) SetConfig(cfg *EnvoyConfig)
- func (t ReportBlock) SetIdentifier(ii Identifiers)
- func (t ReportBlock) SetResourceType(rt string)
- func (t ReportBlock) SetTimestamps(ts *Timestamps)
- func (t ReportBlock) SetUserRefs(uu []*Userstamp)
- func (t ReportBlock) SetUserstamps(us *Userstamps)
- func (t ReportBlock) Timestamps() *Timestamps
- func (t ReportBlock) UserRefs() RefSet
- func (t ReportBlock) Userstamps() *Userstamps
- type ReportSource
- func (t ReportSource) AddIdentifier(ss ...string)
- func (t ReportSource) AddRef(rt string, ii ...string) *Ref
- func (t ReportSource) Config() *EnvoyConfig
- func (t ReportSource) HasRefs() bool
- func (t ReportSource) Identifiers() Identifiers
- func (t ReportSource) MarkPlaceholder()
- func (t ReportSource) Placeholder() bool
- func (t ReportSource) ReID(ii Identifiers)
- func (t ReportSource) ReRef(old RefSet, new RefSet)
- func (t ReportSource) Ref() *Ref
- func (t ReportSource) Refs() RefSet
- func (t ReportSource) ReplaceRef(old, new *Ref)
- func (t ReportSource) ResourceType() string
- func (t ReportSource) SetConfig(cfg *EnvoyConfig)
- func (t ReportSource) SetIdentifier(ii Identifiers)
- func (t ReportSource) SetResourceType(rt string)
- func (t ReportSource) SetTimestamps(ts *Timestamps)
- func (t ReportSource) SetUserRefs(uu []*Userstamp)
- func (t ReportSource) SetUserstamps(us *Userstamps)
- func (t ReportSource) Timestamps() *Timestamps
- func (t ReportSource) UserRefs() RefSet
- func (t ReportSource) Userstamps() *Userstamps
- type ResourceDataset
- func (t ResourceDataset) AddIdentifier(ss ...string)
- func (t ResourceDataset) AddRef(rt string, ii ...string) *Ref
- func (t ResourceDataset) Config() *EnvoyConfig
- func (t ResourceDataset) HasRefs() bool
- func (t ResourceDataset) Identifiers() Identifiers
- func (t ResourceDataset) MarkPlaceholder()
- func (t ResourceDataset) Placeholder() bool
- func (t ResourceDataset) ReID(ii Identifiers)
- func (t ResourceDataset) ReRef(old RefSet, new RefSet)
- func (t ResourceDataset) Ref() *Ref
- func (t ResourceDataset) Refs() RefSet
- func (t ResourceDataset) ReplaceRef(old, new *Ref)
- func (r *ResourceDataset) Resource() interface{}
- func (t ResourceDataset) ResourceType() string
- func (t ResourceDataset) SetConfig(cfg *EnvoyConfig)
- func (t ResourceDataset) SetIdentifier(ii Identifiers)
- func (t ResourceDataset) SetResourceType(rt string)
- func (t ResourceDataset) SetTimestamps(ts *Timestamps)
- func (t ResourceDataset) SetUserRefs(uu []*Userstamp)
- func (t ResourceDataset) SetUserstamps(us *Userstamps)
- func (t ResourceDataset) Timestamps() *Timestamps
- func (t ResourceDataset) UserRefs() RefSet
- func (t ResourceDataset) Userstamps() *Userstamps
- type ResourceTranslation
- func (t ResourceTranslation) AddIdentifier(ss ...string)
- func (t ResourceTranslation) AddRef(rt string, ii ...string) *Ref
- func (t ResourceTranslation) Config() *EnvoyConfig
- func (t ResourceTranslation) HasRefs() bool
- func (t ResourceTranslation) Identifiers() Identifiers
- func (l *ResourceTranslation) IsDefault() bool
- func (l *ResourceTranslation) IsGeneric() bool
- func (l *ResourceTranslation) MarkDefault()
- func (l *ResourceTranslation) MarkGeneric()
- func (t ResourceTranslation) MarkPlaceholder()
- func (t ResourceTranslation) Placeholder() bool
- func (t ResourceTranslation) ReID(ii Identifiers)
- func (r *ResourceTranslation) ReRef(old RefSet, new RefSet)
- func (t ResourceTranslation) Ref() *Ref
- func (t ResourceTranslation) Refs() RefSet
- func (t ResourceTranslation) ReplaceRef(old, new *Ref)
- func (r *ResourceTranslation) Resource() interface{}
- func (t ResourceTranslation) ResourceType() string
- func (t ResourceTranslation) SetConfig(cfg *EnvoyConfig)
- func (t ResourceTranslation) SetIdentifier(ii Identifiers)
- func (t ResourceTranslation) SetResourceType(rt string)
- func (t ResourceTranslation) SetTimestamps(ts *Timestamps)
- func (t ResourceTranslation) SetUserRefs(uu []*Userstamp)
- func (t ResourceTranslation) SetUserstamps(us *Userstamps)
- func (t ResourceTranslation) Timestamps() *Timestamps
- func (t ResourceTranslation) UserRefs() RefSet
- func (t ResourceTranslation) Userstamps() *Userstamps
- type Role
- func (t Role) AddIdentifier(ss ...string)
- func (t Role) AddRef(rt string, ii ...string) *Ref
- func (t Role) Config() *EnvoyConfig
- func (t Role) HasRefs() bool
- func (t Role) Identifiers() Identifiers
- func (t Role) MarkPlaceholder()
- func (t Role) Placeholder() bool
- func (r *Role) RBACParts() (resource string, ref *Ref, path []*Ref)
- func (t Role) ReID(ii Identifiers)
- func (t Role) ReRef(old RefSet, new RefSet)
- func (t Role) Ref() *Ref
- func (t Role) Refs() RefSet
- func (t Role) ReplaceRef(old, new *Ref)
- func (r *Role) Resource() interface{}
- func (t Role) ResourceType() string
- func (t Role) SetConfig(cfg *EnvoyConfig)
- func (t Role) SetIdentifier(ii Identifiers)
- func (t Role) SetResourceType(rt string)
- func (t Role) SetTimestamps(ts *Timestamps)
- func (t Role) SetUserRefs(uu []*Userstamp)
- func (t Role) SetUserstamps(us *Userstamps)
- func (r *Role) SysID() uint64
- func (t Role) Timestamps() *Timestamps
- func (t Role) UserRefs() RefSet
- func (t Role) Userstamps() *Userstamps
- type Setting
- func (t Setting) AddIdentifier(ss ...string)
- func (t Setting) AddRef(rt string, ii ...string) *Ref
- func (t Setting) Config() *EnvoyConfig
- func (t Setting) HasRefs() bool
- func (t Setting) Identifiers() Identifiers
- func (t Setting) MarkPlaceholder()
- func (t Setting) Placeholder() bool
- func (t Setting) ReID(ii Identifiers)
- func (t Setting) ReRef(old RefSet, new RefSet)
- func (t Setting) Ref() *Ref
- func (t Setting) Refs() RefSet
- func (t Setting) ReplaceRef(old, new *Ref)
- func (r *Setting) Resource() interface{}
- func (t Setting) ResourceType() string
- func (t Setting) SetConfig(cfg *EnvoyConfig)
- func (t Setting) SetIdentifier(ii Identifiers)
- func (t Setting) SetResourceType(rt string)
- func (t Setting) SetTimestamps(ts *Timestamps)
- func (t Setting) SetUserRefs(uu []*Userstamp)
- func (t Setting) SetUserstamps(us *Userstamps)
- func (t Setting) Timestamps() *Timestamps
- func (t Setting) UserRefs() RefSet
- func (t Setting) Userstamps() *Userstamps
- type Settings
- func (t Settings) AddIdentifier(ss ...string)
- func (t Settings) AddRef(rt string, ii ...string) *Ref
- func (t Settings) Config() *EnvoyConfig
- func (t Settings) HasRefs() bool
- func (t Settings) Identifiers() Identifiers
- func (t Settings) MarkPlaceholder()
- func (t Settings) Placeholder() bool
- func (t Settings) ReID(ii Identifiers)
- func (t Settings) ReRef(old RefSet, new RefSet)
- func (t Settings) Ref() *Ref
- func (t Settings) Refs() RefSet
- func (t Settings) ReplaceRef(old, new *Ref)
- func (r *Settings) Resource() interface{}
- func (t Settings) ResourceType() string
- func (t Settings) SetConfig(cfg *EnvoyConfig)
- func (t Settings) SetIdentifier(ii Identifiers)
- func (t Settings) SetResourceType(rt string)
- func (t Settings) SetTimestamps(ts *Timestamps)
- func (t Settings) SetUserRefs(uu []*Userstamp)
- func (t Settings) SetUserstamps(us *Userstamps)
- func (t Settings) Timestamps() *Timestamps
- func (t Settings) UserRefs() RefSet
- func (t Settings) Userstamps() *Userstamps
- type Template
- func (t Template) AddIdentifier(ss ...string)
- func (t Template) AddRef(rt string, ii ...string) *Ref
- func (t Template) Config() *EnvoyConfig
- func (t Template) HasRefs() bool
- func (t Template) Identifiers() Identifiers
- func (t Template) MarkPlaceholder()
- func (t Template) Placeholder() bool
- func (r *Template) RBACParts() (resource string, ref *Ref, path []*Ref)
- func (t Template) ReID(ii Identifiers)
- func (t Template) ReRef(old RefSet, new RefSet)
- func (t Template) Ref() *Ref
- func (t Template) Refs() RefSet
- func (t Template) ReplaceRef(old, new *Ref)
- func (r *Template) Resource() interface{}
- func (t Template) ResourceType() string
- func (t Template) SetConfig(cfg *EnvoyConfig)
- func (t Template) SetIdentifier(ii Identifiers)
- func (t Template) SetResourceType(rt string)
- func (t Template) SetTimestamps(ts *Timestamps)
- func (t Template) SetUserRefs(uu []*Userstamp)
- func (t Template) SetUserstamps(us *Userstamps)
- func (r *Template) SysID() uint64
- func (t Template) Timestamps() *Timestamps
- func (t Template) UserRefs() RefSet
- func (t Template) Userstamps() *Userstamps
- type Timestamp
- type Timestamps
- type User
- func (t User) AddIdentifier(ss ...string)
- func (t User) AddRef(rt string, ii ...string) *Ref
- func (u *User) AddRoles(roles ...*types.Role) *User
- func (t User) Config() *EnvoyConfig
- func (t User) HasRefs() bool
- func (t User) Identifiers() Identifiers
- func (t User) MarkPlaceholder()
- func (t User) Placeholder() bool
- func (r *User) RBACParts() (resource string, ref *Ref, path []*Ref)
- func (t User) ReID(ii Identifiers)
- func (t User) ReRef(old RefSet, new RefSet)
- func (t User) Ref() *Ref
- func (t User) Refs() RefSet
- func (t User) ReplaceRef(old, new *Ref)
- func (r *User) Resource() interface{}
- func (t User) ResourceType() string
- func (t User) SetConfig(cfg *EnvoyConfig)
- func (t User) SetIdentifier(ii Identifiers)
- func (t User) SetResourceType(rt string)
- func (t User) SetTimestamps(ts *Timestamps)
- func (t User) SetUserRefs(uu []*Userstamp)
- func (t User) SetUserstamps(us *Userstamps)
- func (r *User) SysID() uint64
- func (t User) Timestamps() *Timestamps
- func (t User) UserRefs() RefSet
- func (t User) Userstamps() *Userstamps
- type Userstamp
- type UserstampIndex
- type Userstamps
Constants ¶
This section is empty.
Variables ¶
var ( DataSourceResourceType = "data:raw" SettingsResourceType = "setting" RbacResourceType = "rbac-rule" ResourceTranslationType = "resource-translation" )
Functions ¶
func APIGatewayErrUnresolved ¶
func APIGatewayErrUnresolved(ii Identifiers) error
func ApplicationErrUnresolved ¶
func ApplicationErrUnresolved(ii Identifiers) error
func AutomationWorkflowErrUnresolved ¶
func AutomationWorkflowErrUnresolved(ii Identifiers) error
func AutomationWorkflowRbacReferences ¶
AutomationWorkflowRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func AutomationWorkflowResourceTranslationReferences ¶
func AutomationWorkflowResourceTranslationReferences(workflow string) (res *Ref, pp []*Ref, err error)
AutomationWorkflowResourceTranslationReferences generates Locale references
Resources with "envoy: false" are skipped
This function is auto-generated
func ComposeChartErrUnresolved ¶
func ComposeChartErrUnresolved(ii Identifiers) error
func ComposeChartRbacReferences ¶
ComposeChartRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func ComposeChartResourceTranslationReferences ¶
func ComposeChartResourceTranslationReferences(namespaceID string, self string) (res *Ref, pp []*Ref, err error)
ComposeChartResourceTranslationReferences generates Locale references
This function is auto-generated
func ComposeModuleErrUnresolved ¶
func ComposeModuleErrUnresolved(ii Identifiers) error
func ComposeModuleFieldErrUnresolved ¶
func ComposeModuleFieldErrUnresolved(ii Identifiers) error
func ComposeModuleFieldExtractUserFieldRoles ¶
func ComposeModuleFieldExtractUserFieldRoles(i interface{}) []string
ComposeModuleFieldExtractUserFieldRoles is a helper to extract roles from the given filer options.
func ComposeModuleFieldRbacReferences ¶
func ComposeModuleFieldRbacReferences(namespaceID string, moduleID string, moduleField string) (res *Ref, pp []*Ref, err error)
ComposeModuleFieldRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func ComposeModuleFieldResourceTranslationReferences ¶
func ComposeModuleFieldResourceTranslationReferences(namespaceID string, moduleID string, self string) (res *Ref, pp []*Ref, err error)
ComposeModuleFieldResourceTranslationReferences generates Locale references
This function is auto-generated
func ComposeModuleRbacReferences ¶
func ComposeModuleRbacReferences(namespaceID string, module string) (res *Ref, pp []*Ref, err error)
ComposeModuleRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func ComposeModuleResourceTranslationReferences ¶
func ComposeModuleResourceTranslationReferences(namespaceID string, self string) (res *Ref, pp []*Ref, err error)
ComposeModuleResourceTranslationReferences generates Locale references
This function is auto-generated
func ComposeNamespaceErrUnresolved ¶
func ComposeNamespaceErrUnresolved(ii Identifiers) error
func ComposeNamespaceRbacReferences ¶
ComposeNamespaceRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func ComposeNamespaceResourceTranslationReferences ¶
ComposeNamespaceResourceTranslationReferences generates Locale references
This function is auto-generated
func ComposePageErrUnresolved ¶
func ComposePageErrUnresolved(ii Identifiers) error
func ComposePageLayoutErrUnresolved ¶
func ComposePageLayoutErrUnresolved(ii Identifiers) error
func ComposePageLayoutRbacReferences ¶
func ComposePageLayoutRbacReferences(namespaceID string, pageID string, pageLayout string) (res *Ref, pp []*Ref, err error)
ComposePageLayoutRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func ComposePageLayoutResourceTranslationReferences ¶
func ComposePageLayoutResourceTranslationReferences(namespaceID string, pageID string, self string) (res *Ref, pp []*Ref, err error)
ComposePageLayoutResourceTranslationReferences generates Locale references
This function is auto-generated
func ComposePageRbacReferences ¶
ComposePageRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func ComposePageResourceTranslationReferences ¶
func ComposePageResourceTranslationReferences(namespaceID string, self string) (res *Ref, pp []*Ref, err error)
ComposePageResourceTranslationReferences generates Locale references
This function is auto-generated
func ComposeRecordErrUnresolved ¶
func ComposeRecordErrUnresolved(ii Identifiers) error
func ComposeRecordRbacReferences ¶
func ComposeRecordRbacReferences(namespaceID string, moduleID string, record string) (res *Ref, pp []*Ref, err error)
ComposeRecordRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func ComposeRecordShaper ¶
func ComposeRecordShaper() shaper
ComposeRecordShaper initializes and returns a new compose record resource shaper
func FederationExposedModuleRbacReferences ¶
func FederationExposedModuleRbacReferences(nodeID string, exposedModule string) (res *Ref, pp []*Ref, err error)
FederationExposedModuleRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func FederationNodeRbacReferences ¶
FederationNodeRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func FederationSharedModuleRbacReferences ¶
func FederationSharedModuleRbacReferences(nodeID string, sharedModule string) (res *Ref, pp []*Ref, err error)
FederationSharedModuleRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func FindAPIGateway ¶
func FindAPIGateway(rr InterfaceSet, ii Identifiers) (ns *types.ApigwRoute)
FindAPIGateway looks for the ApigwRoute in the resource set
func FindApplication ¶
func FindApplication(rr InterfaceSet, ii Identifiers) (ap *types.Application)
FindApplication looks for the app in the resource set
func FindAutomationWorkflow ¶
func FindAutomationWorkflow(rr InterfaceSet, ii Identifiers) (ns *types.Workflow)
FindAutomationWorkflow looks for the workflow in the resource set
func FindComposeChart ¶
func FindComposeChart(rr InterfaceSet, ii Identifiers) (ch *types.Chart)
FindComposeChart looks for the chart in the resources
func FindComposeModule ¶
func FindComposeModule(rr InterfaceSet, ii Identifiers) (ns *types.Module)
FindComposeModule looks for the module in the resource set
func FindComposeModuleField ¶
func FindComposeModuleField(rr InterfaceSet, mod, ii Identifiers) (field *types.ModuleField)
FindComposeModule looks for the module in the resource set
func FindComposeNamespace ¶
func FindComposeNamespace(rr InterfaceSet, ii Identifiers) (ns *types.Namespace)
FindComposeNamespace looks for the namespace in the resource set
func FindComposePage ¶
func FindComposePage(rr InterfaceSet, ii Identifiers) (pg *types.Page)
FindComposePage looks for the page in the resources
func FindComposePageLayout ¶
func FindComposePageLayout(rr InterfaceSet, ii Identifiers) (pg *types.PageLayout)
FindComposePageLayout looks for the page in the resources
func FindReport ¶
func FindReport(rr InterfaceSet, ii Identifiers) (ns *types.Report)
FindReport looks for the workflow in the resource set
func FindRole ¶
func FindRole(rr InterfaceSet, ii Identifiers) (rl *types.Role)
FindRole looks for the role in the resources
func FindTemplate ¶
func FindTemplate(rr InterfaceSet, ii Identifiers) (u *types.Template)
FindTemplate looks for the template in the resources
func FindUser ¶
func FindUser(rr InterfaceSet, ii Identifiers) (u *types.User)
FindUser looks for the user in the resources
func IgnoreDepResolution ¶
func ParseResourceTranslation ¶
ParseResourceTranslation generates resource setting logic for each resource
Resources with "envoy: false" are skipped
This function is auto-generated
func ParseRule ¶
Parse generates resource setting logic for each resource
Resources with "envoy: false" are skipped
This function is auto-generated
func RbacResourceErrNotFound ¶
func RbacResourceErrNotFound(ii Identifiers) error
func ReportErrUnresolved ¶
func ReportErrUnresolved(ii Identifiers) error
func ResourceTranslationErrNotFound ¶
func ResourceTranslationErrNotFound(ii Identifiers) error
func RoleErrUnresolved ¶
func RoleErrUnresolved(ii Identifiers) error
func SystemApigwRouteRbacReferences ¶
SystemApigwRouteRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func SystemApplicationRbacReferences ¶
SystemApplicationRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func SystemAuthClientRbacReferences ¶
SystemAuthClientRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func SystemDalConnectionRbacReferences ¶
SystemDalConnectionRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func SystemDataPrivacyRequestRbacReferences ¶
func SystemDataPrivacyRequestRbacReferences(dataPrivacyRequest string) (res *Ref, pp []*Ref, err error)
SystemDataPrivacyRequestRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func SystemQueueRbacReferences ¶
SystemQueueRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func SystemReportRbacReferences ¶
SystemReportRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func SystemRoleRbacReferences ¶
SystemRoleRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func SystemTemplateRbacReferences ¶
SystemTemplateRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func SystemUserRbacReferences ¶
SystemUserRbacReferences generates RBAC references
Resources with "envoy: false" are skipped
This function is auto-generated
func TemplateErrUnresolved ¶
func TemplateErrUnresolved(ii Identifiers) error
func UnpackComposePageLayout ¶
func UnpackComposePageLayout(p *types.PageLayout) (*types.PageLayout, *Ref, *Ref)
func UserErrUnresolved ¶
func UserErrUnresolved(ii Identifiers) error
Types ¶
type APIGateway ¶
type APIGateway struct { Res *types.ApigwRoute Filters []*APIGatewayFilter // contains filtered or unexported fields }
func NewAPIGateway ¶
func NewAPIGateway(res *types.ApigwRoute) *APIGateway
func (*APIGateway) AddGatewayFilter ¶
func (r *APIGateway) AddGatewayFilter(res *types.ApigwFilter) *APIGatewayFilter
func (APIGateway) AddIdentifier ¶
func (t APIGateway) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (APIGateway) Config ¶
func (t APIGateway) Config() *EnvoyConfig
func (APIGateway) Identifiers ¶
func (t APIGateway) Identifiers() Identifiers
func (APIGateway) MarkPlaceholder ¶
func (t APIGateway) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (APIGateway) Placeholder ¶
func (t APIGateway) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (*APIGateway) RBACParts ¶
func (r *APIGateway) RBACParts() (resource string, ref *Ref, path []*Ref)
func (APIGateway) ReID ¶
func (t APIGateway) ReID(ii Identifiers)
func (APIGateway) ReplaceRef ¶
func (t APIGateway) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (*APIGateway) Resource ¶
func (r *APIGateway) Resource() interface{}
func (APIGateway) ResourceType ¶
func (t APIGateway) ResourceType() string
func (APIGateway) SetConfig ¶
func (t APIGateway) SetConfig(cfg *EnvoyConfig)
func (APIGateway) SetIdentifier ¶
func (t APIGateway) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (APIGateway) SetResourceType ¶
func (t APIGateway) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (APIGateway) SetTimestamps ¶
func (t APIGateway) SetTimestamps(ts *Timestamps)
func (APIGateway) SetUserRefs ¶
func (t APIGateway) SetUserRefs(uu []*Userstamp)
func (APIGateway) SetUserstamps ¶
func (t APIGateway) SetUserstamps(us *Userstamps)
func (*APIGateway) SysID ¶
func (r *APIGateway) SysID() uint64
func (APIGateway) Timestamps ¶
func (t APIGateway) Timestamps() *Timestamps
func (APIGateway) Userstamps ¶
func (t APIGateway) Userstamps() *Userstamps
type APIGatewayFilter ¶
type APIGatewayFilter struct { Res *types.ApigwFilter // contains filtered or unexported fields }
func (APIGatewayFilter) AddIdentifier ¶
func (t APIGatewayFilter) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (APIGatewayFilter) Config ¶
func (t APIGatewayFilter) Config() *EnvoyConfig
func (APIGatewayFilter) Identifiers ¶
func (t APIGatewayFilter) Identifiers() Identifiers
func (APIGatewayFilter) MarkPlaceholder ¶
func (t APIGatewayFilter) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (APIGatewayFilter) Placeholder ¶
func (t APIGatewayFilter) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (APIGatewayFilter) ReID ¶
func (t APIGatewayFilter) ReID(ii Identifiers)
func (APIGatewayFilter) ReplaceRef ¶
func (t APIGatewayFilter) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (APIGatewayFilter) ResourceType ¶
func (t APIGatewayFilter) ResourceType() string
func (APIGatewayFilter) SetConfig ¶
func (t APIGatewayFilter) SetConfig(cfg *EnvoyConfig)
func (APIGatewayFilter) SetIdentifier ¶
func (t APIGatewayFilter) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (APIGatewayFilter) SetResourceType ¶
func (t APIGatewayFilter) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (APIGatewayFilter) SetTimestamps ¶
func (t APIGatewayFilter) SetTimestamps(ts *Timestamps)
func (APIGatewayFilter) SetUserRefs ¶
func (t APIGatewayFilter) SetUserRefs(uu []*Userstamp)
func (APIGatewayFilter) SetUserstamps ¶
func (t APIGatewayFilter) SetUserstamps(us *Userstamps)
func (APIGatewayFilter) Timestamps ¶
func (t APIGatewayFilter) Timestamps() *Timestamps
func (APIGatewayFilter) Userstamps ¶
func (t APIGatewayFilter) Userstamps() *Userstamps
type Application ¶
type Application struct { Res *types.Application // contains filtered or unexported fields }
Application represents a Application
func NewApplication ¶
func NewApplication(res *types.Application) *Application
func (Application) AddIdentifier ¶
func (t Application) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (Application) Config ¶
func (t Application) Config() *EnvoyConfig
func (Application) Identifiers ¶
func (t Application) Identifiers() Identifiers
func (Application) MarkPlaceholder ¶
func (t Application) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (Application) Placeholder ¶
func (t Application) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (*Application) RBACParts ¶
func (r *Application) RBACParts() (resource string, ref *Ref, path []*Ref)
func (Application) ReID ¶
func (t Application) ReID(ii Identifiers)
func (Application) ReplaceRef ¶
func (t Application) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (*Application) Resource ¶
func (r *Application) Resource() interface{}
func (Application) ResourceType ¶
func (t Application) ResourceType() string
func (Application) SetConfig ¶
func (t Application) SetConfig(cfg *EnvoyConfig)
func (Application) SetIdentifier ¶
func (t Application) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (Application) SetResourceType ¶
func (t Application) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (Application) SetTimestamps ¶
func (t Application) SetTimestamps(ts *Timestamps)
func (Application) SetUserRefs ¶
func (t Application) SetUserRefs(uu []*Userstamp)
func (Application) SetUserstamps ¶
func (t Application) SetUserstamps(us *Userstamps)
func (*Application) SysID ¶
func (r *Application) SysID() uint64
func (Application) Timestamps ¶
func (t Application) Timestamps() *Timestamps
func (Application) Userstamps ¶
func (t Application) Userstamps() *Userstamps
type AutomationTrigger ¶
func (AutomationTrigger) AddIdentifier ¶
func (t AutomationTrigger) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (AutomationTrigger) Config ¶
func (t AutomationTrigger) Config() *EnvoyConfig
func (AutomationTrigger) Identifiers ¶
func (t AutomationTrigger) Identifiers() Identifiers
func (AutomationTrigger) MarkPlaceholder ¶
func (t AutomationTrigger) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (AutomationTrigger) Placeholder ¶
func (t AutomationTrigger) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (AutomationTrigger) ReID ¶
func (t AutomationTrigger) ReID(ii Identifiers)
func (AutomationTrigger) ReplaceRef ¶
func (t AutomationTrigger) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (AutomationTrigger) ResourceType ¶
func (t AutomationTrigger) ResourceType() string
func (AutomationTrigger) SetConfig ¶
func (t AutomationTrigger) SetConfig(cfg *EnvoyConfig)
func (AutomationTrigger) SetIdentifier ¶
func (t AutomationTrigger) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (AutomationTrigger) SetResourceType ¶
func (t AutomationTrigger) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (AutomationTrigger) SetTimestamps ¶
func (t AutomationTrigger) SetTimestamps(ts *Timestamps)
func (AutomationTrigger) SetUserRefs ¶
func (t AutomationTrigger) SetUserRefs(uu []*Userstamp)
func (AutomationTrigger) SetUserstamps ¶
func (t AutomationTrigger) SetUserstamps(us *Userstamps)
func (AutomationTrigger) Timestamps ¶
func (t AutomationTrigger) Timestamps() *Timestamps
func (AutomationTrigger) Userstamps ¶
func (t AutomationTrigger) Userstamps() *Userstamps
type AutomationWorkflow ¶
type AutomationWorkflow struct { Res *types.Workflow Triggers []*AutomationTrigger Steps []*AutomationWorkflowStep Paths []*AutomationWorkflowPath // contains filtered or unexported fields }
func NewAutomationWorkflow ¶
func NewAutomationWorkflow(res *types.Workflow) *AutomationWorkflow
func (*AutomationWorkflow) AddAutomationTrigger ¶
func (r *AutomationWorkflow) AddAutomationTrigger(res *types.Trigger) *AutomationTrigger
func (*AutomationWorkflow) AddAutomationWorkflowPath ¶
func (r *AutomationWorkflow) AddAutomationWorkflowPath(res *types.WorkflowPath) *AutomationWorkflowPath
func (*AutomationWorkflow) AddAutomationWorkflowStep ¶
func (r *AutomationWorkflow) AddAutomationWorkflowStep(res *types.WorkflowStep) *AutomationWorkflowStep
func (AutomationWorkflow) AddIdentifier ¶
func (t AutomationWorkflow) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (AutomationWorkflow) Config ¶
func (t AutomationWorkflow) Config() *EnvoyConfig
func (AutomationWorkflow) Identifiers ¶
func (t AutomationWorkflow) Identifiers() Identifiers
func (AutomationWorkflow) MarkPlaceholder ¶
func (t AutomationWorkflow) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (AutomationWorkflow) Placeholder ¶
func (t AutomationWorkflow) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (*AutomationWorkflow) RBACParts ¶
func (r *AutomationWorkflow) RBACParts() (resource string, ref *Ref, path []*Ref)
func (AutomationWorkflow) ReID ¶
func (t AutomationWorkflow) ReID(ii Identifiers)
func (AutomationWorkflow) ReplaceRef ¶
func (t AutomationWorkflow) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (*AutomationWorkflow) Resource ¶
func (r *AutomationWorkflow) Resource() interface{}
func (*AutomationWorkflow) ResourceTranslationParts ¶
func (r *AutomationWorkflow) ResourceTranslationParts() (resource string, ref *Ref, path []*Ref)
func (AutomationWorkflow) ResourceType ¶
func (t AutomationWorkflow) ResourceType() string
func (AutomationWorkflow) SetConfig ¶
func (t AutomationWorkflow) SetConfig(cfg *EnvoyConfig)
func (AutomationWorkflow) SetIdentifier ¶
func (t AutomationWorkflow) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (AutomationWorkflow) SetResourceType ¶
func (t AutomationWorkflow) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (AutomationWorkflow) SetTimestamps ¶
func (t AutomationWorkflow) SetTimestamps(ts *Timestamps)
func (AutomationWorkflow) SetUserRefs ¶
func (t AutomationWorkflow) SetUserRefs(uu []*Userstamp)
func (AutomationWorkflow) SetUserstamps ¶
func (t AutomationWorkflow) SetUserstamps(us *Userstamps)
func (*AutomationWorkflow) SysID ¶
func (r *AutomationWorkflow) SysID() uint64
func (AutomationWorkflow) Timestamps ¶
func (t AutomationWorkflow) Timestamps() *Timestamps
func (AutomationWorkflow) Userstamps ¶
func (t AutomationWorkflow) Userstamps() *Userstamps
type AutomationWorkflowPath ¶
type AutomationWorkflowPath struct { Res *types.WorkflowPath ParentStep Identifiers ChildStep Identifiers // contains filtered or unexported fields }
func (AutomationWorkflowPath) AddIdentifier ¶
func (t AutomationWorkflowPath) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (AutomationWorkflowPath) Config ¶
func (t AutomationWorkflowPath) Config() *EnvoyConfig
func (AutomationWorkflowPath) Identifiers ¶
func (t AutomationWorkflowPath) Identifiers() Identifiers
func (AutomationWorkflowPath) MarkPlaceholder ¶
func (t AutomationWorkflowPath) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (AutomationWorkflowPath) Placeholder ¶
func (t AutomationWorkflowPath) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (AutomationWorkflowPath) ReID ¶
func (t AutomationWorkflowPath) ReID(ii Identifiers)
func (AutomationWorkflowPath) ReplaceRef ¶
func (t AutomationWorkflowPath) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (AutomationWorkflowPath) ResourceType ¶
func (t AutomationWorkflowPath) ResourceType() string
func (AutomationWorkflowPath) SetConfig ¶
func (t AutomationWorkflowPath) SetConfig(cfg *EnvoyConfig)
func (AutomationWorkflowPath) SetIdentifier ¶
func (t AutomationWorkflowPath) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (AutomationWorkflowPath) SetResourceType ¶
func (t AutomationWorkflowPath) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (AutomationWorkflowPath) SetTimestamps ¶
func (t AutomationWorkflowPath) SetTimestamps(ts *Timestamps)
func (AutomationWorkflowPath) SetUserRefs ¶
func (t AutomationWorkflowPath) SetUserRefs(uu []*Userstamp)
func (AutomationWorkflowPath) SetUserstamps ¶
func (t AutomationWorkflowPath) SetUserstamps(us *Userstamps)
func (AutomationWorkflowPath) Timestamps ¶
func (t AutomationWorkflowPath) Timestamps() *Timestamps
func (AutomationWorkflowPath) Userstamps ¶
func (t AutomationWorkflowPath) Userstamps() *Userstamps
type AutomationWorkflowStep ¶
type AutomationWorkflowStep struct { Res *types.WorkflowStep // contains filtered or unexported fields }
func (AutomationWorkflowStep) AddIdentifier ¶
func (t AutomationWorkflowStep) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (AutomationWorkflowStep) Config ¶
func (t AutomationWorkflowStep) Config() *EnvoyConfig
func (AutomationWorkflowStep) Identifiers ¶
func (t AutomationWorkflowStep) Identifiers() Identifiers
func (AutomationWorkflowStep) MarkPlaceholder ¶
func (t AutomationWorkflowStep) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (AutomationWorkflowStep) Placeholder ¶
func (t AutomationWorkflowStep) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (AutomationWorkflowStep) ReID ¶
func (t AutomationWorkflowStep) ReID(ii Identifiers)
func (AutomationWorkflowStep) ReplaceRef ¶
func (t AutomationWorkflowStep) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (AutomationWorkflowStep) ResourceType ¶
func (t AutomationWorkflowStep) ResourceType() string
func (AutomationWorkflowStep) SetConfig ¶
func (t AutomationWorkflowStep) SetConfig(cfg *EnvoyConfig)
func (AutomationWorkflowStep) SetIdentifier ¶
func (t AutomationWorkflowStep) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (AutomationWorkflowStep) SetResourceType ¶
func (t AutomationWorkflowStep) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (AutomationWorkflowStep) SetTimestamps ¶
func (t AutomationWorkflowStep) SetTimestamps(ts *Timestamps)
func (AutomationWorkflowStep) SetUserRefs ¶
func (t AutomationWorkflowStep) SetUserRefs(uu []*Userstamp)
func (AutomationWorkflowStep) SetUserstamps ¶
func (t AutomationWorkflowStep) SetUserstamps(us *Userstamps)
func (AutomationWorkflowStep) Timestamps ¶
func (t AutomationWorkflowStep) Timestamps() *Timestamps
func (AutomationWorkflowStep) Userstamps ¶
func (t AutomationWorkflowStep) Userstamps() *Userstamps
type ComposeChart ¶
type ComposeChart struct { Res *types.Chart // Might keep track of related namespace RefNs *Ref RefMods RefSet // contains filtered or unexported fields }
ComposeChart represents a ComposeChart
func NewComposeChart ¶
func NewComposeChart(res *types.Chart, nsRef *Ref, mmRef RefSet) *ComposeChart
func (ComposeChart) AddIdentifier ¶
func (t ComposeChart) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (ComposeChart) Config ¶
func (t ComposeChart) Config() *EnvoyConfig
func (*ComposeChart) EncodeTranslations ¶
func (r *ComposeChart) EncodeTranslations() ([]*ResourceTranslation, error)
func (ComposeChart) Identifiers ¶
func (t ComposeChart) Identifiers() Identifiers
func (ComposeChart) MarkPlaceholder ¶
func (t ComposeChart) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ComposeChart) Placeholder ¶
func (t ComposeChart) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (*ComposeChart) RBACParts ¶
func (r *ComposeChart) RBACParts() (resource string, ref *Ref, path []*Ref)
func (ComposeChart) ReID ¶
func (t ComposeChart) ReID(ii Identifiers)
func (*ComposeChart) ReRef ¶
func (r *ComposeChart) ReRef(old RefSet, new RefSet)
func (ComposeChart) ReplaceRef ¶
func (t ComposeChart) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (*ComposeChart) Resource ¶
func (r *ComposeChart) Resource() interface{}
func (*ComposeChart) ResourceTranslationParts ¶
func (r *ComposeChart) ResourceTranslationParts() (resource string, ref *Ref, path []*Ref)
func (ComposeChart) ResourceType ¶
func (t ComposeChart) ResourceType() string
func (ComposeChart) SetConfig ¶
func (t ComposeChart) SetConfig(cfg *EnvoyConfig)
func (ComposeChart) SetIdentifier ¶
func (t ComposeChart) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (ComposeChart) SetResourceType ¶
func (t ComposeChart) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (ComposeChart) SetTimestamps ¶
func (t ComposeChart) SetTimestamps(ts *Timestamps)
func (ComposeChart) SetUserRefs ¶
func (t ComposeChart) SetUserRefs(uu []*Userstamp)
func (ComposeChart) SetUserstamps ¶
func (t ComposeChart) SetUserstamps(us *Userstamps)
func (*ComposeChart) SysID ¶
func (r *ComposeChart) SysID() uint64
func (ComposeChart) Timestamps ¶
func (t ComposeChart) Timestamps() *Timestamps
func (ComposeChart) Userstamps ¶
func (t ComposeChart) Userstamps() *Userstamps
type ComposeModule ¶
type ComposeModule struct { Res *types.Module ResFields []*ComposeModuleField // Might keep track of related NS RefNs *Ref RefMods RefSet RefRoles RefSet // contains filtered or unexported fields }
func NewComposeModule ¶
func NewComposeModule(res *types.Module, nsRef *Ref) *ComposeModule
func (*ComposeModule) AddField ¶
func (r *ComposeModule) AddField(f *ComposeModuleField)
func (ComposeModule) AddIdentifier ¶
func (t ComposeModule) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (ComposeModule) Config ¶
func (t ComposeModule) Config() *EnvoyConfig
func (*ComposeModule) EncodeTranslations ¶
func (r *ComposeModule) EncodeTranslations() ([]*ResourceTranslation, error)
func (ComposeModule) Identifiers ¶
func (t ComposeModule) Identifiers() Identifiers
func (ComposeModule) MarkPlaceholder ¶
func (t ComposeModule) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ComposeModule) Placeholder ¶
func (t ComposeModule) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (*ComposeModule) RBACParts ¶
func (r *ComposeModule) RBACParts() (resource string, ref *Ref, path []*Ref)
func (ComposeModule) ReID ¶
func (t ComposeModule) ReID(ii Identifiers)
func (*ComposeModule) ReRef ¶
func (r *ComposeModule) ReRef(old RefSet, new RefSet)
func (ComposeModule) ReplaceRef ¶
func (t ComposeModule) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (*ComposeModule) Resource ¶
func (r *ComposeModule) Resource() interface{}
func (*ComposeModule) ResourceTranslationParts ¶
func (r *ComposeModule) ResourceTranslationParts() (resource string, ref *Ref, path []*Ref)
func (ComposeModule) ResourceType ¶
func (t ComposeModule) ResourceType() string
func (ComposeModule) SetConfig ¶
func (t ComposeModule) SetConfig(cfg *EnvoyConfig)
func (ComposeModule) SetIdentifier ¶
func (t ComposeModule) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (ComposeModule) SetResourceType ¶
func (t ComposeModule) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (ComposeModule) SetTimestamps ¶
func (t ComposeModule) SetTimestamps(ts *Timestamps)
func (ComposeModule) SetUserRefs ¶
func (t ComposeModule) SetUserRefs(uu []*Userstamp)
func (ComposeModule) SetUserstamps ¶
func (t ComposeModule) SetUserstamps(us *Userstamps)
func (*ComposeModule) SysID ¶
func (r *ComposeModule) SysID() uint64
func (ComposeModule) Timestamps ¶
func (t ComposeModule) Timestamps() *Timestamps
func (ComposeModule) Userstamps ¶
func (t ComposeModule) Userstamps() *Userstamps
type ComposeModuleField ¶
type ComposeModuleField struct { Res *types.ModuleField RefNs *Ref RefMod *Ref // contains filtered or unexported fields }
func NewComposeModuleField ¶
func NewComposeModuleField(res *types.ModuleField, nsRef, modRef *Ref) *ComposeModuleField
func (ComposeModuleField) AddIdentifier ¶
func (t ComposeModuleField) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (ComposeModuleField) Config ¶
func (t ComposeModuleField) Config() *EnvoyConfig
func (*ComposeModuleField) EncodeTranslations ¶
func (r *ComposeModuleField) EncodeTranslations() ([]*ResourceTranslation, error)
func (ComposeModuleField) Identifiers ¶
func (t ComposeModuleField) Identifiers() Identifiers
func (ComposeModuleField) MarkPlaceholder ¶
func (t ComposeModuleField) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ComposeModuleField) Placeholder ¶
func (t ComposeModuleField) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (*ComposeModuleField) RBACParts ¶
func (r *ComposeModuleField) RBACParts() (resource string, ref *Ref, path []*Ref)
func (ComposeModuleField) ReID ¶
func (t ComposeModuleField) ReID(ii Identifiers)
func (ComposeModuleField) ReplaceRef ¶
func (t ComposeModuleField) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (*ComposeModuleField) Resource ¶
func (r *ComposeModuleField) Resource() interface{}
func (*ComposeModuleField) ResourceTranslationParts ¶
func (r *ComposeModuleField) ResourceTranslationParts() (resource string, ref *Ref, path []*Ref)
func (*ComposeModuleField) ResourceTranslations ¶
func (r *ComposeModuleField) ResourceTranslations() ([]*ResourceTranslation, error)
func (ComposeModuleField) ResourceType ¶
func (t ComposeModuleField) ResourceType() string
func (ComposeModuleField) SetConfig ¶
func (t ComposeModuleField) SetConfig(cfg *EnvoyConfig)
func (ComposeModuleField) SetIdentifier ¶
func (t ComposeModuleField) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (ComposeModuleField) SetResourceType ¶
func (t ComposeModuleField) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (ComposeModuleField) SetTimestamps ¶
func (t ComposeModuleField) SetTimestamps(ts *Timestamps)
func (ComposeModuleField) SetUserRefs ¶
func (t ComposeModuleField) SetUserRefs(uu []*Userstamp)
func (ComposeModuleField) SetUserstamps ¶
func (t ComposeModuleField) SetUserstamps(us *Userstamps)
func (ComposeModuleField) Timestamps ¶
func (t ComposeModuleField) Timestamps() *Timestamps
func (ComposeModuleField) Userstamps ¶
func (t ComposeModuleField) Userstamps() *Userstamps
type ComposeNamespace ¶
func NewComposeNamespace ¶
func NewComposeNamespace(ns *types.Namespace) *ComposeNamespace
func (ComposeNamespace) AddIdentifier ¶
func (t ComposeNamespace) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (ComposeNamespace) Config ¶
func (t ComposeNamespace) Config() *EnvoyConfig
func (*ComposeNamespace) EncodeTranslations ¶
func (r *ComposeNamespace) EncodeTranslations() ([]*ResourceTranslation, error)
func (ComposeNamespace) Identifiers ¶
func (t ComposeNamespace) Identifiers() Identifiers
func (ComposeNamespace) MarkPlaceholder ¶
func (t ComposeNamespace) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ComposeNamespace) Placeholder ¶
func (t ComposeNamespace) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (*ComposeNamespace) RBACParts ¶
func (r *ComposeNamespace) RBACParts() (resource string, ref *Ref, path []*Ref)
func (ComposeNamespace) ReID ¶
func (t ComposeNamespace) ReID(ii Identifiers)
func (ComposeNamespace) ReplaceRef ¶
func (t ComposeNamespace) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (*ComposeNamespace) Resource ¶
func (r *ComposeNamespace) Resource() interface{}
func (*ComposeNamespace) ResourceTranslationParts ¶
func (r *ComposeNamespace) ResourceTranslationParts() (resource string, ref *Ref, path []*Ref)
func (ComposeNamespace) ResourceType ¶
func (t ComposeNamespace) ResourceType() string
func (ComposeNamespace) SetConfig ¶
func (t ComposeNamespace) SetConfig(cfg *EnvoyConfig)
func (ComposeNamespace) SetIdentifier ¶
func (t ComposeNamespace) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (ComposeNamespace) SetResourceType ¶
func (t ComposeNamespace) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (ComposeNamespace) SetTimestamps ¶
func (t ComposeNamespace) SetTimestamps(ts *Timestamps)
func (ComposeNamespace) SetUserRefs ¶
func (t ComposeNamespace) SetUserRefs(uu []*Userstamp)
func (ComposeNamespace) SetUserstamps ¶
func (t ComposeNamespace) SetUserstamps(us *Userstamps)
func (*ComposeNamespace) SysID ¶
func (r *ComposeNamespace) SysID() uint64
func (ComposeNamespace) Timestamps ¶
func (t ComposeNamespace) Timestamps() *Timestamps
func (ComposeNamespace) Userstamps ¶
func (t ComposeNamespace) Userstamps() *Userstamps
type ComposePage ¶
type ComposePage struct { Res *types.Page RefNs *Ref RefMod *Ref RefParent *Ref WfRefs RefSet ModRefs RefSet RefCharts RefSet BlockRefs map[int]RefSet // contains filtered or unexported fields }
ComposePage represents a ComposePage
func NewComposePage ¶
func NewComposePage(pg *types.Page, nsRef, modRef, parentRef *Ref) *ComposePage
func (ComposePage) AddIdentifier ¶
func (t ComposePage) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (ComposePage) Config ¶
func (t ComposePage) Config() *EnvoyConfig
func (*ComposePage) EncodeTranslations ¶
func (r *ComposePage) EncodeTranslations() ([]*ResourceTranslation, error)
func (ComposePage) Identifiers ¶
func (t ComposePage) Identifiers() Identifiers
func (ComposePage) MarkPlaceholder ¶
func (t ComposePage) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ComposePage) Placeholder ¶
func (t ComposePage) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (*ComposePage) Prune ¶
func (r *ComposePage) Prune(ref *Ref)
func (*ComposePage) RBACParts ¶
func (r *ComposePage) RBACParts() (resource string, ref *Ref, path []*Ref)
func (ComposePage) ReID ¶
func (t ComposePage) ReID(ii Identifiers)
func (*ComposePage) ReRef ¶
func (r *ComposePage) ReRef(old RefSet, new RefSet)
func (ComposePage) ReplaceRef ¶
func (t ComposePage) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (*ComposePage) Resource ¶
func (r *ComposePage) Resource() interface{}
func (*ComposePage) ResourceTranslationParts ¶
func (r *ComposePage) ResourceTranslationParts() (resource string, ref *Ref, path []*Ref)
func (ComposePage) ResourceType ¶
func (t ComposePage) ResourceType() string
func (ComposePage) SetConfig ¶
func (t ComposePage) SetConfig(cfg *EnvoyConfig)
func (ComposePage) SetIdentifier ¶
func (t ComposePage) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (ComposePage) SetResourceType ¶
func (t ComposePage) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (ComposePage) SetTimestamps ¶
func (t ComposePage) SetTimestamps(ts *Timestamps)
func (ComposePage) SetUserRefs ¶
func (t ComposePage) SetUserRefs(uu []*Userstamp)
func (ComposePage) SetUserstamps ¶
func (t ComposePage) SetUserstamps(us *Userstamps)
func (*ComposePage) SysID ¶
func (r *ComposePage) SysID() uint64
func (ComposePage) Timestamps ¶
func (t ComposePage) Timestamps() *Timestamps
func (ComposePage) Userstamps ¶
func (t ComposePage) Userstamps() *Userstamps
type ComposePageLayout ¶
type ComposePageLayout struct { Res *types.PageLayout RefNs *Ref RefMod *Ref RefParent *Ref WfRefs RefSet ModRefs RefSet RefCharts RefSet BlockRefs map[int]RefSet // contains filtered or unexported fields }
ComposePageLayout represents a ComposePageLayout
func NewComposePageLayout ¶
func NewComposePageLayout(pg *types.PageLayout, nsRef, modRef, parentRef *Ref) *ComposePageLayout
func (ComposePageLayout) AddIdentifier ¶
func (t ComposePageLayout) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (ComposePageLayout) Config ¶
func (t ComposePageLayout) Config() *EnvoyConfig
func (*ComposePageLayout) EncodeTranslations ¶
func (r *ComposePageLayout) EncodeTranslations() ([]*ResourceTranslation, error)
func (ComposePageLayout) Identifiers ¶
func (t ComposePageLayout) Identifiers() Identifiers
func (ComposePageLayout) MarkPlaceholder ¶
func (t ComposePageLayout) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ComposePageLayout) Placeholder ¶
func (t ComposePageLayout) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (*ComposePageLayout) Prune ¶
func (r *ComposePageLayout) Prune(ref *Ref)
func (*ComposePageLayout) RBACParts ¶
func (r *ComposePageLayout) RBACParts() (resource string, ref *Ref, path []*Ref)
func (ComposePageLayout) ReID ¶
func (t ComposePageLayout) ReID(ii Identifiers)
func (*ComposePageLayout) ReRef ¶
func (r *ComposePageLayout) ReRef(old RefSet, new RefSet)
func (ComposePageLayout) ReplaceRef ¶
func (t ComposePageLayout) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (*ComposePageLayout) Resource ¶
func (r *ComposePageLayout) Resource() interface{}
func (*ComposePageLayout) ResourceTranslationParts ¶
func (r *ComposePageLayout) ResourceTranslationParts() (resource string, ref *Ref, path []*Ref)
func (ComposePageLayout) ResourceType ¶
func (t ComposePageLayout) ResourceType() string
func (ComposePageLayout) SetConfig ¶
func (t ComposePageLayout) SetConfig(cfg *EnvoyConfig)
func (ComposePageLayout) SetIdentifier ¶
func (t ComposePageLayout) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (ComposePageLayout) SetResourceType ¶
func (t ComposePageLayout) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (ComposePageLayout) SetTimestamps ¶
func (t ComposePageLayout) SetTimestamps(ts *Timestamps)
func (ComposePageLayout) SetUserRefs ¶
func (t ComposePageLayout) SetUserRefs(uu []*Userstamp)
func (ComposePageLayout) SetUserstamps ¶
func (t ComposePageLayout) SetUserstamps(us *Userstamps)
func (*ComposePageLayout) SysID ¶
func (r *ComposePageLayout) SysID() uint64
func (ComposePageLayout) Timestamps ¶
func (t ComposePageLayout) Timestamps() *Timestamps
func (ComposePageLayout) Userstamps ¶
func (t ComposePageLayout) Userstamps() *Userstamps
type ComposeRecord ¶
type ComposeRecord struct { Walker CrsWalker RefNs *Ref RefMod *Ref RelMod *composeTypes.Module IDMap map[string]uint64 // UserFlakes help the system by predefining a set of potential sys user references. // This should make the operation cheaper for larger datasets. UserFlakes UserstampIndex // contains filtered or unexported fields }
func FindComposeRecordResource ¶
func FindComposeRecordResource(rr InterfaceSet, ii Identifiers) (rec *ComposeRecord)
func NewComposeRecordSet ¶
func NewComposeRecordSet(w CrsWalker, nsRef, modRef string) *ComposeRecord
func (ComposeRecord) AddIdentifier ¶
func (t ComposeRecord) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (ComposeRecord) Config ¶
func (t ComposeRecord) Config() *EnvoyConfig
func (ComposeRecord) Identifiers ¶
func (t ComposeRecord) Identifiers() Identifiers
func (ComposeRecord) MarkPlaceholder ¶
func (t ComposeRecord) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ComposeRecord) Placeholder ¶
func (t ComposeRecord) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (*ComposeRecord) RBACParts ¶
func (r *ComposeRecord) RBACParts() (resource string, ref *Ref, path []*Ref)
func (ComposeRecord) ReID ¶
func (t ComposeRecord) ReID(ii Identifiers)
func (ComposeRecord) ReplaceRef ¶
func (t ComposeRecord) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (*ComposeRecord) Resource ¶
func (r *ComposeRecord) Resource() interface{}
func (ComposeRecord) ResourceType ¶
func (t ComposeRecord) ResourceType() string
func (ComposeRecord) SetConfig ¶
func (t ComposeRecord) SetConfig(cfg *EnvoyConfig)
func (ComposeRecord) SetIdentifier ¶
func (t ComposeRecord) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (ComposeRecord) SetResourceType ¶
func (t ComposeRecord) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (ComposeRecord) SetTimestamps ¶
func (t ComposeRecord) SetTimestamps(ts *Timestamps)
func (*ComposeRecord) SetUserFlakes ¶
func (r *ComposeRecord) SetUserFlakes(uu UserstampIndex)
func (ComposeRecord) SetUserRefs ¶
func (t ComposeRecord) SetUserRefs(uu []*Userstamp)
func (ComposeRecord) SetUserstamps ¶
func (t ComposeRecord) SetUserstamps(us *Userstamps)
func (ComposeRecord) Timestamps ¶
func (t ComposeRecord) Timestamps() *Timestamps
func (ComposeRecord) Userstamps ¶
func (t ComposeRecord) Userstamps() *Userstamps
type ComposeRecordRaw ¶
type ComposeRecordRaw struct { ID string Values map[string]string Ts *Timestamps Us *Userstamps Config *EnvoyConfig }
type ComposeRecordRawSet ¶
type ComposeRecordRawSet []*ComposeRecordRaw
type ComposeRecordTemplate ¶
type ComposeRecordTemplate struct { ModRef *Ref NsRef *Ref // Name is the source name; topically file name Name string // Key determines what defines an identifier Key []string FieldMap MappingTplSet Defaultable bool // contains filtered or unexported fields }
func NewComposeRecordTemplate ¶
func NewComposeRecordTemplate(modRef, nsRef, name string, defaultable bool, fieldMap MappingTplSet, key ...string) *ComposeRecordTemplate
NewComposeRecordTemplate returns a record template based on the provided parameters.
The template is only valid up until the resource shaping; it is not allowed after the fact.
func (ComposeRecordTemplate) AddIdentifier ¶
func (t ComposeRecordTemplate) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (ComposeRecordTemplate) Config ¶
func (t ComposeRecordTemplate) Config() *EnvoyConfig
func (ComposeRecordTemplate) Identifiers ¶
func (t ComposeRecordTemplate) Identifiers() Identifiers
func (ComposeRecordTemplate) MarkPlaceholder ¶
func (t ComposeRecordTemplate) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ComposeRecordTemplate) Placeholder ¶
func (t ComposeRecordTemplate) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ComposeRecordTemplate) ReID ¶
func (t ComposeRecordTemplate) ReID(ii Identifiers)
func (ComposeRecordTemplate) ReplaceRef ¶
func (t ComposeRecordTemplate) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (*ComposeRecordTemplate) Resource ¶
func (r *ComposeRecordTemplate) Resource() interface{}
func (ComposeRecordTemplate) ResourceType ¶
func (t ComposeRecordTemplate) ResourceType() string
func (ComposeRecordTemplate) SetConfig ¶
func (t ComposeRecordTemplate) SetConfig(cfg *EnvoyConfig)
func (ComposeRecordTemplate) SetIdentifier ¶
func (t ComposeRecordTemplate) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (ComposeRecordTemplate) SetResourceType ¶
func (t ComposeRecordTemplate) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (ComposeRecordTemplate) SetTimestamps ¶
func (t ComposeRecordTemplate) SetTimestamps(ts *Timestamps)
func (ComposeRecordTemplate) SetUserRefs ¶
func (t ComposeRecordTemplate) SetUserRefs(uu []*Userstamp)
func (ComposeRecordTemplate) SetUserstamps ¶
func (t ComposeRecordTemplate) SetUserstamps(us *Userstamps)
func (ComposeRecordTemplate) Timestamps ¶
func (t ComposeRecordTemplate) Timestamps() *Timestamps
func (ComposeRecordTemplate) Userstamps ¶
func (t ComposeRecordTemplate) Userstamps() *Userstamps
type CrsWalker ¶
type CrsWalker func(f func(r *ComposeRecordRaw) error) error
type EnvoyConfig ¶
type ErrorWrapper ¶
type IdentifiableInterface ¶
type Identifiers ¶
type Identifiers []string
func MakeIdentifiers ¶
func MakeIdentifiers(ss ...string) Identifiers
func (Identifiers) Add ¶
func (ri Identifiers) Add(ii ...string) Identifiers
func (Identifiers) Clone ¶
func (ri Identifiers) Clone() Identifiers
func (Identifiers) First ¶
func (ri Identifiers) First() string
func (Identifiers) FirstID ¶
func (ri Identifiers) FirstID() uint64
func (Identifiers) HasAny ¶
func (ri Identifiers) HasAny(check Identifiers) bool
func (Identifiers) StringSlice ¶
func (ri Identifiers) StringSlice() []string
type Interface ¶
type Interface interface { Identifiers() Identifiers ResourceType() string Resource() interface{} Refs() RefSet MarkPlaceholder() Placeholder() bool ReID(Identifiers) ReRef(old RefSet, new RefSet) }
type InterfaceSet ¶
type InterfaceSet []Interface
func (InterfaceSet) SearchForIdentifiers ¶
func (rr InterfaceSet) SearchForIdentifiers(resource string, ii Identifiers) (out InterfaceSet)
SearchForIdentifiers returns the resources where the provided identifiers exist
The Resource is matching if at least one identifier matches.
func (InterfaceSet) SearchForReferences ¶
func (rr InterfaceSet) SearchForReferences(ref *Ref) (out InterfaceSet)
SearchForReferences returns the resources where the provided references exist
The Resource is matching if at least one reference matches.
type LocaleInterface ¶
type MappingTpl ¶
type MappingTpl struct { // Index is like Cell, but the index Index uint Cell string Field string // If specifies when the field should be mapped // @todo If string // Expr specifies how to aditionally manipulate the value // @todo Expr string }
func (*MappingTpl) IsIgnored ¶
func (t *MappingTpl) IsIgnored() bool
type MappingTplSet ¶
type MappingTplSet []*MappingTpl
func MapToMappingTplSet ¶
func MapToMappingTplSet(b map[string]string) MappingTplSet
MapToMappingTplSet converts the given string map to a propper MappingTplSet
type MergeAlg ¶
type MergeAlg int
const ( // Default takes the operation defined default Default MergeAlg = iota // Skip skips the existing resource Skip // Replace replaces the existing resource Replace // MergeLeft updates the existing resource, giving priority to the existing data MergeLeft // MergeRight updates the existing resource, giving priority to the new data MergeRight )
type PrunableInterface ¶
type RbacRule ¶
type RbacRule struct { Res *rbac.Rule RefResource string RefRes *Ref RefRole *Ref RefPath []*Ref // contains filtered or unexported fields }
func NewRbacRule ¶
func (RbacRule) AddIdentifier ¶
func (t RbacRule) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (RbacRule) Config ¶
func (t RbacRule) Config() *EnvoyConfig
func (RbacRule) Identifiers ¶
func (t RbacRule) Identifiers() Identifiers
func (RbacRule) MarkPlaceholder ¶
func (t RbacRule) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (RbacRule) Placeholder ¶
func (t RbacRule) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (RbacRule) ReID ¶
func (t RbacRule) ReID(ii Identifiers)
func (RbacRule) ReplaceRef ¶
func (t RbacRule) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (RbacRule) ResourceType ¶
func (t RbacRule) ResourceType() string
func (RbacRule) SetConfig ¶
func (t RbacRule) SetConfig(cfg *EnvoyConfig)
func (RbacRule) SetIdentifier ¶
func (t RbacRule) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (RbacRule) SetResourceType ¶
func (t RbacRule) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (RbacRule) SetTimestamps ¶
func (t RbacRule) SetTimestamps(ts *Timestamps)
func (RbacRule) SetUserRefs ¶
func (t RbacRule) SetUserRefs(uu []*Userstamp)
func (RbacRule) SetUserstamps ¶
func (t RbacRule) SetUserstamps(us *Userstamps)
func (RbacRule) Timestamps ¶
func (t RbacRule) Timestamps() *Timestamps
func (RbacRule) Userstamps ¶
func (t RbacRule) Userstamps() *Userstamps
type Ref ¶
type Ref struct { // @todo check with Denis regarding strings here (the cdocs comment) // @todo should this become node type instead? ResourceType string Identifiers Identifiers Constraints RefSet }
func MakeModuleRef ¶
func MakeNamespaceRef ¶
func MakePageRef ¶
func MakeRef ¶
func MakeRef(rt string, ii Identifiers) *Ref
func MakeRoleRef ¶
func MakeWildRef ¶
func (*Ref) Constraint ¶
Constraint returns the current reference with added constraint
func (*Ref) IsWildcard ¶
IsWildcard checks if this Ref points to all resources of a specific resource type
type RefSet ¶
type RefSet []*Ref
func (RefSet) Equals ¶
Equals checks if two RefSets match
They match if everything matches, even constraints (important)
type RefableInterface ¶
type Report ¶
type Report struct { Res *types.Report Sources []*ReportSource Blocks []*ReportBlock // contains filtered or unexported fields }
func (Report) AddIdentifier ¶
func (t Report) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (*Report) AddReportBlock ¶
func (r *Report) AddReportBlock(res *types.ReportBlock) *ReportBlock
func (*Report) AddReportSource ¶
func (r *Report) AddReportSource(res *types.ReportDataSource) *ReportSource
func (Report) Config ¶
func (t Report) Config() *EnvoyConfig
func (Report) Identifiers ¶
func (t Report) Identifiers() Identifiers
func (Report) MarkPlaceholder ¶
func (t Report) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (Report) Placeholder ¶
func (t Report) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (Report) ReID ¶
func (t Report) ReID(ii Identifiers)
func (Report) ReplaceRef ¶
func (t Report) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (Report) ResourceType ¶
func (t Report) ResourceType() string
func (Report) SetConfig ¶
func (t Report) SetConfig(cfg *EnvoyConfig)
func (Report) SetIdentifier ¶
func (t Report) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (Report) SetResourceType ¶
func (t Report) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (Report) SetTimestamps ¶
func (t Report) SetTimestamps(ts *Timestamps)
func (Report) SetUserRefs ¶
func (t Report) SetUserRefs(uu []*Userstamp)
func (Report) SetUserstamps ¶
func (t Report) SetUserstamps(us *Userstamps)
func (Report) Timestamps ¶
func (t Report) Timestamps() *Timestamps
func (Report) Userstamps ¶
func (t Report) Userstamps() *Userstamps
type ReportBlock ¶
type ReportBlock struct { Res *types.ReportBlock // contains filtered or unexported fields }
func (ReportBlock) AddIdentifier ¶
func (t ReportBlock) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (ReportBlock) Config ¶
func (t ReportBlock) Config() *EnvoyConfig
func (ReportBlock) Identifiers ¶
func (t ReportBlock) Identifiers() Identifiers
func (ReportBlock) MarkPlaceholder ¶
func (t ReportBlock) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ReportBlock) Placeholder ¶
func (t ReportBlock) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ReportBlock) ReID ¶
func (t ReportBlock) ReID(ii Identifiers)
func (ReportBlock) ReplaceRef ¶
func (t ReportBlock) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (ReportBlock) ResourceType ¶
func (t ReportBlock) ResourceType() string
func (ReportBlock) SetConfig ¶
func (t ReportBlock) SetConfig(cfg *EnvoyConfig)
func (ReportBlock) SetIdentifier ¶
func (t ReportBlock) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (ReportBlock) SetResourceType ¶
func (t ReportBlock) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (ReportBlock) SetTimestamps ¶
func (t ReportBlock) SetTimestamps(ts *Timestamps)
func (ReportBlock) SetUserRefs ¶
func (t ReportBlock) SetUserRefs(uu []*Userstamp)
func (ReportBlock) SetUserstamps ¶
func (t ReportBlock) SetUserstamps(us *Userstamps)
func (ReportBlock) Timestamps ¶
func (t ReportBlock) Timestamps() *Timestamps
func (ReportBlock) Userstamps ¶
func (t ReportBlock) Userstamps() *Userstamps
type ReportSource ¶
type ReportSource struct { Res *types.ReportDataSource // contains filtered or unexported fields }
func (ReportSource) AddIdentifier ¶
func (t ReportSource) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (ReportSource) Config ¶
func (t ReportSource) Config() *EnvoyConfig
func (ReportSource) Identifiers ¶
func (t ReportSource) Identifiers() Identifiers
func (ReportSource) MarkPlaceholder ¶
func (t ReportSource) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ReportSource) Placeholder ¶
func (t ReportSource) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ReportSource) ReID ¶
func (t ReportSource) ReID(ii Identifiers)
func (ReportSource) ReplaceRef ¶
func (t ReportSource) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (ReportSource) ResourceType ¶
func (t ReportSource) ResourceType() string
func (ReportSource) SetConfig ¶
func (t ReportSource) SetConfig(cfg *EnvoyConfig)
func (ReportSource) SetIdentifier ¶
func (t ReportSource) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (ReportSource) SetResourceType ¶
func (t ReportSource) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (ReportSource) SetTimestamps ¶
func (t ReportSource) SetTimestamps(ts *Timestamps)
func (ReportSource) SetUserRefs ¶
func (t ReportSource) SetUserRefs(uu []*Userstamp)
func (ReportSource) SetUserstamps ¶
func (t ReportSource) SetUserstamps(us *Userstamps)
func (ReportSource) Timestamps ¶
func (t ReportSource) Timestamps() *Timestamps
func (ReportSource) Userstamps ¶
func (t ReportSource) Userstamps() *Userstamps
type ResourceDataset ¶
type ResourceDataset struct { P provider // contains filtered or unexported fields }
func NewResourceDataset ¶
func NewResourceDataset(name string, p provider) *ResourceDataset
func (ResourceDataset) AddIdentifier ¶
func (t ResourceDataset) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (ResourceDataset) Config ¶
func (t ResourceDataset) Config() *EnvoyConfig
func (ResourceDataset) Identifiers ¶
func (t ResourceDataset) Identifiers() Identifiers
func (ResourceDataset) MarkPlaceholder ¶
func (t ResourceDataset) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ResourceDataset) Placeholder ¶
func (t ResourceDataset) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ResourceDataset) ReID ¶
func (t ResourceDataset) ReID(ii Identifiers)
func (ResourceDataset) ReplaceRef ¶
func (t ResourceDataset) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (*ResourceDataset) Resource ¶
func (r *ResourceDataset) Resource() interface{}
func (ResourceDataset) ResourceType ¶
func (t ResourceDataset) ResourceType() string
func (ResourceDataset) SetConfig ¶
func (t ResourceDataset) SetConfig(cfg *EnvoyConfig)
func (ResourceDataset) SetIdentifier ¶
func (t ResourceDataset) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (ResourceDataset) SetResourceType ¶
func (t ResourceDataset) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (ResourceDataset) SetTimestamps ¶
func (t ResourceDataset) SetTimestamps(ts *Timestamps)
func (ResourceDataset) SetUserRefs ¶
func (t ResourceDataset) SetUserRefs(uu []*Userstamp)
func (ResourceDataset) SetUserstamps ¶
func (t ResourceDataset) SetUserstamps(us *Userstamps)
func (ResourceDataset) Timestamps ¶
func (t ResourceDataset) Timestamps() *Timestamps
func (ResourceDataset) Userstamps ¶
func (t ResourceDataset) Userstamps() *Userstamps
type ResourceTranslation ¶
type ResourceTranslation struct { Res types.ResourceTranslationSet RefResource string RefRes *Ref RefPath []*Ref Priority int // contains filtered or unexported fields }
func NewResourceTranslation ¶
func NewResourceTranslation(res types.ResourceTranslationSet, refResource string, refRes *Ref, refPath ...*Ref) *ResourceTranslation
func (ResourceTranslation) AddIdentifier ¶
func (t ResourceTranslation) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (ResourceTranslation) Config ¶
func (t ResourceTranslation) Config() *EnvoyConfig
func (ResourceTranslation) Identifiers ¶
func (t ResourceTranslation) Identifiers() Identifiers
func (*ResourceTranslation) IsDefault ¶
func (l *ResourceTranslation) IsDefault() bool
func (*ResourceTranslation) IsGeneric ¶
func (l *ResourceTranslation) IsGeneric() bool
func (*ResourceTranslation) MarkDefault ¶
func (l *ResourceTranslation) MarkDefault()
func (*ResourceTranslation) MarkGeneric ¶
func (l *ResourceTranslation) MarkGeneric()
func (ResourceTranslation) MarkPlaceholder ¶
func (t ResourceTranslation) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ResourceTranslation) Placeholder ¶
func (t ResourceTranslation) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (ResourceTranslation) ReID ¶
func (t ResourceTranslation) ReID(ii Identifiers)
func (*ResourceTranslation) ReRef ¶
func (r *ResourceTranslation) ReRef(old RefSet, new RefSet)
func (ResourceTranslation) ReplaceRef ¶
func (t ResourceTranslation) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (*ResourceTranslation) Resource ¶
func (r *ResourceTranslation) Resource() interface{}
func (ResourceTranslation) ResourceType ¶
func (t ResourceTranslation) ResourceType() string
func (ResourceTranslation) SetConfig ¶
func (t ResourceTranslation) SetConfig(cfg *EnvoyConfig)
func (ResourceTranslation) SetIdentifier ¶
func (t ResourceTranslation) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (ResourceTranslation) SetResourceType ¶
func (t ResourceTranslation) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (ResourceTranslation) SetTimestamps ¶
func (t ResourceTranslation) SetTimestamps(ts *Timestamps)
func (ResourceTranslation) SetUserRefs ¶
func (t ResourceTranslation) SetUserRefs(uu []*Userstamp)
func (ResourceTranslation) SetUserstamps ¶
func (t ResourceTranslation) SetUserstamps(us *Userstamps)
func (ResourceTranslation) Timestamps ¶
func (t ResourceTranslation) Timestamps() *Timestamps
func (ResourceTranslation) Userstamps ¶
func (t ResourceTranslation) Userstamps() *Userstamps
type Role ¶
Role represents a Role
func (Role) AddIdentifier ¶
func (t Role) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (Role) Config ¶
func (t Role) Config() *EnvoyConfig
func (Role) Identifiers ¶
func (t Role) Identifiers() Identifiers
func (Role) MarkPlaceholder ¶
func (t Role) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (Role) Placeholder ¶
func (t Role) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (Role) ReID ¶
func (t Role) ReID(ii Identifiers)
func (Role) ReplaceRef ¶
func (t Role) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (Role) ResourceType ¶
func (t Role) ResourceType() string
func (Role) SetConfig ¶
func (t Role) SetConfig(cfg *EnvoyConfig)
func (Role) SetIdentifier ¶
func (t Role) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (Role) SetResourceType ¶
func (t Role) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (Role) SetTimestamps ¶
func (t Role) SetTimestamps(ts *Timestamps)
func (Role) SetUserRefs ¶
func (t Role) SetUserRefs(uu []*Userstamp)
func (Role) SetUserstamps ¶
func (t Role) SetUserstamps(us *Userstamps)
func (Role) Timestamps ¶
func (t Role) Timestamps() *Timestamps
func (Role) Userstamps ¶
func (t Role) Userstamps() *Userstamps
type Setting ¶
type Setting struct { Res types.SettingValue // contains filtered or unexported fields }
func NewSetting ¶
func NewSetting(s *types.SettingValue) *Setting
func (Setting) AddIdentifier ¶
func (t Setting) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (Setting) Config ¶
func (t Setting) Config() *EnvoyConfig
func (Setting) Identifiers ¶
func (t Setting) Identifiers() Identifiers
func (Setting) MarkPlaceholder ¶
func (t Setting) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (Setting) Placeholder ¶
func (t Setting) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (Setting) ReID ¶
func (t Setting) ReID(ii Identifiers)
func (Setting) ReplaceRef ¶
func (t Setting) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (Setting) ResourceType ¶
func (t Setting) ResourceType() string
func (Setting) SetConfig ¶
func (t Setting) SetConfig(cfg *EnvoyConfig)
func (Setting) SetIdentifier ¶
func (t Setting) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (Setting) SetResourceType ¶
func (t Setting) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (Setting) SetTimestamps ¶
func (t Setting) SetTimestamps(ts *Timestamps)
func (Setting) SetUserRefs ¶
func (t Setting) SetUserRefs(uu []*Userstamp)
func (Setting) SetUserstamps ¶
func (t Setting) SetUserstamps(us *Userstamps)
func (Setting) Timestamps ¶
func (t Setting) Timestamps() *Timestamps
func (Setting) Userstamps ¶
func (t Setting) Userstamps() *Userstamps
type Settings ¶
type Settings struct { Res types.SettingValueSet // contains filtered or unexported fields }
func NewSettings ¶
func (Settings) AddIdentifier ¶
func (t Settings) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (Settings) Config ¶
func (t Settings) Config() *EnvoyConfig
func (Settings) Identifiers ¶
func (t Settings) Identifiers() Identifiers
func (Settings) MarkPlaceholder ¶
func (t Settings) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (Settings) Placeholder ¶
func (t Settings) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (Settings) ReID ¶
func (t Settings) ReID(ii Identifiers)
func (Settings) ReplaceRef ¶
func (t Settings) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (Settings) ResourceType ¶
func (t Settings) ResourceType() string
func (Settings) SetConfig ¶
func (t Settings) SetConfig(cfg *EnvoyConfig)
func (Settings) SetIdentifier ¶
func (t Settings) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (Settings) SetResourceType ¶
func (t Settings) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (Settings) SetTimestamps ¶
func (t Settings) SetTimestamps(ts *Timestamps)
func (Settings) SetUserRefs ¶
func (t Settings) SetUserRefs(uu []*Userstamp)
func (Settings) SetUserstamps ¶
func (t Settings) SetUserstamps(us *Userstamps)
func (Settings) Timestamps ¶
func (t Settings) Timestamps() *Timestamps
func (Settings) Userstamps ¶
func (t Settings) Userstamps() *Userstamps
type Template ¶
Template represents a Template
func NewTemplate ¶
func (Template) AddIdentifier ¶
func (t Template) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (Template) Config ¶
func (t Template) Config() *EnvoyConfig
func (Template) Identifiers ¶
func (t Template) Identifiers() Identifiers
func (Template) MarkPlaceholder ¶
func (t Template) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (Template) Placeholder ¶
func (t Template) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (Template) ReID ¶
func (t Template) ReID(ii Identifiers)
func (Template) ReplaceRef ¶
func (t Template) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (Template) ResourceType ¶
func (t Template) ResourceType() string
func (Template) SetConfig ¶
func (t Template) SetConfig(cfg *EnvoyConfig)
func (Template) SetIdentifier ¶
func (t Template) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (Template) SetResourceType ¶
func (t Template) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (Template) SetTimestamps ¶
func (t Template) SetTimestamps(ts *Timestamps)
func (Template) SetUserRefs ¶
func (t Template) SetUserRefs(uu []*Userstamp)
func (Template) SetUserstamps ¶
func (t Template) SetUserstamps(us *Userstamps)
func (Template) Timestamps ¶
func (t Template) Timestamps() *Timestamps
func (Template) Userstamps ¶
func (t Template) Userstamps() *Userstamps
type Timestamp ¶
type Timestamp struct { // S is a stringified representation of the timestamp S string // T is a time representation of the timestamp T *time.Time // Tz is the timezone the timestamp will be encoded into Tz string // Tpl is the template the timestamp will be encoded into Tpl string }
func MakeTimestamp ¶
MakeTimestamp initializes a Timestamp from the passed timestamp
func (*Timestamp) MarshalJSON ¶
func (*Timestamp) MarshalYAML ¶
type Timestamps ¶
type Timestamps struct { CreatedAt *Timestamp UpdatedAt *Timestamp DeletedAt *Timestamp ArchivedAt *Timestamp SuspendedAt *Timestamp }
func MakeTimestampsCUDA ¶
func MakeTimestampsCUDA(c, u, d, a *time.Time) *Timestamps
MakeTimestampsCUDA initializes timestamps for createdAt, updatedAt, deletedAt and archivedAt
func MakeTimestampsCUDAS ¶
func MakeTimestampsCUDAS(c, u, d, a, s *time.Time) *Timestamps
MakeTimestampsCUDAS initializes timestamps for createdAt, updatedAt, deletedAt, archivedAt and suspendedAt
func (*Timestamps) Model ¶
func (tt *Timestamps) Model(tpl string, tz string) (*Timestamps, error)
Model stringifies the timestamps based on the passed template and timezone
type User ¶
type User struct { Res *types.User RoleMembership []Identifiers RefRoles RefSet // contains filtered or unexported fields }
User represents a User
func (User) AddIdentifier ¶
func (t User) AddIdentifier(ss ...string)
AddIdentifier adds a set of identifiers to the current resource
func (User) Config ¶
func (t User) Config() *EnvoyConfig
func (User) Identifiers ¶
func (t User) Identifiers() Identifiers
func (User) MarkPlaceholder ¶
func (t User) MarkPlaceholder()
MarkPlaceholder denotes that the given resource should be treated as a placeholder
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (User) Placeholder ¶
func (t User) Placeholder() bool
Placeholder resources should not be encoded but should only provide additional context to resources that depend on it
func (User) ReID ¶
func (t User) ReID(ii Identifiers)
func (User) ReplaceRef ¶
func (t User) ReplaceRef(old, new *Ref)
ReplaceRef replaces the given ref with the new one. The new ref is added regardles if the old one exists or not.
func (User) ResourceType ¶
func (t User) ResourceType() string
func (User) SetConfig ¶
func (t User) SetConfig(cfg *EnvoyConfig)
func (User) SetIdentifier ¶
func (t User) SetIdentifier(ii Identifiers)
SetIdentifier sets the identifiers to whatever was provided
func (User) SetResourceType ¶
func (t User) SetResourceType(rt string)
SetResourceType sets the resource type of the current resource struct
func (User) SetTimestamps ¶
func (t User) SetTimestamps(ts *Timestamps)
func (User) SetUserRefs ¶
func (t User) SetUserRefs(uu []*Userstamp)
func (User) SetUserstamps ¶
func (t User) SetUserstamps(us *Userstamps)
func (User) Timestamps ¶
func (t User) Timestamps() *Timestamps
func (User) Userstamps ¶
func (t User) Userstamps() *Userstamps
type Userstamp ¶
type Userstamp struct { UserID uint64 Ref string U *types.User // S is the stringified user representation S string }
func MakeUserstamp ¶
MakeUserstamp initializes a userstamp from the passed user struct
func MakeUserstampFromID ¶
MakeUserstampFromRef initializes a userstamp from the passed userID
func MakeUserstampFromRef ¶
MakeUserstampFromRef initializes a userstamp from the passed reference
If possible, the function determines the userID
func (*Userstamp) MarshalJSON ¶
func (*Userstamp) MarshalYAML ¶
type UserstampIndex ¶
func (UserstampIndex) Add ¶
func (ux UserstampIndex) Add(uu ...*types.User)
func (UserstampIndex) GetByKey ¶
func (ux UserstampIndex) GetByKey(kr interface{}) *Userstamp
func (UserstampIndex) GetByStamp ¶
func (ux UserstampIndex) GetByStamp(s *Userstamp) *Userstamp
type Userstamps ¶
type Userstamps struct { CreatedBy *Userstamp UpdatedBy *Userstamp DeletedBy *Userstamp OwnedBy *Userstamp RunAs *Userstamp }
func MakeUserstampsCUDO ¶
func MakeUserstampsCUDO(c, u, d, o uint64) *Userstamps
MakeUserstampsCUDO initializes userstamps for createdAt, updatedAt, deletedAt and ownedBy
Source Files
¶
- api_gateway.go
- application.go
- automation_workflow.go
- compose_chart.go
- compose_layout.go
- compose_module.go
- compose_namespace.go
- compose_page.go
- compose_record.go
- compose_record_shaper.go
- compose_record_template.go
- dataset.go
- rbac_references_automation.gen.go
- rbac_references_compose.gen.go
- rbac_references_federation.gen.go
- rbac_references_system.gen.go
- rbac_rule.go
- rbac_rules_parse.gen.go
- report.go
- resource.go
- resource_translation.gen.go
- resource_translation.go
- resource_translation_parse.gen.go
- resource_translation_references_automation.gen.go
- resource_translation_references_compose.gen.go
- role.go
- settings.go
- shaper.go
- template.go
- timestamps.go
- types.go
- user.go
- userstamps.go
- util.go