project

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 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 BuildIPAccessList added in v1.0.0

func BuildIPAccessList(
	provider store.ProjectIPAccessListLister,
	request IPAccessListRequest,
) (*akov2.AtlasIPAccessList, bool, error)

func BuildNetworkContainers added in v1.1.0

func BuildNetworkContainers(
	provider store.NetworkContainerLister,
	request NetworkContainersRequest,
) ([]akov2.AtlasNetworkContainer, error)

func BuildNetworkPeerings added in v1.1.0

func BuildNetworkPeerings(
	provider store.PeeringConnectionLister,
	request NetworkPeeringsRequest,
) ([]akov2.AtlasNetworkPeering, 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 IPAccessListRequest added in v1.0.0

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

type NetworkContainersRequest added in v1.1.0

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

type NetworkPeeringsRequest added in v1.1.0

type NetworkPeeringsRequest struct {
	ProjectName         string
	ProjectID           string
	TargetNamespace     string
	Version             string
	Credentials         string
	IndependentResource bool
	Dictionary          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
JackTT - Gopher 🇻🇳