Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newTemplate (0.21 sec)

  1. pkg/bootstrap/instance.go

    	return &instance{
    		Config: cfg,
    	}
    }
    
    type instance struct {
    	Config
    }
    
    func (i *instance) WriteTo(templateFile string, w io.Writer) error {
    	// Get the input bootstrap template.
    	t, err := newTemplate(templateFile)
    	if err != nil {
    		return err
    	}
    
    	// Create the parameters for the template.
    	templateParams, err := i.toTemplateParams()
    	if err != nil {
    		return err
    	}
    
    	// Execute the template.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top