Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Commit8fcf0bf

Browse files
authored
Update event drivers and examples (#778)
* add links to all working event drivers and add usage* add scheduled task example linkSigned-off-by: Berndt Jung <bjung@vmware.com>
1 parent86d237e commit8fcf0bf

File tree

3 files changed

+133
-9
lines changed

3 files changed

+133
-9
lines changed

‎docs/_examples/examples.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,10 @@ Link: [Hello World]({{ '/documentation/examples/hello-world' | relative_url }})
1717

1818
Use Dispatch as a backend for a Slack slash command. Use this command to manage VMs across multiple clouds.
1919

20-
Link:[dispatchframework/chat-ops](https://github.com/dispatchframework/chat-ops/blob/master/README.md)
20+
Link:[dispatchframework/chat-ops](https://github.com/dispatchframework/chat-ops/blob/master/README.md)
21+
22+
##Scheduled-Task
23+
24+
Use the cron event driver to fire events on a schedule. Subscribe a function to those events to create a scheduled task.
25+
26+
Link:[dispatchframework/dispatch-events-cron](https://github.com/dispatchframework/dispatch-events-cron/blob/master/README.md)

‎docs/_guides/working-with-events.md‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ The following table lists out all of the currently supported pre-build event dri
1515
is easy, see[Custom Event Drivers](custom-event-drivers.md) for information. The GitHub link should provide additional
1616
detail per driver type.
1717

18-
| Driver Type| Image| GitHub|
19-
| -----------| -----| ------|
20-
| vcenter| dispatchframework/dispatch-events-vcenter|https://github.com/dispatchframework/dispatch-events-vcenter|
21-
| azure-eventgrid| dispatchframework/events-eventgrid|https://github.com/dispatchframework/dispatch-events-eventgrid|
22-
| aws| dispatchframework/dispatch-events-aws|https://github.com/dispatchframework/dispatch-events-aws|
18+
| Driver Type| Image| GitHub| Usage|
19+
| -----------| -----| ------| -----|
20+
| vcenter| dispatchframework/dispatch-events-vcenter|[dispatchframework/dispatch-events-vcenter](https://github.com/dispatchframework/dispatch-events-vcenter)|[Usage]({{ /documentation/guides/working-with-events| relative_url }})|
21+
| azure-eventgrid| dispatchframework/dispatch-events-eventgrid|[dispatchframework/dispatch-events-eventgrid](https://github.com/dispatchframework/dispatch-events-eventgrid)|[Usage](https://github.com/dispatchframework/dispatch-events-eventgrid#installation)|
22+
| aws | dispatchframework/dispatch-events-aws |[dispatchframework/dispatch-events-aws](https://github.com/dispatchframework/dispatch-events-aws) |[Usage](https://github.com/dispatchframework/dispatch-events-aws#dispatch-event-driver-for-aws)
23+
| cron | dispatchframework/cron-driver |[dispatchframework/dispatch-events-cron](https://github.com/dispatchframework/dispatch-events-cron) |[Usage](https://github.com/dispatchframework/dispatch-events-cron#create-the-event-driver)
24+
| cloudevents| dispatchframework/dispatch-events-cloudevent|[dispatchframework/dispatch-events-cloudevent](https://github.com/dispatchframework/dispatch-events-cloudevent)|[Usage](https://github.com/dispatchframework/dispatch-events-cloudevent#installation)|
2325

2426

2527
##Implementation

‎docs/assets/css/style.scss‎

Lines changed: 119 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $background: #272822;
4040
.sidetitleinput[type=checkbox]:checked~label:after{
4141
transform:translateX(-.33333rem)translateY(.29167rem);
4242
}
43-
43+
4444
.sidetitlea{
4545
color:#fafafa;
4646
}
@@ -59,7 +59,7 @@ $background: #272822;
5959
height:100%;
6060
transform-origin:top;
6161
transition:transform.2sease-out;
62-
transform:scaleY(1);
62+
transform:scaleY(1);
6363
padding:00.75rem;
6464
}
6565

@@ -367,4 +367,120 @@ div.home-hero-btn {
367367
.home-card-title {
368368
text-align:center;
369369
height:2rem;
370-
}
370+
}
371+
372+
.table {
373+
border-collapse:separate;
374+
border:1pxsolid#ccc;
375+
border-radius:0.125rem;
376+
background-color:#fff;
377+
color:#565656;
378+
margin:0;
379+
margin-top:1rem;
380+
max-width:100%;
381+
width:100%; }
382+
.tableth,
383+
.tabletd {
384+
font-size:0.54167rem;
385+
line-height:0.58333rem;
386+
border-top:1pxsolid#eee;
387+
padding:0.45833rem0.5rem0.45833rem;
388+
text-align:center;
389+
vertical-align:top; }
390+
.tableth.left,
391+
.tabletd.left {
392+
text-align:left; }
393+
.tableth.left:first-child,
394+
.tabletd.left:first-child {
395+
padding-left:0.25rem; }
396+
.tableth {
397+
color:#565656;
398+
font-size:0.45833rem;
399+
font-weight:600;
400+
letter-spacing:0.03em;
401+
background-color:#fafafa;
402+
vertical-align:bottom;
403+
border-bottom:1pxsolid#ccc;
404+
border-top:0none; }
405+
.tabletbodytr:first-childtd {
406+
border-top:0none; }
407+
.tabletbody +tbody {
408+
border-top:1pxsolid#ccc; }
409+
.tabletheadth:first-child {
410+
border-radius:calc(0.125rem-1px)000; }
411+
.tabletheadth:last-child {
412+
border-radius:0calc(0.125rem-1px)00; }
413+
.tabletbody:last-childtr:last-childtd:first-child {
414+
border-radius:000calc(0.125rem-1px); }
415+
.tabletbody:last-childtr:last-childtd:last-child {
416+
border-radius:00calc(0.125rem-1px)0; }
417+
418+
.table-compactth,.table-compacttd {
419+
padding-top:calc(0.20833rem+1px);
420+
padding-bottom:calc(0.20833rem); }
421+
422+
.table.table-verticaltheadth {
423+
border:0none;
424+
border-radius:0;
425+
display:none; }
426+
427+
.table.table-verticalth {
428+
border-bottom:0;
429+
border-top:1pxsolid#ccc;
430+
vertical-align:top; }
431+
432+
.table.table-verticaltd,.table.table-verticalth {
433+
text-align:left;
434+
border-color:#ccc; }
435+
.table.table-verticaltd:first-child,.table.table-verticalth:first-child {
436+
border-right:1pxsolid#ccc;
437+
background-color:#fafafa;
438+
font-weight:600; }
439+
440+
.table.table-verticaltbody:first-of-typetr:first-childth,.table.table-verticaltbody:first-of-typetr:first-childtd {
441+
border-top:0none; }
442+
.table.table-verticaltbody:first-of-typetr:first-childth:first-child,.table.table-verticaltbody:first-of-typetr:first-childtd:first-child {
443+
border-radius:calc(0.125rem-1px)000; }
444+
.table.table-verticaltbody:first-of-typetr:first-childth:last-child,.table.table-verticaltbody:first-of-typetr:first-childtd:last-child {
445+
border-radius:0calc(0.125rem-1px)00; }
446+
447+
.table.table-verticaltbody:last-childtr:last-childth:first-child,.table.table-verticaltbody:last-childtr:last-childtd:first-child {
448+
border-radius:000calc(0.125rem-1px); }
449+
450+
.table.table-verticaltbody:last-childtr:last-childth:last-child,.table.table-verticaltbody:last-childtr:last-childtd:last-child {
451+
border-radius:00calc(0.125rem-1px)0; }
452+
453+
.table.table-noborder {
454+
border-radius:0;
455+
box-shadow:none;
456+
background-color:transparent;
457+
border:0; }
458+
.table.table-noborderth {
459+
background-color:transparent;
460+
border-bottom-color:#ddd;
461+
border-top:0none; }
462+
.table.table-noborderth:first-child {
463+
border-right:0none; }
464+
.table.table-nobordertd {
465+
border-top:0none;
466+
padding-top:calc(0.45833rem+1px); }
467+
.table.table-nobordertd:first-child {
468+
border-right:0none; }
469+
.table.table-nobordertheadth:first-child,.table.table-nobordertheadth:last-child {
470+
border-radius:0; }
471+
.table.table-noborderth,.table.table-nobordertd {
472+
border-radius:0!important; }
473+
.table.table-noborderth:first-child,.table.table-nobordertd:first-child {
474+
padding-left:0; }
475+
476+
.table.table-compactth,.table.table-compacttd {
477+
padding-top:calc(0.20833rem+1px);
478+
padding-bottom:0.20833rem; }
479+
480+
.table.table-compact.table-noborderth,.table.table-compact.table-nobordertd {
481+
padding-top:calc(0.20833rem+2px);
482+
padding-bottom:calc(0.20833rem+1px); }
483+
484+
table {@extend.table; }
485+
td {@extend.left; }
486+
th {@extend.left; }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp