pki

package
v1.73.5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KubernetsConfig

func KubernetsConfig(name string) go_hook.KubernetesConfig

Types

type CertModel

type CertModel struct {
	Cert string `json:"cert,omitempty"`
	Key  string `json:"key,omitempty"`
}

type Inputs

type Inputs = State

func InputsFromSnapshot

func InputsFromSnapshot(input *go_hook.HookInput, name string) (Inputs, error)

type Result

type Result struct {
	CA    pki.CertKey
	Token pki.CertKey
}

type State

type State struct {
	CA    *CertModel `json:"ca,omitempty"`
	Token *CertModel `json:"token,omitempty"`
}

func (*State) Process

func (state *State) Process(log go_hook.Logger) (Result, error)

Jump to

Keyboard shortcuts

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