azure

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentARMSKU       = "Standard_D4pls_v5"
	AuxilaryNodeCount = 1
)
View Source
const (
	MaxNumberOfNodes = 3
	MaxPodsPerNode   = 250
	AgentSKU         = "Standard_DS4_v2"
)
View Source
const FlowTimeoutInMinutes = 10
View Source
const KubeConfigPerms = 0o600

Variables

View Source
var (
	ErrResourceNameTooLong = fmt.Errorf("resource name too long")
	ErrEmptyFile           = fmt.Errorf("empty file")
)

Functions

func GetStarterClusterTemplate

func GetStarterClusterTemplate(location string) armcontainerservice.ManagedCluster

Types

type CreateAzureMonitor

type CreateAzureMonitor struct {
	SubscriptionID    string
	ResourceGroupName string
	Location          string
	ClusterName       string
}

func (*CreateAzureMonitor) Prevalidate

func (c *CreateAzureMonitor) Prevalidate() error

func (*CreateAzureMonitor) Run

func (c *CreateAzureMonitor) Run() error

func (*CreateAzureMonitor) Stop

func (c *CreateAzureMonitor) Stop() error

type CreateCluster

type CreateCluster struct {
	SubscriptionID    string
	ResourceGroupName string
	Location          string
	ClusterName       string
}

func (*CreateCluster) Prevalidate

func (c *CreateCluster) Prevalidate() error

func (*CreateCluster) Run

func (c *CreateCluster) Run() error

func (*CreateCluster) Stop

func (c *CreateCluster) Stop() error

type CreateNPMCluster

type CreateNPMCluster struct {
	SubscriptionID    string
	ResourceGroupName string
	Location          string
	ClusterName       string
	VnetName          string
	SubnetName        string
	PodCidr           string
	DNSServiceIP      string
	ServiceCidr       string
}

func (*CreateNPMCluster) Prevalidate

func (c *CreateNPMCluster) Prevalidate() error

func (*CreateNPMCluster) Run

func (c *CreateNPMCluster) Run() error

func (*CreateNPMCluster) Stop

func (c *CreateNPMCluster) Stop() error

type CreateResourceGroup

type CreateResourceGroup struct {
	SubscriptionID    string
	ResourceGroupName string
	Location          string
}

func (*CreateResourceGroup) Prevalidate

func (c *CreateResourceGroup) Prevalidate() error

func (*CreateResourceGroup) Run

func (c *CreateResourceGroup) Run() error

func (*CreateResourceGroup) Stop

func (c *CreateResourceGroup) Stop() error

type CreateSubnet

type CreateSubnet struct {
	SubscriptionID     string
	ResourceGroupName  string
	Location           string
	VnetName           string
	SubnetName         string
	SubnetAddressSpace string
}

func (*CreateSubnet) Prevalidate

func (c *CreateSubnet) Prevalidate() error

func (*CreateSubnet) Run

func (c *CreateSubnet) Run() error

func (*CreateSubnet) Stop

func (c *CreateSubnet) Stop() error

type CreateVNet

type CreateVNet struct {
	SubscriptionID    string
	ResourceGroupName string
	Location          string
	VnetName          string
	VnetAddressSpace  string
}

func (*CreateVNet) Prevalidate

func (c *CreateVNet) Prevalidate() error

func (*CreateVNet) Run

func (c *CreateVNet) Run() error

func (*CreateVNet) Stop

func (c *CreateVNet) Stop() error

type DeleteCluster

type DeleteCluster struct {
	ClusterName       string
	SubscriptionID    string
	ResourceGroupName string
	Location          string
}

func (*DeleteCluster) Prevalidate

func (d *DeleteCluster) Prevalidate() error

func (*DeleteCluster) Run

func (d *DeleteCluster) Run() error

func (*DeleteCluster) Stop

func (d *DeleteCluster) Stop() error

type DeleteResourceGroup

type DeleteResourceGroup struct {
	SubscriptionID    string
	ResourceGroupName string
	Location          string
}

func (*DeleteResourceGroup) Prevalidate

func (d *DeleteResourceGroup) Prevalidate() error

func (*DeleteResourceGroup) Run

func (d *DeleteResourceGroup) Run() error

func (*DeleteResourceGroup) Stop

func (d *DeleteResourceGroup) Stop() error

type GetAKSKubeConfig

type GetAKSKubeConfig struct {
	ClusterName        string
	SubscriptionID     string
	ResourceGroupName  string
	Location           string
	KubeConfigFilePath string
}

func (*GetAKSKubeConfig) Prevalidate

func (c *GetAKSKubeConfig) Prevalidate() error

func (*GetAKSKubeConfig) Run

func (c *GetAKSKubeConfig) Run() error

func (*GetAKSKubeConfig) Stop

func (c *GetAKSKubeConfig) Stop() error

Jump to

Keyboard shortcuts

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