scope

package
v0.0.0-...-96f15a3 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogScope

type CatalogScope struct {
	ControllerScope
	// contains filtered or unexported fields
}

func NewCatalogScope

func NewCatalogScope(ctx context.Context, params CatalogScopeParams) (*CatalogScope, error)

func (*CatalogScope) PatchCatalogObject

func (m *CatalogScope) PatchCatalogObject() error

PatchObject persists the catalog/service configuration and status.

type CatalogScopeParams

type CatalogScopeParams struct {
	ControllerScopeParams
}

type ControllerScope

type ControllerScope struct {
	logr.Logger
	Client         client.Client
	Catalog        *v1alpha1.Catalog
	PowerVSClient  *powervs.Client
	PlatformClient *platform.Client
}

func NewControllerScope

func NewControllerScope(ctx context.Context, params ControllerScopeParams) (*ControllerScope, error)

type ControllerScopeParams

type ControllerScopeParams struct {
	Logger  logr.Logger
	Client  client.Client
	Type    string
	Catalog *v1alpha1.Catalog
	Debug   bool
}

type ServiceScope

type ServiceScope struct {
	ControllerScope

	Service *v1alpha1.Service
	// contains filtered or unexported fields
}

func NewServiceScope

func NewServiceScope(ctx context.Context, params ServiceScopeParams) (*ServiceScope, error)

func (*ServiceScope) IsExpired

func (s *ServiceScope) IsExpired() bool

func (*ServiceScope) PatchServiceObject

func (m *ServiceScope) PatchServiceObject() error

PatchObject persists the catalog/service configuration and status.

type ServiceScopeParams

type ServiceScopeParams struct {
	ControllerScopeParams
	Service *v1alpha1.Service
}

Jump to

Keyboard shortcuts

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