domain

package
v0.0.0-...-0b15fe8 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildSource

type BuildSource struct {
	Properties []PropertySource
	Options    map[string]string
}

func NewBuildSource

func NewBuildSource() *BuildSource

func (*BuildSource) AddOption

func (b *BuildSource) AddOption(key, value string) *BuildSource

func (*BuildSource) AddProperty

func (b *BuildSource) AddProperty(p PropertySource) *BuildSource

type EnvConfig

type EnvConfig struct {
	Cloud       SpringCloudConfig
	Application string
	Profile     string
	Label       string
	VaultToken  string
}

type FileResolver

type FileResolver struct {
	Name     string
	Absolute string
}

type GithubCommit

type GithubCommit struct {
	Modified []string `json:"modified"`
}

type GithubEvent

type GithubEvent struct {
	Name    string         `json:"name"`
	Commits []GithubCommit `json:"commits"`
}

type ProfileConfig

type ProfileConfig struct {
	Name            null.String      `json:"name"`
	Profiles        []string         `json:"profiles"`
	Label           null.String      `json:"label"`
	Version         null.String      `json:"version"`
	State           null.String      `json:"state"`
	PropertySources []PropertySource `json:"propertySources"`
}

type PropertySource

type PropertySource struct {
	Name   string                 `json:"name"`
	Index  int                    `json:"index"`
	Source map[string]interface{} `json:"source"`
}

type SpringCloudConfig

type SpringCloudConfig struct {
	Server struct {
		Host string `yml:"host"`
		Port int    `yml:"port"`
	} `yml:"server"`

	Security struct {
		Basic struct {
			Enabled  bool   `yml:"enabled"`
			User     string `yml:"user"`
			Password string `yml:"password"`
		} `yml:"basic"`
		APIKey struct {
			Enabled   bool   `yml:"enabled"`
			KeyLookup string `yml:"keylookup"`
			Token     string `yml:"token"`
		} `yml:"apikey"`
	} `yml:"security"`

	Encrypt struct {
		Key string `yml:"key"`
	} `yml:"encrypt"`

	Logging struct {
		Level struct {
			Root string `yml:"root"`
		} `yml:"level"`
	} `yml:"logging"`

	Spring struct {
		Profiles struct {
			Active string `yml:"active"`
		} `yml:"profiles"`
		Cloud struct {
			Config struct {
				Server struct {
					Native map[string]interface{} `yml:"native"`
					Git    map[string]interface{} `yml:"git"`
					Vault  map[string]interface{} `yml:"vault"`
				} `yml:"server"`
			} `yml:"cloud"`
		} `yml:"cloud"`
		Nats struct {
			Servers string `yml:"servers"`
			Subject string `yml:"subject"`
			Auth    struct {
				Type     string `yml:"type"`
				Token    string `yml:"token"`
				User     string `yml:"user"`
				Password string `yml:"password"`
			} `yml:"auth"`
		} `yml:"profiles"`
	} `yml:"spring"`
}

Jump to

Keyboard shortcuts

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