Documentation ¶
Index ¶
- Constants
- Variables
- func ApplyDomainAddtionalResource(reqData model.AdditionalResource) error
- func CreateDomain(domainCreate model.DomainCreate, cfg *config.ControllerConfig) (*model.Domain, error)
- func CreateSubDomain(subDomainCreate model.SubDomainCreate) (*model.SubDomain, error)
- func DeleteDomain(lcuuid string) (map[string]string, error)
- func DeleteSubDomain(lcuuid string) (map[string]string, error)
- func GetDomains(filter map[string]interface{}) (resp []model.Domain, err error)
- func GetProcesses() ([]model.Process, error)
- func GetSubDomains(filter map[string]interface{}) ([]*model.SubDomain, error)
- func GetVPCs(filter map[string]interface{}) ([]*mysql.VPC, error)
- func UpdateDomain(lcuuid string, domainUpdate map[string]interface{}, ...) (*model.Domain, error)
- func UpdateSubDomain(lcuuid string, subDomainUpdate map[string]interface{}) (*model.SubDomain, error)
- type DomainChecker
Constants ¶
View Source
const ( CLOUD_TAGS_RESOURCE_TYPE_CHOST = "chost" CLOUD_TAGS_RESOURCE_TYPE_POD_NS = "pod_ns" )
Variables ¶
View Source
var DOMAIN_PASSWORD_KEYS = []string{
"admin_password", "secret_key", "password", "boss_secret_key", "manage_one_password",
}
Functions ¶
func ApplyDomainAddtionalResource ¶
func ApplyDomainAddtionalResource(reqData model.AdditionalResource) error
func CreateDomain ¶
func CreateDomain(domainCreate model.DomainCreate, cfg *config.ControllerConfig) (*model.Domain, error)
func CreateSubDomain ¶
func CreateSubDomain(subDomainCreate model.SubDomainCreate) (*model.SubDomain, error)
func GetProcesses ¶
func UpdateDomain ¶
Types ¶
type DomainChecker ¶
type DomainChecker struct {
// contains filtered or unexported fields
}
func NewDomainCheck ¶
func NewDomainCheck(ctx context.Context) *DomainChecker
func (*DomainChecker) Start ¶
func (c *DomainChecker) Start()
func (*DomainChecker) Stop ¶
func (c *DomainChecker) Stop()
func (*DomainChecker) TimedCheck ¶
func (c *DomainChecker) TimedCheck()
Click to show internal directories.
Click to hide internal directories.