Documentation
¶
Index ¶
- Constants
- func LoadServiceCredentials(log *libbuildpack.Logger, serviceName string) (json.RawMessage, error)
- type AMSCredentials
- type Cloudfoundry
- type Command
- type Credentials
- type IASCredentials
- type Installer
- type LaunchData
- type Limits
- type Manifest
- type OPAConfig
- type ObjectStoreCredentials
- type Platforms
- type Process
- type RestConfig
- type S3Signing
- type Service
- type Supplier
Constants ¶
View Source
const ServiceName = "authorization"
Variables ¶
This section is empty.
Functions ¶
func LoadServiceCredentials ¶
func LoadServiceCredentials(log *libbuildpack.Logger, serviceName string) (json.RawMessage, error)
Types ¶
type AMSCredentials ¶
type AMSCredentials struct {
UIURL string `json:"ui_url"`
ObjectStore ObjectStoreCredentials `json:"object_store"`
Issuer string `json:"value_help_certificate_issuer"`
Subject string `json:"value_help_certificate_subject"`
URL string `json:"url"`
}
This is the old way of marshaling creds
type Cloudfoundry ¶
type Cloudfoundry struct {
SidecarFor []string `yaml:"sidecar_for" json:"sidecar_for"`
}
type Credentials ¶
type Credentials struct {
S3Signing S3Signing `json:"s3_signing,omitempty"`
}
type IASCredentials ¶
type IASCredentials struct {
Certificate string `json:"certificate"`
CertificateExpiresAt time.Time `json:"certificate_expires_at"`
Clientid string `json:"clientid"`
Domain string `json:"domain"`
Domains []string `json:"domains"`
Key string `json:"key"`
OsbURL string `json:"osb_url"`
ProoftokenURL string `json:"prooftoken_url"`
URL string `json:"url"`
ZoneUUID string `json:"zone_uuid"`
}
type Installer ¶
type Installer interface {
//TODO: See more options at https://github.com/cloudfoundry/libbuildpack/blob/master/installer.go
InstallDependency(libbuildpack.Dependency, string) error
InstallOnlyVersion(string, string) error
}
type LaunchData ¶
type LaunchData struct {
Processes []Process `yaml:"processes" json:"processes"`
}
type Manifest ¶
type Manifest interface {
//TODO: See more options at https://github.com/cloudfoundry/libbuildpack/blob/master/manifest.go
AllDependencyVersions(string) []string
DefaultVersion(string) (libbuildpack.Dependency, error)
}
type OPAConfig ¶
type OPAConfig struct {
Bundles map[string]*bundle.Source `json:"bundles"`
Services map[string]RestConfig `json:"services"`
}
type ObjectStoreCredentials ¶
type Platforms ¶
type Platforms struct {
Cloudfoundry Cloudfoundry `yaml:"cloudfoundry" json:"cloudfoundry"`
}
type RestConfig ¶
type RestConfig struct {
URL string `json:"url"`
Credentials Credentials `json:"credentials"`
}
type S3Signing ¶
type S3Signing struct {
AWSEnvCreds interface{} `json:"environment_credentials,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.