Documentation
¶
Index ¶
- Variables
- type AttributeMeta
- type Contract
- func (in *Contract) DeepCopy() *Contract
- func (in *Contract) DeepCopyInto(out *Contract)
- func (in *Contract) DeepCopyObject() api.Object
- func (c *Contract) GetName() string
- func (c *Contract) GetPathMethod(action api.Action) (string, string)
- func (c *Contract) SetPathParams(args ...interface{}) error
- type ContractList
- func (c *ContractList) AddItem(v interface{}) bool
- func (c *ContractList) ClearItems()
- func (in *ContractList) DeepCopy() *ContractList
- func (in *ContractList) DeepCopyInto(out *ContractList)
- func (in *ContractList) DeepCopyObject() api.Object
- func (c *ContractList) GetItems() interface{}
- func (c *ContractList) GetMaxLimit() int32
- func (c *ContractList) GetName() string
- func (c *ContractList) GetPathMethod(action api.Action) (string, string)
- func (c *ContractList) Index(i int) interface{}
- func (c *ContractList) Init()
- func (c *ContractList) Len() int
- func (c *ContractList) SetPathParams(args ...interface{}) error
- type ContractListSearchKeywords
- type Delegation
- type DelegationApply
- func (in *DelegationApply) DeepCopy() *DelegationApply
- func (in *DelegationApply) DeepCopyInto(out *DelegationApply)
- func (in *DelegationApply) DeepCopyObject() api.Object
- func (c *DelegationApply) GetName() string
- func (c *DelegationApply) GetPathMethod(action api.Action) (string, string)
- func (c *DelegationApply) SetPathParams(args ...interface{}) error
- type DelegationList
- func (c *DelegationList) AddItem(v interface{}) bool
- func (c *DelegationList) ClearItems()
- func (in *DelegationList) DeepCopy() *DelegationList
- func (in *DelegationList) DeepCopyInto(out *DelegationList)
- func (in *DelegationList) DeepCopyObject() api.Object
- func (c *DelegationList) GetItems() interface{}
- func (c *DelegationList) GetMaxLimit() int32
- func (c *DelegationList) GetName() string
- func (c *DelegationList) GetPathMethod(action api.Action) (string, string)
- func (c *DelegationList) Index(i int) interface{}
- func (c *DelegationList) Init()
- func (c *DelegationList) Len() int
- func (c *DelegationList) SetPathParams(args ...interface{}) error
- type DelegationListSearchKeywords
- type Job
- type JobStatus
- type KeywordsLogStatus
- type KeywordsPlan
- type Log
- type LogListSearchKeywords
- type LogStatus
- type Plan
- type SearchLogsLimit
- type SearchLogsOffset
- type Zone
- type ZoneList
- func (c *ZoneList) AddItem(v interface{}) bool
- func (c *ZoneList) ClearItems()
- func (in *ZoneList) DeepCopy() *ZoneList
- func (in *ZoneList) DeepCopyInto(out *ZoneList)
- func (in *ZoneList) DeepCopyObject() api.Object
- func (c *ZoneList) GetItems() interface{}
- func (c *ZoneList) GetMaxLimit() int32
- func (c *ZoneList) GetName() string
- func (c *ZoneList) GetPathMethod(action api.Action) (string, string)
- func (c *ZoneList) Index(i int) interface{}
- func (c *ZoneList) Init()
- func (c *ZoneList) Len() int
- func (c *ZoneList) SetPathParams(args ...interface{}) error
- type ZoneListSearchKeywords
Constants ¶
This section is empty.
Variables ¶
var PlanToString = map[Plan]string{ PlanBasic: "basic", PlanPremium: "premium", }
var (
Register = schema.NewRegister(groupName)
)
Functions ¶
This section is empty.
Types ¶
type AttributeMeta ¶
type AttributeMeta struct {
}
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
type Contract ¶
type Contract struct {
AttributeMeta
Id string `read:"id"`
ServiceCode string `read:"service_code"`
State types.State `read:"state"`
Favorite types.Favorite `read:"favorite" update:"favorite"`
Plan Plan `read:"plan"`
Description string `read:"description" update:"description"`
}
+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object
func (*Contract) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Contract.
func (*Contract) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Contract) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.
func (*Contract) GetPathMethod ¶
func (*Contract) SetPathParams ¶ added in v0.5.0
type ContractList ¶
type ContractList struct {
AttributeMeta
api.Count
Items []Contract `read:"items"`
}
+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object
func (*ContractList) AddItem ¶
func (c *ContractList) AddItem(v interface{}) bool
func (*ContractList) ClearItems ¶
func (c *ContractList) ClearItems()
func (*ContractList) DeepCopy ¶
func (in *ContractList) DeepCopy() *ContractList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContractList.
func (*ContractList) DeepCopyInto ¶
func (in *ContractList) DeepCopyInto(out *ContractList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContractList) DeepCopyObject ¶
func (in *ContractList) DeepCopyObject() api.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.
func (*ContractList) GetItems ¶
func (c *ContractList) GetItems() interface{}
func (*ContractList) GetMaxLimit ¶
func (c *ContractList) GetMaxLimit() int32
func (*ContractList) GetName ¶
func (c *ContractList) GetName() string
func (*ContractList) GetPathMethod ¶
func (c *ContractList) GetPathMethod(action api.Action) (string, string)
func (*ContractList) Index ¶
func (c *ContractList) Index(i int) interface{}
func (*ContractList) Init ¶
func (c *ContractList) Init()
func (*ContractList) Len ¶
func (c *ContractList) Len() int
func (*ContractList) SetPathParams ¶ added in v0.5.0
func (c *ContractList) SetPathParams(args ...interface{}) error
type ContractListSearchKeywords ¶
type ContractListSearchKeywords struct {
api.CommonSearchParams
FullText api.KeywordsString `url:"_keywords_full_text[],omitempty"`
ServiceCode api.KeywordsString `url:"_keywords_service_code[],omitempty"`
Plan KeywordsPlan `url:"_keywords_plan[],omitempty"`
State api.KeywordsState `url:"_keywords_state[],omitempty"`
Favorite api.KeywordsFavorite `url:"_keywords_favorite[],omitempty"`
Description api.KeywordsString `url:"_keywords_description[],omitempty"`
}
+k8s:deepcopy-gen=false
type Delegation ¶
type Delegation struct {
AttributeMeta
Id string `read:"id"`
ServiceCode string `read:"service_code"`
Name string `read:"name"`
Network string `read:"network"`
Description string `read:"description"`
DelegationRequestedAt types.Time `read:"delegation_requested_at"`
}
+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object
func (*Delegation) DeepCopy ¶
func (in *Delegation) DeepCopy() *Delegation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Delegation.
func (*Delegation) DeepCopyInto ¶
func (in *Delegation) DeepCopyInto(out *Delegation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Delegation) DeepCopyObject ¶
func (in *Delegation) DeepCopyObject() api.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.
type DelegationApply ¶
type DelegationApply struct {
AttributeMeta
ZoneIds []string `apply:"zone_ids"`
}
+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object
func (*DelegationApply) DeepCopy ¶
func (in *DelegationApply) DeepCopy() *DelegationApply
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelegationApply.
func (*DelegationApply) DeepCopyInto ¶
func (in *DelegationApply) DeepCopyInto(out *DelegationApply)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DelegationApply) DeepCopyObject ¶
func (in *DelegationApply) DeepCopyObject() api.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.
func (*DelegationApply) GetName ¶
func (c *DelegationApply) GetName() string
func (*DelegationApply) GetPathMethod ¶
func (c *DelegationApply) GetPathMethod(action api.Action) (string, string)
func (*DelegationApply) SetPathParams ¶ added in v0.5.0
func (c *DelegationApply) SetPathParams(args ...interface{}) error
type DelegationList ¶
type DelegationList struct {
AttributeMeta
api.Count
Items []Delegation `read:"items"`
}
+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object
func (*DelegationList) AddItem ¶
func (c *DelegationList) AddItem(v interface{}) bool
func (*DelegationList) ClearItems ¶
func (c *DelegationList) ClearItems()
func (*DelegationList) DeepCopy ¶
func (in *DelegationList) DeepCopy() *DelegationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelegationList.
func (*DelegationList) DeepCopyInto ¶
func (in *DelegationList) DeepCopyInto(out *DelegationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DelegationList) DeepCopyObject ¶
func (in *DelegationList) DeepCopyObject() api.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.
func (*DelegationList) GetItems ¶
func (c *DelegationList) GetItems() interface{}
func (*DelegationList) GetMaxLimit ¶
func (c *DelegationList) GetMaxLimit() int32
func (*DelegationList) GetName ¶
func (c *DelegationList) GetName() string
func (*DelegationList) GetPathMethod ¶
func (c *DelegationList) GetPathMethod(action api.Action) (string, string)
func (*DelegationList) Index ¶
func (c *DelegationList) Index(i int) interface{}
func (*DelegationList) Init ¶
func (c *DelegationList) Init()
func (*DelegationList) Len ¶
func (c *DelegationList) Len() int
func (*DelegationList) SetPathParams ¶ added in v0.5.0
func (c *DelegationList) SetPathParams(args ...interface{}) error
type DelegationListSearchKeywords ¶
type DelegationListSearchKeywords struct {
api.CommonSearchParams
FullText api.KeywordsString `url:"_keywords_full_text[],omitempty"`
ServiceCode api.KeywordsString `url:"_keywords_service_code[],omitempty"`
Name api.KeywordsString `url:"_keywords_name[],omitempty"`
Network api.KeywordsString `url:"_keywords_network[],omitempty"`
Favorite api.KeywordsFavorite `url:"_keywords_favorite[],omitempty"`
Description api.KeywordsString `url:"_keywords_description[],omitempty"`
Requested api.KeywordsBoolean `url:"_keywords_requested[],omitempty"`
}
+k8s:deepcopy-gen=false
type Job ¶
type Job struct {
AttributeMeta
RequestId string `read:"request_id"`
Status JobStatus `read:"status"`
ResourceUrl string `read:"resources_url"`
ErrorType string `read:"error_type"`
ErrorMessage string `read:"error_message"`
}
+k8s:deepcopy-gen:interfaces=github.com/mimuret/golang-iij-dpf/pkg/api.Object
func (*Job) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
func (*Job) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Job) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.
func (*Job) SetPathParams ¶ added in v0.5.0
type KeywordsPlan ¶
type KeywordsPlan []Plan
+k8s:deepcopy-gen=false
func (KeywordsPlan) EncodeValues ¶
func (c KeywordsPlan) EncodeValues(key string, v *url.Values) error
type Log ¶
type Log struct {
Time types.Time `read:"time"`
LogType string `read:"log_type"`
Operator string `read:"operator"`
Operation string `read:"operation"`
Target string `read:"target"`
RequestId string `read:"request_id"`
Status LogStatus `read:"status"`
}
func (*Log) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Log.
func (*Log) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogListSearchKeywords ¶
type LogListSearchKeywords struct {
api.CommonSearchParams
FullText api.KeywordsString `url:"_keywords_full_text[],omitempty"`
LogType api.KeywordsString `url:"_keywords_log_type[],omitempty"`
Operator api.KeywordsString `url:"_keywords_operator[],omitempty"`
Operation api.KeywordsString `url:"_keywords_operation[],omitempty"`
Target api.KeywordsString `url:"_keywords_target[],omitempty"`
Detail api.KeywordsString `url:"_keywords_detail[],omitempty"`
RequestId api.KeywordsString `url:"_keywords_request_id[],omitempty"`
Status KeywordsLogStatus `url:"_keywords_status[],omitempty"`
}
+k8s:deepcopy-gen=false
type SearchLogsLimit ¶
type SearchLogsLimit int32
+k8s:deepcopy-gen=false
func (SearchLogsLimit) Validate ¶
func (s SearchLogsLimit) Validate() bool
type SearchLogsOffset ¶
type SearchLogsOffset int32
+k8s:deepcopy-gen=false
func (SearchLogsOffset) Validate ¶
func (s SearchLogsOffset) Validate() bool
type Zone ¶
type Zone struct {
AttributeMeta
Id string `read:"id"`
CommonConfigId int64 `read:"common_config_id"`
ServiceCode string `read:"service_code"`
State types.State `read:"state"`
Favorite types.Favorite `read:"favorite" update:"favorite"`
Name string `read:"name"`
Network string `read:"network"`
Description string `read:"description" update:"description"`
ZoneProxyEnabled types.Boolean `read:"zone_proxy_enabled"`
}
func (*Zone) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Zone.
func (*Zone) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Zone) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.
func (*Zone) SetPathParams ¶ added in v0.5.0
type ZoneList ¶
type ZoneList struct {
AttributeMeta
api.Count
Items []Zone `read:"items"`
}
func (*ZoneList) ClearItems ¶
func (c *ZoneList) ClearItems()
func (*ZoneList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneList.
func (*ZoneList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ZoneList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new api.Object.
func (*ZoneList) GetMaxLimit ¶
func (*ZoneList) GetPathMethod ¶
func (*ZoneList) SetPathParams ¶ added in v0.5.0
type ZoneListSearchKeywords ¶
type ZoneListSearchKeywords struct {
api.CommonSearchParams
FullText api.KeywordsString `url:"_keywords_full_text[],omitempty"`
ServiceCode api.KeywordsString `url:"_keywords_service_code[],omitempty"`
Name api.KeywordsString `url:"_keywords_name[],omitempty"`
Network api.KeywordsString `url:"_keywords_network[],omitempty"`
State api.KeywordsState `url:"_keywords_state[],omitempty"`
Favorite api.KeywordsFavorite `url:"_keywords_favorite[],omitempty"`
Description api.KeywordsString `url:"_keywords_description[],omitempty"`
CommonConfigId api.KeywordsId `url:"_keywords_common_config_id[],omitempty"`
ZoneProxyEnabled api.KeywordsBoolean `url:"_keywords_zone_proxy_enabled[],omitempty"`
}
+k8s:deepcopy-gen=false