package
3.16.1+incompatible
Repository: https://github.com/redhat-developer/odo.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
AddStorageInfo adds labels for storage resources.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetLabels return labels that should be applied to every object for given component in active application if you need labels to filter component then use GetSelector instead Note: isPartOfComponent denotes if the label is required for a core resource(deployment, svc, pvc, pv) of a given component deployed with `odo dev`; it is the only thing that sets it apart from the resources created via other ways (`odo deploy`, deploying resource with apply command during `odo dev`).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetSelector returns a selector string used for selection of resources which are part of the given component in given mode Note: isPartOfComponent denotes if the selector is required for a core resource(deployment, svc, pvc, pv) of a given component deployed with `odo dev` it is the only thing that sets it apart from the resources created via other ways (`odo deploy`, deploying resource with apply command during `odo dev`).
No description provided by the author
IsCoreComponent determines if a resource is core component (created in Dev mode and includes deployment, svc, pv, pvc, etc.) by checking for 'component' label key.
No description provided by the author
IsProjectTypeSetInAnnotations checks if the ProjectType annotation is set; this function is helpful in identifying if a resource is created by odo.
No description provided by the author
No description provided by the author

# Constants

ComponentAnyMode is used to search resources deployed using either dev or deploy command.
ComponentDeployMode indicates the resource is deployed using deploy command.
ComponentDevMode indicates the resource is deployed using dev command.