Documentation
¶
Overview ¶
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Index ¶
- Constants
- type Helper
- func (h *Helper) DeleteIssuer(ns string) error
- func (h *Helper) DeleteProxy(ns string) error
- func (h *Helper) DeployIssuer(ns string) (*util.KeyBundle, string, error)
- func (h *Helper) DeployProxy(ns *corev1.Namespace, issuerURL, clientID string, ...) (*util.KeyBundle, string, error)
- func (h *Helper) GetServiceAccountSecret(ns, name string) (*corev1.Secret, error)
- func (h *Helper) Kubectl(ns string) *Kubectl
- func (h *Helper) NewRequester(transport http.RoundTripper, token string) *Requester
- func (h *Helper) NewTokenPayload(issuerURL, clientID string, exp time.Time) []byte
- func (h *Helper) NewValidRestConfig(issuerBundle, proxyBundle *util.KeyBundle, ...) (*rest.Config, error)
- func (h *Helper) SignToken(issuerBundle *util.KeyBundle, tokenPayload []byte) (string, error)
- func (h *Helper) WaitForPodDeletion(namespace, name string, timeout time.Duration) error
- func (h *Helper) WaitForPodReady(namespace, name string, timeout time.Duration) error
- type Kubectl
- type Requester
Constants ¶
View Source
const ( IssuerName = "oidc-issuer-e2e" ProxyName = "kube-oidc-proxy-e2e" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helper ¶
type Helper struct {
KubeClient kubernetes.Interface
// contains filtered or unexported fields
}
Helper provides methods for common operations needed during tests.
func (*Helper) DeleteIssuer ¶
func (*Helper) DeleteProxy ¶
func (*Helper) DeployIssuer ¶
func (*Helper) DeployProxy ¶
func (*Helper) GetServiceAccountSecret ¶
func (*Helper) NewRequester ¶
func (h *Helper) NewRequester(transport http.RoundTripper, token string) *Requester
func (*Helper) NewTokenPayload ¶
func (*Helper) NewValidRestConfig ¶
func (*Helper) WaitForPodDeletion ¶
type Kubectl ¶
type Kubectl struct {
// contains filtered or unexported fields
}
func (*Kubectl) DescribeResource ¶
Click to show internal directories.
Click to hide internal directories.