Documentation ¶
Overview ¶
This API allows updating known workspace settings for advanced users.
Index ¶
- type GetStatus
- type WorkspaceConf
- type WorkspaceConfAPI
- func (a *WorkspaceConfAPI) GetStatus(ctx context.Context, request GetStatus) (*WorkspaceConf, error)
- func (a *WorkspaceConfAPI) Impl() WorkspaceConfService
- func (a *WorkspaceConfAPI) SetStatus(ctx context.Context, request WorkspaceConf) error
- func (a *WorkspaceConfAPI) WithImpl(impl WorkspaceConfService) *WorkspaceConfAPI
- type WorkspaceConfService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetStatus ¶
type GetStatus struct {
Keys string `json:"-" url:"keys"`
}
Check configuration status
type WorkspaceConf ¶
type WorkspaceConfAPI ¶
type WorkspaceConfAPI struct {
// contains filtered or unexported fields
}
This API allows updating known workspace settings for advanced users.
func NewWorkspaceConf ¶
func NewWorkspaceConf(client *client.DatabricksClient) *WorkspaceConfAPI
func (*WorkspaceConfAPI) GetStatus ¶
func (a *WorkspaceConfAPI) GetStatus(ctx context.Context, request GetStatus) (*WorkspaceConf, error)
Check configuration status.
Gets the configuration status for a workspace.
func (*WorkspaceConfAPI) Impl ¶
func (a *WorkspaceConfAPI) Impl() WorkspaceConfService
Impl returns low-level WorkspaceConf API implementation
func (*WorkspaceConfAPI) SetStatus ¶
func (a *WorkspaceConfAPI) SetStatus(ctx context.Context, request WorkspaceConf) error
Enable/disable features.
Sets the configuration status for a workspace, including enabling or disabling it.
func (*WorkspaceConfAPI) WithImpl ¶
func (a *WorkspaceConfAPI) WithImpl(impl WorkspaceConfService) *WorkspaceConfAPI
WithImpl could be used to override low-level API implementations for unit testing purposes with github.com/golang/mock or other mocking frameworks.
type WorkspaceConfService ¶
type WorkspaceConfService interface { // Check configuration status. // // Gets the configuration status for a workspace. GetStatus(ctx context.Context, request GetStatus) (*WorkspaceConf, error) // Enable/disable features. // // Sets the configuration status for a workspace, including enabling or // disabling it. SetStatus(ctx context.Context, request WorkspaceConf) error }
This API allows updating known workspace settings for advanced users.
Click to show internal directories.
Click to hide internal directories.