network

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Creator

func Creator(c *client.Client, ctx context.Context, namespace, name, clusterNetworkName string) util.Constructor

func DataSourceNetwork added in v0.3.0

func DataSourceNetwork() *schema.Resource

func DataSourceSchema added in v0.3.0

func DataSourceSchema() map[string]*schema.Schema

func ResourceNetwork

func ResourceNetwork() *schema.Resource

func Schema

func Schema() map[string]*schema.Schema

Types

type Constructor

type Constructor struct {
	Client  *client.Client
	Context context.Context

	ClusterNetworkName string
	Network            *nadv1.NetworkAttachmentDefinition
	Layer3NetworkConf  *networkutils.Layer3NetworkConf
}

func (*Constructor) Result

func (c *Constructor) Result() (interface{}, error)

func (*Constructor) Setup

func (c *Constructor) Setup() util.Processors

func (*Constructor) Validate added in v0.3.0

func (c *Constructor) Validate() error

Jump to

Keyboard shortcuts

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