clusterorder

package
v1.0.44 Latest Latest
Warning

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

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

Documentation

Overview

The package clusterorder provides the interface and the factory method to create a new clusterorder based on the provider TODO: This might be a implementation in the upcoming ResourceFramework

TODO: This library is imported from ror, should determine if its a public library or not

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterOrder

type ClusterOrder interface {
	Validate(ctx context.Context) error
	GetProviderConfig() any
	Save(ctx context.Context) error
	UpdateStatus(ctx context.Context, status apiresourcecontracts.ResourceClusterOrderStatus) error
}

ClusterOrder is an interface that defines the methods that a clusterprovider must implement

func NewClusterOrder

NewClusterOrder returns a new clusterorder based on the provider

func NewClusterOrderFromResource

func NewClusterOrderFromResource(ctx context.Context, resource apiresourcecontracts.ResourceClusterOrder) (ClusterOrder, error)

NewClusterOrderFromResource is a wrapper for the newClusterOrder function. Its intended use is to be called from the outside of the package after the clusterorder is persisted.

Directories

Path Synopsis
TODO: This library is imported from ror, should determine if its a public library or not
TODO: This library is imported from ror, should determine if its a public library or not
TODO: This library is imported from ror, should determine if its a public library or not
TODO: This library is imported from ror, should determine if its a public library or not
TODO: This library is imported from ror, should determine if its a public library or not
TODO: This library is imported from ror, should determine if its a public library or not
TODO: This library is imported from ror, should determine if its a public library or not
TODO: This library is imported from ror, should determine if its a public library or not

Jump to

Keyboard shortcuts

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