Search in sources :

Example 1 with TagInfo

use of com.vmware.photon.controller.model.resources.ResourceState.TagInfo in project photon-model by vmware.

the class ResourceUtils method tagStateToTagInfo.

private static TagInfo tagStateToTagInfo(TagState tagState) {
    TagInfo tagInfo = new TagInfo();
    tagInfo.tag = encodeTag(tagState.key, tagState.value);
    return tagInfo;
}
Also used : TagInfo(com.vmware.photon.controller.model.resources.ResourceState.TagInfo)

Aggregations

TagInfo (com.vmware.photon.controller.model.resources.ResourceState.TagInfo)1