cftypes

package
v0.0.0-...-d6bbe04 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingClientIDKey               = errors.New("missing clientIDKey field in secret data")
	ErrMissingClientSecretKey           = errors.New("missing clientSecretKey field in secret data")
	ErrMissingTokenIDKey                = errors.New("missing TokenID field in secret data")
	ErrMissingAnnotationClientIDKey     = errors.New("missing clientIDKey annotation in secret")
	ErrMissingAnnotationClientSecretKey = errors.New("missing clientSecretKey annotation in secret")
	ErrMissingAnnotationTokenIDKey      = errors.New("missing TokenID annotation in secret")
)

Functions

This section is empty.

Types

type ExtendedServiceToken

type ExtendedServiceToken struct {
	cloudflare.AccessServiceToken
	ClientSecret string
	K8sSecretRef struct {
		ClientIDKey     string
		ClientSecretKey string
		SecretName      string
	}
}

func (*ExtendedServiceToken) SetSecretReference

func (s *ExtendedServiceToken) SetSecretReference(clientIDKey, clientSecretKey string, secret corev1.Secret)

depricated.

func (*ExtendedServiceToken) SetSecretValues

func (s *ExtendedServiceToken) SetSecretValues(secret corev1.Secret) error

Jump to

Keyboard shortcuts

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