Skip to content

Commit

Permalink
add procedures to sdkv2
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-swinkler committed Nov 21, 2023
1 parent b7d0b22 commit 5dba820
Show file tree
Hide file tree
Showing 10 changed files with 3,367 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/sdk/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ type Client struct {
Parameters Parameters
PasswordPolicies PasswordPolicies
Pipes Pipes
Procedures Procedures
ResourceMonitors ResourceMonitors
Roles Roles
Schemas Schemas
Expand Down Expand Up @@ -171,6 +172,7 @@ func (c *Client) initialize() {
c.Parameters = &parameters{client: c}
c.PasswordPolicies = &passwordPolicies{client: c}
c.Pipes = &pipes{client: c}
c.Procedures = &procedures{client: c}
c.ReplicationFunctions = &replicationFunctions{client: c}
c.ResourceMonitors = &resourceMonitors{client: c}
c.Roles = &roles{client: c}
Expand Down
2 changes: 2 additions & 0 deletions pkg/sdk/poc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ var definitionMapping = map[string]*generator.Interface{
"application_roles_def.go": sdk.ApplicationRolesDef,
"views_def.go": sdk.ViewsDef,
"stages_def.go": sdk.StagesDef,
"procedures_def.go": sdk.ProceduresDef,

}

func main() {
Expand Down
Loading

0 comments on commit 5dba820

Please sign in to comment.