Documentation ¶
Overview ¶
Package githubupstreamwatcher implements a controller which watches GitHubIdentityProviders.
Index ¶
Constants ¶
View Source
const ( HostValid string = "HostValid" TLSConfigurationValid string = "TLSConfigurationValid" OrganizationsPolicyValid string = "OrganizationsPolicyValid" ClientCredentialsSecretValid string = "ClientCredentialsSecretValid" //nolint:gosec // this is not a credential GitHubConnectionValid string = "GitHubConnectionValid" ClaimsValid string = "ClaimsValid" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( namespace string, idpCache UpstreamGitHubIdentityProviderICache, client supervisorclientset.Interface, gitHubIdentityProviderInformer idpinformers.GitHubIdentityProviderInformer, secretInformer corev1informers.SecretInformer, log plog.Logger, withInformer pinnipedcontroller.WithInformerOptionFunc, clock clock.Clock, dialFunc func(network, addr string, config *tls.Config) (*tls.Conn, error), ) controllerlib.Controller
New instantiates a new controllerlib.Controller which will populate the provided UpstreamGitHubIdentityProviderICache.
Types ¶
type UpstreamGitHubIdentityProviderICache ¶
type UpstreamGitHubIdentityProviderICache interface {
SetGitHubIdentityProviders([]upstreamprovider.UpstreamGithubIdentityProviderI)
}
UpstreamGitHubIdentityProviderICache is a thread safe cache that holds a list of validated upstream GitHub IDP configurations.
Click to show internal directories.
Click to hide internal directories.