Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newPipeline (0.13 sec)

  1. cmd/warm-backend-azure.go

    	}
    	if err != nil {
    		if _, ok := err.(base64.CorruptInputError); ok {
    			return nil, errors.New("invalid Azure credentials")
    		}
    		return nil, err
    	}
    	p := azblob.NewPipeline(credential, azblob.PipelineOptions{})
    	var u *url.URL
    	if conf.Endpoint != "" {
    		u, err = url.Parse(conf.Endpoint)
    		if err != nil {
    			return nil, err
    		}
    	} else {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 05 16:44:08 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/text/template/parse/node.go

    	IsAssign bool            // The variables are being assigned, not declared.
    	Decl     []*VariableNode // Variables in lexical order.
    	Cmds     []*CommandNode  // The commands in lexical order.
    }
    
    func (t *Tree) newPipeline(pos Pos, line int, vars []*VariableNode) *PipeNode {
    	return &PipeNode{tr: t, NodeType: NodePipe, Pos: pos, Line: line, Decl: vars}
    }
    
    func (p *PipeNode) append(command *CommandNode) {
    	p.Cmds = append(p.Cmds, command)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. src/text/template/parse/parse.go

    	return t.newContinue(pos, line)
    }
    
    // Pipeline:
    //
    //	declarations? command ('|' command)*
    func (t *Tree) pipeline(context string, end itemType) (pipe *PipeNode) {
    	token := t.peekNonSpace()
    	pipe = t.newPipeline(token.pos, token.line, nil)
    	// Are there declarations or assignments?
    decls:
    	if v := t.peekNonSpace(); v.typ == itemVariable {
    		t.next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top