fixtures

package
v0.0.0-...-19edefa Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MinimalIDPortenClient

func MinimalIDPortenClient() *naisiov1.IDPortenClient

func MinimalMaskinportenClient

func MinimalMaskinportenClient() *naisiov1.MaskinportenClient

func MinimalMaskinportenWithScopeInternalExposedClient

func MinimalMaskinportenWithScopeInternalExposedClient() *naisiov1.MaskinportenClient

Types

type ClusterFixtures

type ClusterFixtures struct {
	client.Client
	Config
	// contains filtered or unexported fields
}

func New

func New(cli client.Client, config Config) ClusterFixtures

func (ClusterFixtures) MinimalConfig

func (c ClusterFixtures) MinimalConfig(clientType string) ClusterFixtures

func (ClusterFixtures) MinimalScopesConfig

func (c ClusterFixtures) MinimalScopesConfig(scope string) ClusterFixtures

func (ClusterFixtures) Setup

func (c ClusterFixtures) Setup() error

func (ClusterFixtures) WithIDPortenClient

func (c ClusterFixtures) WithIDPortenClient() ClusterFixtures

func (ClusterFixtures) WithMaskinportenClient

func (c ClusterFixtures) WithMaskinportenClient() ClusterFixtures

func (ClusterFixtures) WithMaskinportenScopesClient

func (c ClusterFixtures) WithMaskinportenScopesClient(scope string) ClusterFixtures

func (ClusterFixtures) WithNamespace

func (c ClusterFixtures) WithNamespace() ClusterFixtures

func (ClusterFixtures) WithPods

func (c ClusterFixtures) WithPods() ClusterFixtures

func (ClusterFixtures) WithUnusedSecret

func (c ClusterFixtures) WithUnusedSecret(label string) ClusterFixtures

type Config

type Config struct {
	DigdirClientName string
	NamespaceName    string
	SecretName       string
	UnusedSecretName string
}

Jump to

Keyboard shortcuts

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