v1

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Group   = "token.kubevirt.io"
	Version = "v1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TLSProtocolVersion

type TLSProtocolVersion string

TLSProtocolVersion is a way to specify the protocol version used for TLS connections.

const (
	// VersionTLS10 is version 1.0 of the TLS security protocol.
	VersionTLS10 TLSProtocolVersion = "VersionTLS10"
	// VersionTLS11 is version 1.1 of the TLS security protocol.
	VersionTLS11 TLSProtocolVersion = "VersionTLS11"
	// VersionTLS12 is version 1.2 of the TLS security protocol.
	VersionTLS12 TLSProtocolVersion = "VersionTLS12"
	// VersionTLS13 is version 1.3 of the TLS security protocol.
	VersionTLS13 TLSProtocolVersion = "VersionTLS13"
)

type TlsProfile

type TlsProfile struct {
	Ciphers       []string           `json:"ciphers,omitempty"`
	MinTLSVersion TLSProtocolVersion `json:"minTLSVersion,omitempty"`
}

TlsProfile is the TLS configuration for the proxy.

type TokenResponse

type TokenResponse struct {
	Token               string      `json:"token"`
	ExpirationTimestamp metav1.Time `json:"expirationTimestamp"`
}

TokenResponse is the response object from /token endpoint.

Jump to

Keyboard shortcuts

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