zones

package
Version: v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DSStateToSString = map[DSState]string{
	DSStateClose:                         "Close",
	DSStateBeforeRegistration:            "BeforeRegistration",
	DSStateWaitClearCacheForRegistration: "WaitRegistration",
	DSStateDisclose:                      "Disclose",
	DSStateBeforeChange:                  "BeforeChange",
	DSStateWaitClearCacheForChanged:      "WaitChange",
	DSStateBeforeDelete:                  "BeforeDelete",
	DSStateWaitClearCacheForDelete:       "WaitDelete",
}
View Source
var DefaultTTLStateToString = map[DefaultTTLState]string{
	DefaultTTLStateApplied:      "Applied",
	DefaultTTLStateToBeUpdate:   "ToBeUpdate",
	DefaultTTLStateBeforeUpdate: "BeforeUpdate",
}
View Source
var DnssecStateToString = map[DnssecState]string{
	DnssecStateZoneClosed: "ZoneClosed",
	DnssecStateEnabling:   "Enabling",
	DnssecStateEnable:     "Enable",
	DnssecStateDisabling:  "Disabling",
	DnssecStateDisable:    "Disable",
}
View Source
var RecordStateToString = map[RecordState]string{
	RecordStateApplied:      "Applied",
	RecordStateToBeAdded:    "ToBeAdded",
	RecordStateToBeDeleted:  "ToBeDeleted",
	RecordStateToBeUpdate:   "ToBeUpdate",
	RecordStateBeforeUpdate: "BeforeUpdate",
}
View Source
var (
	Register = schema.NewRegister(groupName)
)
View Source
var (
	TypeANAMECode uint16 = 65280
)

Functions

func GetPathMethodForChildSpec

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

func GetPathMethodForListSpec

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

func GetReadPathMethodForSpec

func GetReadPathMethodForSpec(action api.Action, s Spec) (string, string)

Types

type AttributeMeta

type AttributeMeta struct {
	ZoneId string `read:"-"`
}

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

for ctl

func (*AttributeMeta) GetZoneId

func (s *AttributeMeta) GetZoneId() string

func (*AttributeMeta) SetZoneId

func (s *AttributeMeta) SetZoneId(id string)

type ChildSpec

type ChildSpec interface {
	Spec
	GetId() int64
	SetId(int64)
}

type Contract

type Contract struct {
	AttributeMeta
	core.Contract
}

func (*Contract) DeepCopy

func (in *Contract) DeepCopy() *Contract

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

func (*Contract) DeepCopyInto

func (in *Contract) DeepCopyInto(out *Contract)

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

func (*Contract) DeepCopyObject

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

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

func (*Contract) GetName

func (c *Contract) GetName() string

func (*Contract) GetPathMethod

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

func (*Contract) SetParams

func (c *Contract) SetParams(args ...interface{}) error

type CountableListSpec

type CountableListSpec interface {
	api.CountableListSpec
	Spec
}

type CurrentRecordList

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

func (*CurrentRecordList) AddItem

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

func (*CurrentRecordList) ClearItems

func (c *CurrentRecordList) ClearItems()

func (*CurrentRecordList) DeepCopy

func (in *CurrentRecordList) DeepCopy() *CurrentRecordList

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

func (*CurrentRecordList) DeepCopyInto

func (in *CurrentRecordList) DeepCopyInto(out *CurrentRecordList)

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

func (*CurrentRecordList) DeepCopyObject

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

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

func (*CurrentRecordList) GetItems

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

func (*CurrentRecordList) GetMaxLimit

func (c *CurrentRecordList) GetMaxLimit() int32

func (*CurrentRecordList) GetName

func (c *CurrentRecordList) GetName() string

func (*CurrentRecordList) GetPathMethod

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

func (*CurrentRecordList) Index

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

func (*CurrentRecordList) Init

func (c *CurrentRecordList) Init()

func (*CurrentRecordList) Len

func (c *CurrentRecordList) Len() int

func (*CurrentRecordList) SetParams

func (c *CurrentRecordList) SetParams(args ...interface{}) error

type DSState

type DSState int
const (
	DSStateClose                         DSState = 0
	DSStateBeforeRegistration            DSState = 1
	DSStateWaitClearCacheForRegistration DSState = 2
	DSStateDisclose                      DSState = 3
	DSStateBeforeChange                  DSState = 4
	DSStateWaitClearCacheForChanged      DSState = 5
	DSStateBeforeDelete                  DSState = 6
	DSStateWaitClearCacheForDelete       DSState = 7
)

func (DSState) String

func (c DSState) String() string

type DefaultTTL

type DefaultTTL struct {
	AttributeMeta
	Value    int64           `read:"value" update:"value"`
	State    DefaultTTLState `read:"state"`
	Operator string          `read:"operator"`
}

func (*DefaultTTL) DeepCopy

func (in *DefaultTTL) DeepCopy() *DefaultTTL

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

func (*DefaultTTL) DeepCopyInto

func (in *DefaultTTL) DeepCopyInto(out *DefaultTTL)

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

func (*DefaultTTL) DeepCopyObject

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

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

func (*DefaultTTL) GetName

func (c *DefaultTTL) GetName() string

func (*DefaultTTL) GetPathMethod

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

func (*DefaultTTL) SetParams

func (c *DefaultTTL) SetParams(args ...interface{}) error

type DefaultTTLDiff

type DefaultTTLDiff struct {
	New *DefaultTTL `read:"new"`
	Old *DefaultTTL `read:"old"`
}

func (*DefaultTTLDiff) DeepCopy

func (in *DefaultTTLDiff) DeepCopy() *DefaultTTLDiff

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

func (*DefaultTTLDiff) DeepCopyInto

func (in *DefaultTTLDiff) DeepCopyInto(out *DefaultTTLDiff)

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

type DefaultTTLDiffList

type DefaultTTLDiffList struct {
	AttributeMeta
	Items []DefaultTTLDiff `read:"items"`
}

func (*DefaultTTLDiffList) DeepCopy

func (in *DefaultTTLDiffList) DeepCopy() *DefaultTTLDiffList

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

func (*DefaultTTLDiffList) DeepCopyInto

func (in *DefaultTTLDiffList) DeepCopyInto(out *DefaultTTLDiffList)

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

func (*DefaultTTLDiffList) DeepCopyObject

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

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

func (*DefaultTTLDiffList) GetItems

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

func (*DefaultTTLDiffList) GetName

func (c *DefaultTTLDiffList) GetName() string

func (*DefaultTTLDiffList) GetPathMethod

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

func (*DefaultTTLDiffList) Index

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

func (*DefaultTTLDiffList) Init

func (c *DefaultTTLDiffList) Init()

func (*DefaultTTLDiffList) Len

func (c *DefaultTTLDiffList) Len() int

func (*DefaultTTLDiffList) SetParams

func (c *DefaultTTLDiffList) SetParams(args ...interface{}) error

type DefaultTTLState

type DefaultTTLState int
const (
	DefaultTTLStateApplied      DefaultTTLState = 0
	DefaultTTLStateToBeUpdate   DefaultTTLState = 3
	DefaultTTLStateBeforeUpdate DefaultTTLState = 5
)

func (DefaultTTLState) String

func (c DefaultTTLState) String() string

type Dnssec

type Dnssec struct {
	AttributeMeta
	Enabled types.Boolean `read:"enabled" update:"enabled"`
	State   DnssecState   `read:"state"`
	DsState DSState       `read:"ds_state"`
}

func (*Dnssec) DeepCopy

func (in *Dnssec) DeepCopy() *Dnssec

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

func (*Dnssec) DeepCopyInto

func (in *Dnssec) DeepCopyInto(out *Dnssec)

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

func (*Dnssec) DeepCopyObject

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

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

func (*Dnssec) GetName

func (c *Dnssec) GetName() string

func (*Dnssec) GetPathMethod

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

func (*Dnssec) SetParams

func (c *Dnssec) SetParams(args ...interface{}) error

type DnssecKskRollover

type DnssecKskRollover struct {
	AttributeMeta
}

func (*DnssecKskRollover) DeepCopy

func (in *DnssecKskRollover) DeepCopy() *DnssecKskRollover

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

func (*DnssecKskRollover) DeepCopyInto

func (in *DnssecKskRollover) DeepCopyInto(out *DnssecKskRollover)

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

func (*DnssecKskRollover) DeepCopyObject

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

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

func (*DnssecKskRollover) GetName

func (c *DnssecKskRollover) GetName() string

func (*DnssecKskRollover) GetPathMethod

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

func (*DnssecKskRollover) SetParams

func (c *DnssecKskRollover) SetParams(args ...interface{}) error

type DnssecState

type DnssecState int
const (
	DnssecStateZoneClosed DnssecState = 0
	DnssecStateEnabling   DnssecState = 1
	DnssecStateEnable     DnssecState = 2
	DnssecStateDisabling  DnssecState = 3
	DnssecStateDisable    DnssecState = 4
)

func (DnssecState) String

func (c DnssecState) String() string

type DsRecord

type DsRecord struct {
	RRSet     string     `read:"rrset"`
	TransitAt types.Time `read:"transited_at"`
}

func (*DsRecord) DeepCopy

func (in *DsRecord) DeepCopy() *DsRecord

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

func (*DsRecord) DeepCopyInto

func (in *DsRecord) DeepCopyInto(out *DsRecord)

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

type DsRecordList

type DsRecordList struct {
	AttributeMeta
	Items []DsRecord `read:"items"`
}

func (*DsRecordList) DeepCopy

func (in *DsRecordList) DeepCopy() *DsRecordList

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

func (*DsRecordList) DeepCopyInto

func (in *DsRecordList) DeepCopyInto(out *DsRecordList)

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

func (*DsRecordList) DeepCopyObject

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

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

func (*DsRecordList) GetItems

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

func (*DsRecordList) GetName

func (c *DsRecordList) GetName() string

func (*DsRecordList) GetPathMethod

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

func (*DsRecordList) Index

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

func (*DsRecordList) Init

func (c *DsRecordList) Init()

func (*DsRecordList) Len

func (c *DsRecordList) Len() int

func (*DsRecordList) SetParams

func (c *DsRecordList) SetParams(args ...interface{}) error

type History

type History struct {
	Id          int64      `read:"id"`
	CommittedAt types.Time `read:"committed_at"`
	Description string     `read:"description"`
	Operator    string     `read:"operator"`
}

func (*History) DeepCopy

func (in *History) DeepCopy() *History

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

func (*History) DeepCopyInto

func (in *History) DeepCopyInto(out *History)

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

type HistoryList

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

func (*HistoryList) AddItem

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

func (*HistoryList) ClearItems

func (c *HistoryList) ClearItems()

func (*HistoryList) DeepCopy

func (in *HistoryList) DeepCopy() *HistoryList

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

func (*HistoryList) DeepCopyInto

func (in *HistoryList) DeepCopyInto(out *HistoryList)

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

func (*HistoryList) DeepCopyObject

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

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

func (*HistoryList) GetItems

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

func (*HistoryList) GetMaxLimit

func (c *HistoryList) GetMaxLimit() int32

func (*HistoryList) GetName

func (c *HistoryList) GetName() string

func (*HistoryList) GetPathMethod

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

func (*HistoryList) Index

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

func (*HistoryList) Init

func (c *HistoryList) Init()

func (*HistoryList) Len

func (c *HistoryList) Len() int

func (*HistoryList) SetParams

func (c *HistoryList) SetParams(args ...interface{}) error

type HistoryListSearchKeywords

type HistoryListSearchKeywords struct {
	api.CommonSearchParams
	FullText    api.KeywordsString `url:"_keywords_full_text[],omitempty"`
	Description api.KeywordsString `url:"_keywords_description[],omitempty"`
	Operator    api.KeywordsString `url:"_keywords_operator[],omitempty"`
}

func (*HistoryListSearchKeywords) GetValues

func (s *HistoryListSearchKeywords) GetValues() (url.Values, error)

type HistoryText

type HistoryText struct {
	AttributeMeta
	History
	Text string `read:"text"`
}

func (*HistoryText) DeepCopy

func (in *HistoryText) DeepCopy() *HistoryText

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

func (*HistoryText) DeepCopyInto

func (in *HistoryText) DeepCopyInto(out *HistoryText)

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

func (*HistoryText) DeepCopyObject

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

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

func (*HistoryText) GetName

func (c *HistoryText) GetName() string

func (*HistoryText) GetPathMethod

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

func (*HistoryText) SetParams

func (c *HistoryText) SetParams(args ...interface{}) error

type KeywordsType

type KeywordsType []Type

+k8s:deepcopy-gen=false

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) SetParams

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

type ManagedDnsList

type ManagedDnsList struct {
	AttributeMeta
	Items []string `read:"items"`
}

func (*ManagedDnsList) DeepCopy

func (in *ManagedDnsList) DeepCopy() *ManagedDnsList

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

func (*ManagedDnsList) DeepCopyInto

func (in *ManagedDnsList) DeepCopyInto(out *ManagedDnsList)

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

func (*ManagedDnsList) DeepCopyObject

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

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

func (*ManagedDnsList) GetItems

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

func (*ManagedDnsList) GetName

func (c *ManagedDnsList) GetName() string

func (*ManagedDnsList) GetPathMethod

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

func (*ManagedDnsList) Index

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

func (*ManagedDnsList) Init

func (c *ManagedDnsList) Init()

func (*ManagedDnsList) Len

func (c *ManagedDnsList) Len() int

func (*ManagedDnsList) SetParams

func (c *ManagedDnsList) SetParams(args ...interface{}) error

type Record

type Record struct {
	AttributeMeta

	Id          string       `read:"id"`
	Name        string       `read:"name" create:"name"`
	TTL         int32        `read:"ttl"  create:"ttl" update:"ttl"`
	RRType      Type         `read:"rrtype"  create:"rrtype"`
	RData       RecordRDATAs `read:"rdata"  create:"rdata" update:"rdata"`
	State       RecordState  `read:"state"`
	Description string       `read:"description"  create:"description" update:"description"`
	Operator    string       `read:"operator"`
}

func (*Record) AddRRs added in v0.3.0

func (c *Record) AddRRs(rrs []dns.RR)

func (*Record) DeepCopy

func (in *Record) DeepCopy() *Record

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

func (*Record) DeepCopyInto

func (in *Record) DeepCopyInto(out *Record)

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

func (*Record) DeepCopyObject

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

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

func (*Record) GetName

func (c *Record) GetName() string

func (*Record) GetPathMethod

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

func (*Record) SetParams

func (c *Record) SetParams(args ...interface{}) error

type RecordDiff

type RecordDiff struct {
	New *Record `read:"new"`
	Old *Record `read:"old"`
}

func (*RecordDiff) DeepCopy

func (in *RecordDiff) DeepCopy() *RecordDiff

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

func (*RecordDiff) DeepCopyInto

func (in *RecordDiff) DeepCopyInto(out *RecordDiff)

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

type RecordDiffList

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

func (*RecordDiffList) AddItem

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

func (*RecordDiffList) ClearItems

func (c *RecordDiffList) ClearItems()

func (*RecordDiffList) DeepCopy

func (in *RecordDiffList) DeepCopy() *RecordDiffList

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

func (*RecordDiffList) DeepCopyInto

func (in *RecordDiffList) DeepCopyInto(out *RecordDiffList)

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

func (*RecordDiffList) DeepCopyObject

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

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

func (*RecordDiffList) GetItems

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

func (*RecordDiffList) GetMaxLimit

func (c *RecordDiffList) GetMaxLimit() int32

func (*RecordDiffList) GetName

func (c *RecordDiffList) GetName() string

func (*RecordDiffList) GetPathMethod

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

func (*RecordDiffList) Index

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

func (*RecordDiffList) Init

func (c *RecordDiffList) Init()

func (*RecordDiffList) Len

func (c *RecordDiffList) Len() int

func (*RecordDiffList) SetParams

func (c *RecordDiffList) SetParams(args ...interface{}) error

type RecordList

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

func (*RecordList) AddItem

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

func (*RecordList) ClearItems

func (c *RecordList) ClearItems()

func (*RecordList) DeepCopy

func (in *RecordList) DeepCopy() *RecordList

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

func (*RecordList) DeepCopyInto

func (in *RecordList) DeepCopyInto(out *RecordList)

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

func (*RecordList) DeepCopyObject

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

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

func (*RecordList) GetItems

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

func (*RecordList) GetMaxLimit

func (c *RecordList) GetMaxLimit() int32

func (*RecordList) GetName

func (c *RecordList) GetName() string

func (*RecordList) GetPathMethod

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

func (*RecordList) Index

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

func (*RecordList) Init

func (c *RecordList) Init()

func (*RecordList) Len

func (c *RecordList) Len() int

func (*RecordList) SetParams

func (c *RecordList) SetParams(args ...interface{}) error

type RecordListSearchKeywords

type RecordListSearchKeywords struct {
	api.CommonSearchParams
	FullText    api.KeywordsString `url:"_keywords_full_text[],omitempty"`
	Name        api.KeywordsString `url:"_keywords_name[],omitempty"`
	TTL         []int32            `url:"_keywords_ttl[],omitempty"`
	RRType      KeywordsType       `url:"_keywords_rrtype[],omitempty"`
	RData       api.KeywordsString `url:"_keywords_rdata[],omitempty"`
	Description api.KeywordsString `url:"_keywords_description[],omitempty"`
	Operator    api.KeywordsString `url:"_keywords_operator[],omitempty"`
}

func (*RecordListSearchKeywords) GetValues

func (s *RecordListSearchKeywords) GetValues() (url.Values, error)

type RecordRDATA

type RecordRDATA struct {
	Value string `read:"value" create:"value" update:"value"`
}

func (*RecordRDATA) DeepCopy

func (in *RecordRDATA) DeepCopy() *RecordRDATA

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

func (*RecordRDATA) DeepCopyInto

func (in *RecordRDATA) DeepCopyInto(out *RecordRDATA)

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

func (*RecordRDATA) String added in v0.3.0

func (c *RecordRDATA) String() string

type RecordRDATAs added in v0.3.0

type RecordRDATAs []RecordRDATA

func (RecordRDATAs) DeepCopy added in v0.3.0

func (in RecordRDATAs) DeepCopy() RecordRDATAs

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

func (RecordRDATAs) DeepCopyInto added in v0.3.0

func (in RecordRDATAs) DeepCopyInto(out *RecordRDATAs)

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

func (RecordRDATAs) String added in v0.3.0

func (c RecordRDATAs) String() string

type RecordState

type RecordState int
const (
	RecordStateApplied      RecordState = 0
	RecordStateToBeAdded    RecordState = 1
	RecordStateToBeDeleted  RecordState = 2
	RecordStateToBeUpdate   RecordState = 3
	RecordStateBeforeUpdate RecordState = 5
)

func (RecordState) String

func (c RecordState) String() string

type Spec

type Spec interface {
	apis.Spec
	SetZoneId(string)
	GetZoneId() string
}

type Type

type Type string
const (
	TypeSOA   Type = "SOA"
	TypeA     Type = "A"
	TypeAAAA  Type = "AAAA"
	TypeCAA   Type = "CAA"
	TypeCNAME Type = "CNAME"
	TypeDS    Type = "DS"
	TypeNS    Type = "NS"
	TypeMX    Type = "MX"
	TypeNAPTR Type = "NAPTR"
	TypeSRV   Type = "SRV"
	TypeTXT   Type = "TXT"
	TypeTLSA  Type = "TLSA"
	TypePTR   Type = "PTR"

	TypeANAME Type = "ANAME"
)

func Uint16ToType added in v0.3.0

func Uint16ToType(t uint16) Type

func (Type) String

func (c Type) String() string

func (Type) Uint16 added in v0.3.0

func (c Type) Uint16() uint16

type ZoneProxy

type ZoneProxy struct {
	AttributeMeta
	Enabled types.Boolean `read:"enabled" update:"enabled"`
}

func (*ZoneProxy) DeepCopy

func (in *ZoneProxy) DeepCopy() *ZoneProxy

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

func (*ZoneProxy) DeepCopyInto

func (in *ZoneProxy) DeepCopyInto(out *ZoneProxy)

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

func (*ZoneProxy) DeepCopyObject

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

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

func (*ZoneProxy) GetName

func (c *ZoneProxy) GetName() string

func (*ZoneProxy) GetPathMethod

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

func (*ZoneProxy) SetParams

func (c *ZoneProxy) SetParams(args ...interface{}) error

type ZoneProxyHealthCheck

type ZoneProxyHealthCheck struct {
	Address  net.IP          `read:"address"`
	Status   ZoneProxyStatus `read:"status"`
	TsigName string          `read:"tsig_name"`
	Enabled  types.Boolean   `read:"enabled"`
}

func (*ZoneProxyHealthCheck) DeepCopy

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

func (*ZoneProxyHealthCheck) DeepCopyInto

func (in *ZoneProxyHealthCheck) DeepCopyInto(out *ZoneProxyHealthCheck)

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

type ZoneProxyHealthCheckList

type ZoneProxyHealthCheckList struct {
	AttributeMeta
	Items []ZoneProxyHealthCheck `read:"items"`
}

func (*ZoneProxyHealthCheckList) DeepCopy

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

func (*ZoneProxyHealthCheckList) DeepCopyInto

func (in *ZoneProxyHealthCheckList) DeepCopyInto(out *ZoneProxyHealthCheckList)

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

func (*ZoneProxyHealthCheckList) DeepCopyObject

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

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

func (*ZoneProxyHealthCheckList) GetItems

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

func (*ZoneProxyHealthCheckList) GetName

func (c *ZoneProxyHealthCheckList) GetName() string

func (*ZoneProxyHealthCheckList) GetPathMethod

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

func (*ZoneProxyHealthCheckList) Index

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

func (*ZoneProxyHealthCheckList) Init

func (c *ZoneProxyHealthCheckList) Init()

func (*ZoneProxyHealthCheckList) Len

func (c *ZoneProxyHealthCheckList) Len() int

func (*ZoneProxyHealthCheckList) SetParams

func (c *ZoneProxyHealthCheckList) SetParams(args ...interface{}) error

type ZoneProxyStatus

type ZoneProxyStatus string
var (
	ZoneProxyStatusSuccess ZoneProxyStatus = "success"
	ZoneProxyStatusFail    ZoneProxyStatus = "fail"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL