github.com/octohelm/wagon@v0.0.0-20240308040401-88662650dc0b/pkg/engine/zz_generated.runtimedoc.go (about)

     1  /*
     2  Package engine GENERATED BY gengo:runtimedoc 
     3  DON'T EDIT THIS FILE
     4  */
     5  package engine
     6  
     7  // nolint:deadcode,unused
     8  func runtimeDoc(v any, names ...string) ([]string, bool) {
     9  	if c, ok := v.(interface {
    10  		RuntimeDoc(names ...string) ([]string, bool)
    11  	}); ok {
    12  		return c.RuntimeDoc(names...)
    13  	}
    14  	return nil, false
    15  }
    16  
    17  func (v Pipeline) RuntimeDoc(names ...string) ([]string, bool) {
    18  	if len(names) > 0 {
    19  		switch names[0] {
    20  		case "Action":
    21  			return []string{}, true
    22  		case "ImagePullPrefix":
    23  			return []string{}, true
    24  		case "Plan":
    25  			return []string{}, true
    26  		case "Output":
    27  			return []string{}, true
    28  
    29  		}
    30  
    31  		return nil, false
    32  	}
    33  	return []string{}, true
    34  }