platform

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const WorkersServiceEndpoint = "worker/api/v1/workers"

Variables

View Source
var Version = "0.0.1"

Functions

func NewProvider

func NewProvider() func() provider.Provider

func NewReverseProxyResource added in v1.0.2

func NewReverseProxyResource() resource.Resource

func NewWorkerServiceResource

func NewWorkerServiceResource() resource.Resource

Types

type PlatformProvider

type PlatformProvider struct {
	Meta util.ProvderMetadata
}

func (*PlatformProvider) Configure

func (*PlatformProvider) DataSources

func (p *PlatformProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*PlatformProvider) Metadata

func (*PlatformProvider) Resources

func (p *PlatformProvider) Resources(ctx context.Context) []func() resource.Resource

func (*PlatformProvider) Schema

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL