resourcemanager

package
v0.0.0-...-6806e21 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SuccessMsg string = "successfully provisioned"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ARMClient

type ARMClient interface {
	Ensure(context.Context, runtime.Object, ...ConfigOption) (bool, error)
	Delete(context.Context, runtime.Object, ...ConfigOption) (bool, error)
	GetParents(runtime.Object) ([]KubeParent, error)
	GetStatus(obj runtime.Object) (*v1alpha1.ASOStatus, error)
}

type ConfigOption

type ConfigOption func(*Options)

ConfigOption wraps a function that sets a value in the options struct

func WithSecretClient

func WithSecretClient(secretClient secrets.SecretClient) ConfigOption

WithSecretClient can be used to pass in a KeyVault SecretClient

type KubeParent

type KubeParent struct {
	Key    types.NamespacedName
	Target client.Object
}

type Options

type Options struct {
	SecretClient secrets.SecretClient
}

Options contains the inputs available for passing to Ensure optionally

Jump to

Keyboard shortcuts

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