Documentation ¶
Index ¶
- Constants
- Variables
- func NewGlobalRoleResource() resource.Resource
- func NewLicenseResource() resource.Resource
- func NewPermissionResource() resource.Resource
- func NewProvider() func() provider.Provider
- func NewReverseProxyResource() resource.Resource
- func NewWorkerServiceResource() resource.Resource
- type PermissionAPIModel
- 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 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 NewLicenseResource ¶ added in v1.2.0
func NewPermissionResource ¶ added in v1.3.0
func NewProvider ¶
func NewReverseProxyResource ¶ added in v1.0.2
Types ¶
type PermissionAPIModel ¶ added in v1.3.0
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.