Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalOpts = GlobalOptionsKey{ // contains filtered or unexported fields }
GlobalOpts is the convenience object for storing the fixed global conifguration (parameter) keys
Functions ¶
func SetGlobalOpts ¶
SetGlobalOpts configures the global parameters on the given root command
func ValidateGlobalOpts ¶
func ValidateGlobalOpts() error
ValidateGlobalOpts checks the presence of the required global configuration parameters
Types ¶
type GlobalOptionsKey ¶
type GlobalOptionsKey struct {
// contains filtered or unexported fields
}
GlobalOptionsKey is the type for holding the configuration key for each global parameter
func (*GlobalOptionsKey) ClientID ¶
func (key *GlobalOptionsKey) ClientID() string
func (*GlobalOptionsKey) ClientSecret ¶
func (key *GlobalOptionsKey) ClientSecret() string
func (*GlobalOptionsKey) ErsUrl ¶
func (key *GlobalOptionsKey) ErsUrl() string
func (*GlobalOptionsKey) KebApiUrl ¶
func (key *GlobalOptionsKey) KebApiUrl() string
func (*GlobalOptionsKey) MothershipApiUrl ¶
func (key *GlobalOptionsKey) MothershipApiUrl() string
func (*GlobalOptionsKey) OauthUrl ¶
func (key *GlobalOptionsKey) OauthUrl() string
type Instance ¶
type Instance struct { BrokerId string CommercialType string // TODO: Date comes in different format than specified // CreatedDate date.Date // 2021-10-04T112314.137Z CustomLabels interface{} DashboardUrl string Description string EnvironmentType string // always "kyma" GlobalAccountID string `json:"globalAccountGUID"` Id string Labels string LandscapeLabel string // TODO: Date comes in different format than specified ModifiedDate int //2021-10-04T112314.137Z Name string Operation string Parameters interface{} PlanId string PlanName string PlatformId string ServiceId string ServiceName string State string //[CREATING UPDATING DELETING OK CREATION_FAILED DELETION_FAILED UPDATE_FAILED] StateMessage string SubaccountGUID string TenantId string Type string // always "Provision" Status string // always "Processed" Migrated bool }
type MigrationMetadata ¶
Click to show internal directories.
Click to hide internal directories.