Documentation
¶
Index ¶
- func CheckForDataIngestToken(tokens Tokens) bool
- type Feature
- type Reader
- type Token
- type Tokens
- func (tokens Tokens) APIToken() *Token
- func (tokens Tokens) AddFeatureScopesToTokens() Tokens
- func (tokens Tokens) DataIngestToken() *Token
- func (tokens Tokens) PaasToken() *Token
- func (tokens Tokens) VerifyScopes(ctx context.Context, dtClient dtclient.Client, dk dynakube.DynaKube) (map[string]bool, error)
- func (tokens Tokens) VerifyValues() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckForDataIngestToken ¶ added in v1.4.0
Types ¶
type Feature ¶ added in v1.2.0
type Feature struct {
IsEnabled func(dk dynakube.DynaKube) bool
Name string
RequiredScopes []string
OptionalScopes []string
}
func (*Feature) CollectMissingRequiredScopes ¶ added in v1.7.0
type Tokens ¶
func (Tokens) AddFeatureScopesToTokens ¶ added in v1.2.0
func (Tokens) DataIngestToken ¶
func (Tokens) VerifyScopes ¶
func (Tokens) VerifyValues ¶
Click to show internal directories.
Click to hide internal directories.