Documentation
¶
Index ¶
Constants ¶
View Source
const SourceKind string = "serverless-spark"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Name string `yaml:"name" validate:"required"`
Kind string `yaml:"kind" validate:"required"`
Project string `yaml:"project" validate:"required"`
Location string `yaml:"location" validate:"required"`
}
func (Config) Initialize ¶
func (Config) SourceConfigKind ¶
type Source ¶
type Source struct {
Name string `yaml:"name"`
Kind string `yaml:"kind"`
Project string
Location string
Client *dataproc.BatchControllerClient
OpsClient *longrunning.OperationsClient
}
func (*Source) GetBatchControllerClient ¶
func (s *Source) GetBatchControllerClient() *dataproc.BatchControllerClient
func (*Source) GetOperationsClient ¶
func (s *Source) GetOperationsClient(ctx context.Context) (*longrunning.OperationsClient, error)
func (*Source) SourceKind ¶
Click to show internal directories.
Click to hide internal directories.