Documentation
¶
Index ¶
- func Initialise(controller *internalclient.Controller, currentNamespace string, ...) func()
- func RedeemAccessToken(token *skupperv2alpha1.AccessToken, site *skupperv2alpha1.Site, ...) error
- type AutoConfigure
- type CertToken
- type ClaimToken
- type GrantConfig
- type GrantResponse
- type Grants
- type GrantsDisabled
- type GrantsEnabled
- type HttpError
- type LinkDecoder
- type NamespaceFilter
- type Server
- type Token
- type TokenGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialise ¶
func Initialise(controller *internalclient.Controller, currentNamespace string, watchNamespace string, config *GrantConfig, generator GrantResponse, filter NamespaceFilter) func()
func RedeemAccessToken ¶
func RedeemAccessToken(token *skupperv2alpha1.AccessToken, site *skupperv2alpha1.Site, clients internalclient.Clients) error
Types ¶
type AutoConfigure ¶
type AutoConfigure struct {
// contains filtered or unexported fields
}
type ClaimToken ¶
type ClaimToken struct { }
type GrantConfig ¶
type GrantConfig struct { Enabled bool AutoConfigure bool BaseUrl string Port int TlsCredentialsSecret string Hostname string }
func BoundGrantConfig ¶
func BoundGrantConfig(flags *flag.FlagSet) (*GrantConfig, error)
type GrantResponse ¶
type GrantsDisabled ¶
type GrantsDisabled struct {
// contains filtered or unexported fields
}
type GrantsEnabled ¶
type GrantsEnabled struct {
// contains filtered or unexported fields
}
func (*GrantsEnabled) Start ¶
func (c *GrantsEnabled) Start()
type LinkDecoder ¶
type LinkDecoder struct {
// contains filtered or unexported fields
}
type NamespaceFilter ¶
type TokenGenerator ¶
type TokenGenerator struct {
// contains filtered or unexported fields
}
func NewTokenGenerator ¶
func NewTokenGenerator(site *skupperv2alpha1.Site, clients internalclient.Clients) (*TokenGenerator, error)
func (*TokenGenerator) NewCertToken ¶
func (g *TokenGenerator) NewCertToken(name string, subject string) Token
Click to show internal directories.
Click to hide internal directories.