Documentation ¶
Index ¶
- Variables
- func DecodeStruct[T any](input interface{}) (*T, error)
- func DeepCopy[T any](in *T) *T
- func DeepCopyInto[T any](out, in *T)
- func LoadClientMTLSConfig(certs *v1beta1.MTLSSpec) (*tls.Config, error)
- func LoadServingCertBundle(certsSpec v1beta1.CertsSpec) (*tls.Certificate, *x509.CertPool, error)
- func Must[T any](t T, err ...error) T
- func NewK8sClient(options ClientOptions) (client.Client, error)
- func NewProtocolListener(addr string) (net.Listener, error)
- func ParsePEMEncodedCert(data []byte) (*x509.Certificate, error)
- func ParsePEMEncodedCertChain(chain []byte) ([]*x509.Certificate, error)
- func Pointer[T any](t T) *T
- type ClientOptions
- type DelimiterCodec
- type Future
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedProtocolScheme = errors.New("unsupported protocol scheme")
Functions ¶
func DecodeStruct ¶
func DeepCopyInto ¶
func DeepCopyInto[T any](out, in *T)
func LoadServingCertBundle ¶
func NewK8sClient ¶
func NewK8sClient(options ClientOptions) (client.Client, error)
func ParsePEMEncodedCert ¶
func ParsePEMEncodedCert(data []byte) (*x509.Certificate, error)
func ParsePEMEncodedCertChain ¶
func ParsePEMEncodedCertChain(chain []byte) ([]*x509.Certificate, error)
Types ¶
type ClientOptions ¶
type DelimiterCodec ¶
type DelimiterCodec struct {
// contains filtered or unexported fields
}
Implements rbac.Codec
func NewDelimiterCodec ¶
func NewDelimiterCodec(key string, delimiter string) DelimiterCodec
func (DelimiterCodec) Decode ¶
func (d DelimiterCodec) Decode(s string) []string
func (DelimiterCodec) Encode ¶
func (d DelimiterCodec) Encode(ids []string) string
func (DelimiterCodec) Key ¶
func (d DelimiterCodec) Key() string
Click to show internal directories.
Click to hide internal directories.