ingressv2

package
v0.2.187 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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"`
}

func (*Ingress) Validate

func (o *Ingress) Validate() error

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

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

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

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

type Ownership

type Ownership struct {
	TxtRecord *string `json:"txtRecord,omitempty"`
	Verified  bool    `json:"verified"`
}

func (*Ownership) Validate

func (o *Ownership) Validate() error

type Path

type Path struct {
	Path   string     `json:"path"`
	Target PathTarget `json:"target"`
}

func (*Path) Validate

func (o *Path) Validate() error

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 TargetUrl

type TargetUrl struct {
	Url string `json:"url"`
}

func (*TargetUrl) Validate

func (o *TargetUrl) Validate() error

type TargetUseDefaultPage

type TargetUseDefaultPage struct {
	UseDefaultPage bool `json:"useDefaultPage"`
}

func (*TargetUseDefaultPage) Validate

func (o *TargetUseDefaultPage) Validate() error

type TlsAcme

type TlsAcme struct {
	Acme            bool       `json:"acme"`
	IsCreated       bool       `json:"isCreated"`
	RequestDeadline *time.Time `json:"requestDeadline,omitempty"`
}

func (*TlsAcme) Validate

func (o *TlsAcme) Validate() error

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

Jump to

Keyboard shortcuts

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