Documentation ¶
Index ¶
- func NewPlugin(nodeName string) providernetworkinterface.Plugin
- type Plugin
- func (p *Plugin) APInetNicName(machineID string, networkInterfaceName string) string
- func (p *Plugin) Apply(ctx context.Context, spec *api.NetworkInterfaceSpec, machine *api.Machine) (*providernetworkinterface.NetworkInterface, error)
- func (p *Plugin) Delete(ctx context.Context, computeNicName string, machineID string) error
- func (p *Plugin) Init(host providerhost.Host) error
- func (p *Plugin) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPlugin ¶
func NewPlugin(nodeName string) providernetworkinterface.Plugin
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func GetAPInetPlugin ¶
func GetAPInetPlugin() *Plugin
func (*Plugin) APInetNicName ¶
func (*Plugin) Apply ¶
func (p *Plugin) Apply(ctx context.Context, spec *api.NetworkInterfaceSpec, machine *api.Machine) (*providernetworkinterface.NetworkInterface, error)
Click to show internal directories.
Click to hide internal directories.