Documentation ¶
Index ¶
- Constants
- Variables
- func NewProvider() func() provider.Provider
- func NewReverseProxyResource() resource.Resource
- func NewWorkerServiceResource() resource.Resource
- type PlatformProvider
- func (p *PlatformProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *PlatformProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *PlatformProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *PlatformProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *PlatformProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type WorkersServiceAPIModel
Constants ¶
View Source
const WorkersServiceEndpoint = "worker/api/v1/workers"
Variables ¶
View Source
var Version = "0.0.1"
Functions ¶
func NewProvider ¶
func NewReverseProxyResource ¶ added in v1.0.2
Types ¶
type PlatformProvider ¶
type PlatformProvider struct {
Meta util.ProvderMetadata
}
func (*PlatformProvider) Configure ¶
func (p *PlatformProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*PlatformProvider) DataSources ¶
func (p *PlatformProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*PlatformProvider) Metadata ¶
func (p *PlatformProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*PlatformProvider) Resources ¶
func (p *PlatformProvider) Resources(ctx context.Context) []func() resource.Resource
func (*PlatformProvider) Schema ¶
func (p *PlatformProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type WorkersServiceAPIModel ¶
type WorkersServiceAPIModel struct { Key string `json:"key"` Description string `json:"description"` SourceCode string `json:"sourceCode"` Action string `json:"action"` FilterCriteria filterCriteriaAPIModel `json:"filterCriteria"` Enabled bool `json:"enabled"` Secrets []secretAPIModel `json:"secrets"` }
Click to show internal directories.
Click to hide internal directories.