containerapps

package
v0.0.0-...-9b60cbc Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerAppIngressConfiguration

type ContainerAppIngressConfiguration struct {
	HostNames []string
}

type ContainerAppOptions

type ContainerAppOptions struct {
	ApiVersion string
}

type ContainerAppService

type ContainerAppService interface {
	// Gets the ingress configuration for the specified container app
	GetIngressConfiguration(
		ctx context.Context,
		subscriptionId,
		resourceGroup,
		appName string,
		options *ContainerAppOptions,
	) (*ContainerAppIngressConfiguration, error)
	DeployYaml(
		ctx context.Context,
		subscriptionId string,
		resourceGroupName string,
		appName string,
		containerAppYaml []byte,
		options *ContainerAppOptions,
	) error
	// Adds and activates a new revision to the specified container app
	AddRevision(
		ctx context.Context,
		subscriptionId string,
		resourceGroupName string,
		appName string,
		imageName string,
		options *ContainerAppOptions,
	) error
}

ContainerAppService exposes operations for managing Azure Container Apps

func NewContainerAppService

func NewContainerAppService(
	credentialProvider account.SubscriptionCredentialProvider,
	clock clock.Clock,
	armClientOptions *arm.ClientOptions,
	alphaFeatureManager *alpha.FeatureManager,
) ContainerAppService

NewContainerAppService creates a new ContainerAppService

Jump to

Keyboard shortcuts

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