Documentation ¶
Index ¶
- func ExternalName(environment *provisioningclient.EnvironmentInstanceResponseObject) *string
- func GenerateObservation(environment *provisioningclient.EnvironmentInstanceResponseObject, ...) v1alpha1.CfEnvironmentObservation
- func GetConnectionDetails(instance *provisioningclient.EnvironmentInstanceResponseObject) (managed.ConnectionDetails, error)
- type Client
- type CloudFoundryOrganization
- func (c CloudFoundryOrganization) CreateInstance(ctx context.Context, cr v1alpha1.CloudFoundryEnvironment) error
- func (c CloudFoundryOrganization) DeleteInstance(ctx context.Context, cr v1alpha1.CloudFoundryEnvironment) error
- func (c CloudFoundryOrganization) DescribeInstance(ctx context.Context, cr v1alpha1.CloudFoundryEnvironment) (*provisioningclient.EnvironmentInstanceResponseObject, []v1alpha1.User, error)
- func (c CloudFoundryOrganization) NeedsUpdate(cr v1alpha1.CloudFoundryEnvironment) bool
- func (c CloudFoundryOrganization) UpdateInstance(ctx context.Context, cr v1alpha1.CloudFoundryEnvironment) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExternalName ¶
func ExternalName(environment *provisioningclient.EnvironmentInstanceResponseObject) *string
func GenerateObservation ¶
func GenerateObservation( environment *provisioningclient.EnvironmentInstanceResponseObject, managers []v1alpha1.User, ) v1alpha1.CfEnvironmentObservation
func GetConnectionDetails ¶
func GetConnectionDetails(instance *provisioningclient.EnvironmentInstanceResponseObject) (managed.ConnectionDetails, error)
Types ¶
type Client ¶
type Client interface { DescribeInstance(ctx context.Context, cr v1alpha1.CloudFoundryEnvironment) ( *provisioningclient.EnvironmentInstanceResponseObject, []v1alpha1.User, error, ) CreateInstance(ctx context.Context, cr v1alpha1.CloudFoundryEnvironment) error UpdateInstance(ctx context.Context, cr v1alpha1.CloudFoundryEnvironment) error DeleteInstance(ctx context.Context, cr v1alpha1.CloudFoundryEnvironment) error NeedsUpdate(cr v1alpha1.CloudFoundryEnvironment) bool }
type CloudFoundryOrganization ¶
type CloudFoundryOrganization struct {
// contains filtered or unexported fields
}
func NewCloudFoundryOrganization ¶
func NewCloudFoundryOrganization(btp btp.Client) *CloudFoundryOrganization
func (CloudFoundryOrganization) CreateInstance ¶
func (c CloudFoundryOrganization) CreateInstance(ctx context.Context, cr v1alpha1.CloudFoundryEnvironment) error
func (CloudFoundryOrganization) DeleteInstance ¶
func (c CloudFoundryOrganization) DeleteInstance(ctx context.Context, cr v1alpha1.CloudFoundryEnvironment) error
func (CloudFoundryOrganization) DescribeInstance ¶
func (c CloudFoundryOrganization) DescribeInstance( ctx context.Context, cr v1alpha1.CloudFoundryEnvironment, ) (*provisioningclient.EnvironmentInstanceResponseObject, []v1alpha1.User, error)
func (CloudFoundryOrganization) NeedsUpdate ¶
func (c CloudFoundryOrganization) NeedsUpdate(cr v1alpha1.CloudFoundryEnvironment) bool
func (CloudFoundryOrganization) UpdateInstance ¶
func (c CloudFoundryOrganization) UpdateInstance(ctx context.Context, cr v1alpha1.CloudFoundryEnvironment) error
Click to show internal directories.
Click to hide internal directories.