Documentation ¶
Index ¶
- func BuildClients(clientConfig clientcmd.ClientConfig, disableLoadSecrets bool) (corev1.CoreV1Interface, ssClient.BitnamiV1alpha1Interface, error)
- func NegotiateFormat(c *gin.Context) (string, string, bool)
- func Sanitize(value string) string
- type Handler
- func (h *Handler) Certificate(c *gin.Context)
- func (h *Handler) Dencode(c *gin.Context)
- func (h *Handler) Health(c *gin.Context)
- func (h *Handler) Index(c *gin.Context)
- func (h *Handler) KubeSeal(c *gin.Context)
- func (h *Handler) Raw(c *gin.Context)
- func (h *Handler) RedirectToIndex(context string) func(ctx *gin.Context)
- func (h *Handler) Validate(c *gin.Context)
- func (h *Handler) Version(c *gin.Context)
- type Secret
- type SecretsHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildClients ¶
func BuildClients(clientConfig clientcmd.ClientConfig, disableLoadSecrets bool) (corev1.CoreV1Interface, ssClient.BitnamiV1alpha1Interface, error)
BuildClients build the k82 clients
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) Certificate ¶
func (*Handler) RedirectToIndex ¶
type SecretsHandler ¶
type SecretsHandler struct {
// contains filtered or unexported fields
}
SecretsHandler handles our secrets operations.
func NewHandler ¶
func NewHandler(coreClient corev1.CoreV1Interface, ssCl ssClient.BitnamiV1alpha1Interface, cfg *config.Config) *SecretsHandler
NewHandler creates a new secret handler.
func (*SecretsHandler) AllSecrets ¶
func (h *SecretsHandler) AllSecrets(c *gin.Context)
func (*SecretsHandler) Secret ¶
func (h *SecretsHandler) Secret(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.