Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DigestValidator ¶
type DigestValidator struct{}
DigestValidator is a string validator that checks that the string is valid OCI reference by digest.
func (DigestValidator) Description ¶
func (v DigestValidator) Description(context.Context) string
func (DigestValidator) MarkdownDescription ¶
func (v DigestValidator) MarkdownDescription(ctx context.Context) string
func (DigestValidator) ValidateString ¶
func (v DigestValidator) ValidateString(_ context.Context, req validator.StringRequest, resp *validator.StringResponse)
type JSONValidator ¶
type JSONValidator struct{}
JSONValidator is a string validator that checks that the string is valid JSON.
func (JSONValidator) Description ¶
func (v JSONValidator) Description(context.Context) string
func (JSONValidator) MarkdownDescription ¶
func (v JSONValidator) MarkdownDescription(ctx context.Context) string
func (JSONValidator) ValidateString ¶
func (v JSONValidator) ValidateString(_ context.Context, req validator.StringRequest, resp *validator.StringResponse)
type RefValidator ¶
type RefValidator struct{}
RefValidator is a string validator that checks that the string is a valid OCI reference.
func (RefValidator) Description ¶
func (v RefValidator) Description(context.Context) string
func (RefValidator) MarkdownDescription ¶
func (v RefValidator) MarkdownDescription(ctx context.Context) string
func (RefValidator) ValidateString ¶
func (v RefValidator) ValidateString(_ context.Context, req validator.StringRequest, resp *validator.StringResponse)
type RepoValidator ¶
type RepoValidator struct{}
func (RepoValidator) Description ¶
func (v RepoValidator) Description(context.Context) string
func (RepoValidator) MarkdownDescription ¶
func (v RepoValidator) MarkdownDescription(ctx context.Context) string
func (RepoValidator) ValidateString ¶
func (v RepoValidator) ValidateString(_ context.Context, req validator.StringRequest, resp *validator.StringResponse)
type TagValidator ¶
type TagValidator struct{}
TagValidator is a string validator that checks that the string is valid OCI reference by digest.
func (TagValidator) Description ¶
func (v TagValidator) Description(context.Context) string
func (TagValidator) MarkdownDescription ¶
func (v TagValidator) MarkdownDescription(ctx context.Context) string
func (TagValidator) ValidateString ¶
func (v TagValidator) ValidateString(_ context.Context, req validator.StringRequest, resp *validator.StringResponse)
type URLValidator ¶
type URLValidator struct{}
URLValidator is a string validator that checks that the string is a valid URL.
func (URLValidator) Description ¶
func (v URLValidator) Description(context.Context) string
func (URLValidator) MarkdownDescription ¶
func (v URLValidator) MarkdownDescription(ctx context.Context) string
func (URLValidator) ValidateString ¶
func (v URLValidator) ValidateString(_ context.Context, req validator.StringRequest, resp *validator.StringResponse)
Click to show internal directories.
Click to hide internal directories.