Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateApplicationInsight(ctx context.Context) error
- func (c *Client) CreateExternalLoadBalancer(ctx context.Context, isDebugCluster bool) error
- func (c *Client) CreateInstances(ctx context.Context, input CreateInstancesInput) error
- func (c *Client) CreateSecurityGroup(ctx context.Context, input NetworkSecurityGroupInput) error
- func (c *Client) CreateVirtualNetwork(ctx context.Context) error
- func (c *Client) GetState() state.ConstellationState
- func (c *Client) SetState(stat state.ConstellationState)
- func (c *Client) TerminateResourceGroupResources(ctx context.Context) error
- type CreateInstancesInput
- type CreateScaleSetInput
- type NetworkSecurityGroupInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a client for Azure.
func NewFromDefault ¶
NewFromDefault creates a client with initialized clients.
func NewInitialized ¶
func NewInitialized(subscriptionID, tenantID, name, location, resourceGroup string) (*Client, error)
NewInitialized creates and initializes client by setting the subscriptionID, location and name of the Constellation.
func (*Client) CreateApplicationInsight ¶
func (*Client) CreateExternalLoadBalancer ¶
CreateExternalLoadBalancer creates an external load balancer.
func (*Client) CreateInstances ¶
func (c *Client) CreateInstances(ctx context.Context, input CreateInstancesInput) error
func (*Client) CreateSecurityGroup ¶
func (c *Client) CreateSecurityGroup(ctx context.Context, input NetworkSecurityGroupInput) error
CreateSecurityGroup creates a security group containing firewall rules.
func (*Client) CreateVirtualNetwork ¶
CreateVirtualNetwork creates a virtual network.
func (*Client) GetState ¶
func (c *Client) GetState() state.ConstellationState
GetState returns the state of the client as ConstellationState.
func (*Client) SetState ¶
func (c *Client) SetState(stat state.ConstellationState)
SetState sets the state of the client to the handed ConstellationState.
type CreateInstancesInput ¶
type CreateInstancesInput struct { CountWorkers int CountControlPlanes int InstanceType string StateDiskSizeGB int StateDiskType string Image string UserAssingedIdentity string ConfidentialVM bool }
CreateInstancesInput is the input for a CreateInstances operation.
type CreateScaleSetInput ¶
type CreateScaleSetInput struct { Name string NamePrefix string Count int InstanceType string StateDiskSizeGB int32 StateDiskType string Image string UserAssingedIdentity string LoadBalancerBackendAddressPool string ConfidentialVM bool }
CreateScaleSetInput is the input for a CreateScaleSet operation.
type NetworkSecurityGroupInput ¶
type NetworkSecurityGroupInput struct { Ingress cloudtypes.Firewall Egress cloudtypes.Firewall }
NetworkSecurityGroupInput defines firewall rules to be set.