Module Values.CreateTemplateSyncConfigInputSource

Set up a template to create new template versions automatically by tracking a linked repository. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository. When a commit is pushed to your linked repository, Proton checks for changes to your repository template bundles. If it detects a template bundle change, a new major or minor version of its template is created, if the version doesn’t already exist. For more information, see Template sync configurations in the Proton User Guide.

Sourcetype nonrec t = {
  1. branch : GitBranchName.t;
    (*

    The repository branch for your template.

    *)
  2. repositoryName : RepositoryName.t;
    (*

    The repository name (for example, myrepos/myrepo).

    *)
  3. repositoryProvider : RepositoryProvider.t;
    (*

    The provider type for your repository.

    *)
  4. subdirectory : Subdirectory.t option;
    (*

    A repository subdirectory path to your template bundle directory. When included, Proton limits the template bundle search to this repository directory.

    *)
  5. templateName : ResourceName.t;
    (*

    The name of your registered template.

    *)
  6. templateType : TemplateType.t;
    (*

    The type of the registered template.

    *)
}
Sourceval context_ : string
Sourceval make : ?subdirectory:??? -> branch:GitBranchName.t -> repositoryName:RepositoryName.t -> repositoryProvider:RepositoryProvider.t -> templateName:ResourceName.t -> templateType:TemplateType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of GitBranchName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t