containerapps

package
v0.0.0-...-2374456 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 18 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 ContainerAppService

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

ContainerAppService exposes operations for managing Azure Container Apps

func NewContainerAppService

func NewContainerAppService(
	credentialProvider account.SubscriptionCredentialProvider,
	httpClient httputil.HttpClient,
	clock clock.Clock,
	armClientOptions *arm.ClientOptions,
) ContainerAppService

NewContainerAppService creates a new ContainerAppService

Jump to

Keyboard shortcuts

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