Documentation ¶
Index ¶
- Variables
- func FromAnon(b *bool) types.String
- func GetAnon(str types.String) *bool
- func New(version string) func() provider.Provider
- func NewChallengeDataSource() datasource.DataSource
- func NewChallengeResource() resource.Resource
- func NewFileResource() resource.Resource
- func NewFlagResource() resource.Resource
- func NewHintResource() resource.Resource
- func NewTeamDataSource() datasource.DataSource
- func NewTeamResource() resource.Resource
- func NewUserDataSource() datasource.DataSource
- func NewUserResource() resource.Resource
- type CTFdProvider
- func (p *CTFdProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *CTFdProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *CTFdProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *CTFdProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *CTFdProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type CTFdProviderModel
- type RequirementsSubresourceModel
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BehaviorHidden = types.StringValue("hidden") BehaviorAnonymized = types.StringValue("anonymized") FunctionLinear = types.StringValue("linear") FunctionLogarithmic = types.StringValue("logarithmic") )
Functions ¶
func NewChallengeDataSource ¶
func NewChallengeDataSource() datasource.DataSource
func NewChallengeResource ¶
func NewFileResource ¶ added in v1.0.0
func NewFlagResource ¶ added in v1.0.0
func NewHintResource ¶ added in v1.0.0
func NewTeamDataSource ¶
func NewTeamDataSource() datasource.DataSource
func NewTeamResource ¶
func NewUserDataSource ¶
func NewUserDataSource() datasource.DataSource
func NewUserResource ¶
Types ¶
type CTFdProvider ¶
type CTFdProvider struct {
// contains filtered or unexported fields
}
func (*CTFdProvider) Configure ¶
func (p *CTFdProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*CTFdProvider) DataSources ¶
func (p *CTFdProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*CTFdProvider) Metadata ¶
func (p *CTFdProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*CTFdProvider) Resources ¶
func (p *CTFdProvider) Resources(ctx context.Context) []func() resource.Resource
func (*CTFdProvider) Schema ¶
func (p *CTFdProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type CTFdProviderModel ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.