kubernetes/staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/static_content.go

type staticCAContent

var _

// NewStaticCAContent returns a CAContentProvider that always returns the same value
func NewStaticCAContent(name string, caBundle []byte) (CAContentProvider, error) {}

// Name is just an identifier
func (c *staticCAContent) Name() string {}

func (c *staticCAContent) AddListener(Listener) {}

// CurrentCABundleContent provides ca bundle byte content
func (c *staticCAContent) CurrentCABundleContent() (cabundle []byte) {}

func (c *staticCAContent) VerifyOptions() (x509.VerifyOptions, bool) {}

type staticCertKeyContent

// NewStaticCertKeyContent returns a CertKeyContentProvider that always returns the same value
func NewStaticCertKeyContent(name string, cert, key []byte) (CertKeyContentProvider, error) {}

// Name is just an identifier
func (c *staticCertKeyContent) Name() string {}

func (c *staticCertKeyContent) AddListener(Listener) {}

// CurrentCertKeyContent provides cert and key content
func (c *staticCertKeyContent) CurrentCertKeyContent() ([]byte, []byte) {}

type staticSNICertKeyContent

// NewStaticSNICertKeyContent returns a SNICertKeyContentProvider that always returns the same value
func NewStaticSNICertKeyContent(name string, cert, key []byte, sniNames ...string) (SNICertKeyContentProvider, error) {}

func (c *staticSNICertKeyContent) SNINames() []string {}

func (c *staticSNICertKeyContent) AddListener(Listener) {}