Documentation ¶
Index ¶
- func DefaultOCIConfigGetter(ctx context.Context, opts types.IngressOpts, client kubernetes.Interface) *defaultOCIConfigGetter
- func GetConfigurationProvider(ctx context.Context, opts types.IngressOpts, client kubernetes.Interface) (common.ConfigurationProvider, error)
- func NewWorkloadIdentityConfigGetter(saTokenProvider *ServiceAccountTokenProvider, rptPath string) *workloadIdentityConfigGetter
- func ParseAuthConfig(secret *v1.Secret, authConfigSecretName string) (*types.AuthConfig, error)
- func RetrieveAuthConfig(ctx context.Context, opts types.IngressOpts, namespace string, ...) (*types.Auth, error)
- type ConfigGetter
- type ServiceAccountTokenProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultOCIConfigGetter ¶ added in v1.4.0
func DefaultOCIConfigGetter(ctx context.Context, opts types.IngressOpts, client kubernetes.Interface) *defaultOCIConfigGetter
func GetConfigurationProvider ¶
func GetConfigurationProvider(ctx context.Context, opts types.IngressOpts, client kubernetes.Interface) (common.ConfigurationProvider, error)
func NewWorkloadIdentityConfigGetter ¶ added in v1.4.0
func NewWorkloadIdentityConfigGetter(saTokenProvider *ServiceAccountTokenProvider, rptPath string) *workloadIdentityConfigGetter
func ParseAuthConfig ¶ added in v1.1.0
func RetrieveAuthConfig ¶ added in v1.1.0
func RetrieveAuthConfig(ctx context.Context, opts types.IngressOpts, namespace string, client kubernetes.Interface) (*types.Auth, error)
Types ¶
type ConfigGetter ¶ added in v1.4.0
type ConfigGetter interface { GetConfigurationProvider() (common.ConfigurationProvider, error) GetKey() string }
type ServiceAccountTokenProvider ¶ added in v1.4.0
type ServiceAccountTokenProvider struct {
// contains filtered or unexported fields
}
func NewServiceAccountTokenProvider ¶ added in v1.4.0
func NewServiceAccountTokenProvider(saName string, namespace string, saLister corelisters.ServiceAccountLister, client kubernetes.Interface) *ServiceAccountTokenProvider
func (*ServiceAccountTokenProvider) ServiceAccountNamespacedName ¶ added in v1.4.0
func (provider *ServiceAccountTokenProvider) ServiceAccountNamespacedName() (string, error)
func (*ServiceAccountTokenProvider) ServiceAccountToken ¶ added in v1.4.0
func (provider *ServiceAccountTokenProvider) ServiceAccountToken() (string, error)
Click to show internal directories.
Click to hide internal directories.