apim

package
v0.0.0-...-b7f4efd Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIM

type APIM struct {
	APIs              *service.APIs
	Applications      *service.Applications
	Subscription      *service.Subscriptions
	SharedPolicyGroup *service.SharedPolicyGroup
	Env               *service.Env

	Context core.ContextModel
}

APIM wraps services needed to sync resources with a given environment on a Gravitee.io APIM instance.

func FromContext

func FromContext(ctx context.Context, context core.ContextObject, parentNs string) (*APIM, error)

FromContext returns a new APIM instance from a given reconcile context and management context.

func FromContextRef

func FromContextRef(ctx context.Context, ref core.ObjectRef, parentNs string) (*APIM, error)

func (*APIM) EnvID

func (apim *APIM) EnvID() string

EnvID returns the environment ID of the current managed APIM instance.

func (*APIM) OrgID

func (apim *APIM) OrgID() string

OrgID returns the organization ID of the current managed APIM instance.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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