Documentation ¶
Index ¶
- Variables
- func IPCIDR() ipCIDRValidator
- func NewCustomDomainNameResource() resource.Resource
- func NewIPAllowListResource() resource.Resource
- func NewProvider() func() provider.Provider
- type AllowlistConflictErrorResponse
- type AllowlistError
- type AllowlistErrorResponse
- type MyJFrogProvider
- func (p *MyJFrogProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *MyJFrogProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *MyJFrogProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *MyJFrogProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *MyJFrogProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type MyJFrogResponseAPIModel
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "1.0.0"
Functions ¶
func NewIPAllowListResource ¶
func NewProvider ¶
Types ¶
type AllowlistConflictErrorResponse ¶
type AllowlistConflictErrorResponse struct { Status string `json:"status"` Errors []string `json:"errors"` }
func (AllowlistConflictErrorResponse) Error ¶
func (r AllowlistConflictErrorResponse) Error() string
type AllowlistError ¶
type AllowlistErrorResponse ¶
type AllowlistErrorResponse struct { Status string `json:"status"` Message string `json:"message"` Errors []AllowlistError `json:"errors"` }
func (AllowlistErrorResponse) Error ¶
func (r AllowlistErrorResponse) Error() string
type MyJFrogProvider ¶
type MyJFrogProvider struct {
Meta util.ProviderMetadata
}
func (*MyJFrogProvider) Configure ¶
func (p *MyJFrogProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*MyJFrogProvider) DataSources ¶
func (p *MyJFrogProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*MyJFrogProvider) Metadata ¶
func (p *MyJFrogProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*MyJFrogProvider) Resources ¶
func (p *MyJFrogProvider) Resources(ctx context.Context) []func() resource.Resource
func (*MyJFrogProvider) Schema ¶
func (p *MyJFrogProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type MyJFrogResponseAPIModel ¶
type MyJFrogResponseAPIModel struct { Status string `json:"status"` StatusCode int64 `json:"statusCode"` Errors []string `json:"errors"` }
func (MyJFrogResponseAPIModel) Error ¶
func (m MyJFrogResponseAPIModel) Error() string
Click to show internal directories.
Click to hide internal directories.