deployment

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInterconnect

func CreateInterconnect(c framework.ContextData, size int32, fn ...InterconnectCustomizer) (*v1alpha1.Interconnect, error)

CreateInterconnect creates an interconnect resource

func CreateInterconnectFromSpec

func CreateInterconnectFromSpec(c framework.ContextData, size int32, name string, spec v1alpha1.InterconnectSpec) (*v1alpha1.Interconnect, error)

CreateInterconnectFromSpec creates an Interconnect resource using the provided InterconnectSpec

func DeleteInterconnect

func DeleteInterconnect(c framework.ContextData, interconnect *v1alpha1.Interconnect) error

func GetInterconnect

func GetInterconnect(c framework.ContextData, name string) (*v1alpha1.Interconnect, error)

func UpdateInterconnect

func UpdateInterconnect(c framework.ContextData, interconnect *v1alpha1.Interconnect) (*v1alpha1.Interconnect, error)

Types

type InterconnectCustomizer

type InterconnectCustomizer func(interconnect *v1alpha1.Interconnect)

InterconnectCustomizer represents a function that allows for customizing an Interconnect resource before it is created.

Jump to

Keyboard shortcuts

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