lb_domains

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusUp   = "up"
	StatusDown = "down"
)

Variables

This section is empty.

Functions

func GetPathMethodForChildSpec

func GetPathMethodForChildSpec(action api.Action, s ChildSpec) (string, string)

func GetPathMethodForCountableListSpec

func GetPathMethodForCountableListSpec(action api.Action, s ListSpec) (string, string)

func GetPathMethodForListSpec

func GetPathMethodForListSpec(action api.Action, s ListSpec) (string, string)

Types

type AttributeMeta

type AttributeMeta struct {
	LBDomainID string
}

func (*AttributeMeta) DeepCopy

func (in *AttributeMeta) DeepCopy() *AttributeMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttributeMeta.

func (*AttributeMeta) DeepCopyInto

func (in *AttributeMeta) DeepCopyInto(out *AttributeMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AttributeMeta) GetGroup

func (s *AttributeMeta) GetGroup() string

func (*AttributeMeta) GetLBDoaminID

func (s *AttributeMeta) GetLBDoaminID() string

func (*AttributeMeta) SetLBDoaminID

func (s *AttributeMeta) SetLBDoaminID(id string)

type ChildSpec

type ChildSpec interface {
	Spec
	GetResourceName() string
	SetResourceName(string)
}

type Config

type Config struct {
	AttributeMeta
	Monitorings []Monitoring `read:"monitorings" apply:"monitorings"`
	Sites       []Site       `read:"sites" apply:"sites"`
	Rules       []Rule       `read:"rules" apply:"rules"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*Config) DeepCopy

func (in *Config) DeepCopy() *Config

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.

func (*Config) DeepCopyInto

func (in *Config) DeepCopyInto(out *Config)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Config) DeepCopyObject

func (in *Config) DeepCopyObject() api.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.

func (*Config) GetName

func (c *Config) GetName() string

func (*Config) GetPathMethod

func (c *Config) GetPathMethod(action api.Action) (string, string)

func (*Config) Init

func (c *Config) Init()

func (*Config) SetPathParams

func (c *Config) SetPathParams(args ...interface{}) error

type CountableListSpec

type CountableListSpec interface {
	api.CountableListSpec
	Spec
}

type Endpoint

type Endpoint struct {
	SiteAttributeMeta
	ResourceName     string               `read:"resource_name" create:"resource_name,omitempty" apply:"resource_name"`
	Name             string               `read:"name" create:"name" update:"name" apply:"name"`
	MonitoringTarget string               `read:"monitoring_target" create:"monitoring_target" update:"monitoring_target" apply:"monitoring_target"`
	Description      string               `read:"description" create:"description" update:"description" apply:"description"`
	Weight           uint8                `read:"weight" create:"weight" update:"weight" apply:"weight"`
	ManualFaillback  bool                 `read:"manual_failback" create:"manual_failback" update:"manual_failback" apply:"manual_failback"`
	ManualFaillOver  bool                 `read:"manual_failover" create:"manual_failover" update:"manual_failover" apply:"manual_failover"`
	Enabled          bool                 `read:"enabled" create:"enabled" update:"enabled" apply:"enabled"`
	LiveStatus       Status               `read:"live_status"`
	ReadyStatus      Status               `read:"ready_status"`
	Rdata            []string             `read:"rdata" create:"rdata" update:"rdata" apply:"rdata"`
	Monitorings      []MonitoringEndpoint `read:"monitorings" create:"monitorings" update:"monitorings" apply:"monitorings"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*Endpoint) DeepCopy

func (in *Endpoint) DeepCopy() *Endpoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.

func (*Endpoint) DeepCopyInto

func (in *Endpoint) DeepCopyInto(out *Endpoint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Endpoint) DeepCopyObject

func (in *Endpoint) DeepCopyObject() api.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.

func (*Endpoint) Fix

func (c *Endpoint) Fix()

func (*Endpoint) GetName

func (c *Endpoint) GetName() string

func (*Endpoint) GetPathMethod

func (c *Endpoint) GetPathMethod(action api.Action) (string, string)

func (*Endpoint) GetResourceName

func (c *Endpoint) GetResourceName() string

func (*Endpoint) Init

func (c *Endpoint) Init()

func (*Endpoint) SetPathParams

func (c *Endpoint) SetPathParams(args ...interface{}) error

func (*Endpoint) SetResourceName

func (c *Endpoint) SetResourceName(resourceName string)

type EndpointList

type EndpointList struct {
	SiteAttributeMeta
	Items []Endpoint `read:"items"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*EndpointList) DeepCopy

func (in *EndpointList) DeepCopy() *EndpointList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointList.

func (*EndpointList) DeepCopyInto

func (in *EndpointList) DeepCopyInto(out *EndpointList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EndpointList) DeepCopyObject

func (in *EndpointList) DeepCopyObject() api.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.

func (*EndpointList) GetItems

func (c *EndpointList) GetItems() interface{}

func (*EndpointList) GetName

func (c *EndpointList) GetName() string

func (*EndpointList) GetPathMethod

func (c *EndpointList) GetPathMethod(action api.Action) (string, string)

func (*EndpointList) Index

func (c *EndpointList) Index(i int) interface{}

func (*EndpointList) Init

func (c *EndpointList) Init()

func (*EndpointList) Len

func (c *EndpointList) Len() int

func (*EndpointList) SetPathParams

func (c *EndpointList) SetPathParams(args ...interface{}) error

type EndpointManualFailback

type EndpointManualFailback struct {
	SiteAttributeMeta
	EndpointResourceName string
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*EndpointManualFailback) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointManualFailback.

func (*EndpointManualFailback) DeepCopyInto

func (in *EndpointManualFailback) DeepCopyInto(out *EndpointManualFailback)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EndpointManualFailback) DeepCopyObject

func (in *EndpointManualFailback) DeepCopyObject() api.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.

func (*EndpointManualFailback) GetName

func (c *EndpointManualFailback) GetName() string

func (*EndpointManualFailback) GetPathMethod

func (c *EndpointManualFailback) GetPathMethod(action api.Action) (string, string)

func (*EndpointManualFailback) SetPathParams

func (c *EndpointManualFailback) SetPathParams(args ...interface{}) error

type EndpointManualFailover

type EndpointManualFailover struct {
	SiteAttributeMeta
	EndpointResourceName string
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*EndpointManualFailover) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointManualFailover.

func (*EndpointManualFailover) DeepCopyInto

func (in *EndpointManualFailover) DeepCopyInto(out *EndpointManualFailover)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EndpointManualFailover) DeepCopyObject

func (in *EndpointManualFailover) DeepCopyObject() api.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.

func (*EndpointManualFailover) GetName

func (c *EndpointManualFailover) GetName() string

func (*EndpointManualFailover) GetPathMethod

func (c *EndpointManualFailover) GetPathMethod(action api.Action) (string, string)

func (*EndpointManualFailover) SetPathParams

func (c *EndpointManualFailover) SetPathParams(args ...interface{}) error

type ListSpec

type ListSpec interface {
	api.ListSpec
	Spec
}

type LogList

type LogList struct {
	AttributeMeta
	api.Count
	Items []core.Log `read:"items"`
}

func (*LogList) AddItem

func (c *LogList) AddItem(v interface{}) bool

func (*LogList) ClearItems

func (c *LogList) ClearItems()

func (*LogList) DeepCopy

func (in *LogList) DeepCopy() *LogList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogList.

func (*LogList) DeepCopyInto

func (in *LogList) DeepCopyInto(out *LogList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LogList) DeepCopyObject

func (in *LogList) DeepCopyObject() api.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.

func (*LogList) GetItems

func (c *LogList) GetItems() interface{}

func (*LogList) GetMaxLimit

func (c *LogList) GetMaxLimit() int32

func (*LogList) GetName

func (c *LogList) GetName() string

func (*LogList) GetPathMethod

func (c *LogList) GetPathMethod(action api.Action) (string, string)

func (*LogList) Index

func (c *LogList) Index(i int) interface{}

func (*LogList) Init

func (c *LogList) Init()

func (*LogList) Len

func (c *LogList) Len() int

func (*LogList) SetPathParams

func (c *LogList) SetPathParams(args ...interface{}) error

type Monitoring

type Monitoring struct {
	AttributeMeta
	MonitoringCommon
	Props MonitoringPorps `create:"props" update:"props" apply:"props"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*Monitoring) DeepCopy

func (in *Monitoring) DeepCopy() *Monitoring

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitoring.

func (*Monitoring) DeepCopyInto

func (in *Monitoring) DeepCopyInto(out *Monitoring)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Monitoring) DeepCopyObject

func (in *Monitoring) DeepCopyObject() api.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.

func (*Monitoring) Fix

func (m *Monitoring) Fix()

func (*Monitoring) GetName

func (c *Monitoring) GetName() string

func (*Monitoring) GetPathMethod

func (c *Monitoring) GetPathMethod(action api.Action) (string, string)

func (*Monitoring) GetResourceName

func (c *Monitoring) GetResourceName() string

func (*Monitoring) SetPathParams

func (c *Monitoring) SetPathParams(args ...interface{}) error

func (*Monitoring) SetProps

func (m *Monitoring) SetProps(props MonitoringPorps)

func (*Monitoring) SetResourceName

func (c *Monitoring) SetResourceName(resourceName string)

func (*Monitoring) UnmarshalJSON

func (m *Monitoring) UnmarshalJSON(bs []byte) error

type MonitoringCommon

type MonitoringCommon struct {
	ResourceName string          `read:"resource_name" create:"resource_name" apply:"resource_name"`
	Name         string          `read:"name" create:"name" update:"name" apply:"name"`
	MType        MonitoringMtype `read:"mtype" create:"mtype" apply:"mtype"`
	Description  string          `read:"description" create:"description" update:"description" apply:"description"`
}

func (*MonitoringCommon) DeepCopy

func (in *MonitoringCommon) DeepCopy() *MonitoringCommon

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringCommon.

func (*MonitoringCommon) DeepCopyInto

func (in *MonitoringCommon) DeepCopyInto(out *MonitoringCommon)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringEndpoint

type MonitoringEndpoint struct {
	MonitoringResourceName string `update:"resource_name" create:"resource_name" apply:"resource_name"`
	Enabled                bool   `create:"enabled" update:"enabled" apply:"enabled"`
	Monitoring             *Monitoring
}

func (*MonitoringEndpoint) DeepCopy

func (in *MonitoringEndpoint) DeepCopy() *MonitoringEndpoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringEndpoint.

func (*MonitoringEndpoint) DeepCopyInto

func (in *MonitoringEndpoint) DeepCopyInto(out *MonitoringEndpoint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringEndpoint) UnmarshalJSON

func (m *MonitoringEndpoint) UnmarshalJSON(bs []byte) error

type MonitoringList

type MonitoringList struct {
	AttributeMeta
	Items []Monitoring `read:"items"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*MonitoringList) DeepCopy

func (in *MonitoringList) DeepCopy() *MonitoringList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringList.

func (*MonitoringList) DeepCopyInto

func (in *MonitoringList) DeepCopyInto(out *MonitoringList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringList) DeepCopyObject

func (in *MonitoringList) DeepCopyObject() api.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.

func (*MonitoringList) GetItems

func (c *MonitoringList) GetItems() interface{}

func (*MonitoringList) GetName

func (c *MonitoringList) GetName() string

func (*MonitoringList) GetPathMethod

func (c *MonitoringList) GetPathMethod(action api.Action) (string, string)

func (*MonitoringList) Index

func (c *MonitoringList) Index(i int) interface{}

func (*MonitoringList) Init

func (c *MonitoringList) Init()

func (*MonitoringList) Len

func (c *MonitoringList) Len() int

func (*MonitoringList) SetPathParams

func (c *MonitoringList) SetPathParams(args ...interface{}) error

type MonitoringMtype

type MonitoringMtype string
const (
	MonitoringMtypePing   MonitoringMtype = "ping"
	MonitoringMtypeTCP    MonitoringMtype = "tcp"
	MonitoringMtypeHTTP   MonitoringMtype = "http"
	MonitoringMtypeStatic MonitoringMtype = "static"
)

type MonitoringPorps

type MonitoringPorps interface {
	GetMtype() MonitoringMtype
	DeepCopyMonitoringPorps() MonitoringPorps
}

type MonitoringPorpsCommon

type MonitoringPorpsCommon struct {
	Location MonitoringPropsLocation `read:"location" update:"location" create:"location,omitempty" apply:"location,omitempty"`
	Interval uint16                  `read:"interval" update:"interval" create:"interval,omitempty" apply:"interval,omitempty"`
	Holdtime uint16                  `read:"holdtime" update:"holdtime" create:"holdtime" apply:"holdtime"`
	Timeout  uint16                  `read:"timeout" update:"timeout" create:"timeout,omitempty" apply:"timeout,omitempty"`
}

func (*MonitoringPorpsCommon) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringPorpsCommon.

func (*MonitoringPorpsCommon) DeepCopyInto

func (in *MonitoringPorpsCommon) DeepCopyInto(out *MonitoringPorpsCommon)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringPorpsHTTP

type MonitoringPorpsHTTP struct {
	MonitoringPorpsCommon
	Port          uint16   `read:"port" update:"port" create:"port,omitempty" apply:"port,omitempty"`
	TLSSNI        string   `read:"tls_sni" update:"tls_sni" create:"tls_sni,omitempty" apply:"tls_sni,omitempty"`
	ResponseMatch string   `read:"response_match" update:"response_match" create:"response_match,omitempty" apply:"response_match,omitempty"`
	HTTPS         bool     `read:"https" update:"https" create:"https" apply:"https"`
	Path          string   `read:"path" update:"path" create:"path,omitempty" apply:"path,omitempty"`
	StatusCode    []string `read:"status_codes" update:"status_codes" create:"status_codes,omitempty" apply:"status_codes,omitempty"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/apis/dpf/v1/lb_domains.MonitoringPorps

func (*MonitoringPorpsHTTP) DeepCopy

func (in *MonitoringPorpsHTTP) DeepCopy() *MonitoringPorpsHTTP

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringPorpsHTTP.

func (*MonitoringPorpsHTTP) DeepCopyInto

func (in *MonitoringPorpsHTTP) DeepCopyInto(out *MonitoringPorpsHTTP)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringPorpsHTTP) DeepCopyMonitoringPorps

func (in *MonitoringPorpsHTTP) DeepCopyMonitoringPorps() MonitoringPorps

DeepCopyMonitoringPorps is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringPorps.

func (*MonitoringPorpsHTTP) GetMtype

func (m *MonitoringPorpsHTTP) GetMtype() MonitoringMtype

type MonitoringPorpsHeader

type MonitoringPorpsHeader struct {
	FieldName  string `read:"field_name" update:"field_name" create:"field_name" apply:"field_name"`
	FieldValue string `read:"field_value" update:"field_value" create:"field_value" apply:"field_value"`
}

func (*MonitoringPorpsHeader) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringPorpsHeader.

func (*MonitoringPorpsHeader) DeepCopyInto

func (in *MonitoringPorpsHeader) DeepCopyInto(out *MonitoringPorpsHeader)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MonitoringPorpsPING

type MonitoringPorpsPING struct {
	MonitoringPorpsCommon
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/apis/dpf/v1/lb_domains.MonitoringPorps

func (*MonitoringPorpsPING) DeepCopy

func (in *MonitoringPorpsPING) DeepCopy() *MonitoringPorpsPING

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringPorpsPING.

func (*MonitoringPorpsPING) DeepCopyInto

func (in *MonitoringPorpsPING) DeepCopyInto(out *MonitoringPorpsPING)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringPorpsPING) DeepCopyMonitoringPorps

func (in *MonitoringPorpsPING) DeepCopyMonitoringPorps() MonitoringPorps

DeepCopyMonitoringPorps is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringPorps.

func (*MonitoringPorpsPING) GetMtype

func (m *MonitoringPorpsPING) GetMtype() MonitoringMtype

type MonitoringPorpsStatic

type MonitoringPorpsStatic struct {
	Result MonitoringPorpsStaticStatus `read:"result" update:"result" create:"result" apply:"result"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/apis/dpf/v1/lb_domains.MonitoringPorps

func (*MonitoringPorpsStatic) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringPorpsStatic.

func (*MonitoringPorpsStatic) DeepCopyInto

func (in *MonitoringPorpsStatic) DeepCopyInto(out *MonitoringPorpsStatic)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringPorpsStatic) DeepCopyMonitoringPorps

func (in *MonitoringPorpsStatic) DeepCopyMonitoringPorps() MonitoringPorps

DeepCopyMonitoringPorps is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringPorps.

func (*MonitoringPorpsStatic) GetMtype

func (m *MonitoringPorpsStatic) GetMtype() MonitoringMtype

type MonitoringPorpsStaticStatus

type MonitoringPorpsStaticStatus string
const (
	MonitoringPorpsStaticStatusUp     MonitoringPorpsStaticStatus = "up"
	MonitoringPorpsStaticStatusDown   MonitoringPorpsStaticStatus = "down"
	MonitoringPorpsStaticStatusUnkown MonitoringPorpsStaticStatus = "unknown"
)

type MonitoringPorpsTCP

type MonitoringPorpsTCP struct {
	MonitoringPorpsCommon
	Port       uint16 `read:"port" update:"port" create:"port" apply:"port"`
	TLSEnabled bool   `read:"tls_enabled" update:"tls_enabled" create:"tls_enabled" apply:"tls_enalbed"`
	TLSSNI     string `read:"tls_sni" update:"tls_sni" create:"tls_sni,omitempty" apply:"tls_sni,omitempty"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/apis/dpf/v1/lb_domains.MonitoringPorps

func (*MonitoringPorpsTCP) DeepCopy

func (in *MonitoringPorpsTCP) DeepCopy() *MonitoringPorpsTCP

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringPorpsTCP.

func (*MonitoringPorpsTCP) DeepCopyInto

func (in *MonitoringPorpsTCP) DeepCopyInto(out *MonitoringPorpsTCP)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MonitoringPorpsTCP) DeepCopyMonitoringPorps

func (in *MonitoringPorpsTCP) DeepCopyMonitoringPorps() MonitoringPorps

DeepCopyMonitoringPorps is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringPorps.

func (*MonitoringPorpsTCP) GetMtype

func (m *MonitoringPorpsTCP) GetMtype() MonitoringMtype

type MonitoringPropsLocation

type MonitoringPropsLocation string
const (
	MonitoringPropsLocationAll MonitoringPropsLocation = "all"
	MonitoringPropsLocationJP  MonitoringPropsLocation = "jp"
	MonitoringPropsLocationUS  MonitoringPropsLocation = "us"
)

type Rule

type Rule struct {
	AttributeMeta
	ResourceName string       `read:"resource_name" create:"resource_name,omitempty" apply:"resource_name"`
	Name         string       `read:"name" create:"name" update:"name" apply:"name"`
	Description  string       `read:"description" create:"description" update:"description" apply:"description"`
	Methods      []RuleMethod `read:"methods" apply:"methods"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*Rule) DeepCopy

func (in *Rule) DeepCopy() *Rule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.

func (*Rule) DeepCopyInto

func (in *Rule) DeepCopyInto(out *Rule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Rule) DeepCopyObject

func (in *Rule) DeepCopyObject() api.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.

func (*Rule) GetName

func (c *Rule) GetName() string

func (*Rule) GetPathMethod

func (c *Rule) GetPathMethod(action api.Action) (string, string)

func (*Rule) GetResourceName

func (c *Rule) GetResourceName() string

func (*Rule) Init

func (c *Rule) Init()

func (*Rule) SetPathParams

func (c *Rule) SetPathParams(args ...interface{}) error

func (*Rule) SetResourceName

func (c *Rule) SetResourceName(resourceName string)

type RuleAttributeMeta

type RuleAttributeMeta struct {
	AttributeMeta
	RuleResourceName string
}

func (*RuleAttributeMeta) DeepCopy

func (in *RuleAttributeMeta) DeepCopy() *RuleAttributeMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleAttributeMeta.

func (*RuleAttributeMeta) DeepCopyInto

func (in *RuleAttributeMeta) DeepCopyInto(out *RuleAttributeMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RuleList

type RuleList struct {
	AttributeMeta
	api.Count
	Items []Rule `read:"items"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*RuleList) AddItem

func (c *RuleList) AddItem(v interface{}) bool

func (*RuleList) ClearItems

func (c *RuleList) ClearItems()

func (*RuleList) DeepCopy

func (in *RuleList) DeepCopy() *RuleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleList.

func (*RuleList) DeepCopyInto

func (in *RuleList) DeepCopyInto(out *RuleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuleList) DeepCopyObject

func (in *RuleList) DeepCopyObject() api.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.

func (*RuleList) GetItems

func (c *RuleList) GetItems() interface{}

func (*RuleList) GetMaxLimit

func (c *RuleList) GetMaxLimit() int32

func (*RuleList) GetName

func (c *RuleList) GetName() string

func (*RuleList) GetPathMethod

func (c *RuleList) GetPathMethod(action api.Action) (string, string)

func (*RuleList) Index

func (c *RuleList) Index(i int) interface{}

func (*RuleList) Init

func (c *RuleList) Init()

func (*RuleList) Len

func (c *RuleList) Len() int

func (*RuleList) SetPathParams

func (c *RuleList) SetPathParams(args ...interface{}) error

type RuleMethod

type RuleMethod struct {
	RuleAttributeMeta
	Priority *uint           `create:"priority,omitempty" update:"priority,omitempty" apply:"priority,omitempty"`
	Method   RuleMethodProps `create:"method" update:"method" apply:"method"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*RuleMethod) DeepCopy

func (in *RuleMethod) DeepCopy() *RuleMethod

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethod.

func (*RuleMethod) DeepCopyInto

func (in *RuleMethod) DeepCopyInto(out *RuleMethod)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuleMethod) DeepCopyObject

func (in *RuleMethod) DeepCopyObject() api.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.

func (*RuleMethod) Fix

func (c *RuleMethod) Fix()

func (*RuleMethod) GetMethodResourceName

func (c *RuleMethod) GetMethodResourceName() string

func (*RuleMethod) GetName

func (c *RuleMethod) GetName() string

func (*RuleMethod) GetPathMethod

func (c *RuleMethod) GetPathMethod(action api.Action) (string, string)

func (*RuleMethod) SetMethodResourceName

func (c *RuleMethod) SetMethodResourceName(resourceName string)

func (*RuleMethod) SetPathParams

func (c *RuleMethod) SetPathParams(args ...interface{}) error

func (*RuleMethod) UnmarshalJSON

func (c *RuleMethod) UnmarshalJSON(bs []byte) error

type RuleMethodEntryA

type RuleMethodEntryA struct {
	RuleMethodPropsCommon
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/apis/dpf/v1/lb_domains.RuleMethodProps

func (*RuleMethodEntryA) DeepCopy

func (in *RuleMethodEntryA) DeepCopy() *RuleMethodEntryA

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodEntryA.

func (*RuleMethodEntryA) DeepCopyInto

func (in *RuleMethodEntryA) DeepCopyInto(out *RuleMethodEntryA)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuleMethodEntryA) DeepCopyRuleMethodProps

func (in *RuleMethodEntryA) DeepCopyRuleMethodProps() RuleMethodProps

DeepCopyRuleMethodProps is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodProps.

func (*RuleMethodEntryA) Fix

func (m *RuleMethodEntryA) Fix()

type RuleMethodEntryAAAA

type RuleMethodEntryAAAA struct {
	RuleMethodPropsCommon
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/apis/dpf/v1/lb_domains.RuleMethodProps

func (*RuleMethodEntryAAAA) DeepCopy

func (in *RuleMethodEntryAAAA) DeepCopy() *RuleMethodEntryAAAA

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodEntryAAAA.

func (*RuleMethodEntryAAAA) DeepCopyInto

func (in *RuleMethodEntryAAAA) DeepCopyInto(out *RuleMethodEntryAAAA)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuleMethodEntryAAAA) DeepCopyRuleMethodProps

func (in *RuleMethodEntryAAAA) DeepCopyRuleMethodProps() RuleMethodProps

DeepCopyRuleMethodProps is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodProps.

func (*RuleMethodEntryAAAA) Fix

func (m *RuleMethodEntryAAAA) Fix()

type RuleMethodEntryCNAME

type RuleMethodEntryCNAME struct {
	RuleMethodPropsCommon
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/apis/dpf/v1/lb_domains.RuleMethodProps

func (*RuleMethodEntryCNAME) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodEntryCNAME.

func (*RuleMethodEntryCNAME) DeepCopyInto

func (in *RuleMethodEntryCNAME) DeepCopyInto(out *RuleMethodEntryCNAME)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuleMethodEntryCNAME) DeepCopyRuleMethodProps

func (in *RuleMethodEntryCNAME) DeepCopyRuleMethodProps() RuleMethodProps

DeepCopyRuleMethodProps is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodProps.

func (*RuleMethodEntryCNAME) Fix

func (m *RuleMethodEntryCNAME) Fix()

type RuleMethodExitSite

type RuleMethodExitSite struct {
	RuleMethodPropsCommon
	ParentResourceName string `read:"parent_resource_name" create:"parent_resource_name" apply:"parent_resource_name"`
	SiteResourceName   string `read:"site_resource_name" create:"site_resource_name" apply:"site_resource_name"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/apis/dpf/v1/lb_domains.RuleMethodProps

func (*RuleMethodExitSite) DeepCopy

func (in *RuleMethodExitSite) DeepCopy() *RuleMethodExitSite

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodExitSite.

func (*RuleMethodExitSite) DeepCopyInto

func (in *RuleMethodExitSite) DeepCopyInto(out *RuleMethodExitSite)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuleMethodExitSite) DeepCopyRuleMethodProps

func (in *RuleMethodExitSite) DeepCopyRuleMethodProps() RuleMethodProps

DeepCopyRuleMethodProps is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodProps.

func (*RuleMethodExitSite) Fix

func (m *RuleMethodExitSite) Fix()

func (*RuleMethodExitSite) GetParentResourceName

func (m *RuleMethodExitSite) GetParentResourceName() string

type RuleMethodExitSorry

type RuleMethodExitSorry struct {
	RuleMethodPropsCommon
	ParentResourceName string `read:"parent_resource_name" create:"parent_resource_name" apply:"parent_resource_name"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/apis/dpf/v1/lb_domains.RuleMethodProps

func (*RuleMethodExitSorry) DeepCopy

func (in *RuleMethodExitSorry) DeepCopy() *RuleMethodExitSorry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodExitSorry.

func (*RuleMethodExitSorry) DeepCopyInto

func (in *RuleMethodExitSorry) DeepCopyInto(out *RuleMethodExitSorry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuleMethodExitSorry) DeepCopyRuleMethodProps

func (in *RuleMethodExitSorry) DeepCopyRuleMethodProps() RuleMethodProps

DeepCopyRuleMethodProps is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodProps.

func (*RuleMethodExitSorry) Fix

func (m *RuleMethodExitSorry) Fix()

func (*RuleMethodExitSorry) GetParentResourceName

func (m *RuleMethodExitSorry) GetParentResourceName() string

type RuleMethodFailover

type RuleMethodFailover struct {
	RuleMethodPropsCommon
	ParentResourceName string `read:"parent_resource_name" create:"parent_resource_name" apply:"parent_resource_name"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/apis/dpf/v1/lb_domains.RuleMethodProps

func (*RuleMethodFailover) DeepCopy

func (in *RuleMethodFailover) DeepCopy() *RuleMethodFailover

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodFailover.

func (*RuleMethodFailover) DeepCopyInto

func (in *RuleMethodFailover) DeepCopyInto(out *RuleMethodFailover)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuleMethodFailover) DeepCopyRuleMethodProps

func (in *RuleMethodFailover) DeepCopyRuleMethodProps() RuleMethodProps

DeepCopyRuleMethodProps is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodProps.

func (*RuleMethodFailover) Fix

func (m *RuleMethodFailover) Fix()

func (*RuleMethodFailover) GetParentResourceName

func (m *RuleMethodFailover) GetParentResourceName() string

type RuleMethodList

type RuleMethodList struct {
	RuleAttributeMeta
	Items []RuleMethod `read:"items"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*RuleMethodList) DeepCopy

func (in *RuleMethodList) DeepCopy() *RuleMethodList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodList.

func (*RuleMethodList) DeepCopyInto

func (in *RuleMethodList) DeepCopyInto(out *RuleMethodList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuleMethodList) DeepCopyObject

func (in *RuleMethodList) DeepCopyObject() api.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.

func (*RuleMethodList) GetItems

func (c *RuleMethodList) GetItems() interface{}

func (*RuleMethodList) GetName

func (c *RuleMethodList) GetName() string

func (*RuleMethodList) GetPathMethod

func (c *RuleMethodList) GetPathMethod(action api.Action) (string, string)

func (*RuleMethodList) Index

func (c *RuleMethodList) Index(i int) interface{}

func (*RuleMethodList) Init

func (c *RuleMethodList) Init()

func (*RuleMethodList) Len

func (c *RuleMethodList) Len() int

func (*RuleMethodList) SetPathParams

func (c *RuleMethodList) SetPathParams(args ...interface{}) error

type RuleMethodMType

type RuleMethodMType string
const (
	RuleMethodMTypeEntryA     RuleMethodMType = "entry_a"
	RuleMethodMTypeEntryAAAA  RuleMethodMType = "entry_aaaa"
	RuleMethodMTypeEntryCNAME RuleMethodMType = "entry_cname"
	RuleMethodMTypeExitSite   RuleMethodMType = "exit_site"
	RuleMethodMTypeExitSorry  RuleMethodMType = "exit_sorry"
	RuleMethodMTypeFailover   RuleMethodMType = "exit_failover"
)

type RuleMethodProps

type RuleMethodProps interface {
	Fix()
	GetMType() RuleMethodMType
	GetMethodResourceName() string
	SetMethodResourceName(string)
	DeepCopyRuleMethodProps() RuleMethodProps
}

type RuleMethodPropsCommon

type RuleMethodPropsCommon struct {
	ResourceName string          `read:"resource_name" create:"resource_name" apply:"resource_name"`
	MType        RuleMethodMType `read:"mtype" create:"mtype" apply:"mtype"`
	Enabled      bool            `read:"enabled" create:"enabled" update:"enabled" apply:"enabled"`
	LiveStatus   Status          `read:"live_status"`
	ReadyStatus  Status          `read:"ready_status"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/apis/dpf/v1/lb_domains.RuleMethodProps

func (*RuleMethodPropsCommon) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodPropsCommon.

func (*RuleMethodPropsCommon) DeepCopyInto

func (in *RuleMethodPropsCommon) DeepCopyInto(out *RuleMethodPropsCommon)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuleMethodPropsCommon) DeepCopyRuleMethodProps

func (in *RuleMethodPropsCommon) DeepCopyRuleMethodProps() RuleMethodProps

DeepCopyRuleMethodProps is an autogenerated deepcopy function, copying the receiver, creating a new RuleMethodProps.

func (*RuleMethodPropsCommon) Fix

func (r *RuleMethodPropsCommon) Fix()

func (*RuleMethodPropsCommon) GetMType

func (r *RuleMethodPropsCommon) GetMType() RuleMethodMType

func (*RuleMethodPropsCommon) GetMethodResourceName

func (r *RuleMethodPropsCommon) GetMethodResourceName() string

func (*RuleMethodPropsCommon) SetMethodResourceName

func (r *RuleMethodPropsCommon) SetMethodResourceName(resourceName string)

type RuleRRType

type RuleRRType string
const (
	RuleRRTypeA     RuleRRType = "A"
	RuleRRTypeAAAA  RuleRRType = "AAAA"
	RuleRRTypeCNAME RuleRRType = "CNAME"
)

type Site

type Site struct {
	AttributeMeta
	ResourceName string     `read:"resource_name" create:"resource_name,omitempty" apply:"resource_name"`
	Name         string     `read:"name" create:"name" update:"name" apply:"name"`
	RRType       SiteRRType `read:"rrtype" create:"rrtype" apply:"rrtype"`
	Description  string     `read:"description" create:"description" update:"description" apply:"description"`
	LiveStatus   Status     `read:"live_status"`
	Endpoints    []Endpoint `read:"endpoints" apply:"endpoints"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*Site) DeepCopy

func (in *Site) DeepCopy() *Site

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Site.

func (*Site) DeepCopyInto

func (in *Site) DeepCopyInto(out *Site)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Site) DeepCopyObject

func (in *Site) DeepCopyObject() api.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.

func (*Site) GetName

func (c *Site) GetName() string

func (*Site) GetPathMethod

func (c *Site) GetPathMethod(action api.Action) (string, string)

func (*Site) GetResourceName

func (c *Site) GetResourceName() string

func (*Site) Init

func (c *Site) Init()

func (*Site) SetPathParams

func (c *Site) SetPathParams(args ...interface{}) error

func (*Site) SetResourceName

func (c *Site) SetResourceName(resourceName string)

type SiteAttributeMeta

type SiteAttributeMeta struct {
	AttributeMeta
	SiteResourceName string
}

func (*SiteAttributeMeta) DeepCopy

func (in *SiteAttributeMeta) DeepCopy() *SiteAttributeMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteAttributeMeta.

func (*SiteAttributeMeta) DeepCopyInto

func (in *SiteAttributeMeta) DeepCopyInto(out *SiteAttributeMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SiteList

type SiteList struct {
	AttributeMeta
	api.Count
	Items []Site `read:"items"`
}

+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object

func (*SiteList) DeepCopy

func (in *SiteList) DeepCopy() *SiteList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteList.

func (*SiteList) DeepCopyInto

func (in *SiteList) DeepCopyInto(out *SiteList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SiteList) DeepCopyObject

func (in *SiteList) DeepCopyObject() api.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.

func (*SiteList) GetItems

func (c *SiteList) GetItems() interface{}

func (*SiteList) GetName

func (c *SiteList) GetName() string

func (*SiteList) GetPathMethod

func (c *SiteList) GetPathMethod(action api.Action) (string, string)

func (*SiteList) Index

func (c *SiteList) Index(i int) interface{}

func (*SiteList) Init

func (c *SiteList) Init()

func (*SiteList) Len

func (c *SiteList) Len() int

func (*SiteList) SetPathParams

func (c *SiteList) SetPathParams(args ...interface{}) error

type SiteRRType

type SiteRRType string
const (
	SiteRRTypeA     SiteRRType = "A"
	SiteRRTypeAAAA  SiteRRType = "AAAA"
	SiteRRTypeCNAME SiteRRType = "CNAME"
)

type Spec

type Spec interface {
	api.Spec
	apis.Params
	GetLBDoaminID() string
	SetLBDoaminID(string)
}

type Status

type Status string

Jump to

Keyboard shortcuts

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