marshal

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const SEALED_SECRET_EXTRA_CONFIG_KEY = "kubeseal-config"

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonMarshaller

type JsonMarshaller struct {
}

func NewJsonMarshaller

func NewJsonMarshaller() *JsonMarshaller

func (*JsonMarshaller) Marshal

func (*JsonMarshaller) Marshal(config core.Config, items []interface{}) (bool, []byte, error)

type KubernetesResourceList

type KubernetesResourceList[T interface{}] struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []T `json:"items"`
}

type KubesealConfig

type KubesealConfig struct {
	CertURL        string
	ControllerNs   string
	ControllerName string
	Kubeconfig     string
	AllowEmptyData bool
	SealingScope   ssv1.SealingScope

	ConfigOverrides clientcmd.ConfigOverrides
}

type SealedSecretMarshaller

type SealedSecretMarshaller struct {
}

func NewSealedSecretMarshaller

func NewSealedSecretMarshaller() *SealedSecretMarshaller

func (*SealedSecretMarshaller) Marshal

func (sealedSecretsMarshaller *SealedSecretMarshaller) Marshal(config core.Config, items []interface{}) (bool, []byte, error)

type YamlMarshaller

type YamlMarshaller struct {
}

func NewYamlMarshaller

func NewYamlMarshaller() *YamlMarshaller

func (*YamlMarshaller) Marshal

func (*YamlMarshaller) Marshal(config core.Config, items []interface{}) (bool, []byte, error)

Jump to

Keyboard shortcuts

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