Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Config // contains filtered or unexported fields }
Client is the client fo rthe azure serverless package
func (*Client) CreateContainerGroup ¶
func (c *Client) CreateContainerGroup(ctx context.Context, req CreateContainerRequest) (cg containerinstance.ContainerGroup, err error)
CreateContainerGroup creates a new container group given a container group name, location, resource group, and container properties in request
type Config ¶
type Config struct { azure_auth.AuthConfig Logger *logrus.Entry }
Config is the configuration for the azure serverless package
type CreateContainerRequest ¶
type CreateContainerRequest struct { APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` Type string `json:"type,omitempty" yaml:"type,omitempty"` ContainerGroupName string `json:"name" yaml:"name"` Location string `json:"location" yaml:"location"` ResourceGroupName string `json:"resourceGroup" yaml:"resourceGroup"` ContainerGroupProperties containerinstance.ContainerGroupProperties `json:"properties" yaml:"properties"` }
CreateContainerRequest is a request to create an azure Container Instance
Click to show internal directories.
Click to hide internal directories.