Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for npages (0.04 sec)

  1. common/scripts/setup_env.sh

      latest="$("${CONTAINER_CLI}" images --filter=reference="${query}" --format "{{.CreatedAt|json}}~{{.Repository}}:{{.Tag}}~{{.CreatedSince}}" | sort -n -r | head -n1)"
      IMG="$(<<<"$latest" cut -d~ -f2)"
      if [[ "${IMG}" == "" ]]; then
        echo "Attempted to use LATEST_CACHED_IMAGE, but found no images matching ${query}" >&2
        exit 1
      fi
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 04:52:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/table/writer.go

    	}
    	return output
    }
    
    func (c *ColoredTableWriter) SetAddRowFunc(f func(obj interface{}) Row) {
    	c.addRowFunc = f
    }
    
    func (c *ColoredTableWriter) AddHeader(names ...string) {
    	cells := make([]Cell, 0)
    	for _, name := range names {
    		cells = append(cells, NewCell(name))
    	}
    	c.header = Row{Cells: cells}
    }
    
    func (c *ColoredTableWriter) AddRow(obj interface{}) {
    	c.rows = append(c.rows, c.addRowFunc(obj))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 09:43:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top