Documentation ¶
Index ¶
Constants ¶
View Source
const ProviderName = "config"
ProviderName .
Variables ¶
View Source
var Package = runtime.Must(cuexruntime.NewInternalPackage(ProviderName, template, map[string]cuexruntime.ProviderFn{ "image-registry": cuexruntime.GenericProviderFn[ImageRegistryParams, ValidationReturns](ImageRegistry), "helm-repository": cuexruntime.GenericProviderFn[HelmRepositoryParams, ValidationReturns](HelmRepository), }))
Package .
Functions ¶
This section is empty.
Types ¶
type HelmRepositoryParams ¶
type HelmRepositoryParams providers.Params[HelmRepositoryVars]
HelmRepositoryParams is the params for helm repository
type HelmRepositoryVars ¶
type HelmRepositoryVars struct { URL string `json:"url"` Username string `json:"username"` Password string `json:"password"` CAFile string `json:"caFile"` }
HelmRepositoryVars is the vars for helm repository validation
type ImageRegistryParams ¶
type ImageRegistryParams providers.Params[ImageRegistryVars]
ImageRegistryParams is the params for image registry
type ImageRegistryVars ¶
type ImageRegistryVars struct { Registry string `json:"registry"` Auth struct { Username string `json:"username"` Password string `json:"password"` Email string `json:"email"` } `json:"auth"` Insecure bool `json:"insecure"` UseHTTP bool `json:"useHTTP"` }
ImageRegistryVars is the vars for image registry validation
type ResponseVars ¶
ResponseVars is the returns for resource
type ValidationReturns ¶
type ValidationReturns providers.Returns[ResponseVars]
ValidationReturns returned struct for http response
func HelmRepository ¶
func HelmRepository(ctx context.Context, validationParams *HelmRepositoryParams) (*ValidationReturns, error)
HelmRepository .
func ImageRegistry ¶
func ImageRegistry(ctx context.Context, validationParams *ImageRegistryParams) (*ValidationReturns, error)
ImageRegistry .
Click to show internal directories.
Click to hide internal directories.