Help us shape the future of Go! Take the 2026 Go Developer Survey

azure

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

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 CreateBYOCiliumCluster

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

func (*CreateBYOCiliumCluster) Prevalidate

func (c *CreateBYOCiliumCluster) Prevalidate() error

func (*CreateBYOCiliumCluster) Run

func (c *CreateBYOCiliumCluster) Run() error

func (*CreateBYOCiliumCluster) Stop

func (c *CreateBYOCiliumCluster) 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 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