core

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCommandSecrets

func HandleCommandSecrets(w http.ResponseWriter, r *http.Request, req *SecretRequest)

func HandleSecrets

func HandleSecrets(w http.ResponseWriter, r *http.Request)

func IsAuthorizedJWT

func IsAuthorizedJWT(cid string, r *http.Request) bool

Types

type SecretRequest

type SecretRequest struct {
	Workloads          []string `json:"workload"`
	Secret             string   `json:"secret"`
	Namespaces         []string `json:"namespaces,omitempty"`
	Encrypt            bool     `json:"encrypt,omitempty"`
	Delete             bool     `json:"delete,omitempty"`
	Append             bool     `json:"append,omitempty"`
	List               bool     `json:"list,omitempty"`
	Template           string   `json:"template,omitempty"`
	Format             string   `json:"format,omitempty"`
	BackingStore       string   `json:"store,omitempty"`
	SerializedRootKeys string   `json:"root-keys,omitempty"`
	NotBefore          string   `json:"nbf,omitempty"`
	Expires            string   `json:"exp,omitempty"`
}

type TokenIntrospectionResponse

type TokenIntrospectionResponse struct {
	Active bool `json:"active"`
}

Jump to

Keyboard shortcuts

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