Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAnchorsResourcesFromMap

func GetAnchorsResourcesFromMap(patternMap map[string]interface{}) (map[string]interface{}, map[string]interface{})

    GetAnchorsResourcesFromMap returns map of anchors

    Types

    type ConditionAnchorHandler

    type ConditionAnchorHandler struct {
    	// contains filtered or unexported fields
    }

      ConditionAnchorHandler provides handler for condition anchor

      func (ConditionAnchorHandler) Handle

      func (ch ConditionAnchorHandler) Handle(handler resourceElementHandler, resourceMap map[string]interface{}, originPattern interface{}, ac *common.AnchorKey) (string, error)

        Handle processed condition anchor

        type DefaultHandler

        type DefaultHandler struct {
        	// contains filtered or unexported fields
        }

          DefaultHandler provides handler for non anchor element

          func (DefaultHandler) Handle

          func (dh DefaultHandler) Handle(handler resourceElementHandler, resourceMap map[string]interface{}, originPattern interface{}, ac *common.AnchorKey) (string, error)

            Handle process non anchor element

            type EqualityHandler

            type EqualityHandler struct {
            	// contains filtered or unexported fields
            }

              EqualityHandler provides handler for non anchor element

              func (EqualityHandler) Handle

              func (eh EqualityHandler) Handle(handler resourceElementHandler, resourceMap map[string]interface{}, originPattern interface{}, ac *common.AnchorKey) (string, error)

                Handle processed condition anchor

                type ExistenceHandler

                type ExistenceHandler struct {
                	// contains filtered or unexported fields
                }

                  ExistenceHandler provides handlers to process exitence anchor handler

                  func (ExistenceHandler) Handle

                  func (eh ExistenceHandler) Handle(handler resourceElementHandler, resourceMap map[string]interface{}, originPattern interface{}, ac *common.AnchorKey) (string, error)

                    Handle processes the existence anchor handler

                    type NegationHandler

                    type NegationHandler struct {
                    	// contains filtered or unexported fields
                    }

                      NegationHandler provides handler for check if the tag in anchor is not defined

                      func (NegationHandler) Handle

                      func (nh NegationHandler) Handle(handler resourceElementHandler, resourceMap map[string]interface{}, originPattern interface{}, ac *common.AnchorKey) (string, error)

                        Handle process negation handler

                        type ValidationHandler

                        type ValidationHandler interface {
                        	Handle(handler resourceElementHandler, resourceMap map[string]interface{}, originPattern interface{}, ac *common.AnchorKey) (string, error)
                        }

                          ValidationHandler for element processes

                          func CreateElementHandler

                          func CreateElementHandler(element string, pattern interface{}, path string) ValidationHandler

                            CreateElementHandler factory to process elements

                            func NewConditionAnchorHandler

                            func NewConditionAnchorHandler(anchor string, pattern interface{}, path string) ValidationHandler

                              NewConditionAnchorHandler returns an instance of condition acnhor handler

                              func NewDefaultHandler

                              func NewDefaultHandler(element string, pattern interface{}, path string) ValidationHandler

                                NewDefaultHandler returns handler for non anchor elements

                                func NewEqualityHandler

                                func NewEqualityHandler(anchor string, pattern interface{}, path string) ValidationHandler

                                  NewEqualityHandler returens instance of equality handler

                                  func NewExistenceHandler

                                  func NewExistenceHandler(anchor string, pattern interface{}, path string) ValidationHandler

                                    NewExistenceHandler returns existence handler

                                    func NewNegationHandler

                                    func NewNegationHandler(anchor string, pattern interface{}, path string) ValidationHandler

                                      NewNegationHandler returns instance of negation handler

                                      Source Files

                                      Directories

                                      Path Synopsis