environments

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddKymaDefaultParameters

func AddKymaDefaultParameters(parameters btp.InstanceParameters, instanceName string, resourceUID string) btp.InstanceParameters

func UnmarshalRawParameters

func UnmarshalRawParameters(in []byte) (map[string]interface{}, error)

UnmarshalRawParameters produces a map structure from a given raw YAML/JSON input

Types

type Client

type Client interface {
	DescribeInstance(ctx context.Context, cr v1alpha1.KymaEnvironment) (
		*provisioningclient.EnvironmentInstanceResponseObject,
		error,
	)
	CreateInstance(ctx context.Context, cr v1alpha1.KymaEnvironment) error
	UpdateInstance(ctx context.Context, cr v1alpha1.KymaEnvironment) error
	DeleteInstance(ctx context.Context, cr v1alpha1.KymaEnvironment) error
}

type KymaEnvironments

type KymaEnvironments struct {
	// contains filtered or unexported fields
}

func NewKymaEnvironments

func NewKymaEnvironments(btp btp.Client) *KymaEnvironments

func (KymaEnvironments) CreateInstance

func (c KymaEnvironments) CreateInstance(ctx context.Context, cr v1alpha1.KymaEnvironment) error

func (KymaEnvironments) DeleteInstance

func (c KymaEnvironments) DeleteInstance(ctx context.Context, cr v1alpha1.KymaEnvironment) error

func (KymaEnvironments) UpdateInstance

func (c KymaEnvironments) UpdateInstance(ctx context.Context, cr v1alpha1.KymaEnvironment) error

Jump to

Keyboard shortcuts

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