Documentation
¶
Index ¶
- func Name[T withObjectMeta](name string) func(*T)
- func Namespace[T withObjectMeta](namespace string) func(*T)
- func NewProviderConfigHealth(opts ...ProviderConfigHealthOption) *apisv1.ProviderConfigHealth
- func ProviderConfig(opts ...func(*apisv1.ProviderConfig)) *apisv1.ProviderConfig
- func Secret(opts ...func(*corev1.Secret)) *corev1.Secret
- func SecretRef(name, ns, key string) xpv1.CommonCredentialSelectors
- func TestLogger(t *testing.T) logging.Logger
- func Uid[T withObjectMeta](uid types.UID) func(*T)
- func WithKey(key, value string) func(*corev1.Secret)
- func WithProviderConfigHealth(health *apisv1.ProviderConfigHealth) func(*apisv1.ProviderConfig)
- func WithProviderConfigSpec(url string, username xpv1.CommonCredentialSelectors, ...) func(*apisv1.ProviderConfig)
- type ProviderConfigHealthOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProviderConfigHealth ¶
func NewProviderConfigHealth(opts ...ProviderConfigHealthOption) *apisv1.ProviderConfigHealth
func ProviderConfig ¶
func ProviderConfig(opts ...func(*apisv1.ProviderConfig)) *apisv1.ProviderConfig
func SecretRef ¶
func SecretRef(name, ns, key string) xpv1.CommonCredentialSelectors
func WithProviderConfigHealth ¶
func WithProviderConfigHealth(health *apisv1.ProviderConfigHealth) func(*apisv1.ProviderConfig)
func WithProviderConfigSpec ¶
func WithProviderConfigSpec(url string, username xpv1.CommonCredentialSelectors, password xpv1.CommonCredentialSelectors, source xpv1.CredentialsSource, ) func(*apisv1.ProviderConfig)
Types ¶
type ProviderConfigHealthOption ¶
type ProviderConfigHealthOption func(*apisv1.ProviderConfigHealth)
func HealthLastCheckTime ¶
func HealthLastCheckTime(t time.Time) ProviderConfigHealthOption
func HealthLastMessage ¶
func HealthLastMessage(message string) ProviderConfigHealthOption
func HealthLastStatus ¶
func HealthLastStatus(status bool) ProviderConfigHealthOption
Click to show internal directories.
Click to hide internal directories.