nais_namespace_reconciler

package
v0.0.0-...-339c39f Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, serviceAccountEmail, tenantDomain, googleManagementProjectID string, opts ...OptFunc) (reconcilers.Reconciler, error)

Types

type NaisdCreateNamespace

type NaisdCreateNamespace struct {
	Name               string `json:"name"`
	GcpProject         string `json:"gcpProject"` // the user-specified "project id"; not the "projects/ID" format
	GroupEmail         string `json:"groupEmail"`
	AzureGroupID       string `json:"azureGroupID"`
	CNRMEmail          string `json:"cnrmEmail"`
	SlackAlertsChannel string `json:"slackAlertsChannel"`
}

type NaisdDeleteNamespace

type NaisdDeleteNamespace struct {
	Name string `json:"name"`
}

type NaisdRequest

type NaisdRequest struct {
	Type string          `json:"type"`
	Data json.RawMessage `json:"data"`
}

type OptFunc

type OptFunc func(*naisNamespaceReconciler)

func WithPubSubClient

func WithPubSubClient(client *pubsub.Client) OptFunc

Jump to

Keyboard shortcuts

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