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
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{} ContainerRegistry azure.Resource Zones []LoadableZone PrivateZones []azure.Resource KeyVault azure.Resource CertName string CertId string 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 E2eImage string OperatorImage 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 Provisioned ¶
type Provisioned struct { Name string Cluster cluster ContainerRegistry containerRegistry Zones []zone PrivateZones []privateZone KeyVault keyVault Cert cert ResourceGroup resourceGroup SubscriptionId string TenantId string E2eImage string OperatorImage string }
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.