All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.salesforce.dockerfileimageupdate.SubCommand Maven / Gradle / Ivy

Go to download

This tool provides a mechanism to make security updates to docker images at scale. The tool searches github for declared docker images and sends pull requests to projects that are not using the desired version of the requested docker image.

There is a newer version: 1.1.26
Show newest version
/*
 * Copyright (c) 2018, salesforce.com, inc.
 * All rights reserved.
 * Licensed under the BSD 3-Clause license.
 * For full license text, see LICENSE.txt file in the repo root or
 * https://opensource.org/licenses/BSD-3-Clause
 */

package com.salesforce.dockerfileimageupdate;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@Retention(RetentionPolicy.RUNTIME)
public @interface SubCommand {
    String help() default "";
    String[] requiredParams() default "";
    /* For optional parameters, add in an order so that the tag is before the parameter.
     * For example, optionalParams={"s", "store", "h", "hello"} will make the usage
     * [-s store] [-h hello].
     */
    String[] optionalParams() default "";
    boolean ignore() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy