core/src/main/java/io/fabric8/maven/core/access/ClusterAccess.java
public boolean isOpenShiftImageStream(Logger log) {
        if (isOpenShift(log)) {
            OpenShiftClient openShiftClient = null;
            if (this.client == null) {
                openShiftClient = createOpenShiftClient();
            } else if (this.client instanceof OpenShiftClient) {
                openShiftClient = (OpenShiftClient) this.client;
            } else if (this.client.isAdaptable(OpenShiftClient.class)) {
                openShiftClient = client.adapt(OpenShiftClient.class);
            } else {
                return false;
            }
            return openShiftClient.supportsOpenShiftAPIGroup(OpenShiftAPIGroups.IMAGE);
        }
        return false;
    }
public boolean isOpenShiftImageStream(Logger log) {
        if (isOpenShift(log)) {
            OpenShiftClient openShiftClient = null;
            if (this.client == null) {
                openShiftClient = createOpenShiftClient();
            } else if (this.client instanceof OpenShiftClient) {
                openShiftClient = (OpenShiftClient) this.client;
            } else if (this.client.isAdaptable(OpenShiftClient.class)) {
                openShiftClient = client.adapt(OpenShiftClient.class);
            } else {
                return false;
            }
            return openShiftClient.supportsOpenShiftAPIGroup(OpenShiftAPIGroups.IMAGE);
        }
        return false;
    }
public boolean isOpenShiftImageStream ( Logger log ) { if ( isOpenShift ( log ) ) { OpenShiftClient openShiftClient = null ; if ( this . client == null ) { openShiftClient = createOpenShiftClient ( ) ; } else if ( this . client instanceof OpenShiftClient ) { openShiftClient = ( OpenShiftClient ) this . client ; } else if ( this . client . isAdaptable ( OpenShiftClient . class ) ) { openShiftClient = client . adapt ( OpenShiftClient . class ) ; } else { return false ; } return openShiftClient . supportsOpenShiftAPIGroup ( OpenShiftAPIGroups . IMAGE ) ; } return false ; }
Returns true if this cluster is a traditional OpenShift cluster with the <code>/oapi</code> REST API
or supports the new <code>/apis/image.openshift.io</code> API Group
Returns true if this cluster is a traditional OpenShift cluster with the <code > / oapi< / code > REST API or supports the new <code > / apis / image . openshift . io< / code > API Group