Documentation ¶
Index ¶
- Variables
- func GetConfigFile(filepath string) (*port.Config, error)
- func Init()
- func NewBool(v *bool, key string, defaultValue bool, description string)
- func NewConfiguration() (*port.Config, error)
- func NewString(v *string, key string, defaultValue string, description string)
- func NewUInt(v *uint, key string, defaultValue uint, description string)
- type ApplicationConfiguration
- type FileNotFoundError
- type KafkaConfiguration
Constants ¶
This section is empty.
Variables ¶
View Source
var ApplicationConfig = &ApplicationConfiguration{}
View Source
var KafkaConfig = &KafkaConfiguration{}
View Source
var PollingListenerRate uint
Functions ¶
func NewConfiguration ¶ added in v0.1.15
Types ¶
type ApplicationConfiguration ¶ added in v0.1.15
type ApplicationConfiguration struct { ConfigFilePath string StateKey string ResyncInterval uint PortBaseURL string PortClientId string PortClientSecret string EventListenerType string CreateDefaultResources bool // Deprecated: use IntegrationAppConfig instead. Used for updating the Port integration config on startup. Resources []port.Resource // Deprecated: use IntegrationAppConfig instead. Used for updating the Port integration config on startup. DeleteDependents bool `json:"deleteDependents,omitempty"` // Deprecated: use IntegrationAppConfig instead. Used for updating the Port integration config on startup. CreateMissingRelatedEntities bool `json:"createMissingRelatedEntities,omitempty"` }
type FileNotFoundError ¶ added in v0.1.15
type FileNotFoundError struct {
// contains filtered or unexported fields
}
func (*FileNotFoundError) Error ¶ added in v0.1.15
func (e *FileNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.