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
Click to show internal directories.
Click to hide internal directories.