Documentation ¶
Index ¶
- Constants
- type Config
- type Plugin
- func (p Plugin) Create(ctx context.Context, tCtx webapi.TaskExecutionContextReader) (resourceMeta webapi.ResourceMeta, resource webapi.Resource, err error)
- func (p Plugin) Delete(ctx context.Context, tCtx webapi.DeleteContext) error
- func (p Plugin) Get(ctx context.Context, tCtx webapi.GetContext) (latest webapi.Resource, err error)
- func (p Plugin) GetConfig() webapi.PluginConfig
- func (p Plugin) ResourceRequirements(_ context.Context, _ webapi.TaskExecutionContextReader) (namespace core.ResourceNamespace, constraints core.ResourceConstraintsSpec, ...)
- func (p Plugin) Status(ctx context.Context, tCtx webapi.StatusContext) (phase core.PhaseInfo, err error)
- type QueryInfo
- type ResourceWrapper
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { WebAPI webapi.PluginConfig `json:"webApi" pflag:",Defines config for the base WebAPI plugin."` ResourceConstraints core.ResourceConstraintsSpec `` /* 141-byte string literal not displayed */ DefaultWorkGroup string `json:"defaultWorkGroup" pflag:",Defines the default workgroup to use when running on Athena unless overwritten by the task."` DefaultCatalog string `json:"defaultCatalog" pflag:",Defines the default catalog to use when running on Athena unless overwritten by the task."` }
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (Plugin) Create ¶
func (p Plugin) Create(ctx context.Context, tCtx webapi.TaskExecutionContextReader) (resourceMeta webapi.ResourceMeta, resource webapi.Resource, err error)
func (Plugin) GetConfig ¶
func (p Plugin) GetConfig() webapi.PluginConfig
func (Plugin) ResourceRequirements ¶
func (p Plugin) ResourceRequirements(_ context.Context, _ webapi.TaskExecutionContextReader) ( namespace core.ResourceNamespace, constraints core.ResourceConstraintsSpec, err error)
type ResourceWrapper ¶
type ResourceWrapper struct { Status *athenaTypes.QueryExecutionStatus ResultsConfiguration *athenaTypes.ResultConfiguration }
Click to show internal directories.
Click to hide internal directories.