Header 编辑

Header

The first six lines of a StyleBook comprise the header section. This section lets you define the identity of a StyleBook and describe what it does. This is a mandatory section.

The following table describes the attributes of the header section:

AttributeDescription
nameA name to identify the StyleBook. This attribute is mandatory.
descriptionA description defining what a StyleBook does. This description appears on the Citrix ADM GUI. This is an optional attribute.
display-nameA descriptive name for the StyleBook. This name appears on the Citrix ADM GUI. This is an optional attribute.
authorThe author person or organization who creates the StyleBook. This is an optional attribute.
namespaceA namespace forms part of a unique identifier for a StyleBook to avoid name collisions. A namespace can be any string, but a good practice is to use it for naming the company, department, or unit that created or owns a set of StyleBooks. For example, you can use the following format: <company>.<department>.<unit>.stylebooks. This is a mandatory attribute.
versionThe version number of the StyleBook. You can change the version number when you update a StyleBook. StyleBooks of different versions can co-exist together. This is a mandatory attribute.
schema-versionThe version of the StyleBooks schema. It takes the value “1.0” in the current release of Citrix ADM. This is a mandatory attribute.
privateIf this attribute is set to true, the StyleBook is not displayed on the Citrix ADM GUI. This is a useful setting for StyleBooks that are building blocks for other StyleBooks and are not intended to be used by users directly. This is an optional attribute. Its default value is false.

Example:


    name: lb

    description: "This stylebook defines a sample load balancing configuration."

    display-name: "Load Balancing StyleBook (HTTP)"

    author: Mike Smith (ACME Infra team)

    namespace: com.example.stylebooks

    schema-version: "1.0"

    version: "0.1"
<!--NeedCopy-->

The combination of name, namespace, and version uniquely identifies a StyleBook in the system. You cannot have two StyleBooks with the same combination of name, namespace, and version in Citrix ADM. However, you can have two StyleBooks with the same name and version but different namespaces, or with the same namespace and version but different names.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:73 次

字数:3071

最后编辑:7 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文