models

package
v0.1.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPAddress

type IPAddress struct {
	IpAddress string          `json:"ipAddress,omitempty"`
	Metadata  *NetboxMetadata `json:"metadata,omitempty"`
}

type IPAddressClaim

type IPAddressClaim struct {
	ParentPrefix string          `json:"parentPrefix,omitempty"`
	Metadata     *NetboxMetadata `json:"metadata,omitempty"`
}

type IpRange

type IpRange struct {
	StartAddress string          `json:"startAddress,omitempty"`
	EndAddress   string          `json:"endAddress,omitempty"`
	Id           int64           `json:"id,omitempty"`
	Metadata     *NetboxMetadata `json:"metadata,omitempty"`
}

type IpRangeClaim

type IpRangeClaim struct {
	ParentPrefix string          `json:"prefix,omitempty"`
	Size         int             `json:"size,omitempty"`
	Metadata     *NetboxMetadata `json:"metadata,omitempty"`
}

type NetboxMetadata

type NetboxMetadata struct {
	Comments    string            `json:"comments,omitempty"`
	Custom      map[string]string `json:"customFields,omitempty"`
	Description string            `json:"description,omitempty"`
	Region      string            `json:"region,omitempty"`
	Site        string            `json:"site,omitempty"`
	Tenant      string            `json:"tenant,omitempty"`
}

type Prefix

type Prefix struct {
	Prefix   string          `json:"prefix,omitempty"`
	Metadata *NetboxMetadata `json:"metadata,omitempty"`
}

type PrefixClaim

type PrefixClaim struct {
	ParentPrefix string          `json:"parentPrefix,omitempty"`
	PrefixLength string          `json:"prefixLength,omitempty"`
	Metadata     *NetboxMetadata `json:"metadata,omitempty"`
}

type Site

type Site struct {
	Id   int64  `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
	Slug string `json:"slug,omitempty"`
}

type Tenant

type Tenant struct {
	Id   int64  `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
	Slug string `json:"slug,omitempty"`
}

Jump to

Keyboard shortcuts

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