Documentation ¶
Index ¶
- Constants
- func CreateStartupProbe(dogu *core.Dogu) *corev1.Probe
- func GetAppLabel() k8sv1.CesMatchingLabels
- func GetKeyProvider(registry registry.Registry) (*keys.KeyProvider, error)
- func GetPublicKey(registry registry.Registry, dogu string) (*keys.PublicKey, error)
- func NewCollectApplier(applier internal.Applier) *collectApplier
- func NewDoguSecretsWriter(client client.Client, registry registry.Registry) *doguSecretWriter
- func NewResourceGenerator(scheme *runtime.Scheme, limitPatcher internal.LimitPatcher) *resourceGenerator
- func NewUpserter(client client.Client, limitPatcher internal.LimitPatcher) *upserter
Constants ¶
View Source
const (
DoguReservedPath = "/tmp/dogu-reserved"
)
Variables ¶
This section is empty.
Functions ¶
func GetAppLabel ¶ added in v0.14.0
func GetAppLabel() k8sv1.CesMatchingLabels
GetAppLabel returns an app label which all CES resource may receive for general selection.
func GetKeyProvider ¶ added in v0.5.0
func GetKeyProvider(registry registry.Registry) (*keys.KeyProvider, error)
GetKeyProvider returns the key provider from the global configuration.
func GetPublicKey ¶ added in v0.5.0
GetPublicKey returns the public key from the dogu configuration.
func NewCollectApplier ¶ added in v0.12.0
NewCollectApplier creates a K8s resource applier that filters and collects deployment resources for a later, customized application.
func NewDoguSecretsWriter ¶ added in v0.5.0
NewDoguSecretsWriter creates a new instance of doguSecretWriter to save key value pairs from secrets to the dogu config
func NewResourceGenerator ¶
func NewResourceGenerator(scheme *runtime.Scheme, limitPatcher internal.LimitPatcher) *resourceGenerator
NewResourceGenerator creates a new generator for k8s resources
func NewUpserter ¶ added in v0.12.0
func NewUpserter(client client.Client, limitPatcher internal.LimitPatcher) *upserter
NewUpserter creates a new upserter that generates dogu resources and applies them to the cluster.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.