domain

package
v0.0.0-...-aa80995 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	appcontext.Component
	GetSecretByName(secret string, namespace string) (string, error)
	PostOrPUTSecret(method string, secret string, body []byte) error
	DeleteSecretK8S(secret string, namespace string) error
}

Repository interface

func GetRepository

func GetRepository() Repository

GetRepository func return Repository interface

type Secret

type Secret struct {
	Name        string            `json:"name"`
	Namespace   string            `json:"namespace"`
	Checksum    string            `json:"checksum"`
	Data        map[string]string `json:"data"`
	Labels      map[string]string `json:"labels"`
	Annotations map[string]string `json:"annotations"`
}

Secret struct

Jump to

Keyboard shortcuts

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