Versions in this module Expand all Collapse all v0 v0.2.2 Aug 21, 2024 Changes in this version + type ApplicationPackagesOptions struct + type ApplicationPackagesView struct + func NewApplicationPackagesView(connectionManager *snowflake.ConnectionManager, ...) *ApplicationPackagesView + func (t *ApplicationPackagesView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *ApplicationPackagesView) GetRender() tview.Primitive + func (v *ApplicationPackagesView) Update(ctx context.Context) error + type ApplicationState struct + Application *tview.Application + ConnectionManager *snowflake.ConnectionManager + Main *tview.Pages + Pages *tview.Pages + func NewApplication(cm *snowflake.ConnectionManager) *ApplicationState + func (a *ApplicationState) Pop(ctx context.Context) + func (a *ApplicationState) Push(ctx context.Context, component Component) + func (a *ApplicationState) UpdateView(ctx context.Context, newPage bool) + type ApplicationsOptions struct + type ApplicationsView struct + func NewApplicationsView(connectionManager *snowflake.ConnectionManager, opts *ApplicationsOptions) *ApplicationsView + func (t *ApplicationsView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *ApplicationsView) GetRender() tview.Primitive + func (v *ApplicationsView) Update(ctx context.Context) error + type Component interface + GetBindings func(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + GetRender func() tview.Primitive + Update func(ctx context.Context) error + type ComputePoolsOptions struct + type ComputePoolsView struct + func NewComputePoolsView(connectionManager *snowflake.ConnectionManager, opts *ComputePoolsOptions) *ComputePoolsView + func (v *ComputePoolsView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *ComputePoolsView) GetRender() tview.Primitive + func (v *ComputePoolsView) Update(ctx context.Context) error + type ConfirmModal struct + func NewConfirmModal() *ConfirmModal + func (m *ConfirmModal) GetRender() *tview.Modal + func (m *ConfirmModal) Prompt(ctx context.Context, applicationState *ApplicationState, message string, ...) + type ConnectionsOptions struct + type ConnectionsView struct + func NewConnectionsView(connectionManager *snowflake.ConnectionManager, opts *ConnectionsOptions) *ConnectionsView + func (t *ConnectionsView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *ConnectionsView) GetRender() tview.Primitive + func (v *ConnectionsView) Update(ctx context.Context) error + type DatabasesOptions struct + type DatabasesView struct + func NewDatabasesView(connectionManager *snowflake.ConnectionManager, opts *DatabasesOptions) *DatabasesView + func (v *DatabasesView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *DatabasesView) GetRender() tview.Primitive + func (v *DatabasesView) Update(ctx context.Context) error + type EndpointsOptions struct + Service *sdk.SchemaObjectIdentifier + type EndpointsView struct + func NewEndpointsView(connectionManager *snowflake.ConnectionManager, opts *EndpointsOptions) *EndpointsView + func (v *EndpointsView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *EndpointsView) GetRender() tview.Primitive + func (v *EndpointsView) Update(ctx context.Context) error + type GrantsOptions struct + ObjectIdentifier sdk.ObjectIdentifier + ObjectType sdk.ObjectType + type GrantsView struct + func NewGrantsView(connectionManager *snowflake.ConnectionManager, opts *GrantsOptions) *GrantsView + func (v *GrantsView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *GrantsView) GetRender() tview.Primitive + func (v *GrantsView) Update(ctx context.Context) error + type ImageRepositoriesOptions struct + Database *sdk.AccountObjectIdentifier + Schema *sdk.DatabaseObjectIdentifier + type ImageRepositoriesView struct + func NewImageRepositoriesView(connectionManager *snowflake.ConnectionManager, opts *ImageRepositoriesOptions) *ImageRepositoriesView + func (v *ImageRepositoriesView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *ImageRepositoriesView) GetRender() tview.Primitive + func (v *ImageRepositoriesView) Update(ctx context.Context) error + type KeyBinding struct + Callback func(event *tcell.EventKey) *tcell.EventKey + Description string + Event *tcell.EventKey + Hidden bool + Rune rune + func (k *KeyBinding) Name() string + type KeyBindings struct + Bindings []*KeyBinding + func NewKeyBindings() *KeyBindings + func (k *KeyBindings) Add(binding *KeyBinding) + func (k *KeyBindings) Clear() + func (k *KeyBindings) GetRender() *tview.Table + func (k *KeyBindings) Update() + type ListingsOptions struct + type ListingsView struct + func NewListingsView(connectionManager *snowflake.ConnectionManager, opts *ListingsOptions) *ListingsView + func (v *ListingsView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *ListingsView) GetRender() tview.Primitive + func (v *ListingsView) Update(ctx context.Context) error + type NetworkPoliciesOptions struct + type NetworkPoliciesView struct + func NewNetworkPoliciesView(connectionManager *snowflake.ConnectionManager, opts *NetworkPoliciesOptions) *NetworkPoliciesView + func (v *NetworkPoliciesView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *NetworkPoliciesView) GetRender() tview.Primitive + func (v *NetworkPoliciesView) Update(ctx context.Context) error + type NetworkRulesOptions struct + Database *sdk.AccountObjectIdentifier + Schema *sdk.DatabaseObjectIdentifier + type NetworkRulesView struct + func NewNetworkRulesView(connectionManager *snowflake.ConnectionManager, opts *NetworkRulesOptions) *NetworkRulesView + func (v *NetworkRulesView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *NetworkRulesView) GetRender() tview.Primitive + func (v *NetworkRulesView) Update(ctx context.Context) error + type ProceduresOptions struct + Database *sdk.AccountObjectIdentifier + Schema *sdk.DatabaseObjectIdentifier + type ProceduresView struct + func NewProceduresView(connectionManager *snowflake.ConnectionManager, opts *ProceduresOptions) *ProceduresView + func (v *ProceduresView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *ProceduresView) GetRender() tview.Primitive + func (v *ProceduresView) Update(ctx context.Context) error + type ReleaseDirectivesOptions struct + ApplicationPackage *sdk.AccountObjectIdentifier + type ReleaseDirectivesView struct + func NewReleaseDirectivesView(connectionManager *snowflake.ConnectionManager, opts *ReleaseDirectivesOptions) *ReleaseDirectivesView + func (v *ReleaseDirectivesView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *ReleaseDirectivesView) GetRender() tview.Primitive + func (v *ReleaseDirectivesView) Update(ctx context.Context) error + type RolesOptions struct + type RolesView struct + func NewRolesView(connectionManager *snowflake.ConnectionManager, opts *RolesOptions) *RolesView + func (v *RolesView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *RolesView) GetRender() tview.Primitive + func (v *RolesView) Update(ctx context.Context) error + type SchemasOptions struct + Database *string + type SchemasView struct + func NewSchemasView(connectionManager *snowflake.ConnectionManager, opts *SchemasOptions) *SchemasView + func (v *SchemasView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *SchemasView) GetRender() tview.Primitive + func (v *SchemasView) Update(ctx context.Context) error + type Search struct + func NewSearch() *Search + func (s *Search) Clear() + func (s *Search) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (s *Search) GetRender() *tview.InputField + func (s *Search) Value() string + type SecretsOptions struct + Application *sdk.AccountObjectIdentifier + ApplicationPackage *sdk.AccountObjectIdentifier + Database *sdk.AccountObjectIdentifier + Schema *sdk.DatabaseObjectIdentifier + type SecretsView struct + func NewSecretsView(connectionManager *snowflake.ConnectionManager, opts *SecretsOptions) *SecretsView + func (v *SecretsView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *SecretsView) GetRender() tview.Primitive + func (v *SecretsView) Update(ctx context.Context) error + type SecurityIntegrationsOptions struct + type SecurityIntegrationsView struct + func NewSecurityIntegrationsView(connectionManager *snowflake.ConnectionManager, ...) *SecurityIntegrationsView + func (v *SecurityIntegrationsView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *SecurityIntegrationsView) GetRender() tview.Primitive + func (v *SecurityIntegrationsView) Update(ctx context.Context) error + type ServiceContainersOptions struct + Service *sdk.SchemaObjectIdentifier + type ServiceContainersView struct + func NewServiceContainersView(connectionManager *snowflake.ConnectionManager, opts *ServiceContainersOptions) *ServiceContainersView + func (v *ServiceContainersView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *ServiceContainersView) GetRender() tview.Primitive + func (v *ServiceContainersView) Update(ctx context.Context) error + type ServiceInstancesOptions struct + Service *sdk.SchemaObjectIdentifier + type ServiceInstancesView struct + func NewServiceInstancesView(connectionManager *snowflake.ConnectionManager, opts *ServiceInstancesOptions) *ServiceInstancesView + func (v *ServiceInstancesView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *ServiceInstancesView) GetRender() tview.Primitive + func (v *ServiceInstancesView) Update(ctx context.Context) error + type ServiceLogsOptions struct + ContainerName string + InstanceId int + Service *sdk.SchemaObjectIdentifier + type ServiceLogsView struct + func NewServiceLogsView(connectionManager *snowflake.ConnectionManager, opts *ServiceLogsOptions) *ServiceLogsView + func (v *ServiceLogsView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *ServiceLogsView) GetRender() tview.Primitive + func (v *ServiceLogsView) Update(ctx context.Context) error + type ServicesOptions struct + ComputePool *sdk.AccountObjectIdentifier + Database *sdk.AccountObjectIdentifier + Schema *sdk.DatabaseObjectIdentifier + type ServicesView struct + func NewServicesView(connectionManager *snowflake.ConnectionManager, opts *ServicesOptions) *ServicesView + func (v *ServicesView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *ServicesView) GetRender() tview.Primitive + func (v *ServicesView) Update(ctx context.Context) error + type SnapshotsOptions struct + Database *sdk.AccountObjectIdentifier + Schema *sdk.DatabaseObjectIdentifier + type SnapshotsView struct + func NewSnapshotsView(connectionManager *snowflake.ConnectionManager, opts *SnapshotsOptions) *SnapshotsView + func (t *SnapshotsView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *SnapshotsView) GetRender() tview.Primitive + func (v *SnapshotsView) Update(ctx context.Context) error + type SnowflakeContext struct + Account string + AccountName string + Database string + OrganizationName string + Region string + Role string + Schema string + Warehouse string + func NewSnowflakeContext(cm *snowflake.ConnectionManager) *SnowflakeContext + func (s *SnowflakeContext) GetRender() *tview.Table + func (s *SnowflakeContext) Update(ctx context.Context) error + type StagesOptions struct + Database *string + Schema *string + type StagesView struct + func NewStagesView(connectionManager *snowflake.ConnectionManager, opts *StagesOptions) *StagesView + func (t *StagesView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *StagesView) GetRender() tview.Primitive + func (v *StagesView) Update(ctx context.Context) error + type Status struct + func NewStatus() *Status + func (s *Status) GetRender() *tview.TextView + func (s *Status) SetError(err error) + func (s *Status) SetMessage(message string) + type StreamlitsOptions struct + Database *sdk.AccountObjectIdentifier + Schema *sdk.DatabaseObjectIdentifier + type StreamlitsView struct + func NewStreamlitsView(connectionManager *snowflake.ConnectionManager, opts *StreamlitsOptions) *StreamlitsView + func (v *StreamlitsView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *StreamlitsView) GetRender() tview.Primitive + func (v *StreamlitsView) Update(ctx context.Context) error + type Table struct + Columns []string + Rows [][]string + Title string + type TablesOptions struct + type TablesView struct + func NewTablesView(connectionManager *snowflake.ConnectionManager, opts *TablesOptions) *TablesView + func (v *TablesView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *TablesView) GetRender() tview.Primitive + func (v *TablesView) Update(ctx context.Context) error + type UsersOptions struct + type UsersView struct + func NewUsersView(connectionManager *snowflake.ConnectionManager, opts *UsersOptions) *UsersView + func (t *UsersView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *UsersView) GetRender() tview.Primitive + func (v *UsersView) Update(ctx context.Context) error + type VersionsOptions struct + ApplicationPackage sdk.AccountObjectIdentifier + type VersionsView struct + func NewVersionsView(connectionManager *snowflake.ConnectionManager, opts *VersionsOptions) *VersionsView + func (v *VersionsView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *VersionsView) GetRender() tview.Primitive + func (v *VersionsView) Update(ctx context.Context) error + type ViewsOptions struct + type ViewsView struct + func NewViewsView(connectionManager *snowflake.ConnectionManager, opts *ViewsOptions) *ViewsView + func (v *ViewsView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *ViewsView) GetRender() tview.Primitive + func (v *ViewsView) Update(ctx context.Context) error + type WarehousesOptions struct + type WarehousesView struct + func NewWarehousesView(connectionManager *snowflake.ConnectionManager, opts *WarehousesOptions) *WarehousesView + func (t *WarehousesView) GetBindings(ctx context.Context, applicationState *ApplicationState) []*KeyBinding + func (v *WarehousesView) GetRender() tview.Primitive + func (v *WarehousesView) Update(ctx context.Context) error