project

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxItems = 500
)

Variables

This section is empty.

Functions

func BuildCustomRoles

func BuildCustomRoles(provider store.DatabaseRoleLister, request CustomRolesRequest) ([]akov2.AtlasCustomRole, error)

func BuildPrivateEndpointCustomResources

func BuildPrivateEndpointCustomResources(
	provider store.OperatorPrivateEndpointStore,
	request PrivateEndpointRequest,
) ([]akov2.AtlasPrivateEndpoint, error)

func BuildProjectNamedConnectionSecret

func BuildProjectNamedConnectionSecret(credsProvider store.CredentialsGetter, name, namespace, orgID string, includeCreds bool, dictionary map[string]string) *corev1.Secret

Types

type AtlasProjectBuildRequest

type AtlasProjectBuildRequest struct {
	ProjectStore    store.OperatorProjectStore
	Project         *atlasv2.Group
	Validator       features.FeatureValidator
	OrgID           string
	ProjectID       string
	TargetNamespace string
	IncludeSecret   bool
	Dictionary      map[string]string
	Version         string
}

type AtlasProjectResult

type AtlasProjectResult struct {
	Project *akov2.AtlasProject
	Secrets []*corev1.Secret
	Teams   []*akov2.AtlasTeam
	BCP     *akov2.AtlasBackupCompliancePolicy
}

type CustomRolesRequest

type CustomRolesRequest struct {
	ProjectName     string
	ProjectID       string
	TargetNamespace string
	Credentials     string
	Version         string
	IsIndependent   bool
	Dict            map[string]string
}

type PrivateEndpointRequest

type PrivateEndpointRequest struct {
	ProjectName         string
	ProjectID           string
	TargetNamespace     string
	Version             string
	Credentials         string
	IndependentResource bool
	Dictionary          map[string]string
}

Jump to

Keyboard shortcuts

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