-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SK-1628: add scaffolding for v2 implementation
- Loading branch information
“amith-skyflow”
committed
Sep 4, 2024
1 parent
e82e09e
commit cbcda7d
Showing
58 changed files
with
473 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
//imports | ||
|
||
class SkyflowError { | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
//imports | ||
|
||
class Policy { | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
public createPolicy() { | ||
|
||
} | ||
|
||
public update() { | ||
|
||
} | ||
|
||
public delete() { | ||
|
||
} | ||
|
||
public get() { | ||
|
||
} | ||
|
||
} | ||
|
||
export default Policy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
//imports | ||
|
||
class Role { | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
public createRole() { | ||
|
||
} | ||
|
||
public update() { | ||
|
||
} | ||
|
||
public delete() { | ||
|
||
} | ||
|
||
public get() { | ||
|
||
} | ||
|
||
} | ||
|
||
export default Role; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
//imports | ||
|
||
class Vault { | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
public createVault() { | ||
|
||
} | ||
|
||
public update() { | ||
|
||
} | ||
|
||
public delete() { | ||
|
||
} | ||
|
||
public get() { | ||
|
||
} | ||
|
||
} | ||
|
||
export default Vault; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//imports | ||
|
||
class ManagementConfig { | ||
|
||
//fields | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
//getters and setters | ||
|
||
} | ||
|
||
export default ManagementConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//imports | ||
|
||
class CreateVaultRequest { | ||
|
||
//fields | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
//getters and setters | ||
|
||
} | ||
|
||
export default CreateVaultRequest; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//imports | ||
|
||
class DeletePolicyRequest { | ||
|
||
//fields | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
//getters and setters | ||
|
||
} | ||
|
||
export default DeletePolicyRequest; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//imports | ||
|
||
class CreateVaultResponse { | ||
|
||
//fields | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
//getters and setters | ||
|
||
} | ||
|
||
export default CreateVaultResponse; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//imports | ||
|
||
class DeletePolicyResponse { | ||
|
||
//fields | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
//getters and setters | ||
|
||
} | ||
|
||
export default DeletePolicyResponse; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { SkyflowConfig } from "../types"; | ||
|
||
class Skyflow { | ||
|
||
constructor(config: SkyflowConfig) { | ||
|
||
} | ||
|
||
} | ||
|
||
export default Skyflow; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { LogLevel } from "../../utils/common"; | ||
import ManagementConfig from "../model/config/management"; | ||
|
||
export interface SkyflowConfig { | ||
managementConfig: ManagementConfig[], | ||
logLevel?: LogLevel, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
//common code between vault & management | ||
|
||
export enum LogLevel { | ||
WARN = 'WARN', | ||
INFO = 'INFO', | ||
DEBUG = 'DEBUG', | ||
ERROR = 'ERROR', | ||
OFF = 'OFF' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
//helper functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// add client config validations & request validations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//imports | ||
|
||
class Audit { | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
public list() { | ||
return this; | ||
} | ||
|
||
} | ||
|
||
export default Audit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//imports | ||
|
||
class BinLookUp { | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
public lookUpBin() { | ||
return this; | ||
} | ||
|
||
public get() { | ||
|
||
} | ||
|
||
} | ||
|
||
export default BinLookUp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//imports | ||
|
||
class Connection { | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
public invoke() { | ||
|
||
} | ||
|
||
} | ||
|
||
export default Connection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
//imports | ||
|
||
class Data { | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
public insert() { | ||
|
||
} | ||
|
||
public update() { | ||
|
||
} | ||
|
||
public delete() { | ||
|
||
} | ||
|
||
public get() { | ||
|
||
} | ||
|
||
public detokenize() { | ||
|
||
} | ||
|
||
public uploadFile(){ | ||
|
||
} | ||
|
||
} | ||
|
||
export default Data; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//imports | ||
|
||
class Detect { | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
public deIdentify() { | ||
return this; | ||
} | ||
|
||
public text() { | ||
|
||
} | ||
|
||
public file() { | ||
|
||
} | ||
|
||
} | ||
|
||
export default Detect; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//imports | ||
|
||
class Query { | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
public query() { | ||
|
||
} | ||
|
||
} | ||
|
||
export default Query; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//imports | ||
|
||
class ConnectionConfig { | ||
|
||
//fields | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
//getters and setters | ||
|
||
} | ||
|
||
export default ConnectionConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//imports | ||
|
||
class VaultConfig { | ||
|
||
//fields | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
//getters and setters | ||
|
||
} | ||
|
||
export default VaultConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//imports | ||
|
||
class Credentials { | ||
|
||
//fields | ||
|
||
constructor() { | ||
|
||
} | ||
|
||
//getters and setters | ||
|
||
} | ||
|
||
export default Credentials; |
Oops, something went wrong.