Documentation
¶
Overview ¶
******************************************************************************
- Copyright (c) 2021 Red Hat, Inc.
- Distributed under license by Red Hat, Inc. All rights reserved.
- This program is made available under the terms of the
- Eclipse Public License v2.0 which accompanies this distribution,
- and is available at http://www.eclipse.org/legal/epl-v20.html *
- Contributors:
- Red Hat, Inc. *****************************************************************************
******************************************************************************
- Copyright (c) 2022 Red Hat, Inc.
- Distributed under license by Red Hat, Inc. All rights reserved.
- This program is made available under the terms of the
- Eclipse Public License v2.0 which accompanies this distribution,
- and is available at http://www.eclipse.org/legal/epl-v20.html *
- Contributors:
- Red Hat, Inc. *****************************************************************************
******************************************************************************
- Copyright (c) 2021 Red Hat, Inc.
- Distributed under license by Red Hat, Inc. All rights reserved.
- This program is made available under the terms of the
- Eclipse Public License v2.0 which accompanies this distribution,
- and is available at http://www.eclipse.org/legal/epl-v20.html *
- Contributors:
- Red Hat, Inc. *****************************************************************************
******************************************************************************
- Copyright (c) 2021 Red Hat, Inc.
- Distributed under license by Red Hat, Inc. All rights reserved.
- This program is made available under the terms of the
- Eclipse Public License v2.0 which accompanies this distribution,
- and is available at http://www.eclipse.org/legal/epl-v20.html *
- Contributors:
- Red Hat, Inc. *****************************************************************************
******************************************************************************
- Copyright (c) 2021 Red Hat, Inc.
- Distributed under license by Red Hat, Inc. All rights reserved.
- This program is made available under the terms of the
- Eclipse Public License v2.0 which accompanies this distribution,
- and is available at http://www.eclipse.org/legal/epl-v20.html *
- Contributors:
- Red Hat, Inc. *****************************************************************************
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComposerJson ¶
type DevfileYaml ¶ added in v1.1.1
type DevfileYaml struct {
StarterProjects []struct {
Git struct {
CheckoutFrom struct {
Remote string `yaml:"remote"`
Revision string `yaml:"revision"`
} `yaml:"checkoutFrom"`
Remotes struct {
Origin string `yaml:"origin"`
} `yaml:"remotes"`
} `yaml:"git"`
SubDir string `yaml:"subDir"`
} `yaml:"starterProjects"`
}
type DockerComposeFile ¶
type DockerComposeFile struct {
Services SVCS `yaml:"services"`
}
type DotNetProject ¶
type LanguageCustomization ¶
type LanguageCustomization struct {
ConfigurationFiles []string `yaml:"configuration_files"`
Component bool `yaml:"component"`
ContainerComponent bool `yaml:"container_component"`
ExcludeFolders []string `yaml:"exclude_folders,omitempty"`
Aliases []string `yaml:"aliases"`
Disabled bool `default:"false" yaml:"disable_detection"`
}
type LanguageProperties ¶
type LanguageProperties struct {
Type string `yaml:"type,omitempty"`
Color string `yaml:"color,omitempty"`
Extensions []string `yaml:"extensions,omitempty"`
TmScope string `yaml:"tm_scope,omitempty"`
AceMode string `yaml:"ace_mode,omitempty"`
LanguageID int `yaml:"language_id,omitempty"`
Aliases []string `yaml:"aliases,omitempty"`
CodemirrorMode string `yaml:"codemirror_mode,omitempty"`
CodemirrorMimeType string `yaml:"codemirror_mime_type,omitempty"`
Group string `yaml:"group"`
Filenames []string `yaml:"filenames"`
}
type LanguagesCustomizations ¶
type LanguagesCustomizations map[string]LanguageCustomization
type LanguagesProperties ¶
type LanguagesProperties map[string]LanguageProperties
type PackageJson ¶
type Pom ¶
type Pom struct {
Dependencies struct {
Text string `xml:",chardata"`
Dependency []struct {
Text string `xml:",chardata"`
GroupId string `xml:"groupId"`
ArtifactId string `xml:"artifactId"`
Version string `xml:"version"`
Scope string `xml:"scope"`
} `xml:"dependency"`
} `xml:"dependencies"`
Modules struct {
Module string `xml:"module"`
} `xml:"modules,omitempty"`
Build struct {
Plugins struct {
Plugin []struct {
GroupId string `xml:"groupId"`
ArtifactId string `xml:"artifactId"`
Version string `xml:"version"`
Scope string `xml:"scope"`
Configuration struct {
JavaOpts string `xml:"javaOpts"`
} `xml:"configuration"`
} `xml:"plugin"`
} `xml:"plugins"`
} `xml:"build,omitempty"`
ArtifactId string `xml:"artifactId"`
Profiles struct {
Profile []struct {
Build struct {
Plugins struct {
Plugin []struct {
GroupId string `xml:"groupId"`
ArtifactId string `xml:"artifactId"`
Version string `xml:"version"`
Scope string `xml:"scope"`
Configuration struct {
JavaOpts string `xml:"javaOpts"`
} `xml:"configuration"`
} `xml:"plugin"`
} `xml:"plugins"`
} `xml:"build,omitempty"`
} `xml:"profile"`
} `xml:"profiles"`
}
type SVCS ¶
type SVCS struct {
Web WebService `yaml:"web"`
}
type WebService ¶
type WebService struct {
Ports []interface{} `yaml:"ports"`
Expose []string `yaml:"expose"`
}
Click to show internal directories.
Click to hide internal directories.