v1alpha

package
v0.44.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 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 BindOperationOptions

type BindOperationOptions struct {
	Namespace               string
	ServiceName             string
	ServiceType             string
	AppName                 string
	ForceCreationWithoutAsk bool
	BindingName             string
	BindAsFiles             bool
	DeploymentConfigEnabled bool
	IgnoreContext           bool
}

BindOperationOptions contains input flags for bind method

type CleanOperationOptions

type CleanOperationOptions struct {
	ForceDeleteWithoutAsk bool
	Namespace             string
}

type ClusterUserAPI

type ClusterUserAPI interface {
	ExecuteConnect(connectOpts *ConnectOperationOptions) error
	ExecuteServiceBinding(options *BindOperationOptions) error
	ExecuteStatus() (OperatorStatus, error)
	ExecuteClean(cleanOptions *CleanOperationOptions) error
}

ClusterUserAPI - interact with kuberentes clusters in order to connect and bind resources

type CommandEnvironment

type CommandEnvironment struct {
	Connection     connection.Connection
	Logger         logging.Logger
	IO             *iostreams.IOStreams
	Localizer      localize.Localizer
	Context        context.Context
	ServiceContext servicecontext.IContext
}

CommandEnvironment provides number of abstractions provided by CLI

type ConnectOperationOptions

type ConnectOperationOptions struct {
	OfflineAccessToken      string
	ForceCreationWithoutAsk bool
	Namespace               string
	ServiceType             string
	ServiceName             string
	IgnoreContext           bool
}

ConnectOperationOptions contains input flags for connect method

type OperatorStatus

type OperatorStatus struct {
	ServiceBindingOperatorAvailable bool
	RHOASOperatorAvailable          bool
	LatestRHOASVersionAvailable     bool
}

status of the Operator

Jump to

Keyboard shortcuts

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