Documentation ¶
Index ¶
- Constants
- type AZ
- type ActivateCertificateAuthorityInput
- type Api
- func (a Api) ActivateCertificateAuthority(input ActivateCertificateAuthorityInput) error
- func (a Api) AssignMultiStemcell(input ProductMultiStemcells) error
- func (a Api) AssignStemcell(input ProductStemcells) error
- func (a Api) CheckProductAvailability(productName string, productVersion string) (bool, error)
- func (a Api) CheckStemcellAvailability(stemcellFilename string) (bool, error)
- func (a Api) ConfigureJobResourceConfig(productGUID string, config map[string]interface{}) error
- func (a Api) CreateCertificateAuthority(certBody CertificateAuthorityInput) (GenerateCAResponse, error)
- func (a Api) CreateCustomVMTypes(input CreateVMTypes) error
- func (a Api) CreateInstallation(ignoreWarnings bool, deployProducts bool, forceLatestVariables bool, ...) (InstallationsServiceOutput, error)
- func (a Api) CreateStagedVMExtension(input CreateVMExtension) error
- func (a Api) Curl(input RequestServiceCurlInput) (RequestServiceCurlOutput, error)
- func (a Api) DeleteAvailableProducts(input DeleteAvailableProductsInput) error
- func (a Api) DeleteCertificateAuthority(input DeleteCertificateAuthorityInput) error
- func (a Api) DeleteCustomVMTypes() error
- func (a Api) DeleteInstallationAssetCollection() (InstallationsServiceOutput, error)
- func (a Api) DeleteSSLCertificate() error
- func (a Api) DeleteStagedProduct(input UnstageProductInput) error
- func (a Api) DeleteVMExtension(name string) error
- func (a Api) DirectorDiff() (DirectorDiff, error)
- func (a Api) DisableDirectorVerifiers(verifiers []string) error
- func (a Api) DisableProductVerifiers(verifiers []string, productGUID string) error
- func (a Api) DownloadInstallationAssetCollection(outputFile string) error
- func (a Api) EnableRBAC(rbacSettings RBACSettings) error
- func (a Api) EnsureAvailability(input EnsureAvailabilityInput) (EnsureAvailabilityOutput, error)
- func (a Api) GenerateCertificate(domains DomainsInput) (string, error)
- func (a Api) GenerateCertificateAuthority() (GenerateCAResponse, error)
- func (a Api) GetBoshEnvironment() (GetBoshEnvironmentOutput, error)
- func (a Api) GetDeployedProductCredential(input GetDeployedProductCredentialInput) (GetDeployedProductCredentialOutput, error)
- func (a Api) GetDeployedProductManifest(guid string) (string, error)
- func (a Api) GetDiagnosticReport() (DiagnosticReport, error)
- func (a Api) GetInstallation(id int) (InstallationsServiceOutput, error)
- func (a Api) GetInstallationLogs(id int) (InstallationsServiceOutput, error)
- func (a Api) GetLatestAvailableVersion(productName string) (string, error)
- func (a Api) GetSSLCertificate() (SSLCertificateOutput, error)
- func (a Api) GetSecurityRootCACertificate() (string, error)
- func (a Api) GetStagedDirectorAvailabilityZones() (AvailabilityZonesOutput, error)
- func (a Api) GetStagedDirectorIaasConfigurations(redact bool) (map[string][]map[string]interface{}, error)
- func (a Api) GetStagedDirectorNetworks() (NetworksConfigurationOutput, error)
- func (a Api) GetStagedDirectorProperties(redact bool) (map[string]interface{}, error)
- func (a Api) GetStagedProductByName(productName string) (StagedProductsFindOutput, error)
- func (a Api) GetStagedProductJobMaxInFlight(productGUID string) (ProductJobMaxInFlights map[string]interface{}, err error)
- func (a Api) GetStagedProductJobResourceConfig(productGUID, jobGUID string) (JobProperties, error)
- func (a Api) GetStagedProductManifest(guid string) (string, error)
- func (a Api) GetStagedProductNetworksAndAZs(product string) (map[string]interface{}, error)
- func (a Api) GetStagedProductProperties(product string, redact bool) (map[string]ResponseProperty, error)
- func (a Api) GetStagedProductSyslogConfiguration(product string) (map[string]interface{}, error)
- func (a Api) Info() (Info, error)
- func (a Api) ListAllPendingProductChanges() ([]PendingProductChangesOutput, error)
- func (a Api) ListAvailableProducts() (AvailableProductsOutput, error)
- func (a Api) ListCertificateAuthorities() (CertificateAuthoritiesOutput, error)
- func (a Api) ListDeployedProductCredentials(deployedGUID string) (CredentialReferencesOutput, error)
- func (a Api) ListDeployedProducts() ([]DeployedProductOutput, error)
- func (a Api) ListDirectorVerifiers() ([]Verifier, error)
- func (a Api) ListExpiringCertificates(expiresWithin string) ([]ExpiringCertificate, error)
- func (a Api) ListInstallations() ([]InstallationsServiceOutput, error)
- func (a Api) ListMultiStemcells() (ProductMultiStemcells, error)
- func (a Api) ListPendingDirectorChanges() (PendingDirectorChangesOutput, error)
- func (a Api) ListProductVerifiers(productName string) ([]Verifier, string, error)
- func (a Api) ListStagedPendingChanges() (PendingChangesOutput, error)
- func (a Api) ListStagedProductErrands(productID string) (ErrandsListOutput, error)
- func (a Api) ListStagedProductJobs(productGUID string) (map[string]string, error)
- func (a Api) ListStagedProducts() (StagedProductsOutput, error)
- func (a Api) ListStagedVMExtensions() ([]VMExtension, error)
- func (a Api) ListStemcells() (ProductStemcells, error)
- func (a Api) ListVMTypes() ([]VMType, error)
- func (a Api) ProductDiff(productName string) (ProductDiff, error)
- func (a Api) RegenerateCertificates() error
- func (a Api) RevertStagedChanges() (bool, error)
- func (a Api) RunningInstallation() (InstallationsServiceOutput, error)
- func (a Api) Setup(input SetupInput) (SetupOutput, error)
- func (a Api) Stage(input StageProductInput, deployedGUID string) error
- func (a Api) UpdateBanner(bannerSettings BannerSettings) error
- func (a Api) UpdatePivnetToken(pivnetSettings PivnetSettings) error
- func (a Api) UpdateSSLCertificate(certBody SSLCertificateSettings) error
- func (a Api) UpdateStagedDirectorAvailabilityZones(input AvailabilityZoneInput, ignoreVerifierWarnings bool) error
- func (a Api) UpdateStagedDirectorIAASConfigurations(iaasConfig IAASConfigurationsInput, ignoreVerifierWarnings bool) error
- func (a Api) UpdateStagedDirectorNetworkAndAZ(input NetworkAndAZConfiguration) error
- func (a Api) UpdateStagedDirectorNetworks(input NetworkInput) error
- func (a Api) UpdateStagedDirectorProperties(input DirectorProperties) error
- func (a Api) UpdateStagedProductErrands(productID string, errandName string, postDeployState interface{}, ...) error
- func (a Api) UpdateStagedProductJobMaxInFlight(productGUID string, jobsToMaxInFlight map[string]interface{}) error
- func (a Api) UpdateStagedProductNetworksAndAZs(input UpdateStagedProductNetworksAndAZsInput) error
- func (a Api) UpdateStagedProductProperties(input UpdateStagedProductPropertiesInput) error
- func (a Api) UpdateSyslogConfiguration(input UpdateSyslogConfigurationInput) error
- func (a Api) UpdateSyslogSettings(syslogSettings SyslogSettings) error
- func (a Api) UpdateTokensExpiration(tokenExpirations TokensExpiration) error
- func (a Api) UploadAvailableProduct(input UploadAvailableProductInput) (UploadAvailableProductOutput, error)
- func (a Api) UploadInstallationAssetCollection(input ImportInstallationInput) error
- func (a Api) UploadStemcell(input StemcellUploadInput) (StemcellUploadOutput, error)
- type ApiInput
- type ApplyErrandChanges
- type AvailabilityZoneInput
- type AvailabilityZoneOutput
- type AvailabilityZones
- type AvailabilityZonesOutput
- type AvailableProductsOutput
- type BannerSettings
- type CA
- type CPIConfigsDiff
- type CertificateAuthoritiesOutput
- type CertificateAuthorityInput
- type Cluster
- type CompletenessChecks
- type ConfigurationRequest
- type CreateVMExtension
- type CreateVMType
- type CreateVMTypes
- type Credential
- type CredentialReferencesOutput
- type DeleteAvailableProductsInput
- type DeleteCertificateAuthorityInput
- type DeployedProductOutput
- type DiagnosticProduct
- type DiagnosticReport
- type DiagnosticReportUnavailable
- type DirectorDiff
- type DirectorProperties
- type DomainsInput
- type EnsureAvailabilityInput
- type EnsureAvailabilityOutput
- type Errand
- type ErrandsListOutput
- type ExpiringCertificate
- type ExpiringCertificatesResponse
- type GenerateCAResponse
- type GetBoshEnvironmentOutput
- type GetDeployedProductCredentialInput
- type GetDeployedProductCredentialOutput
- type IAASConfiguration
- type IAASConfigurationDirectorPropertiesPayload
- type IAASConfigurationsAPIPayload
- type IAASConfigurationsInput
- type ImportInstallationInput
- type Info
- type InstallationsServiceOutput
- type Job
- type JobProperties
- type LDAPSettings
- type ManifestDiff
- type Network
- type NetworkAndAZConfiguration
- type NetworkConfigurationOutput
- type NetworkInput
- type Networks
- type NetworksConfigurationOutput
- type PendingChangesOutput
- type PendingDirectorChangesOutput
- type PendingProductChangesOutput
- type PivnetSettings
- type PreDeployAvailabilityZone
- type PreDeployCheck
- type PreDeployJob
- type PreDeployNetwork
- type PreDeployProperty
- type PreDeployRecord
- type PreDeployResources
- type PreDeployStemcells
- type PreDeployVerifier
- type ProductChange
- type ProductDiff
- type ProductErrand
- type ProductInfo
- type ProductMultiStemcell
- type ProductMultiStemcells
- type ProductStemcell
- type ProductStemcells
- type RBACSettings
- type RequestServiceCurlInput
- type RequestServiceCurlOutput
- type ResponseProperty
- type RuntimeConfigsDiff
- type SSLCertificate
- type SSLCertificateOutput
- type SSLCertificateSettings
- type SetupInput
- type SetupOutput
- type StageProductInput
- type StagedProduct
- type StagedProductsFindOutput
- type StagedProductsOutput
- type Stemcell
- type StemcellObject
- type StemcellUploadInput
- type StemcellUploadOutput
- type SubnetOutput
- type SyslogConfiguration
- type SyslogSettings
- type TokensExpiration
- type UnstageProductInput
- type UpdateStagedProductNetworksAndAZsInput
- type UpdateStagedProductPropertiesInput
- type UpdateSyslogConfigurationInput
- type UpgradeRequest
- type UploadAvailableProductInput
- type UploadAvailableProductOutput
- type VMExtension
- type VMExtensionResponse
- type VMType
- type VMTypesResponse
- type Verifier
Constants ¶
View Source
const ( StatusRunning = "running" StatusSucceeded = "succeeded" StatusFailed = "failed" )
View Source
const ( EnsureAvailabilityStatusUnstarted = "unstarted" EnsureAvailabilityStatusPending = "pending" EnsureAvailabilityStatusComplete = "complete" EnsureAvailabilityStatusUnknown = "unknown" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateCertificateAuthorityInput ¶
type ActivateCertificateAuthorityInput struct {
GUID string
}
type Api ¶
type Api struct {
// contains filtered or unexported fields
}
func (Api) ActivateCertificateAuthority ¶
func (a Api) ActivateCertificateAuthority(input ActivateCertificateAuthorityInput) error
func (Api) AssignMultiStemcell ¶
func (a Api) AssignMultiStemcell(input ProductMultiStemcells) error
func (Api) AssignStemcell ¶
func (a Api) AssignStemcell(input ProductStemcells) error
func (Api) CheckProductAvailability ¶
func (Api) CheckStemcellAvailability ¶
func (Api) ConfigureJobResourceConfig ¶
func (Api) CreateCertificateAuthority ¶
func (a Api) CreateCertificateAuthority(certBody CertificateAuthorityInput) (GenerateCAResponse, error)
func (Api) CreateCustomVMTypes ¶
func (a Api) CreateCustomVMTypes(input CreateVMTypes) error
func (Api) CreateInstallation ¶
func (a Api) CreateInstallation(ignoreWarnings bool, deployProducts bool, forceLatestVariables bool, productNames []string, errands ApplyErrandChanges) (InstallationsServiceOutput, error)
func (Api) CreateStagedVMExtension ¶
func (a Api) CreateStagedVMExtension(input CreateVMExtension) error
func (Api) Curl ¶
func (a Api) Curl(input RequestServiceCurlInput) (RequestServiceCurlOutput, error)
func (Api) DeleteAvailableProducts ¶
func (a Api) DeleteAvailableProducts(input DeleteAvailableProductsInput) error
func (Api) DeleteCertificateAuthority ¶
func (a Api) DeleteCertificateAuthority(input DeleteCertificateAuthorityInput) error
func (Api) DeleteCustomVMTypes ¶
func (Api) DeleteInstallationAssetCollection ¶
func (a Api) DeleteInstallationAssetCollection() (InstallationsServiceOutput, error)
func (Api) DeleteSSLCertificate ¶
func (Api) DeleteStagedProduct ¶
func (a Api) DeleteStagedProduct(input UnstageProductInput) error
func (Api) DeleteVMExtension ¶
func (Api) DirectorDiff ¶
func (a Api) DirectorDiff() (DirectorDiff, error)
func (Api) DisableDirectorVerifiers ¶
func (Api) DisableProductVerifiers ¶
func (Api) DownloadInstallationAssetCollection ¶
func (Api) EnableRBAC ¶
func (a Api) EnableRBAC(rbacSettings RBACSettings) error
func (Api) EnsureAvailability ¶
func (a Api) EnsureAvailability(input EnsureAvailabilityInput) (EnsureAvailabilityOutput, error)
func (Api) GenerateCertificate ¶
func (a Api) GenerateCertificate(domains DomainsInput) (string, error)
func (Api) GenerateCertificateAuthority ¶
func (a Api) GenerateCertificateAuthority() (GenerateCAResponse, error)
func (Api) GetBoshEnvironment ¶
func (a Api) GetBoshEnvironment() (GetBoshEnvironmentOutput, error)
func (Api) GetDeployedProductCredential ¶
func (a Api) GetDeployedProductCredential(input GetDeployedProductCredentialInput) (GetDeployedProductCredentialOutput, error)
func (Api) GetDeployedProductManifest ¶
func (Api) GetDiagnosticReport ¶
func (a Api) GetDiagnosticReport() (DiagnosticReport, error)
func (Api) GetInstallation ¶
func (a Api) GetInstallation(id int) (InstallationsServiceOutput, error)
func (Api) GetInstallationLogs ¶
func (a Api) GetInstallationLogs(id int) (InstallationsServiceOutput, error)
func (Api) GetLatestAvailableVersion ¶
func (Api) GetSSLCertificate ¶
func (a Api) GetSSLCertificate() (SSLCertificateOutput, error)
func (Api) GetSecurityRootCACertificate ¶
func (Api) GetStagedDirectorAvailabilityZones ¶
func (a Api) GetStagedDirectorAvailabilityZones() (AvailabilityZonesOutput, error)
func (Api) GetStagedDirectorIaasConfigurations ¶
func (Api) GetStagedDirectorNetworks ¶
func (a Api) GetStagedDirectorNetworks() (NetworksConfigurationOutput, error)
func (Api) GetStagedDirectorProperties ¶
func (Api) GetStagedProductByName ¶
func (a Api) GetStagedProductByName(productName string) (StagedProductsFindOutput, error)
func (Api) GetStagedProductJobMaxInFlight ¶
func (Api) GetStagedProductJobResourceConfig ¶
func (a Api) GetStagedProductJobResourceConfig(productGUID, jobGUID string) (JobProperties, error)
func (Api) GetStagedProductManifest ¶
TODO consider refactoring to use fetchProductResource
func (Api) GetStagedProductNetworksAndAZs ¶
func (Api) GetStagedProductProperties ¶
func (Api) GetStagedProductSyslogConfiguration ¶
func (Api) ListAllPendingProductChanges ¶
func (a Api) ListAllPendingProductChanges() ([]PendingProductChangesOutput, error)
func (Api) ListAvailableProducts ¶
func (a Api) ListAvailableProducts() (AvailableProductsOutput, error)
func (Api) ListCertificateAuthorities ¶
func (a Api) ListCertificateAuthorities() (CertificateAuthoritiesOutput, error)
func (Api) ListDeployedProductCredentials ¶
func (a Api) ListDeployedProductCredentials(deployedGUID string) (CredentialReferencesOutput, error)
func (Api) ListDeployedProducts ¶
func (a Api) ListDeployedProducts() ([]DeployedProductOutput, error)
func (Api) ListDirectorVerifiers ¶
func (Api) ListExpiringCertificates ¶
func (a Api) ListExpiringCertificates(expiresWithin string) ([]ExpiringCertificate, error)
func (Api) ListInstallations ¶
func (a Api) ListInstallations() ([]InstallationsServiceOutput, error)
func (Api) ListMultiStemcells ¶
func (a Api) ListMultiStemcells() (ProductMultiStemcells, error)
func (Api) ListPendingDirectorChanges ¶
func (a Api) ListPendingDirectorChanges() (PendingDirectorChangesOutput, error)
func (Api) ListProductVerifiers ¶
func (Api) ListStagedPendingChanges ¶
func (a Api) ListStagedPendingChanges() (PendingChangesOutput, error)
func (Api) ListStagedProductErrands ¶
func (a Api) ListStagedProductErrands(productID string) (ErrandsListOutput, error)
func (Api) ListStagedProductJobs ¶
func (Api) ListStagedProducts ¶
func (a Api) ListStagedProducts() (StagedProductsOutput, error)
func (Api) ListStagedVMExtensions ¶
func (a Api) ListStagedVMExtensions() ([]VMExtension, error)
func (Api) ListStemcells ¶
func (a Api) ListStemcells() (ProductStemcells, error)
func (Api) ListVMTypes ¶
func (Api) ProductDiff ¶
func (a Api) ProductDiff(productName string) (ProductDiff, error)
func (Api) RegenerateCertificates ¶
func (Api) RevertStagedChanges ¶
func (Api) RunningInstallation ¶
func (a Api) RunningInstallation() (InstallationsServiceOutput, error)
func (Api) Setup ¶
func (a Api) Setup(input SetupInput) (SetupOutput, error)
func (Api) UpdateBanner ¶
func (a Api) UpdateBanner(bannerSettings BannerSettings) error
func (Api) UpdatePivnetToken ¶
func (a Api) UpdatePivnetToken(pivnetSettings PivnetSettings) error
func (Api) UpdateSSLCertificate ¶
func (a Api) UpdateSSLCertificate(certBody SSLCertificateSettings) error
func (Api) UpdateStagedDirectorAvailabilityZones ¶
func (a Api) UpdateStagedDirectorAvailabilityZones(input AvailabilityZoneInput, ignoreVerifierWarnings bool) error
func (Api) UpdateStagedDirectorIAASConfigurations ¶
func (a Api) UpdateStagedDirectorIAASConfigurations(iaasConfig IAASConfigurationsInput, ignoreVerifierWarnings bool) error
func (Api) UpdateStagedDirectorNetworkAndAZ ¶
func (a Api) UpdateStagedDirectorNetworkAndAZ(input NetworkAndAZConfiguration) error
func (Api) UpdateStagedDirectorNetworks ¶
func (a Api) UpdateStagedDirectorNetworks(input NetworkInput) error
func (Api) UpdateStagedDirectorProperties ¶
func (a Api) UpdateStagedDirectorProperties(input DirectorProperties) error
func (Api) UpdateStagedProductErrands ¶
func (Api) UpdateStagedProductJobMaxInFlight ¶
func (Api) UpdateStagedProductNetworksAndAZs ¶
func (a Api) UpdateStagedProductNetworksAndAZs(input UpdateStagedProductNetworksAndAZsInput) error
func (Api) UpdateStagedProductProperties ¶
func (a Api) UpdateStagedProductProperties(input UpdateStagedProductPropertiesInput) error
func (Api) UpdateSyslogConfiguration ¶
func (a Api) UpdateSyslogConfiguration(input UpdateSyslogConfigurationInput) error
func (Api) UpdateSyslogSettings ¶
func (a Api) UpdateSyslogSettings(syslogSettings SyslogSettings) error
func (Api) UpdateTokensExpiration ¶
func (a Api) UpdateTokensExpiration(tokenExpirations TokensExpiration) error
func (Api) UploadAvailableProduct ¶
func (a Api) UploadAvailableProduct(input UploadAvailableProductInput) (UploadAvailableProductOutput, error)
func (Api) UploadInstallationAssetCollection ¶
func (a Api) UploadInstallationAssetCollection(input ImportInstallationInput) error
func (Api) UploadStemcell ¶
func (a Api) UploadStemcell(input StemcellUploadInput) (StemcellUploadOutput, error)
type ApiInput ¶
type ApiInput struct { Client httpClient UnauthedClient httpClient ProgressClient httpClient UnauthedProgressClient httpClient Logger logger }
type ApplyErrandChanges ¶
type ApplyErrandChanges struct {
Errands map[string]ProductErrand `yaml:"errands" json:"errands,omitempty"`
}
type AvailabilityZoneInput ¶
type AvailabilityZoneInput struct {
AvailabilityZones json.RawMessage `json:"availability_zones"`
}
type AvailabilityZoneOutput ¶
type AvailabilityZones ¶
type AvailabilityZones struct {
AvailabilityZones []*AZ `yaml:"availability_zones"`
}
type AvailabilityZonesOutput ¶
type AvailabilityZonesOutput struct {
AvailabilityZones []AvailabilityZoneOutput `yaml:"availability_zones"`
}
type AvailableProductsOutput ¶
type AvailableProductsOutput struct {
ProductsList []ProductInfo
}
type BannerSettings ¶
type CPIConfigsDiff ¶
type CertificateAuthoritiesOutput ¶
type CertificateAuthoritiesOutput struct {
CAs []CA `json:"certificate_authorities"`
}
type CompletenessChecks ¶
type ConfigurationRequest ¶
type CreateVMExtension ¶
type CreateVMExtension struct { Name string `json:"name"` CloudProperties json.RawMessage `json:"cloud_properties"` }
type CreateVMType ¶
type CreateVMType struct { RAM uint `yaml:"ram"` Name string `yaml:"name"` CPU uint `yaml:"cpu"` EphemeralDisk uint `yaml:"ephemeral_disk"` ExtraProperties map[string]interface{} `yaml:",inline"` }
func (CreateVMType) MarshalJSON ¶
func (c CreateVMType) MarshalJSON() ([]byte, error)
func (*CreateVMType) UnmarshalJSON ¶
func (c *CreateVMType) UnmarshalJSON(b []byte) error
type CreateVMTypes ¶
type CreateVMTypes struct {
VMTypes []CreateVMType `json:"vm_types" yaml:"vm_types"`
}
type Credential ¶
type CredentialReferencesOutput ¶
type CredentialReferencesOutput struct {
Credentials []string `json:"credentials"`
}
type DeleteCertificateAuthorityInput ¶
type DeleteCertificateAuthorityInput struct {
GUID string
}
type DeployedProductOutput ¶
type DiagnosticProduct ¶
type DiagnosticReport ¶
type DiagnosticReport struct { InfrastructureType string `json:"infrastructure_type"` Stemcells []string `json:"stemcells,omitempty"` StagedProducts []DiagnosticProduct DeployedProducts []DiagnosticProduct AvailableStemcells []Stemcell `json:"available_stemcells,omitempty"` FullReport string }
type DiagnosticReportUnavailable ¶
type DiagnosticReportUnavailable struct{}
func (DiagnosticReportUnavailable) Error ¶
func (du DiagnosticReportUnavailable) Error() string
type DirectorDiff ¶
type DirectorDiff struct { Manifest ManifestDiff `json:"manifest"` CloudConfig ManifestDiff `json:"cloud_config"` RuntimeConfigs []RuntimeConfigsDiff `json:"runtime_configs"` CPIConfigs []CPIConfigsDiff `json:"cpi_configs"` }
type DirectorProperties ¶
type DirectorProperties json.RawMessage
type DomainsInput ¶
type DomainsInput struct {
Domains []string `json:"domains"`
}
type EnsureAvailabilityInput ¶
type EnsureAvailabilityInput struct{}
type EnsureAvailabilityOutput ¶
type EnsureAvailabilityOutput struct {
Status string
}
type Errand ¶
type Errand struct { Name string `json:"name"` PostDeploy interface{} `json:"post_deploy,omitempty"` PreDelete interface{} `json:"pre_delete,omitempty"` }
type ErrandsListOutput ¶
type ErrandsListOutput struct {
Errands []Errand `json:"errands"`
}
type ExpiringCertificate ¶
type ExpiringCertificate struct { Issuer string `json:"issuer"` ValidFrom time.Time `json:"valid_from"` ValidUntil time.Time `json:"valid_until"` Configurable bool `json:"configurable"` PropertyReference string `json:"property_reference"` PropertyType string `json:"property_type"` ProductGUID string `json:"product_guid"` Location string `json:"location"` VariablePath string `json:"variable_path"` RotationProcedureName string `json:"rotation_procedure_name"` RotationProcedureUrl string `json:"rotation_procedure_url"` }
type ExpiringCertificatesResponse ¶
type ExpiringCertificatesResponse struct {
Certificates []ExpiringCertificate `json:"certificates"`
}
type GenerateCAResponse ¶
type GetDeployedProductCredentialOutput ¶
type GetDeployedProductCredentialOutput struct {
Credential Credential `json:"credential"`
}
type IAASConfiguration ¶
type IAASConfigurationDirectorPropertiesPayload ¶
type IAASConfigurationDirectorPropertiesPayload struct { Fields map[string]interface{} `json:",inline,omitempty" yaml:",inline,omitempty"` IAASConfiguration *IAASConfiguration `json:"iaas_configuration" yaml:"iaas_configuration"` }
type IAASConfigurationsAPIPayload ¶
type IAASConfigurationsAPIPayload struct { Fields map[string]interface{} `json:",inline,omitempty" yaml:",inline,omitempty"` IAASConfiguration []*IAASConfiguration `json:"iaas_configurations" yaml:"iaas_configurations"` }
type IAASConfigurationsInput ¶
type IAASConfigurationsInput json.RawMessage
type ImportInstallationInput ¶
type Info ¶
type Info struct {
Version string `json:"version"`
}
Info contains information about Ops Manager itself.
type JobProperties ¶
type JobProperties map[string]interface{}
type LDAPSettings ¶
type LDAPSettings struct { EmailAttribute string `json:"email_attribute,omitempty"` GroupSearchBase string `json:"group_search_base,omitempty"` GroupSearchFilter string `json:"group_search_filter,omitempty"` LDAPPassword string `json:"ldap_password,omitempty"` LDAPRBACAdminGroup string `json:"ldap_rbac_admin_group_name,omitempty"` LDAPReferral string `json:"ldap_referrals,omitempty"` LDAPUsername string `json:"ldap_username,omitempty"` ServerSSLCert string `json:"server_ssl_cert,omitempty"` ServerURL string `json:"server_url,omitempty"` UserSearchBase string `json:"user_search_base,omitempty"` UserSearchFilter string `json:"user_search_filter,omitempty"` }
type ManifestDiff ¶
type NetworkAndAZConfiguration ¶
type NetworkAndAZConfiguration struct {
NetworkAZ json.RawMessage `json:"network_and_az,omitempty"`
}
type NetworkConfigurationOutput ¶
type NetworkConfigurationOutput struct { Name string `yaml:"name"` ServiceNetwork *bool `yaml:"service_network,omitempty"` Subnets []SubnetOutput `yaml:"subnets,omitempty"` }
type NetworkInput ¶
type NetworkInput struct {
Networks json.RawMessage `json:"networks"`
}
type NetworksConfigurationOutput ¶
type NetworksConfigurationOutput struct { ICMP bool `yaml:"icmp_checks_enabled"` Networks []NetworkConfigurationOutput }
type PendingChangesOutput ¶
type PendingChangesOutput struct { ChangeList []ProductChange `json:"product_changes"` FullReport string }
type PendingDirectorChangesOutput ¶
type PendingDirectorChangesOutput struct {
EndpointResults PreDeployCheck `json:"pre_deploy_check"`
}
type PendingProductChangesOutput ¶
type PendingProductChangesOutput struct {
EndpointResults PreDeployCheck `json:"pre_deploy_check"`
}
type PivnetSettings ¶
type PivnetSettings struct {
APIToken string `json:"api_token" yaml:"api_token"`
}
type PreDeployAvailabilityZone ¶
type PreDeployAvailabilityZone struct {
Assigned bool `json:"assigned"`
}
type PreDeployCheck ¶
type PreDeployCheck struct { Identifier string `json:"identifier"` Complete bool `json:"complete"` Network PreDeployNetwork `json:"network"` AvailabilityZone PreDeployAvailabilityZone `json:"availability_zone"` Stemcells []PreDeployStemcells `json:"stemcells"` Properties []PreDeployProperty `json:"properties"` Resources PreDeployResources `json:"resources"` Verifiers []PreDeployVerifier `json:"verifiers"` }
type PreDeployJob ¶
type PreDeployNetwork ¶
type PreDeployNetwork struct {
Assigned bool `json:"assigned"`
}
type PreDeployProperty ¶
type PreDeployProperty struct { Name string `json:"name"` Type string `json:"type"` Errors []string `json:"errors"` Records []PreDeployRecord `json:"records"` }
type PreDeployRecord ¶
type PreDeployRecord struct { Index int `json:"index"` Errors []PreDeployProperty `json:"errors"` }
type PreDeployResources ¶
type PreDeployResources struct {
Jobs []PreDeployJob `json:"jobs"`
}
type PreDeployStemcells ¶
type PreDeployVerifier ¶
type ProductChange ¶
type ProductChange struct { GUID string `json:"guid"` Action string `json:"action"` Errands []Errand `json:"errands"` CompletenessChecks *CompletenessChecks `json:"completeness_checks,omitempty"` }
type ProductDiff ¶
type ProductDiff struct { Manifest ManifestDiff `json:"manifest"` RuntimeConfigs []RuntimeConfigsDiff `json:"runtime_configs"` }
type ProductErrand ¶
type ProductInfo ¶
type ProductMultiStemcell ¶
type ProductMultiStemcell struct { GUID string `json:"guid,omitempty"` ProductName string `json:"identifier,omitempty"` StagedForDeletion bool `json:"is_staged_for_deletion,omitempty"` StagedStemcells []StemcellObject `json:"staged_stemcells,omitempty"` RequiredStemcells []StemcellObject `json:"required_stemcells,omitempty"` AvailableVersions []StemcellObject `json:"available_stemcells,omitempty"` }
type ProductMultiStemcells ¶
type ProductMultiStemcells struct {
Products []ProductMultiStemcell `json:"products"`
}
type ProductStemcell ¶
type ProductStemcell struct { GUID string `json:"guid,omitempty"` ProductName string `json:"identifier,omitempty"` StagedForDeletion bool `json:"is_staged_for_deletion,omitempty"` StagedStemcellVersion string `json:"staged_stemcell_version,omitempty"` RequiredStemcellVersion string `json:"required_stemcell_version,omitempty"` AvailableVersions []string `json:"available_stemcell_versions,omitempty"` }
type ProductStemcells ¶
type ProductStemcells struct {
Products []ProductStemcell `json:"products"`
}
type RBACSettings ¶
type RBACSettings struct { SAMLAdminGroup string `json:"rbac_saml_admin_group,omitempty" yaml:"rbac_saml_admin_group"` SAMLGroupsAttribute string `json:"rbac_saml_groups_attribute,omitempty" yaml:"rbac_saml_groups_attribute"` LDAPAdminGroupName string `json:"ldap_rbac_admin_group_name,omitempty" yaml:"ldap_rbac_admin_group_name"` }
type RequestServiceCurlInput ¶
type RequestServiceCurlOutput ¶
type RequestServiceCurlOutput struct { StatusCode int Headers http.Header Body io.ReadCloser }
type ResponseProperty ¶
type RuntimeConfigsDiff ¶
type SSLCertificate ¶
type SSLCertificate struct {
Certificate string `json:"certificate"`
}
type SSLCertificateOutput ¶
type SSLCertificateOutput struct {
Certificate SSLCertificate `json:"ssl_certificate"`
}
type SSLCertificateSettings ¶
type SetupInput ¶
type SetupInput struct { IdentityProvider string `json:"identity_provider"` AdminUserName string `json:"admin_user_name,omitempty"` AdminPassword string `json:"admin_password,omitempty"` AdminPasswordConfirmation string `json:"admin_password_confirmation,omitempty"` DecryptionPassphrase string `json:"decryption_passphrase"` DecryptionPassphraseConfirmation string `json:"decryption_passphrase_confirmation"` EULAAccepted string `json:"eula_accepted"` HTTPProxyURL string `json:"http_proxy,omitempty"` HTTPSProxyURL string `json:"https_proxy,omitempty"` NoProxy string `json:"no_proxy,omitempty"` IDPMetadata string `json:"idp_metadata,omitempty"` BoshIDPMetadata string `json:"bosh_idp_metadata,omitempty"` RBACAdminGroup string `json:"rbac_saml_admin_group,omitempty"` RBACGroupsAttribute string `json:"rbac_saml_groups_attribute,omitempty"` LDAPSettings *LDAPSettings `json:"ldap_settings,omitempty"` CreateBoshAdminClient bool `json:"create_bosh_admin_client,omitempty"` PrecreatedClientSecret string `json:"precreated_client_secret,omitempty"` }
type SetupOutput ¶
type SetupOutput struct{}
type StageProductInput ¶
type StagedProduct ¶
type StagedProductsFindOutput ¶
type StagedProductsFindOutput struct {
Product StagedProduct
}
type StagedProductsOutput ¶
type StagedProductsOutput struct {
Products []StagedProduct
}
type StemcellObject ¶
type StemcellUploadInput ¶
type StemcellUploadOutput ¶
type StemcellUploadOutput struct{}
type SubnetOutput ¶
type SyslogConfiguration ¶
type SyslogConfiguration struct {
SyslogConfiguration map[string]interface{} `json:"syslog_configuration"`
}
type SyslogSettings ¶
type SyslogSettings struct { Enabled string `json:"enabled,omitempty" yaml:"enabled"` Address string `json:"address,omitempty" yaml:"address"` Port string `json:"port,omitempty" yaml:"port"` TransportProtocol string `json:"transport_protocol,omitempty" yaml:"transport_protocol"` TLSEnabled string `json:"tls_enabled,omitempty" yaml:"tls_enabled"` PermittedPeer string `json:"permitted_peer,omitempty" yaml:"permitted_peer"` SSLCACertificate string `json:"ssl_ca_certificate,omitempty" yaml:"ssl_ca_certificate"` QueueSize string `json:"queue_size,omitempty" yaml:"queue_size"` ForwardDebugLogs string `json:"forward_debug_logs,omitempty" yaml:"forward_debug_logs"` CustomRsyslogConfig string `json:"custom_rsyslog_configuration,omitempty" yaml:"custom_rsyslog_configuration"` }
type TokensExpiration ¶
type TokensExpiration struct { AccessTokenExpiration int `json:"access_token_expiration,omitempty" yaml:"access_token_expiration"` RefreshTokenExpiration int `json:"refresh_token_expiration,omitempty" yaml:"refresh_token_expiration"` SessionIdleTimeout int `json:"session_idle_timeout,omitempty" yaml:"session_idle_timeout"` }
type UnstageProductInput ¶
type UnstageProductInput struct {
ProductName string `json:"name"`
}
type UpgradeRequest ¶
type UpgradeRequest struct {
ToVersion string `json:"to_version"`
}
type UploadAvailableProductOutput ¶
type UploadAvailableProductOutput struct{}
type VMExtension ¶
type VMExtensionResponse ¶
type VMExtensionResponse struct {
VMExtensions []VMExtension `json:"vm_extensions"`
}
type VMType ¶
type VMType struct { CreateVMType BuiltIn bool `json:"builtin" yaml:"builtin"` }
func (*VMType) UnmarshalJSON ¶
type VMTypesResponse ¶
type VMTypesResponse struct {
VMTypes []VMType `json:"vm_types"`
}
Source Files ¶
- api.go
- available_products_service.go
- bosh_environment_service.go
- certificate_authorities_service.go
- certificates_service.go
- client.go
- configure_opsman_service.go
- credentials_service.go
- deployed_products_service.go
- diagnostic_service.go
- diff_service.go
- director_service.go
- disable_director_verifiers_service.go
- disable_product_verifiers_service.go
- errands_service.go
- expiring_certificates_service.go
- helpers.go
- info_service.go
- installation_asset_service.go
- installations_service.go
- jobs_service.go
- multi_stemcell_service.go
- pending_changes_service.go
- pre_deploy_check_service.go
- request_service.go
- revert_staged_changes.go
- security_service.go
- sendAPIRequest.go
- setup_service.go
- staged_director_service.go
- staged_products_service.go
- stemcell_service.go
- upload_stemcell_service.go
- validation.go
- vm_extensions_service.go
- vm_types_service.go
Click to show internal directories.
Click to hide internal directories.