Documentation ¶
Index ¶
- func NewActionContext(action string) actionContext
- type ExternalDNS
- type Manager
- func (m Manager) BuildActivateRequestInteractively(clusterCtx clustercontext.Context) (pipeline.ActivateIntegratedServiceRequest, error)
- func (m Manager) BuildUpdateRequestInteractively(clusterCtx clustercontext.Context, ...) error
- func (Manager) ReadableName() string
- func (Manager) ServiceName() string
- func (Manager) ValidateSpec(spec map[string]interface{}) error
- func (Manager) WriteDetailsTable(details pipeline.IntegratedServiceDetails) map[string]map[string]interface{}
- type Provider
- type ServiceOutput
- type ServiceSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewActionContext ¶
func NewActionContext(action string) actionContext
Types ¶
type ExternalDNS ¶
type ExternalDNS struct { DomainFilters []string `json:"domainFilters" mapstructure:"domainFilters"` Policy string `json:"policy" mapstructure:"policy"` // sync | upsert-only Sources []string `json:"sources" mapstructure:"sources"` TxtOwnerId string `json:"txtOwnerId,omitempty" mapstructure:"txtOwnerId"` Provider *Provider `json:"provider" mapstructure:"provider"` }
ExternalDNS part of the DNS integratedservice spec representation (used for validation, user input handling)
func (ExternalDNS) Validate ¶
func (e ExternalDNS) Validate() error
func (*ExternalDNS) WriteAnswer ¶
func (e *ExternalDNS) WriteAnswer(field string, value interface{}) error
implement core.Settable in order to do transform the answer
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (Manager) BuildActivateRequestInteractively ¶
func (m Manager) BuildActivateRequestInteractively(clusterCtx clustercontext.Context) (pipeline.ActivateIntegratedServiceRequest, error)
func (Manager) BuildUpdateRequestInteractively ¶
func (m Manager) BuildUpdateRequestInteractively(clusterCtx clustercontext.Context, request *pipeline.UpdateIntegratedServiceRequest) error
func (Manager) ReadableName ¶
func (Manager) ServiceName ¶
func (Manager) ValidateSpec ¶
func (Manager) WriteDetailsTable ¶
func (Manager) WriteDetailsTable(details pipeline.IntegratedServiceDetails) map[string]map[string]interface{}
type Provider ¶
type Provider struct { Name string `json:"name" mapstructure:"name"` SecretID string `json:"secretId,omitempty" mapstructure:"secretId"` Options map[string]interface{} `json:"options,omitempty" mapstructure:"options"` }
Provider DNS provider data
type ServiceOutput ¶
type ServiceOutput struct { ExternalDns struct { Version string `json:"version" mapstructure:"version"` } `json:"externalDns" mapstructure:"externalDns"` }
ServiceOutput used to parse / display integrated service output
type ServiceSpec ¶
type ServiceSpec struct { ExternalDNS ExternalDNS `mapstructure:"externalDns"` ClusterDomain string `mapstructure:"clusterDomain"` }
ServiceSpec DNS integrated service specification
Click to show internal directories.
Click to hide internal directories.