blob: 2531fe3aa59fd011dcd81d461cb0578525e349ef [file] [log] [blame]
# Copyright 2018 The LUCI Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Non-LUCI features.
load('@stdlib//internal/lucicfg.star', _lucicfg='lucicfg')
load('@stdlib//internal/time.star', _time='time')
# Individual LUCI rules.
load('@stdlib//internal/luci/rules/bucket.star', _bucket='bucket')
load('@stdlib//internal/luci/rules/builder.star', _builder='builder')
load('@stdlib//internal/luci/rules/gitiles_poller.star', _gitiles_poller='gitiles_poller')
load('@stdlib//internal/luci/rules/list_view.star', _list_view='list_view')
load('@stdlib//internal/luci/rules/list_view_entry.star', _list_view_entry='list_view_entry')
load('@stdlib//internal/luci/rules/logdog.star', _logdog='logdog')
load('@stdlib//internal/luci/rules/milo.star', _milo='milo')
load('@stdlib//internal/luci/rules/project.star', _project='project')
load('@stdlib//internal/luci/rules/recipe.star', _recipe='recipe')
# LUCI helper modules.
load('@stdlib//internal/luci/lib/acl.star', _acl='acl')
load('@stdlib//internal/luci/lib/scheduler.star', _scheduler='scheduler')
load('@stdlib//internal/luci/lib/swarming.star', _swarming='swarming')
# Register all LUCI config generator callbacks.
load('@stdlib//internal/luci/generators.star', _register='register')
_register()
# Non-LUCI-specific public API.
lucicfg = _lucicfg
time = _time
# LUCI-specific public API. Order of entries matters for documentation.
luci = struct(
project = _project,
logdog = _logdog,
bucket = _bucket,
recipe = _recipe,
builder = _builder,
gitiles_poller = _gitiles_poller,
milo = _milo,
list_view = _list_view,
list_view_entry = _list_view_entry,
)
acl = _acl
scheduler = _scheduler
swarming = _swarming