platform

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const PermissionEndpoint = "/access/api/v2/permissions"
View Source
const WorkersServiceEndpoint = "worker/api/v1/workers"

Variables

View Source
var Version = "1.0.0"

Functions

func NewGlobalRoleResource added in v1.4.0

func NewGlobalRoleResource() resource.Resource

func NewLicenseResource added in v1.2.0

func NewLicenseResource() resource.Resource

func NewPermissionResource added in v1.3.0

func NewPermissionResource() resource.Resource

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 PermissionAPIModel added in v1.3.0

type PermissionAPIModel struct {
	Name      string                                       `json:"name"`
	Resources map[string]*permissionActionsTargetsAPIModel `json:"resources"`
}

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