core

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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

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

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

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

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

func (*ContractListSearchKeywords) GetValues

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

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

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

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

func (*DelegationListSearchKeywords) GetValues

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

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

func (in *Job) DeepCopy() *Job

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

func (*Job) DeepCopyInto

func (in *Job) DeepCopyInto(out *Job)

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

func (*Job) DeepCopyObject

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

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

func (*Job) GetError

func (c *Job) GetError() error

func (*Job) GetName

func (c *Job) GetName() string

func (*Job) GetPathMethod

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

func (*Job) SetPathParams

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

type JobStatus

type JobStatus string
const (
	JobStatusRunning    JobStatus = "RUNNING"
	JobStatusSuccessful JobStatus = "SUCCESSFUL"
	JobStatusFailed     JobStatus = "FAILED"
)

func (JobStatus) String

func (c JobStatus) String() string

type KeywordsLogStatus

type KeywordsLogStatus []LogStatus

+k8s:deepcopy-gen=false

type KeywordsPlan

type KeywordsPlan []Plan

+k8s:deepcopy-gen=false

func (KeywordsPlan) EncodeValues

func (c KeywordsPlan) EncodeValues(key string, v *url.Values) error

type LBDomain added in v0.8.0

type LBDomain 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"`
	Description      string         `read:"description" update:"description"`
	RuleResourceName string         `read:"rule_resource_name" update:"rule_resource_name"`
}

func (*LBDomain) DeepCopy added in v0.8.0

func (in *LBDomain) DeepCopy() *LBDomain

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

func (*LBDomain) DeepCopyInto added in v0.8.0

func (in *LBDomain) DeepCopyInto(out *LBDomain)

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

func (*LBDomain) DeepCopyObject added in v0.8.0

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

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

func (*LBDomain) GetName added in v0.8.0

func (c *LBDomain) GetName() string

func (*LBDomain) GetPathMethod added in v0.8.0

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

func (*LBDomain) SetPathParams added in v0.8.0

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

type LBDomainList added in v0.8.0

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

func (*LBDomainList) AddItem added in v0.8.0

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

func (*LBDomainList) ClearItems added in v0.8.0

func (c *LBDomainList) ClearItems()

func (*LBDomainList) DeepCopy added in v0.8.0

func (in *LBDomainList) DeepCopy() *LBDomainList

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

func (*LBDomainList) DeepCopyInto added in v0.8.0

func (in *LBDomainList) DeepCopyInto(out *LBDomainList)

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

func (*LBDomainList) DeepCopyObject added in v0.8.0

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

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

func (*LBDomainList) GetItems added in v0.8.0

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

func (*LBDomainList) GetMaxLimit added in v0.8.0

func (c *LBDomainList) GetMaxLimit() int32

func (*LBDomainList) GetName added in v0.8.0

func (c *LBDomainList) GetName() string

func (*LBDomainList) GetPathMethod added in v0.8.0

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

func (*LBDomainList) Index added in v0.8.0

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

func (*LBDomainList) Init added in v0.8.0

func (c *LBDomainList) Init()

func (*LBDomainList) Len added in v0.8.0

func (c *LBDomainList) Len() int

func (*LBDomainList) SetPathParams added in v0.8.0

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

type LBDomainListSearchKeywords added in v0.8.0

type LBDomainListSearchKeywords 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"`
	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"`
	Label          api.KeywordsLabels   `url:"_keywords_label[],omitempty"`
}

+k8s:deepcopy-gen=false

func (*LBDomainListSearchKeywords) GetValues added in v0.8.0

func (s *LBDomainListSearchKeywords) GetValues() (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

func (in *Log) DeepCopy() *Log

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

func (*Log) DeepCopyInto

func (in *Log) DeepCopyInto(out *Log)

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

func (*LogListSearchKeywords) GetValues

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

type LogStatus

type LogStatus string
const (
	LogStatusStart   LogStatus = "start"
	LogStatusSuccess LogStatus = "success"
	LogStatusFailure LogStatus = "failure"
	LogStatusRetry   LogStatus = "retry"
)

func (LogStatus) String

func (c LogStatus) String() string

type Plan

type Plan int
const (
	PlanBasic   Plan = 1
	PlanPremium Plan = 2
)

func (Plan) String

func (c Plan) String() string

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

func (in *Zone) DeepCopy() *Zone

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

func (*Zone) DeepCopyInto

func (in *Zone) DeepCopyInto(out *Zone)

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

func (*Zone) DeepCopyObject

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

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

func (*Zone) GetName

func (c *Zone) GetName() string

func (*Zone) GetPathMethod

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

func (*Zone) SetPathParams

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

type ZoneList

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

func (*ZoneList) AddItem

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

func (*ZoneList) ClearItems

func (c *ZoneList) ClearItems()

func (*ZoneList) DeepCopy

func (in *ZoneList) DeepCopy() *ZoneList

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

func (*ZoneList) DeepCopyInto

func (in *ZoneList) DeepCopyInto(out *ZoneList)

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

func (*ZoneList) DeepCopyObject

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

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

func (*ZoneList) GetItems

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

func (*ZoneList) GetMaxLimit

func (c *ZoneList) GetMaxLimit() int32

func (*ZoneList) GetName

func (c *ZoneList) GetName() string

func (*ZoneList) GetPathMethod

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

func (*ZoneList) Index

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

func (*ZoneList) Init

func (c *ZoneList) Init()

func (*ZoneList) Len

func (c *ZoneList) Len() int

func (*ZoneList) SetPathParams

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

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

func (*ZoneListSearchKeywords) GetValues

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

Jump to

Keyboard shortcuts

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