arm

package
v3.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Code generated by go-bindata. (@generated) DO NOT EDIT. sources: data/master/etc/etcd/ca.crt data/master/etc/etcd/etcd.conf data/master/etc/etcd/peer.crt data/master/etc/etcd/peer.key data/master/etc/etcd/server.crt data/master/etc/etcd/server.key data/master/etc/origin/cloudprovider/azure.conf data/master/etc/origin/master/admin.kubeconfig data/master/etc/origin/master/aggregator-front-proxy.crt data/master/etc/origin/master/aggregator-front-proxy.key data/master/etc/origin/master/ca-bundle.crt data/master/etc/origin/master/ca.crt data/master/etc/origin/master/ca.key data/master/etc/origin/master/front-proxy-ca.crt data/master/etc/origin/master/master-config.yaml data/master/etc/origin/master/master.etcd-ca.crt data/master/etc/origin/master/master.etcd-client.crt data/master/etc/origin/master/master.etcd-client.key data/master/etc/origin/master/master.kubelet-client.crt data/master/etc/origin/master/master.kubelet-client.key data/master/etc/origin/master/master.proxy-client.crt data/master/etc/origin/master/master.proxy-client.key data/master/etc/origin/master/master.server.crt data/master/etc/origin/master/master.server.key data/master/etc/origin/master/named/console.crt data/master/etc/origin/master/named/console.key data/master/etc/origin/master/openshift-master.kubeconfig data/master/etc/origin/master/scheduler.json data/master/etc/origin/master/service-signer.crt data/master/etc/origin/master/service-signer.key data/master/etc/origin/master/serviceaccounts.private.key data/master/etc/origin/master/serviceaccounts.public.key data/master/etc/origin/master/session-secrets.yaml data/master/etc/origin/node/ca.crt data/master/etc/origin/node/client-ca.crt data/master/etc/origin/node/node-config.yaml data/master/etc/origin/node/node.kubeconfig data/master/etc/origin/node/pods/apiserver.yaml data/master/etc/origin/node/pods/controllers.yaml data/master/etc/origin/node/pods/etcd.yaml data/master/etc/origin/node/pods/ovs.yaml data/master/etc/origin/node/pods/sdn.yaml data/master/etc/origin/node/resolv.conf data/master/etc/origin/node/sdn.kubeconfig data/master/etc/pki/ca-trust/source/anchors/openshift-ca.crt data/master/etc/sysconfig/atomic-openshift-node data/master/root/.kube/config data/master/var/lib/origin/.docker/config.json data/master-startup.sh data/node-startup.sh data/worker/etc/origin/cloudprovider/azure.conf data/worker/etc/origin/node/bootstrap.kubeconfig data/worker/etc/origin/node/ca.crt data/worker/etc/origin/node/node-bootstrapper.crt data/worker/etc/origin/node/node-bootstrapper.key data/worker/etc/origin/node/node-config.yaml data/worker/etc/origin/node/pods/ovs.yaml data/worker/etc/origin/node/pods/sdn.yaml data/worker/etc/origin/node/resolv.conf data/worker/etc/origin/node/sdn.kubeconfig data/worker/etc/pki/ca-trust/source/anchors/openshift-ca.crt data/worker/etc/sysconfig/atomic-openshift-node data/worker/var/lib/origin/.docker/config.json

Index

Constants

View Source
const (
	VnetName = "vnet"
)

Variables

This section is empty.

Functions

func Asset

func Asset(name string) ([]byte, error)

Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetDir

func AssetDir(name string) ([]string, error)

AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:

data/
  foo.txt
  img/
    a.png
    b.png

then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error AssetDir("") will return []string{"data"}.

func AssetInfo

func AssetInfo(name string) (os.FileInfo, error)

AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetNames

func AssetNames() []string

AssetNames returns the names of the assets.

func FixupAPIVersions

func FixupAPIVersions(template map[string]interface{})

FixupAPIVersions inserts an apiVersion field into the ARM template for each resource (the field is missing from the internal Azure type). The versions referenced here must be kept in lockstep with the imports above.

func FixupDepends

func FixupDepends(subscriptionID, resourceGroup string, template map[string]interface{})

FixupDepends inserts a dependsOn field into the ARM template for each resource that needs it (the field is missing from the internal Azure type).

func MustAsset

func MustAsset(name string) []byte

MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.

func RestoreAsset

func RestoreAsset(dir, name string) error

RestoreAsset restores an asset under the given directory

func RestoreAssets

func RestoreAssets(dir, name string) error

RestoreAssets restores an asset under the given directory recursively

func Vmss

func Vmss(cs *api.OpenShiftManagedCluster, app *api.AgentPoolProfile, backupBlob, suffix string, testConfig api.TestConfig) (*compute.VirtualMachineScaleSet, error)

func WriteStartupFiles

func WriteStartupFiles(log *logrus.Entry, cs *api.OpenShiftManagedCluster, role api.AgentPoolProfileRole, w writers.Writer, hostname, domainname string) error

Types

type Generator

type Generator interface {
	Generate(ctx context.Context, cs *api.OpenShiftManagedCluster, backupBlob string, isUpdate bool, suffix string) (map[string]interface{}, error)
}

func NewSimpleGenerator

func NewSimpleGenerator(ctx context.Context, cs *api.OpenShiftManagedCluster, testConfig api.TestConfig) (Generator, error)

NewSimpleGenerator create a new SimpleGenerator

type Template

type Template struct {
	Schema         string        `json:"$schema,omitempty"`
	ContentVersion string        `json:"contentVersion,omitempty"`
	Parameters     struct{}      `json:"parameters,omitempty"`
	Variables      struct{}      `json:"variables,omitempty"`
	Resources      []interface{} `json:"resources,omitempty"`
	Outputs        struct{}      `json:"outputs,omitempty"`
}

Jump to

Keyboard shortcuts

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