Skip to content

Commit 2d104f2

Browse files
author
mayank
committed
Adding example
Signed-off-by: mayank <mayank.patel@mayadata.io>
1 parent 939349b commit 2d104f2

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

example/boilerplate

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
Licensed under the Apache License, Version 2.0 (the "License");
3+
you may not use this file except in compliance with the License.
4+
You may obtain a copy of the License at
5+
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
8+
Unless required by applicable law or agreed to in writing, software
9+
distributed under the License is distributed on an "AS IS" BASIS,
10+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
See the License for the specific language governing permissions and
12+
limitations under the License.
13+
*/
14+
15+
package test

example/structure

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package test
2+
3+
type volumeRollback struct {
4+
shouldDestroy bool // destroy any more recent snapshots and bookmarks, as well as any clones of those snapshots. check diff b/w -R and -r
5+
6+
forceunmount bool //forceunmount the file-system
7+
8+
shouldDestroySnap bool // Destroy any snapshots and bookmarks more recent than the one specified.
9+
10+
snapshot string // snapshot name
11+
}

0 commit comments

Comments
 (0)