Documentation
¶
Index ¶
- type Ingress
- type IngressDNSValidationErrorsItem
- type IngressDeprecated
- type IngressDeprecatedDNSValidationErrorsItem
- type IngressDeprecatedIps
- type IngressDeprecatedTLS
- type IngressIps
- type IngressTLS
- type ListIngressesCompatibleWithCertificateIDRequest
- type ListIngressesCompatibleWithCertificateRequest
- type Ownership
- type Path
- type PathTarget
- type TargetContainer
- type TargetContainerContainer
- type TargetInstallation
- type TargetUrl
- type TargetUseDefaultPage
- type TlsAcme
- type TlsAcmeDeprecated
- type TlsCertificate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ingress ¶
type Ingress struct {
DnsValidationErrors []IngressDNSValidationErrorsItem `json:"dnsValidationErrors"`
Hostname string `json:"hostname"`
Id string `json:"id"`
Ips IngressIps `json:"ips"`
IsDefault bool `json:"isDefault"`
IsDomain *bool `json:"isDomain,omitempty"`
IsEnabled bool `json:"isEnabled"`
Ownership Ownership `json:"ownership"`
Paths []Path `json:"paths"`
ProjectId string `json:"projectId"`
Tls IngressTLS `json:"tls"`
}
type IngressDNSValidationErrorsItem ¶
type IngressDNSValidationErrorsItem string
const IngressDNSValidationErrorsItemERRORACMECERTIFICATEREQUESTDEADLINEEXCEEDED IngressDNSValidationErrorsItem = "ERROR_ACME_CERTIFICATE_REQUEST_DEADLINE_EXCEEDED"
const IngressDNSValidationErrorsItemERRORNOARECORD IngressDNSValidationErrorsItem = "ERROR_NO_A_RECORD"
const IngressDNSValidationErrorsItemERRORQUADA IngressDNSValidationErrorsItem = "ERROR_QUAD_A"
const IngressDNSValidationErrorsItemERRORUNSPECIFIED IngressDNSValidationErrorsItem = "ERROR_UNSPECIFIED"
func (IngressDNSValidationErrorsItem) Validate ¶
func (e IngressDNSValidationErrorsItem) Validate() error
type IngressDeprecated ¶
type IngressDeprecated struct {
DnsValidationErrors []IngressDeprecatedDNSValidationErrorsItem `json:"dnsValidationErrors"`
Hostname string `json:"hostname"`
Id string `json:"id"`
Ips IngressDeprecatedIps `json:"ips"`
IsDefault bool `json:"isDefault"`
IsDomain *bool `json:"isDomain,omitempty"`
IsEnabled bool `json:"isEnabled"`
Ownership Ownership `json:"ownership"`
Paths []Path `json:"paths"`
ProjectId string `json:"projectId"`
Tls IngressDeprecatedTLS `json:"tls"`
}
func (*IngressDeprecated) Validate ¶
func (o *IngressDeprecated) Validate() error
type IngressDeprecatedDNSValidationErrorsItem ¶
type IngressDeprecatedDNSValidationErrorsItem string
const IngressDeprecatedDNSValidationErrorsItemERRORACMECERTIFICATEREQUESTDEADLINEEXCEEDED IngressDeprecatedDNSValidationErrorsItem = "ERROR_ACME_CERTIFICATE_REQUEST_DEADLINE_EXCEEDED"
const IngressDeprecatedDNSValidationErrorsItemERRORNOARECORD IngressDeprecatedDNSValidationErrorsItem = "ERROR_NO_A_RECORD"
const IngressDeprecatedDNSValidationErrorsItemERRORQUADA IngressDeprecatedDNSValidationErrorsItem = "ERROR_QUAD_A"
const IngressDeprecatedDNSValidationErrorsItemERRORUNSPECIFIED IngressDeprecatedDNSValidationErrorsItem = "ERROR_UNSPECIFIED"
func (IngressDeprecatedDNSValidationErrorsItem) Validate ¶
func (e IngressDeprecatedDNSValidationErrorsItem) Validate() error
type IngressDeprecatedIps ¶
type IngressDeprecatedIps struct {
V4 []string `json:"v4"`
}
func (*IngressDeprecatedIps) Validate ¶
func (o *IngressDeprecatedIps) Validate() error
type IngressDeprecatedTLS ¶
type IngressDeprecatedTLS struct {
AlternativeTlsAcmeDeprecated *TlsAcmeDeprecated
AlternativeTlsCertificate *TlsCertificate
}
func (*IngressDeprecatedTLS) MarshalJSON ¶
func (a *IngressDeprecatedTLS) MarshalJSON() ([]byte, error)
func (*IngressDeprecatedTLS) UnmarshalJSON ¶
func (a *IngressDeprecatedTLS) UnmarshalJSON(input []byte) error
func (*IngressDeprecatedTLS) Validate ¶
func (a *IngressDeprecatedTLS) Validate() error
type IngressIps ¶
type IngressIps struct {
V4 []string `json:"v4"`
}
func (*IngressIps) Validate ¶
func (o *IngressIps) Validate() error
type IngressTLS ¶
type IngressTLS struct {
AlternativeTlsAcme *TlsAcme
AlternativeTlsCertificate *TlsCertificate
}
func (*IngressTLS) MarshalJSON ¶
func (a *IngressTLS) MarshalJSON() ([]byte, error)
func (*IngressTLS) UnmarshalJSON ¶
func (a *IngressTLS) UnmarshalJSON(input []byte) error
func (*IngressTLS) Validate ¶
func (a *IngressTLS) Validate() error
type ListIngressesCompatibleWithCertificateIDRequest ¶ added in v0.2.153
type ListIngressesCompatibleWithCertificateIDRequest struct {
CertificateId string `json:"certificateId"`
}
func (*ListIngressesCompatibleWithCertificateIDRequest) Validate ¶ added in v0.2.153
func (o *ListIngressesCompatibleWithCertificateIDRequest) Validate() error
type ListIngressesCompatibleWithCertificateRequest ¶ added in v0.2.153
type ListIngressesCompatibleWithCertificateRequest struct {
Certificate string `json:"certificate"`
ProjectId string `json:"projectId"`
}
func (*ListIngressesCompatibleWithCertificateRequest) Validate ¶ added in v0.2.153
func (o *ListIngressesCompatibleWithCertificateRequest) Validate() error
type Ownership ¶
type Path ¶
type Path struct {
Path string `json:"path"`
Target PathTarget `json:"target"`
}
type PathTarget ¶
type PathTarget struct {
AlternativeTargetUrl *TargetUrl
AlternativeTargetInstallation *TargetInstallation
AlternativeTargetUseDefaultPage *TargetUseDefaultPage
AlternativeTargetContainer *TargetContainer
}
func (*PathTarget) MarshalJSON ¶
func (a *PathTarget) MarshalJSON() ([]byte, error)
func (*PathTarget) UnmarshalJSON ¶
func (a *PathTarget) UnmarshalJSON(input []byte) error
func (*PathTarget) Validate ¶
func (a *PathTarget) Validate() error
type TargetContainer ¶
type TargetContainer struct {
Container TargetContainerContainer `json:"container"`
}
func (*TargetContainer) Validate ¶
func (o *TargetContainer) Validate() error
type TargetContainerContainer ¶
type TargetContainerContainer struct {
Id string `json:"id"`
PortProtocol string `json:"portProtocol"`
}
func (*TargetContainerContainer) Validate ¶
func (o *TargetContainerContainer) Validate() error
type TargetInstallation ¶
type TargetInstallation struct {
InstallationId string `json:"installationId"`
}
func (*TargetInstallation) Validate ¶
func (o *TargetInstallation) Validate() error
type TargetUseDefaultPage ¶
type TargetUseDefaultPage struct {
UseDefaultPage bool `json:"useDefaultPage"`
}
func (*TargetUseDefaultPage) Validate ¶
func (o *TargetUseDefaultPage) Validate() error
type TlsAcme ¶
type TlsAcmeDeprecated ¶
type TlsAcmeDeprecated struct {
Acme bool `json:"acme"`
}
func (*TlsAcmeDeprecated) Validate ¶
func (o *TlsAcmeDeprecated) Validate() error
type TlsCertificate ¶
type TlsCertificate struct {
CertificateId string `json:"certificateId"`
}
func (*TlsCertificate) Validate ¶
func (o *TlsCertificate) Validate() error
Source Files
¶
- ingress.go
- ingress_dnsvalidationerrors_item.go
- ingress_ips.go
- ingress_tls.go
- ingressdeprecated.go
- ingressdeprecated_dnsvalidationerrors_item.go
- ingressdeprecated_ips.go
- ingressdeprecated_tls.go
- listingressescompatiblewithcertificateidrequest.go
- listingressescompatiblewithcertificaterequest.go
- ownership.go
- path.go
- path_target.go
- targetcontainer.go
- targetcontainer_container.go
- targetinstallation.go
- targeturl.go
- targetusedefaultpage.go
- tlsacme.go
- tlsacmedeprecated.go
- tlscertificate.go
Click to show internal directories.
Click to hide internal directories.