myjfrog

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "1.0.0"

Functions

func IPCIDR

func IPCIDR() ipCIDRValidator

func NewCustomDomainNameResource

func NewCustomDomainNameResource() resource.Resource

func NewIPAllowListResource

func NewIPAllowListResource() resource.Resource

func NewProvider

func NewProvider() func() provider.Provider

Types

type AllowlistConflictErrorResponse

type AllowlistConflictErrorResponse struct {
	Status string   `json:"status"`
	Errors []string `json:"errors"`
}

func (AllowlistConflictErrorResponse) Error

type AllowlistError

type AllowlistError struct {
	Message string   `json:"message"`
	Details []string `json:"details"`
}

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 (*MyJFrogProvider) DataSources

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

func (*MyJFrogProvider) Metadata

func (*MyJFrogProvider) Resources

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

func (*MyJFrogProvider) Schema

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

Jump to

Keyboard shortcuts

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