Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Infras = infras{ { Name: "basic cluster", ResourceGroup: rg, Location: location, Suffix: uuid.New().String(), }, { Name: "private cluster", ResourceGroup: rg, Location: location, Suffix: uuid.New().String(), McOpts: []clients.McOpt{clients.PrivateClusterOpt}, }, { Name: "osm cluster", ResourceGroup: rg, Location: location, Suffix: uuid.New().String(), McOpts: []clients.McOpt{clients.OsmClusterOpt}, }, }
Infras is a list of infrastructure configurations the e2e tests will run against
View Source
var OsmClusterOpt = McOpt{ Name: "osm cluster", // contains filtered or unexported fields }
View Source
var PrivateClusterOpt = McOpt{ Name: "private cluster", // contains filtered or unexported fields }
PrivateClusterOpt specifies that the cluster should be private
Functions ¶
func Deploy ¶
func Deploy(p []Provisioned) error
Types ¶
type Identifier ¶
type Identifier interface {
GetId() string
}
type LoadableProvisioned ¶
type LoadableProvisioned struct { Name string Cluster azure.Resource ClusterLocation, ClusterDnsServiceIp, ClusterPrincipalId, ClusterClientId string ClusterOptions map[string]struct{} ResourceGroup arm.ResourceID // rg id is a little weird and can't be correctly parsed by azure.Resource so we have to use arm.ResourceID SubscriptionId string TenantId string }
LoadableProvisioned is a struct that can be used to load a Provisioned struct from a file. Ensure that all fields are exported so that they can properly be serialized/deserialized.
func ToLoadable ¶
func ToLoadable(p []Provisioned) ([]LoadableProvisioned, error)
func (LoadableProvisioned) Provisioned ¶
func (l LoadableProvisioned) Provisioned() (Provisioned, error)
type LoadableZone ¶
type McOpt ¶
type McOpt struct { Name string // contains filtered or unexported fields }
McOpt specifies what kind of managed cluster to create
type Provisioned ¶
type Provisioned struct { Name string Cluster cluster ResourceGroup resourceGroup SubscriptionId string TenantId string Zones []zone PrivateZones []privateZone E2eImage string ContainerRegistry containerRegistry }
func ToProvisioned ¶
func ToProvisioned(l []LoadableProvisioned) ([]Provisioned, error)
func (Provisioned) Loadable ¶
func (p Provisioned) Loadable() (LoadableProvisioned, error)
Click to show internal directories.
Click to hide internal directories.