containerapps

package
v0.0.0-...-b37e435 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 25 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,
		envVars map[string]string,
		options *ContainerAppOptions,
	) error
	// GetContainerAppJob gets a Container App Job by name
	GetContainerAppJob(
		ctx context.Context,
		subscriptionId string,
		resourceGroupName string,
		jobName string,
		options *ContainerAppOptions,
	) (*armappcontainers.Job, error)
	// UpdateContainerAppJobImage updates the container image
	// and environment variables for a Container App Job
	UpdateContainerAppJobImage(
		ctx context.Context,
		subscriptionId string,
		resourceGroupName string,
		jobName string,
		imageName string,
		envVars map[string]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