Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/batch-expire_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    
    	"gopkg.in/yaml.v2"
    )
    
    func TestParseBatchJobExpire(t *testing.T) {
    	expireYaml := `
    expire: # Expire objects that match a condition
      apiVersion: v1
      bucket: mybucket # Bucket where this batch job will expire matching objects from
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top