Documentation
¶
Index ¶
- func Add(org string, scopeItems ...string)
- func AddCIDR(org string, cidr *model.CIDR)
- type APIClient
- func (a *APIClient) Authenticate(authReq sulfur.AuthRequest) (*sulfur.AuthResponse, error)
- func (a *APIClient) Do(req *http.Request) (*http.Response, error)
- func (a *APIClient) GetJSON(path string) (*http.Response, error)
- func (a *APIClient) GetStruct(path string, resStruc any) error
- func (a *APIClient) ImportDNSRecords(domainsToImport []sulfur.DNSRecord) error
- func (a *APIClient) ImportDomainAndResolve(domainsToImport []string) error
- func (a *APIClient) ImportExternalReferences(externalReferencesToImport []sulfur.ExternalReference) error
- func (a *APIClient) ImportOrgCertificates(orgId string, certificatesToImport []sulfur.OrgCertificateImport) error
- func (a *APIClient) ImportOrgIPAddresses(orgId string, ipAddresses []sulfur.OrgIPAddressImport) error
- func (a *APIClient) ImportOrgRootDomains(orgId string, domainsToImport []sulfur.OrgRootDomain) error
- func (a *APIClient) ListDNSRecords() (*sulfur.DNSRecordListResponse, error)
- func (a *APIClient) ListExternalReferences() (*sulfur.ExternalReferenceResponse, error)
- func (a *APIClient) ListOrgBadCertificates(orgId string) ([]sulfur.BadCertificate, error)
- func (a *APIClient) ListOrgCertificates(orgId string) (*sulfur.OrgCertificatesListResponse, error)
- func (a *APIClient) ListOrgDomainPorts(orgId string) ([]sulfur.OrgDomainPort, error)
- func (a *APIClient) ListOrgDomains(orgId string) (*sulfur.OrgDomainsListResponse, error)
- func (a *APIClient) ListOrgIPAddresses(orgId string) ([]sulfur.OrgIPAddress, error)
- func (a *APIClient) ListOrgIPPorts(orgId string) ([]sulfur.OrgIPPort, error)
- func (a *APIClient) ListOrgSubDomainTakeovers(orgId string) ([]sulfur.SubdomainTakeover, error)
- func (a *APIClient) ListOrganizations() (*sulfur.OrganizationListResponse, error)
- func (a *APIClient) ListRootDomains() (*sulfur.RootDomainsListResponse, error)
- func (a *APIClient) PostJSON(path string, body []byte) (*http.Response, error)
- func (a *APIClient) PostStruct(path string, structData any, resStruc any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
func (*APIClient) Authenticate ¶
func (a *APIClient) Authenticate(authReq sulfur.AuthRequest) (*sulfur.AuthResponse, error)
func (*APIClient) ImportDNSRecords ¶
func (*APIClient) ImportDomainAndResolve ¶
func (*APIClient) ImportExternalReferences ¶
func (a *APIClient) ImportExternalReferences(externalReferencesToImport []sulfur.ExternalReference) error
func (*APIClient) ImportOrgCertificates ¶
func (a *APIClient) ImportOrgCertificates(orgId string, certificatesToImport []sulfur.OrgCertificateImport) error
func (*APIClient) ImportOrgIPAddresses ¶
func (a *APIClient) ImportOrgIPAddresses(orgId string, ipAddresses []sulfur.OrgIPAddressImport) error
func (*APIClient) ImportOrgRootDomains ¶
func (a *APIClient) ImportOrgRootDomains(orgId string, domainsToImport []sulfur.OrgRootDomain) error
func (*APIClient) ListDNSRecords ¶
func (a *APIClient) ListDNSRecords() (*sulfur.DNSRecordListResponse, error)
func (*APIClient) ListExternalReferences ¶
func (a *APIClient) ListExternalReferences() (*sulfur.ExternalReferenceResponse, error)
func (*APIClient) ListOrgBadCertificates ¶
func (a *APIClient) ListOrgBadCertificates(orgId string) ([]sulfur.BadCertificate, error)
func (*APIClient) ListOrgCertificates ¶
func (a *APIClient) ListOrgCertificates(orgId string) (*sulfur.OrgCertificatesListResponse, error)
func (*APIClient) ListOrgDomainPorts ¶
func (a *APIClient) ListOrgDomainPorts(orgId string) ([]sulfur.OrgDomainPort, error)
func (*APIClient) ListOrgDomains ¶
func (a *APIClient) ListOrgDomains(orgId string) (*sulfur.OrgDomainsListResponse, error)
func (*APIClient) ListOrgIPAddresses ¶
func (a *APIClient) ListOrgIPAddresses(orgId string) ([]sulfur.OrgIPAddress, error)
func (*APIClient) ListOrgIPPorts ¶
func (*APIClient) ListOrgSubDomainTakeovers ¶
func (a *APIClient) ListOrgSubDomainTakeovers(orgId string) ([]sulfur.SubdomainTakeover, error)
func (*APIClient) ListOrganizations ¶
func (a *APIClient) ListOrganizations() (*sulfur.OrganizationListResponse, error)
func (*APIClient) ListRootDomains ¶
func (a *APIClient) ListRootDomains() (*sulfur.RootDomainsListResponse, error)
Click to show internal directories.
Click to hide internal directories.