Documentation ¶
Overview ¶
Package appconfigurationv1 : Operations and models for the AppConfigurationV1 service
Index ¶
- Constants
- func ConstructServiceURL(providedUrlVariables map[string]string) (string, error)
- func GetServiceURLForRegion(region string) (string, error)
- func UnmarshalCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCollectionList(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCollectionLite(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCollectionRef(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigAction(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigActionGitConfigPromote(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfigActionGitConfigRestore(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateGitConfigResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateWorkflowconfigRequest(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateWorkflowconfigRequestIbmWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateWorkflowconfigRequestWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateWorkflowconfigResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateWorkflowconfigResponseIbmWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateWorkflowconfigResponseWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEnvironment(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEnvironmentList(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalFeature(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalFeatureOutput(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalFeatureSegmentRule(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalFeaturesList(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGitConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGitConfigCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGitConfigEnvironment(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGitConfigList(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGitConfigPromote(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGitConfigRestore(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalImportCollectionSchema(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalImportConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalImportEnvironmentSchema(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalImportFeatureRequestBody(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalImportPropertyRequestBody(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalImportSegmentSchema(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalListWorkflowconfigResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalListWorkflowconfigResponseIbmWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalListWorkflowconfigResponseWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalOriginConfigList(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginatedListFirst(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginatedListLast(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginatedListNext(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginatedListPrevious(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPropertiesList(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProperty(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPropertyOutput(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRule(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSegment(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSegmentRule(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSegmentsList(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSnapshotOutput(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTargetSegments(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateWorkflowconfigRequest(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateWorkflowconfigRequestUpdateIbmWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateWorkflowconfigRequestUpdateWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateWorkflowconfigResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateWorkflowconfigResponseIbmWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUpdateWorkflowconfigResponseWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalWorkflowCredentials(m map[string]json.RawMessage, result interface{}) (err error)
- type AppConfigurationV1
- func (appConfiguration *AppConfigurationV1) Clone() *AppConfigurationV1
- func (appConfiguration *AppConfigurationV1) CreateCollection(createCollectionOptions *CreateCollectionOptions) (result *CollectionLite, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) CreateCollectionWithContext(ctx context.Context, createCollectionOptions *CreateCollectionOptions) (result *CollectionLite, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) CreateEnvironment(createEnvironmentOptions *CreateEnvironmentOptions) (result *Environment, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) CreateEnvironmentWithContext(ctx context.Context, createEnvironmentOptions *CreateEnvironmentOptions) (result *Environment, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) CreateFeature(createFeatureOptions *CreateFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) CreateFeatureWithContext(ctx context.Context, createFeatureOptions *CreateFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) CreateGitconfig(createGitconfigOptions *CreateGitconfigOptions) (result *CreateGitConfigResponse, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) CreateGitconfigWithContext(ctx context.Context, createGitconfigOptions *CreateGitconfigOptions) (result *CreateGitConfigResponse, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) CreateProperty(createPropertyOptions *CreatePropertyOptions) (result *Property, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) CreatePropertyWithContext(ctx context.Context, createPropertyOptions *CreatePropertyOptions) (result *Property, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) CreateSegment(createSegmentOptions *CreateSegmentOptions) (result *Segment, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) CreateSegmentWithContext(ctx context.Context, createSegmentOptions *CreateSegmentOptions) (result *Segment, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) CreateWorkflowconfig(createWorkflowconfigOptions *CreateWorkflowconfigOptions) (result CreateWorkflowconfigResponseIntf, response *core.DetailedResponse, ...)
- func (appConfiguration *AppConfigurationV1) CreateWorkflowconfigWithContext(ctx context.Context, createWorkflowconfigOptions *CreateWorkflowconfigOptions) (result CreateWorkflowconfigResponseIntf, response *core.DetailedResponse, ...)
- func (appConfiguration *AppConfigurationV1) DeleteCollection(deleteCollectionOptions *DeleteCollectionOptions) (response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) DeleteCollectionWithContext(ctx context.Context, deleteCollectionOptions *DeleteCollectionOptions) (response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) DeleteEnvironment(deleteEnvironmentOptions *DeleteEnvironmentOptions) (response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) DeleteEnvironmentWithContext(ctx context.Context, deleteEnvironmentOptions *DeleteEnvironmentOptions) (response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) DeleteFeature(deleteFeatureOptions *DeleteFeatureOptions) (response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) DeleteFeatureWithContext(ctx context.Context, deleteFeatureOptions *DeleteFeatureOptions) (response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) DeleteGitconfig(deleteGitconfigOptions *DeleteGitconfigOptions) (response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) DeleteGitconfigWithContext(ctx context.Context, deleteGitconfigOptions *DeleteGitconfigOptions) (response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) DeleteProperty(deletePropertyOptions *DeletePropertyOptions) (response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) DeletePropertyWithContext(ctx context.Context, deletePropertyOptions *DeletePropertyOptions) (response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) DeleteSegment(deleteSegmentOptions *DeleteSegmentOptions) (response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) DeleteSegmentWithContext(ctx context.Context, deleteSegmentOptions *DeleteSegmentOptions) (response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) DeleteWorkflowconfig(deleteWorkflowconfigOptions *DeleteWorkflowconfigOptions) (response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) DeleteWorkflowconfigWithContext(ctx context.Context, deleteWorkflowconfigOptions *DeleteWorkflowconfigOptions) (response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) DisableRetries()
- func (appConfiguration *AppConfigurationV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
- func (appConfiguration *AppConfigurationV1) GetCollection(getCollectionOptions *GetCollectionOptions) (result *Collection, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) GetCollectionWithContext(ctx context.Context, getCollectionOptions *GetCollectionOptions) (result *Collection, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) GetEnableGzipCompression() bool
- func (appConfiguration *AppConfigurationV1) GetEnvironment(getEnvironmentOptions *GetEnvironmentOptions) (result *Environment, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) GetEnvironmentWithContext(ctx context.Context, getEnvironmentOptions *GetEnvironmentOptions) (result *Environment, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) GetFeature(getFeatureOptions *GetFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) GetFeatureWithContext(ctx context.Context, getFeatureOptions *GetFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) GetGitconfig(getGitconfigOptions *GetGitconfigOptions) (result *GitConfig, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) GetGitconfigWithContext(ctx context.Context, getGitconfigOptions *GetGitconfigOptions) (result *GitConfig, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) GetProperty(getPropertyOptions *GetPropertyOptions) (result *Property, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) GetPropertyWithContext(ctx context.Context, getPropertyOptions *GetPropertyOptions) (result *Property, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) GetSegment(getSegmentOptions *GetSegmentOptions) (result *Segment, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) GetSegmentWithContext(ctx context.Context, getSegmentOptions *GetSegmentOptions) (result *Segment, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) GetServiceURL() string
- func (appConfiguration *AppConfigurationV1) ImportConfig(importConfigOptions *ImportConfigOptions) (result *ImportConfig, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ImportConfigWithContext(ctx context.Context, importConfigOptions *ImportConfigOptions) (result *ImportConfig, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListCollections(listCollectionsOptions *ListCollectionsOptions) (result *CollectionList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListCollectionsWithContext(ctx context.Context, listCollectionsOptions *ListCollectionsOptions) (result *CollectionList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListEnvironments(listEnvironmentsOptions *ListEnvironmentsOptions) (result *EnvironmentList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListEnvironmentsWithContext(ctx context.Context, listEnvironmentsOptions *ListEnvironmentsOptions) (result *EnvironmentList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListFeatures(listFeaturesOptions *ListFeaturesOptions) (result *FeaturesList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListFeaturesWithContext(ctx context.Context, listFeaturesOptions *ListFeaturesOptions) (result *FeaturesList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListInstanceConfig(listInstanceConfigOptions *ListInstanceConfigOptions) (result *ImportConfig, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListInstanceConfigWithContext(ctx context.Context, listInstanceConfigOptions *ListInstanceConfigOptions) (result *ImportConfig, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListOriginconfigs(listOriginconfigsOptions *ListOriginconfigsOptions) (result *OriginConfigList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListOriginconfigsWithContext(ctx context.Context, listOriginconfigsOptions *ListOriginconfigsOptions) (result *OriginConfigList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListProperties(listPropertiesOptions *ListPropertiesOptions) (result *PropertiesList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListPropertiesWithContext(ctx context.Context, listPropertiesOptions *ListPropertiesOptions) (result *PropertiesList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListSegments(listSegmentsOptions *ListSegmentsOptions) (result *SegmentsList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListSegmentsWithContext(ctx context.Context, listSegmentsOptions *ListSegmentsOptions) (result *SegmentsList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListSnapshots(listSnapshotsOptions *ListSnapshotsOptions) (result *GitConfigList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListSnapshotsWithContext(ctx context.Context, listSnapshotsOptions *ListSnapshotsOptions) (result *GitConfigList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ListWorkflowconfig(listWorkflowconfigOptions *ListWorkflowconfigOptions) (result ListWorkflowconfigResponseIntf, response *core.DetailedResponse, ...)
- func (appConfiguration *AppConfigurationV1) ListWorkflowconfigWithContext(ctx context.Context, listWorkflowconfigOptions *ListWorkflowconfigOptions) (result ListWorkflowconfigResponseIntf, response *core.DetailedResponse, ...)
- func (*AppConfigurationV1) NewCollection(name string, collectionID string) (_model *Collection, err error)
- func (*AppConfigurationV1) NewCollectionRef(collectionID string) (_model *CollectionRef, err error)
- func (appConfiguration *AppConfigurationV1) NewCollectionsPager(options *ListCollectionsOptions) (pager *CollectionsPager, err error)
- func (*AppConfigurationV1) NewCreateCollectionOptions(name string, collectionID string) *CreateCollectionOptions
- func (*AppConfigurationV1) NewCreateEnvironmentOptions(name string, environmentID string) *CreateEnvironmentOptions
- func (*AppConfigurationV1) NewCreateFeatureOptions(environmentID string, name string, featureID string, typeVar string, ...) *CreateFeatureOptions
- func (*AppConfigurationV1) NewCreateGitconfigOptions(gitConfigName string, gitConfigID string, collectionID string, ...) *CreateGitconfigOptions
- func (*AppConfigurationV1) NewCreatePropertyOptions(environmentID string, name string, propertyID string, typeVar string, ...) *CreatePropertyOptions
- func (*AppConfigurationV1) NewCreateSegmentOptions(name string, segmentID string, rules []Rule) *CreateSegmentOptions
- func (*AppConfigurationV1) NewCreateWorkflowconfigOptions(environmentID string, workflowConfig CreateWorkflowconfigRequestIntf) *CreateWorkflowconfigOptions
- func (*AppConfigurationV1) NewCreateWorkflowconfigRequestIbmWorkflowConfig(serviceCrn string, workflowType string, approvalExpiration int64, ...) (_model *CreateWorkflowconfigRequestIbmWorkflowConfig, err error)
- func (*AppConfigurationV1) NewCreateWorkflowconfigRequestWorkflowConfig(workflowURL string, approvalGroupName string, approvalExpiration int64, ...) (_model *CreateWorkflowconfigRequestWorkflowConfig, err error)
- func (*AppConfigurationV1) NewDeleteCollectionOptions(collectionID string) *DeleteCollectionOptions
- func (*AppConfigurationV1) NewDeleteEnvironmentOptions(environmentID string) *DeleteEnvironmentOptions
- func (*AppConfigurationV1) NewDeleteFeatureOptions(environmentID string, featureID string) *DeleteFeatureOptions
- func (*AppConfigurationV1) NewDeleteGitconfigOptions(gitConfigID string) *DeleteGitconfigOptions
- func (*AppConfigurationV1) NewDeletePropertyOptions(environmentID string, propertyID string) *DeletePropertyOptions
- func (*AppConfigurationV1) NewDeleteSegmentOptions(segmentID string) *DeleteSegmentOptions
- func (*AppConfigurationV1) NewDeleteWorkflowconfigOptions(environmentID string) *DeleteWorkflowconfigOptions
- func (*AppConfigurationV1) NewEnvironment(name string, environmentID string) (_model *Environment, err error)
- func (appConfiguration *AppConfigurationV1) NewEnvironmentsPager(options *ListEnvironmentsOptions) (pager *EnvironmentsPager, err error)
- func (*AppConfigurationV1) NewFeatureOutput(featureID string, name string) (_model *FeatureOutput, err error)
- func (*AppConfigurationV1) NewFeatureSegmentRule(rules []TargetSegments, value interface{}, order int64) (_model *FeatureSegmentRule, err error)
- func (appConfiguration *AppConfigurationV1) NewFeaturesPager(options *ListFeaturesOptions) (pager *FeaturesPager, err error)
- func (*AppConfigurationV1) NewGetCollectionOptions(collectionID string) *GetCollectionOptions
- func (*AppConfigurationV1) NewGetEnvironmentOptions(environmentID string) *GetEnvironmentOptions
- func (*AppConfigurationV1) NewGetFeatureOptions(environmentID string, featureID string) *GetFeatureOptions
- func (*AppConfigurationV1) NewGetGitconfigOptions(gitConfigID string) *GetGitconfigOptions
- func (*AppConfigurationV1) NewGetPropertyOptions(environmentID string, propertyID string) *GetPropertyOptions
- func (*AppConfigurationV1) NewGetSegmentOptions(segmentID string) *GetSegmentOptions
- func (*AppConfigurationV1) NewImportCollectionSchema(collectionID string, name string) (_model *ImportCollectionSchema, err error)
- func (*AppConfigurationV1) NewImportConfigOptions() *ImportConfigOptions
- func (*AppConfigurationV1) NewImportEnvironmentSchema(name string, environmentID string) (_model *ImportEnvironmentSchema, err error)
- func (*AppConfigurationV1) NewImportFeatureRequestBody(name string, featureID string, typeVar string, enabledValue interface{}, ...) (_model *ImportFeatureRequestBody, err error)
- func (*AppConfigurationV1) NewImportPropertyRequestBody(name string, propertyID string, typeVar string, value interface{}, ...) (_model *ImportPropertyRequestBody, err error)
- func (*AppConfigurationV1) NewImportSegmentSchema(name string, segmentID string, rules []Rule) (_model *ImportSegmentSchema, err error)
- func (*AppConfigurationV1) NewListCollectionsOptions() *ListCollectionsOptions
- func (*AppConfigurationV1) NewListEnvironmentsOptions() *ListEnvironmentsOptions
- func (*AppConfigurationV1) NewListFeaturesOptions(environmentID string) *ListFeaturesOptions
- func (*AppConfigurationV1) NewListInstanceConfigOptions() *ListInstanceConfigOptions
- func (*AppConfigurationV1) NewListOriginconfigsOptions() *ListOriginconfigsOptions
- func (*AppConfigurationV1) NewListPropertiesOptions(environmentID string) *ListPropertiesOptions
- func (*AppConfigurationV1) NewListSegmentsOptions() *ListSegmentsOptions
- func (*AppConfigurationV1) NewListSnapshotsOptions() *ListSnapshotsOptions
- func (*AppConfigurationV1) NewListWorkflowconfigOptions(environmentID string) *ListWorkflowconfigOptions
- func (*AppConfigurationV1) NewPromoteGitconfigOptions(gitConfigID string) *PromoteGitconfigOptions
- func (*AppConfigurationV1) NewPromoteRestoreConfigOptions(gitConfigID string, action string) *PromoteRestoreConfigOptions
- func (appConfiguration *AppConfigurationV1) NewPropertiesPager(options *ListPropertiesOptions) (pager *PropertiesPager, err error)
- func (*AppConfigurationV1) NewProperty(name string, propertyID string, typeVar string, value interface{}) (_model *Property, err error)
- func (*AppConfigurationV1) NewPropertyOutput(propertyID string, name string) (_model *PropertyOutput, err error)
- func (*AppConfigurationV1) NewRestoreGitconfigOptions(gitConfigID string) *RestoreGitconfigOptions
- func (*AppConfigurationV1) NewRule(attributeName string, operator string, values []string) (_model *Rule, err error)
- func (*AppConfigurationV1) NewSegment(name string, segmentID string, rules []Rule) (_model *Segment, err error)
- func (*AppConfigurationV1) NewSegmentRule(rules []TargetSegments, value interface{}, order int64) (_model *SegmentRule, err error)
- func (appConfiguration *AppConfigurationV1) NewSegmentsPager(options *ListSegmentsOptions) (pager *SegmentsPager, err error)
- func (*AppConfigurationV1) NewSnapshotOutput(gitConfigID string, name string) (_model *SnapshotOutput, err error)
- func (appConfiguration *AppConfigurationV1) NewSnapshotsPager(options *ListSnapshotsOptions) (pager *SnapshotsPager, err error)
- func (*AppConfigurationV1) NewTargetSegments(segments []string) (_model *TargetSegments, err error)
- func (*AppConfigurationV1) NewToggleFeatureOptions(environmentID string, featureID string, enabled bool) *ToggleFeatureOptions
- func (*AppConfigurationV1) NewUpdateCollectionOptions(collectionID string) *UpdateCollectionOptions
- func (*AppConfigurationV1) NewUpdateEnvironmentOptions(environmentID string) *UpdateEnvironmentOptions
- func (*AppConfigurationV1) NewUpdateFeatureOptions(environmentID string, featureID string) *UpdateFeatureOptions
- func (*AppConfigurationV1) NewUpdateFeatureValuesOptions(environmentID string, featureID string) *UpdateFeatureValuesOptions
- func (*AppConfigurationV1) NewUpdateGitconfigOptions(gitConfigID string) *UpdateGitconfigOptions
- func (*AppConfigurationV1) NewUpdateOriginconfigsOptions(allowedOrigins []string) *UpdateOriginconfigsOptions
- func (*AppConfigurationV1) NewUpdatePropertyOptions(environmentID string, propertyID string) *UpdatePropertyOptions
- func (*AppConfigurationV1) NewUpdatePropertyValuesOptions(environmentID string, propertyID string) *UpdatePropertyValuesOptions
- func (*AppConfigurationV1) NewUpdateSegmentOptions(segmentID string) *UpdateSegmentOptions
- func (*AppConfigurationV1) NewUpdateWorkflowconfigOptions(environmentID string, updateWorkflowConfig UpdateWorkflowconfigRequestIntf) *UpdateWorkflowconfigOptions
- func (*AppConfigurationV1) NewWorkflowCredentials(username string, password string, clientID string, clientSecret string) (_model *WorkflowCredentials, err error)
- func (appConfiguration *AppConfigurationV1) PromoteGitconfig(promoteGitconfigOptions *PromoteGitconfigOptions) (result *GitConfigPromote, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) PromoteGitconfigWithContext(ctx context.Context, promoteGitconfigOptions *PromoteGitconfigOptions) (result *GitConfigPromote, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) PromoteRestoreConfig(promoteRestoreConfigOptions *PromoteRestoreConfigOptions) (result ConfigActionIntf, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) PromoteRestoreConfigWithContext(ctx context.Context, promoteRestoreConfigOptions *PromoteRestoreConfigOptions) (result ConfigActionIntf, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) RestoreGitconfig(restoreGitconfigOptions *RestoreGitconfigOptions) (result *GitConfigRestore, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) RestoreGitconfigWithContext(ctx context.Context, restoreGitconfigOptions *RestoreGitconfigOptions) (result *GitConfigRestore, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) SetDefaultHeaders(headers http.Header)
- func (appConfiguration *AppConfigurationV1) SetEnableGzipCompression(enableGzip bool)
- func (appConfiguration *AppConfigurationV1) SetServiceURL(url string) error
- func (appConfiguration *AppConfigurationV1) ToggleFeature(toggleFeatureOptions *ToggleFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) ToggleFeatureWithContext(ctx context.Context, toggleFeatureOptions *ToggleFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateCollection(updateCollectionOptions *UpdateCollectionOptions) (result *CollectionLite, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateCollectionWithContext(ctx context.Context, updateCollectionOptions *UpdateCollectionOptions) (result *CollectionLite, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateEnvironment(updateEnvironmentOptions *UpdateEnvironmentOptions) (result *Environment, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateEnvironmentWithContext(ctx context.Context, updateEnvironmentOptions *UpdateEnvironmentOptions) (result *Environment, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateFeature(updateFeatureOptions *UpdateFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateFeatureValues(updateFeatureValuesOptions *UpdateFeatureValuesOptions) (result *Feature, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateFeatureValuesWithContext(ctx context.Context, updateFeatureValuesOptions *UpdateFeatureValuesOptions) (result *Feature, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateFeatureWithContext(ctx context.Context, updateFeatureOptions *UpdateFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateGitconfig(updateGitconfigOptions *UpdateGitconfigOptions) (result *GitConfig, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateGitconfigWithContext(ctx context.Context, updateGitconfigOptions *UpdateGitconfigOptions) (result *GitConfig, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateOriginconfigs(updateOriginconfigsOptions *UpdateOriginconfigsOptions) (result *OriginConfigList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateOriginconfigsWithContext(ctx context.Context, updateOriginconfigsOptions *UpdateOriginconfigsOptions) (result *OriginConfigList, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateProperty(updatePropertyOptions *UpdatePropertyOptions) (result *Property, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdatePropertyValues(updatePropertyValuesOptions *UpdatePropertyValuesOptions) (result *Property, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdatePropertyValuesWithContext(ctx context.Context, updatePropertyValuesOptions *UpdatePropertyValuesOptions) (result *Property, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdatePropertyWithContext(ctx context.Context, updatePropertyOptions *UpdatePropertyOptions) (result *Property, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateSegment(updateSegmentOptions *UpdateSegmentOptions) (result *Segment, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateSegmentWithContext(ctx context.Context, updateSegmentOptions *UpdateSegmentOptions) (result *Segment, response *core.DetailedResponse, err error)
- func (appConfiguration *AppConfigurationV1) UpdateWorkflowconfig(updateWorkflowconfigOptions *UpdateWorkflowconfigOptions) (result UpdateWorkflowconfigResponseIntf, response *core.DetailedResponse, ...)
- func (appConfiguration *AppConfigurationV1) UpdateWorkflowconfigWithContext(ctx context.Context, updateWorkflowconfigOptions *UpdateWorkflowconfigOptions) (result UpdateWorkflowconfigResponseIntf, response *core.DetailedResponse, ...)
- type AppConfigurationV1Options
- type Collection
- type CollectionList
- type CollectionLite
- type CollectionRef
- type CollectionsPager
- func (pager *CollectionsPager) GetAll() (allItems []Collection, err error)
- func (pager *CollectionsPager) GetAllWithContext(ctx context.Context) (allItems []Collection, err error)
- func (pager *CollectionsPager) GetNext() (page []Collection, err error)
- func (pager *CollectionsPager) GetNextWithContext(ctx context.Context) (page []Collection, err error)
- func (pager *CollectionsPager) HasNext() bool
- type ConfigAction
- type ConfigActionGitConfigPromote
- type ConfigActionGitConfigRestore
- type ConfigActionIntf
- type CreateCollectionOptions
- func (_options *CreateCollectionOptions) SetCollectionID(collectionID string) *CreateCollectionOptions
- func (_options *CreateCollectionOptions) SetDescription(description string) *CreateCollectionOptions
- func (options *CreateCollectionOptions) SetHeaders(param map[string]string) *CreateCollectionOptions
- func (_options *CreateCollectionOptions) SetName(name string) *CreateCollectionOptions
- func (_options *CreateCollectionOptions) SetTags(tags string) *CreateCollectionOptions
- type CreateEnvironmentOptions
- func (_options *CreateEnvironmentOptions) SetColorCode(colorCode string) *CreateEnvironmentOptions
- func (_options *CreateEnvironmentOptions) SetDescription(description string) *CreateEnvironmentOptions
- func (_options *CreateEnvironmentOptions) SetEnvironmentID(environmentID string) *CreateEnvironmentOptions
- func (options *CreateEnvironmentOptions) SetHeaders(param map[string]string) *CreateEnvironmentOptions
- func (_options *CreateEnvironmentOptions) SetName(name string) *CreateEnvironmentOptions
- func (_options *CreateEnvironmentOptions) SetTags(tags string) *CreateEnvironmentOptions
- type CreateFeatureOptions
- func (_options *CreateFeatureOptions) SetCollections(collections []CollectionRef) *CreateFeatureOptions
- func (_options *CreateFeatureOptions) SetDescription(description string) *CreateFeatureOptions
- func (_options *CreateFeatureOptions) SetDisabledValue(disabledValue interface{}) *CreateFeatureOptions
- func (_options *CreateFeatureOptions) SetEnabled(enabled bool) *CreateFeatureOptions
- func (_options *CreateFeatureOptions) SetEnabledValue(enabledValue interface{}) *CreateFeatureOptions
- func (_options *CreateFeatureOptions) SetEnvironmentID(environmentID string) *CreateFeatureOptions
- func (_options *CreateFeatureOptions) SetFeatureID(featureID string) *CreateFeatureOptions
- func (_options *CreateFeatureOptions) SetFormat(format string) *CreateFeatureOptions
- func (options *CreateFeatureOptions) SetHeaders(param map[string]string) *CreateFeatureOptions
- func (_options *CreateFeatureOptions) SetName(name string) *CreateFeatureOptions
- func (_options *CreateFeatureOptions) SetRolloutPercentage(rolloutPercentage int64) *CreateFeatureOptions
- func (_options *CreateFeatureOptions) SetSegmentRules(segmentRules []FeatureSegmentRule) *CreateFeatureOptions
- func (_options *CreateFeatureOptions) SetTags(tags string) *CreateFeatureOptions
- func (_options *CreateFeatureOptions) SetType(typeVar string) *CreateFeatureOptions
- type CreateGitConfigResponse
- type CreateGitconfigOptions
- func (_options *CreateGitconfigOptions) SetCollectionID(collectionID string) *CreateGitconfigOptions
- func (_options *CreateGitconfigOptions) SetEnvironmentID(environmentID string) *CreateGitconfigOptions
- func (_options *CreateGitconfigOptions) SetGitBranch(gitBranch string) *CreateGitconfigOptions
- func (_options *CreateGitconfigOptions) SetGitConfigID(gitConfigID string) *CreateGitconfigOptions
- func (_options *CreateGitconfigOptions) SetGitConfigName(gitConfigName string) *CreateGitconfigOptions
- func (_options *CreateGitconfigOptions) SetGitFilePath(gitFilePath string) *CreateGitconfigOptions
- func (_options *CreateGitconfigOptions) SetGitToken(gitToken string) *CreateGitconfigOptions
- func (_options *CreateGitconfigOptions) SetGitURL(gitURL string) *CreateGitconfigOptions
- func (options *CreateGitconfigOptions) SetHeaders(param map[string]string) *CreateGitconfigOptions
- type CreatePropertyOptions
- func (_options *CreatePropertyOptions) SetCollections(collections []CollectionRef) *CreatePropertyOptions
- func (_options *CreatePropertyOptions) SetDescription(description string) *CreatePropertyOptions
- func (_options *CreatePropertyOptions) SetEnvironmentID(environmentID string) *CreatePropertyOptions
- func (_options *CreatePropertyOptions) SetFormat(format string) *CreatePropertyOptions
- func (options *CreatePropertyOptions) SetHeaders(param map[string]string) *CreatePropertyOptions
- func (_options *CreatePropertyOptions) SetName(name string) *CreatePropertyOptions
- func (_options *CreatePropertyOptions) SetPropertyID(propertyID string) *CreatePropertyOptions
- func (_options *CreatePropertyOptions) SetSegmentRules(segmentRules []SegmentRule) *CreatePropertyOptions
- func (_options *CreatePropertyOptions) SetTags(tags string) *CreatePropertyOptions
- func (_options *CreatePropertyOptions) SetType(typeVar string) *CreatePropertyOptions
- func (_options *CreatePropertyOptions) SetValue(value interface{}) *CreatePropertyOptions
- type CreateSegmentOptions
- func (_options *CreateSegmentOptions) SetDescription(description string) *CreateSegmentOptions
- func (options *CreateSegmentOptions) SetHeaders(param map[string]string) *CreateSegmentOptions
- func (_options *CreateSegmentOptions) SetName(name string) *CreateSegmentOptions
- func (_options *CreateSegmentOptions) SetRules(rules []Rule) *CreateSegmentOptions
- func (_options *CreateSegmentOptions) SetSegmentID(segmentID string) *CreateSegmentOptions
- func (_options *CreateSegmentOptions) SetTags(tags string) *CreateSegmentOptions
- type CreateWorkflowconfigOptions
- func (_options *CreateWorkflowconfigOptions) SetEnvironmentID(environmentID string) *CreateWorkflowconfigOptions
- func (options *CreateWorkflowconfigOptions) SetHeaders(param map[string]string) *CreateWorkflowconfigOptions
- func (_options *CreateWorkflowconfigOptions) SetWorkflowConfig(workflowConfig CreateWorkflowconfigRequestIntf) *CreateWorkflowconfigOptions
- type CreateWorkflowconfigRequest
- type CreateWorkflowconfigRequestIbmWorkflowConfig
- type CreateWorkflowconfigRequestIntf
- type CreateWorkflowconfigRequestWorkflowConfig
- type CreateWorkflowconfigResponse
- type CreateWorkflowconfigResponseIbmWorkflowConfig
- type CreateWorkflowconfigResponseIntf
- type CreateWorkflowconfigResponseWorkflowConfig
- type DeleteCollectionOptions
- type DeleteEnvironmentOptions
- type DeleteFeatureOptions
- type DeleteGitconfigOptions
- type DeletePropertyOptions
- type DeleteSegmentOptions
- type DeleteWorkflowconfigOptions
- type Environment
- type EnvironmentList
- type EnvironmentsPager
- func (pager *EnvironmentsPager) GetAll() (allItems []Environment, err error)
- func (pager *EnvironmentsPager) GetAllWithContext(ctx context.Context) (allItems []Environment, err error)
- func (pager *EnvironmentsPager) GetNext() (page []Environment, err error)
- func (pager *EnvironmentsPager) GetNextWithContext(ctx context.Context) (page []Environment, err error)
- func (pager *EnvironmentsPager) HasNext() bool
- type Feature
- type FeatureOutput
- type FeatureSegmentRule
- type FeaturesList
- type FeaturesPager
- func (pager *FeaturesPager) GetAll() (allItems []Feature, err error)
- func (pager *FeaturesPager) GetAllWithContext(ctx context.Context) (allItems []Feature, err error)
- func (pager *FeaturesPager) GetNext() (page []Feature, err error)
- func (pager *FeaturesPager) GetNextWithContext(ctx context.Context) (page []Feature, err error)
- func (pager *FeaturesPager) HasNext() bool
- type GetCollectionOptions
- func (_options *GetCollectionOptions) SetCollectionID(collectionID string) *GetCollectionOptions
- func (_options *GetCollectionOptions) SetExpand(expand bool) *GetCollectionOptions
- func (options *GetCollectionOptions) SetHeaders(param map[string]string) *GetCollectionOptions
- func (_options *GetCollectionOptions) SetInclude(include []string) *GetCollectionOptions
- type GetEnvironmentOptions
- func (_options *GetEnvironmentOptions) SetEnvironmentID(environmentID string) *GetEnvironmentOptions
- func (_options *GetEnvironmentOptions) SetExpand(expand bool) *GetEnvironmentOptions
- func (options *GetEnvironmentOptions) SetHeaders(param map[string]string) *GetEnvironmentOptions
- func (_options *GetEnvironmentOptions) SetInclude(include []string) *GetEnvironmentOptions
- type GetFeatureOptions
- func (_options *GetFeatureOptions) SetEnvironmentID(environmentID string) *GetFeatureOptions
- func (_options *GetFeatureOptions) SetFeatureID(featureID string) *GetFeatureOptions
- func (options *GetFeatureOptions) SetHeaders(param map[string]string) *GetFeatureOptions
- func (_options *GetFeatureOptions) SetInclude(include []string) *GetFeatureOptions
- type GetGitconfigOptions
- type GetPropertyOptions
- func (_options *GetPropertyOptions) SetEnvironmentID(environmentID string) *GetPropertyOptions
- func (options *GetPropertyOptions) SetHeaders(param map[string]string) *GetPropertyOptions
- func (_options *GetPropertyOptions) SetInclude(include []string) *GetPropertyOptions
- func (_options *GetPropertyOptions) SetPropertyID(propertyID string) *GetPropertyOptions
- type GetSegmentOptions
- type GitConfig
- type GitConfigCollection
- type GitConfigEnvironment
- type GitConfigList
- type GitConfigPromote
- type GitConfigRestore
- type ImportCollectionSchema
- type ImportConfig
- type ImportConfigOptions
- func (_options *ImportConfigOptions) SetClean(clean string) *ImportConfigOptions
- func (_options *ImportConfigOptions) SetCollections(collections []ImportCollectionSchema) *ImportConfigOptions
- func (_options *ImportConfigOptions) SetEnvironments(environments []ImportEnvironmentSchema) *ImportConfigOptions
- func (options *ImportConfigOptions) SetHeaders(param map[string]string) *ImportConfigOptions
- func (_options *ImportConfigOptions) SetSegments(segments []ImportSegmentSchema) *ImportConfigOptions
- type ImportEnvironmentSchema
- type ImportFeatureRequestBody
- type ImportPropertyRequestBody
- type ImportSegmentSchema
- type ListCollectionsOptions
- func (_options *ListCollectionsOptions) SetExpand(expand bool) *ListCollectionsOptions
- func (_options *ListCollectionsOptions) SetFeatures(features []string) *ListCollectionsOptions
- func (options *ListCollectionsOptions) SetHeaders(param map[string]string) *ListCollectionsOptions
- func (_options *ListCollectionsOptions) SetInclude(include []string) *ListCollectionsOptions
- func (_options *ListCollectionsOptions) SetLimit(limit int64) *ListCollectionsOptions
- func (_options *ListCollectionsOptions) SetOffset(offset int64) *ListCollectionsOptions
- func (_options *ListCollectionsOptions) SetProperties(properties []string) *ListCollectionsOptions
- func (_options *ListCollectionsOptions) SetSearch(search string) *ListCollectionsOptions
- func (_options *ListCollectionsOptions) SetSort(sort string) *ListCollectionsOptions
- func (_options *ListCollectionsOptions) SetTags(tags string) *ListCollectionsOptions
- type ListEnvironmentsOptions
- func (_options *ListEnvironmentsOptions) SetExpand(expand bool) *ListEnvironmentsOptions
- func (options *ListEnvironmentsOptions) SetHeaders(param map[string]string) *ListEnvironmentsOptions
- func (_options *ListEnvironmentsOptions) SetInclude(include []string) *ListEnvironmentsOptions
- func (_options *ListEnvironmentsOptions) SetLimit(limit int64) *ListEnvironmentsOptions
- func (_options *ListEnvironmentsOptions) SetOffset(offset int64) *ListEnvironmentsOptions
- func (_options *ListEnvironmentsOptions) SetSearch(search string) *ListEnvironmentsOptions
- func (_options *ListEnvironmentsOptions) SetSort(sort string) *ListEnvironmentsOptions
- func (_options *ListEnvironmentsOptions) SetTags(tags string) *ListEnvironmentsOptions
- type ListFeaturesOptions
- func (_options *ListFeaturesOptions) SetCollections(collections []string) *ListFeaturesOptions
- func (_options *ListFeaturesOptions) SetEnvironmentID(environmentID string) *ListFeaturesOptions
- func (_options *ListFeaturesOptions) SetExpand(expand bool) *ListFeaturesOptions
- func (options *ListFeaturesOptions) SetHeaders(param map[string]string) *ListFeaturesOptions
- func (_options *ListFeaturesOptions) SetInclude(include []string) *ListFeaturesOptions
- func (_options *ListFeaturesOptions) SetLimit(limit int64) *ListFeaturesOptions
- func (_options *ListFeaturesOptions) SetOffset(offset int64) *ListFeaturesOptions
- func (_options *ListFeaturesOptions) SetSearch(search string) *ListFeaturesOptions
- func (_options *ListFeaturesOptions) SetSegments(segments []string) *ListFeaturesOptions
- func (_options *ListFeaturesOptions) SetSort(sort string) *ListFeaturesOptions
- func (_options *ListFeaturesOptions) SetTags(tags string) *ListFeaturesOptions
- type ListInstanceConfigOptions
- type ListOriginconfigsOptions
- type ListPropertiesOptions
- func (_options *ListPropertiesOptions) SetCollections(collections []string) *ListPropertiesOptions
- func (_options *ListPropertiesOptions) SetEnvironmentID(environmentID string) *ListPropertiesOptions
- func (_options *ListPropertiesOptions) SetExpand(expand bool) *ListPropertiesOptions
- func (options *ListPropertiesOptions) SetHeaders(param map[string]string) *ListPropertiesOptions
- func (_options *ListPropertiesOptions) SetInclude(include []string) *ListPropertiesOptions
- func (_options *ListPropertiesOptions) SetLimit(limit int64) *ListPropertiesOptions
- func (_options *ListPropertiesOptions) SetOffset(offset int64) *ListPropertiesOptions
- func (_options *ListPropertiesOptions) SetSearch(search string) *ListPropertiesOptions
- func (_options *ListPropertiesOptions) SetSegments(segments []string) *ListPropertiesOptions
- func (_options *ListPropertiesOptions) SetSort(sort string) *ListPropertiesOptions
- func (_options *ListPropertiesOptions) SetTags(tags string) *ListPropertiesOptions
- type ListSegmentsOptions
- func (_options *ListSegmentsOptions) SetExpand(expand bool) *ListSegmentsOptions
- func (options *ListSegmentsOptions) SetHeaders(param map[string]string) *ListSegmentsOptions
- func (_options *ListSegmentsOptions) SetInclude(include string) *ListSegmentsOptions
- func (_options *ListSegmentsOptions) SetLimit(limit int64) *ListSegmentsOptions
- func (_options *ListSegmentsOptions) SetOffset(offset int64) *ListSegmentsOptions
- func (_options *ListSegmentsOptions) SetSearch(search string) *ListSegmentsOptions
- func (_options *ListSegmentsOptions) SetSort(sort string) *ListSegmentsOptions
- func (_options *ListSegmentsOptions) SetTags(tags string) *ListSegmentsOptions
- type ListSnapshotsOptions
- func (_options *ListSnapshotsOptions) SetCollectionID(collectionID string) *ListSnapshotsOptions
- func (_options *ListSnapshotsOptions) SetEnvironmentID(environmentID string) *ListSnapshotsOptions
- func (options *ListSnapshotsOptions) SetHeaders(param map[string]string) *ListSnapshotsOptions
- func (_options *ListSnapshotsOptions) SetLimit(limit int64) *ListSnapshotsOptions
- func (_options *ListSnapshotsOptions) SetOffset(offset int64) *ListSnapshotsOptions
- func (_options *ListSnapshotsOptions) SetSearch(search string) *ListSnapshotsOptions
- func (_options *ListSnapshotsOptions) SetSort(sort string) *ListSnapshotsOptions
- type ListWorkflowconfigOptions
- type ListWorkflowconfigResponse
- type ListWorkflowconfigResponseIbmWorkflowConfig
- type ListWorkflowconfigResponseIntf
- type ListWorkflowconfigResponseWorkflowConfig
- type OriginConfigList
- type PaginatedListFirst
- type PaginatedListLast
- type PaginatedListNext
- type PaginatedListPrevious
- type PromoteGitconfigOptions
- type PromoteRestoreConfigOptions
- func (_options *PromoteRestoreConfigOptions) SetAction(action string) *PromoteRestoreConfigOptions
- func (_options *PromoteRestoreConfigOptions) SetGitConfigID(gitConfigID string) *PromoteRestoreConfigOptions
- func (options *PromoteRestoreConfigOptions) SetHeaders(param map[string]string) *PromoteRestoreConfigOptions
- type PropertiesList
- type PropertiesPager
- func (pager *PropertiesPager) GetAll() (allItems []Property, err error)
- func (pager *PropertiesPager) GetAllWithContext(ctx context.Context) (allItems []Property, err error)
- func (pager *PropertiesPager) GetNext() (page []Property, err error)
- func (pager *PropertiesPager) GetNextWithContext(ctx context.Context) (page []Property, err error)
- func (pager *PropertiesPager) HasNext() bool
- type Property
- type PropertyOutput
- type RestoreGitconfigOptions
- type Rule
- type Segment
- type SegmentRule
- type SegmentsList
- type SegmentsPager
- func (pager *SegmentsPager) GetAll() (allItems []Segment, err error)
- func (pager *SegmentsPager) GetAllWithContext(ctx context.Context) (allItems []Segment, err error)
- func (pager *SegmentsPager) GetNext() (page []Segment, err error)
- func (pager *SegmentsPager) GetNextWithContext(ctx context.Context) (page []Segment, err error)
- func (pager *SegmentsPager) HasNext() bool
- type SnapshotOutput
- type SnapshotsPager
- func (pager *SnapshotsPager) GetAll() (allItems []GitConfig, err error)
- func (pager *SnapshotsPager) GetAllWithContext(ctx context.Context) (allItems []GitConfig, err error)
- func (pager *SnapshotsPager) GetNext() (page []GitConfig, err error)
- func (pager *SnapshotsPager) GetNextWithContext(ctx context.Context) (page []GitConfig, err error)
- func (pager *SnapshotsPager) HasNext() bool
- type TargetSegments
- type ToggleFeatureOptions
- func (_options *ToggleFeatureOptions) SetEnabled(enabled bool) *ToggleFeatureOptions
- func (_options *ToggleFeatureOptions) SetEnvironmentID(environmentID string) *ToggleFeatureOptions
- func (_options *ToggleFeatureOptions) SetFeatureID(featureID string) *ToggleFeatureOptions
- func (options *ToggleFeatureOptions) SetHeaders(param map[string]string) *ToggleFeatureOptions
- type UpdateCollectionOptions
- func (_options *UpdateCollectionOptions) SetCollectionID(collectionID string) *UpdateCollectionOptions
- func (_options *UpdateCollectionOptions) SetDescription(description string) *UpdateCollectionOptions
- func (options *UpdateCollectionOptions) SetHeaders(param map[string]string) *UpdateCollectionOptions
- func (_options *UpdateCollectionOptions) SetName(name string) *UpdateCollectionOptions
- func (_options *UpdateCollectionOptions) SetTags(tags string) *UpdateCollectionOptions
- type UpdateEnvironmentOptions
- func (_options *UpdateEnvironmentOptions) SetColorCode(colorCode string) *UpdateEnvironmentOptions
- func (_options *UpdateEnvironmentOptions) SetDescription(description string) *UpdateEnvironmentOptions
- func (_options *UpdateEnvironmentOptions) SetEnvironmentID(environmentID string) *UpdateEnvironmentOptions
- func (options *UpdateEnvironmentOptions) SetHeaders(param map[string]string) *UpdateEnvironmentOptions
- func (_options *UpdateEnvironmentOptions) SetName(name string) *UpdateEnvironmentOptions
- func (_options *UpdateEnvironmentOptions) SetTags(tags string) *UpdateEnvironmentOptions
- type UpdateFeatureOptions
- func (_options *UpdateFeatureOptions) SetCollections(collections []CollectionRef) *UpdateFeatureOptions
- func (_options *UpdateFeatureOptions) SetDescription(description string) *UpdateFeatureOptions
- func (_options *UpdateFeatureOptions) SetDisabledValue(disabledValue interface{}) *UpdateFeatureOptions
- func (_options *UpdateFeatureOptions) SetEnabled(enabled bool) *UpdateFeatureOptions
- func (_options *UpdateFeatureOptions) SetEnabledValue(enabledValue interface{}) *UpdateFeatureOptions
- func (_options *UpdateFeatureOptions) SetEnvironmentID(environmentID string) *UpdateFeatureOptions
- func (_options *UpdateFeatureOptions) SetFeatureID(featureID string) *UpdateFeatureOptions
- func (options *UpdateFeatureOptions) SetHeaders(param map[string]string) *UpdateFeatureOptions
- func (_options *UpdateFeatureOptions) SetName(name string) *UpdateFeatureOptions
- func (_options *UpdateFeatureOptions) SetRolloutPercentage(rolloutPercentage int64) *UpdateFeatureOptions
- func (_options *UpdateFeatureOptions) SetSegmentRules(segmentRules []FeatureSegmentRule) *UpdateFeatureOptions
- func (_options *UpdateFeatureOptions) SetTags(tags string) *UpdateFeatureOptions
- type UpdateFeatureValuesOptions
- func (_options *UpdateFeatureValuesOptions) SetDescription(description string) *UpdateFeatureValuesOptions
- func (_options *UpdateFeatureValuesOptions) SetDisabledValue(disabledValue interface{}) *UpdateFeatureValuesOptions
- func (_options *UpdateFeatureValuesOptions) SetEnabledValue(enabledValue interface{}) *UpdateFeatureValuesOptions
- func (_options *UpdateFeatureValuesOptions) SetEnvironmentID(environmentID string) *UpdateFeatureValuesOptions
- func (_options *UpdateFeatureValuesOptions) SetFeatureID(featureID string) *UpdateFeatureValuesOptions
- func (options *UpdateFeatureValuesOptions) SetHeaders(param map[string]string) *UpdateFeatureValuesOptions
- func (_options *UpdateFeatureValuesOptions) SetName(name string) *UpdateFeatureValuesOptions
- func (_options *UpdateFeatureValuesOptions) SetRolloutPercentage(rolloutPercentage int64) *UpdateFeatureValuesOptions
- func (_options *UpdateFeatureValuesOptions) SetSegmentRules(segmentRules []FeatureSegmentRule) *UpdateFeatureValuesOptions
- func (_options *UpdateFeatureValuesOptions) SetTags(tags string) *UpdateFeatureValuesOptions
- type UpdateGitconfigOptions
- func (_options *UpdateGitconfigOptions) SetCollectionID(collectionID string) *UpdateGitconfigOptions
- func (_options *UpdateGitconfigOptions) SetEnvironmentID(environmentID string) *UpdateGitconfigOptions
- func (_options *UpdateGitconfigOptions) SetGitBranch(gitBranch string) *UpdateGitconfigOptions
- func (_options *UpdateGitconfigOptions) SetGitConfigID(gitConfigID string) *UpdateGitconfigOptions
- func (_options *UpdateGitconfigOptions) SetGitConfigName(gitConfigName string) *UpdateGitconfigOptions
- func (_options *UpdateGitconfigOptions) SetGitFilePath(gitFilePath string) *UpdateGitconfigOptions
- func (_options *UpdateGitconfigOptions) SetGitToken(gitToken string) *UpdateGitconfigOptions
- func (_options *UpdateGitconfigOptions) SetGitURL(gitURL string) *UpdateGitconfigOptions
- func (options *UpdateGitconfigOptions) SetHeaders(param map[string]string) *UpdateGitconfigOptions
- type UpdateOriginconfigsOptions
- type UpdatePropertyOptions
- func (_options *UpdatePropertyOptions) SetCollections(collections []CollectionRef) *UpdatePropertyOptions
- func (_options *UpdatePropertyOptions) SetDescription(description string) *UpdatePropertyOptions
- func (_options *UpdatePropertyOptions) SetEnvironmentID(environmentID string) *UpdatePropertyOptions
- func (options *UpdatePropertyOptions) SetHeaders(param map[string]string) *UpdatePropertyOptions
- func (_options *UpdatePropertyOptions) SetName(name string) *UpdatePropertyOptions
- func (_options *UpdatePropertyOptions) SetPropertyID(propertyID string) *UpdatePropertyOptions
- func (_options *UpdatePropertyOptions) SetSegmentRules(segmentRules []SegmentRule) *UpdatePropertyOptions
- func (_options *UpdatePropertyOptions) SetTags(tags string) *UpdatePropertyOptions
- func (_options *UpdatePropertyOptions) SetValue(value interface{}) *UpdatePropertyOptions
- type UpdatePropertyValuesOptions
- func (_options *UpdatePropertyValuesOptions) SetDescription(description string) *UpdatePropertyValuesOptions
- func (_options *UpdatePropertyValuesOptions) SetEnvironmentID(environmentID string) *UpdatePropertyValuesOptions
- func (options *UpdatePropertyValuesOptions) SetHeaders(param map[string]string) *UpdatePropertyValuesOptions
- func (_options *UpdatePropertyValuesOptions) SetName(name string) *UpdatePropertyValuesOptions
- func (_options *UpdatePropertyValuesOptions) SetPropertyID(propertyID string) *UpdatePropertyValuesOptions
- func (_options *UpdatePropertyValuesOptions) SetSegmentRules(segmentRules []SegmentRule) *UpdatePropertyValuesOptions
- func (_options *UpdatePropertyValuesOptions) SetTags(tags string) *UpdatePropertyValuesOptions
- func (_options *UpdatePropertyValuesOptions) SetValue(value interface{}) *UpdatePropertyValuesOptions
- type UpdateSegmentOptions
- func (_options *UpdateSegmentOptions) SetDescription(description string) *UpdateSegmentOptions
- func (options *UpdateSegmentOptions) SetHeaders(param map[string]string) *UpdateSegmentOptions
- func (_options *UpdateSegmentOptions) SetName(name string) *UpdateSegmentOptions
- func (_options *UpdateSegmentOptions) SetRules(rules []Rule) *UpdateSegmentOptions
- func (_options *UpdateSegmentOptions) SetSegmentID(segmentID string) *UpdateSegmentOptions
- func (_options *UpdateSegmentOptions) SetTags(tags string) *UpdateSegmentOptions
- type UpdateWorkflowconfigOptions
- func (_options *UpdateWorkflowconfigOptions) SetEnvironmentID(environmentID string) *UpdateWorkflowconfigOptions
- func (options *UpdateWorkflowconfigOptions) SetHeaders(param map[string]string) *UpdateWorkflowconfigOptions
- func (_options *UpdateWorkflowconfigOptions) SetUpdateWorkflowConfig(updateWorkflowConfig UpdateWorkflowconfigRequestIntf) *UpdateWorkflowconfigOptions
- type UpdateWorkflowconfigRequest
- type UpdateWorkflowconfigRequestIntf
- type UpdateWorkflowconfigRequestUpdateIbmWorkflowConfig
- type UpdateWorkflowconfigRequestUpdateWorkflowConfig
- type UpdateWorkflowconfigResponse
- type UpdateWorkflowconfigResponseIbmWorkflowConfig
- type UpdateWorkflowconfigResponseIntf
- type UpdateWorkflowconfigResponseWorkflowConfig
- type WorkflowCredentials
Constants ¶
const ( CreateFeatureOptions_Type_Boolean = "BOOLEAN" CreateFeatureOptions_Type_Numeric = "NUMERIC" CreateFeatureOptions_Type_String = "STRING" )
Constants associated with the CreateFeatureOptions.Type property. Type of the feature (BOOLEAN, STRING, NUMERIC). If `type` is `STRING`, then `format` attribute is required.
const ( CreateFeatureOptions_Format_JSON = "JSON" CreateFeatureOptions_Format_Text = "TEXT" CreateFeatureOptions_Format_Yaml = "YAML" )
Constants associated with the CreateFeatureOptions.Format property. Format of the feature (TEXT, JSON, YAML) and it is a required attribute when `type` is `STRING`. It is not required for `BOOLEAN` and `NUMERIC` types. This property is populated in the response body of `POST, PUT and GET` calls if the type `STRING` is used and not populated for `BOOLEAN` and `NUMERIC` types.
const ( CreatePropertyOptions_Type_Boolean = "BOOLEAN" CreatePropertyOptions_Type_Numeric = "NUMERIC" CreatePropertyOptions_Type_Secretref = "SECRETREF" CreatePropertyOptions_Type_String = "STRING" )
Constants associated with the CreatePropertyOptions.Type property. Type of the property (BOOLEAN, STRING, NUMERIC, SECRETREF). If `type` is `STRING`, then `format` attribute is required.
const ( CreatePropertyOptions_Format_JSON = "JSON" CreatePropertyOptions_Format_Text = "TEXT" CreatePropertyOptions_Format_Yaml = "YAML" )
Constants associated with the CreatePropertyOptions.Format property. Format of the property (TEXT, JSON, YAML) and it is a required attribute when `type` is `STRING`. It is not required for `BOOLEAN`, `NUMERIC` or `SECRETREF` types. This attribute is populated in the response body of `POST, PUT and GET` calls if the type `STRING` is used and not populated for `BOOLEAN`, `NUMERIC` and `SECRETREF` types.
const ( Feature_Type_Boolean = "BOOLEAN" Feature_Type_Numeric = "NUMERIC" Feature_Type_String = "STRING" )
Constants associated with the Feature.Type property. Type of the feature (BOOLEAN, STRING, NUMERIC). If `type` is `STRING`, then `format` attribute is required.
const ( Feature_Format_JSON = "JSON" Feature_Format_Text = "TEXT" Feature_Format_Yaml = "YAML" )
Constants associated with the Feature.Format property. Format of the feature (TEXT, JSON, YAML) and it is a required attribute when `type` is `STRING`. It is not required for `BOOLEAN` and `NUMERIC` types. This property is populated in the response body of `POST, PUT and GET` calls if the type `STRING` is used and not populated for `BOOLEAN` and `NUMERIC` types.
const ( GetCollectionOptions_Include_Features = "features" GetCollectionOptions_Include_Properties = "properties" GetCollectionOptions_Include_Snapshots = "snapshots" )
Constants associated with the GetCollectionOptions.Include property.
const ( GetEnvironmentOptions_Include_Features = "features" GetEnvironmentOptions_Include_Properties = "properties" GetEnvironmentOptions_Include_Snapshots = "snapshots" )
Constants associated with the GetEnvironmentOptions.Include property.
const ( GetFeatureOptions_Include_ChangeRequest = "change_request" GetFeatureOptions_Include_Collections = "collections" GetFeatureOptions_Include_Rules = "rules" )
Constants associated with the GetFeatureOptions.Include property.
const ( GetPropertyOptions_Include_Collections = "collections" GetPropertyOptions_Include_Rules = "rules" )
Constants associated with the GetPropertyOptions.Include property.
const ( GetSegmentOptions_Include_Features = "features" GetSegmentOptions_Include_Properties = "properties" )
Constants associated with the GetSegmentOptions.Include property.
const ( ImportFeatureRequestBody_Type_Boolean = "BOOLEAN" ImportFeatureRequestBody_Type_Numeric = "NUMERIC" ImportFeatureRequestBody_Type_String = "STRING" )
Constants associated with the ImportFeatureRequestBody.Type property. Type of the feature (BOOLEAN, STRING, NUMERIC). If `type` is `STRING`, then `format` attribute is required.
const ( ImportFeatureRequestBody_Format_JSON = "JSON" ImportFeatureRequestBody_Format_Text = "TEXT" ImportFeatureRequestBody_Format_Yaml = "YAML" )
Constants associated with the ImportFeatureRequestBody.Format property. Format of the feature (TEXT, JSON, YAML) and it is a required attribute when `type` is `STRING`. It is not required for `BOOLEAN` and `NUMERIC` types. This property is populated in the response body of `POST, PUT and GET` calls if the type `STRING` is used and not populated for `BOOLEAN` and `NUMERIC` types.
const ( ImportPropertyRequestBody_Type_Boolean = "BOOLEAN" ImportPropertyRequestBody_Type_Numeric = "NUMERIC" ImportPropertyRequestBody_Type_Secretref = "SECRETREF" ImportPropertyRequestBody_Type_String = "STRING" )
Constants associated with the ImportPropertyRequestBody.Type property. Type of the property (BOOLEAN, STRING, NUMERIC, SECRETREF). If `type` is `STRING`, then `format` attribute is required.
const ( ImportPropertyRequestBody_Format_JSON = "JSON" ImportPropertyRequestBody_Format_Text = "TEXT" ImportPropertyRequestBody_Format_Yaml = "YAML" )
Constants associated with the ImportPropertyRequestBody.Format property. Format of the property (TEXT, JSON, YAML) and it is a required attribute when `type` is `STRING`. It is not required for `BOOLEAN`, `NUMERIC` or `SECRETREF` types. This attribute is populated in the response body of `POST, PUT and GET` calls if the type `STRING` is used and not populated for `BOOLEAN`, `NUMERIC` and `SECRETREF` types.
const ( ListCollectionsOptions_Sort_CreatedTime = "created_time" ListCollectionsOptions_Sort_ID = "id" ListCollectionsOptions_Sort_Name = "name" ListCollectionsOptions_Sort_UpdatedTime = "updated_time" )
Constants associated with the ListCollectionsOptions.Sort property. Sort the collection details based on the specified attribute. By default, items are sorted by name.
const ( ListCollectionsOptions_Include_Features = "features" ListCollectionsOptions_Include_Properties = "properties" ListCollectionsOptions_Include_Snapshots = "snapshots" )
Constants associated with the ListCollectionsOptions.Include property.
const ( ListEnvironmentsOptions_Sort_CreatedTime = "created_time" ListEnvironmentsOptions_Sort_ID = "id" ListEnvironmentsOptions_Sort_Name = "name" ListEnvironmentsOptions_Sort_UpdatedTime = "updated_time" )
Constants associated with the ListEnvironmentsOptions.Sort property. Sort the environment details based on the specified attribute. By default, items are sorted by name.
const ( ListEnvironmentsOptions_Include_Features = "features" ListEnvironmentsOptions_Include_Properties = "properties" ListEnvironmentsOptions_Include_Snapshots = "snapshots" )
Constants associated with the ListEnvironmentsOptions.Include property.
const ( ListFeaturesOptions_Sort_CreatedTime = "created_time" ListFeaturesOptions_Sort_ID = "id" ListFeaturesOptions_Sort_Name = "name" ListFeaturesOptions_Sort_UpdatedTime = "updated_time" )
Constants associated with the ListFeaturesOptions.Sort property. Sort the feature details based on the specified attribute. By default, items are sorted by name.
const ( ListFeaturesOptions_Include_ChangeRequest = "change_request" ListFeaturesOptions_Include_Collections = "collections" ListFeaturesOptions_Include_Rules = "rules" )
Constants associated with the ListFeaturesOptions.Include property.
const ( ListPropertiesOptions_Sort_CreatedTime = "created_time" ListPropertiesOptions_Sort_ID = "id" ListPropertiesOptions_Sort_Name = "name" ListPropertiesOptions_Sort_UpdatedTime = "updated_time" )
Constants associated with the ListPropertiesOptions.Sort property. Sort the property details based on the specified attribute. By default, items are sorted by name.
const ( ListPropertiesOptions_Include_Collections = "collections" ListPropertiesOptions_Include_Rules = "rules" )
Constants associated with the ListPropertiesOptions.Include property.
const ( ListSegmentsOptions_Sort_CreatedTime = "created_time" ListSegmentsOptions_Sort_ID = "id" ListSegmentsOptions_Sort_Name = "name" ListSegmentsOptions_Sort_UpdatedTime = "updated_time" )
Constants associated with the ListSegmentsOptions.Sort property. Sort the segment details based on the specified attribute. By default, items are sorted by name.
const ( ListSnapshotsOptions_Sort_CreatedTime = "created_time" ListSnapshotsOptions_Sort_ID = "id" ListSnapshotsOptions_Sort_Name = "name" ListSnapshotsOptions_Sort_UpdatedTime = "updated_time" )
Constants associated with the ListSnapshotsOptions.Sort property. Sort the git configurations details based on the specified attribute. By default, items are sorted by name.
const ( PromoteRestoreConfigOptions_Action_Promote = "promote" PromoteRestoreConfigOptions_Action_Restore = "restore" )
Constants associated with the PromoteRestoreConfigOptions.Action property. Promote configuration to Git or Restore configuration from Git.
const ( Property_Type_Boolean = "BOOLEAN" Property_Type_Numeric = "NUMERIC" Property_Type_Secretref = "SECRETREF" Property_Type_String = "STRING" )
Constants associated with the Property.Type property. Type of the property (BOOLEAN, STRING, NUMERIC, SECRETREF). If `type` is `STRING`, then `format` attribute is required.
const ( Property_Format_JSON = "JSON" Property_Format_Text = "TEXT" Property_Format_Yaml = "YAML" )
Constants associated with the Property.Format property. Format of the property (TEXT, JSON, YAML) and it is a required attribute when `type` is `STRING`. It is not required for `BOOLEAN`, `NUMERIC` or `SECRETREF` types. This attribute is populated in the response body of `POST, PUT and GET` calls if the type `STRING` is used and not populated for `BOOLEAN`, `NUMERIC` and `SECRETREF` types.
const ( Rule_Operator_Contains = "contains" Rule_Operator_Endswith = "endsWith" Rule_Operator_Greaterthan = "greaterThan" Rule_Operator_Greaterthanequals = "greaterThanEquals" Rule_Operator_Is = "is" Rule_Operator_Lesserthan = "lesserThan" Rule_Operator_Lesserthanequals = "lesserThanEquals" Rule_Operator_Startswith = "startsWith" )
Constants associated with the Rule.Operator property. Operator to be used for the evaluation if the entity belongs to the segment.
const DefaultServiceName = "app_configuration"
DefaultServiceName is the default key used to find external configuration information.
const DefaultServiceURL = "https://us-south.apprapp.cloud.ibm.com/apprapp/feature/v1/instances/provide-here-your-appconfig-instance-uuid"
DefaultServiceURL is the default URL to make service requests to.
const (
ListSegmentsOptions_Include_Rules = "rules"
)
Constants associated with the ListSegmentsOptions.Include property. Segment details to include the associated rules in the response.
const ParameterizedServiceURL = "https://{region}.apprapp.cloud.ibm.com/apprapp/feature/v1/instances/{guid}"
Variables ¶
This section is empty.
Functions ¶
func ConstructServiceURL ¶ added in v0.2.0
ConstructServiceURL constructs a service URL from the parameterized URL.
func GetServiceURLForRegion ¶
GetServiceURLForRegion returns the service URL to be used for the specified region
func UnmarshalCollection ¶
func UnmarshalCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCollection unmarshals an instance of Collection from the specified map of raw messages.
func UnmarshalCollectionList ¶
func UnmarshalCollectionList(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCollectionList unmarshals an instance of CollectionList from the specified map of raw messages.
func UnmarshalCollectionLite ¶
func UnmarshalCollectionLite(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCollectionLite unmarshals an instance of CollectionLite from the specified map of raw messages.
func UnmarshalCollectionRef ¶
func UnmarshalCollectionRef(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCollectionRef unmarshals an instance of CollectionRef from the specified map of raw messages.
func UnmarshalConfigAction ¶ added in v0.4.1
func UnmarshalConfigAction(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigAction unmarshals an instance of ConfigAction from the specified map of raw messages.
func UnmarshalConfigActionGitConfigPromote ¶ added in v0.4.1
func UnmarshalConfigActionGitConfigPromote(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigActionGitConfigPromote unmarshals an instance of ConfigActionGitConfigPromote from the specified map of raw messages.
func UnmarshalConfigActionGitConfigRestore ¶ added in v0.4.1
func UnmarshalConfigActionGitConfigRestore(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfigActionGitConfigRestore unmarshals an instance of ConfigActionGitConfigRestore from the specified map of raw messages.
func UnmarshalCreateGitConfigResponse ¶ added in v0.4.1
func UnmarshalCreateGitConfigResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateGitConfigResponse unmarshals an instance of CreateGitConfigResponse from the specified map of raw messages.
func UnmarshalCreateWorkflowconfigRequest ¶ added in v0.4.3
func UnmarshalCreateWorkflowconfigRequest(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateWorkflowconfigRequest unmarshals an instance of CreateWorkflowconfigRequest from the specified map of raw messages.
func UnmarshalCreateWorkflowconfigRequestIbmWorkflowConfig ¶ added in v0.4.3
func UnmarshalCreateWorkflowconfigRequestIbmWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateWorkflowconfigRequestIbmWorkflowConfig unmarshals an instance of CreateWorkflowconfigRequestIbmWorkflowConfig from the specified map of raw messages.
func UnmarshalCreateWorkflowconfigRequestWorkflowConfig ¶ added in v0.4.3
func UnmarshalCreateWorkflowconfigRequestWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateWorkflowconfigRequestWorkflowConfig unmarshals an instance of CreateWorkflowconfigRequestWorkflowConfig from the specified map of raw messages.
func UnmarshalCreateWorkflowconfigResponse ¶ added in v0.4.3
func UnmarshalCreateWorkflowconfigResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateWorkflowconfigResponse unmarshals an instance of CreateWorkflowconfigResponse from the specified map of raw messages.
func UnmarshalCreateWorkflowconfigResponseIbmWorkflowConfig ¶ added in v0.4.3
func UnmarshalCreateWorkflowconfigResponseIbmWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateWorkflowconfigResponseIbmWorkflowConfig unmarshals an instance of CreateWorkflowconfigResponseIbmWorkflowConfig from the specified map of raw messages.
func UnmarshalCreateWorkflowconfigResponseWorkflowConfig ¶ added in v0.4.3
func UnmarshalCreateWorkflowconfigResponseWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateWorkflowconfigResponseWorkflowConfig unmarshals an instance of CreateWorkflowconfigResponseWorkflowConfig from the specified map of raw messages.
func UnmarshalEnvironment ¶
func UnmarshalEnvironment(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEnvironment unmarshals an instance of Environment from the specified map of raw messages.
func UnmarshalEnvironmentList ¶
func UnmarshalEnvironmentList(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEnvironmentList unmarshals an instance of EnvironmentList from the specified map of raw messages.
func UnmarshalFeature ¶
func UnmarshalFeature(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalFeature unmarshals an instance of Feature from the specified map of raw messages.
func UnmarshalFeatureOutput ¶
func UnmarshalFeatureOutput(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalFeatureOutput unmarshals an instance of FeatureOutput from the specified map of raw messages.
func UnmarshalFeatureSegmentRule ¶ added in v0.2.3
func UnmarshalFeatureSegmentRule(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalFeatureSegmentRule unmarshals an instance of FeatureSegmentRule from the specified map of raw messages.
func UnmarshalFeaturesList ¶
func UnmarshalFeaturesList(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalFeaturesList unmarshals an instance of FeaturesList from the specified map of raw messages.
func UnmarshalGitConfig ¶ added in v0.4.1
func UnmarshalGitConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGitConfig unmarshals an instance of GitConfig from the specified map of raw messages.
func UnmarshalGitConfigCollection ¶ added in v0.4.1
func UnmarshalGitConfigCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGitConfigCollection unmarshals an instance of GitConfigCollection from the specified map of raw messages.
func UnmarshalGitConfigEnvironment ¶ added in v0.4.1
func UnmarshalGitConfigEnvironment(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGitConfigEnvironment unmarshals an instance of GitConfigEnvironment from the specified map of raw messages.
func UnmarshalGitConfigList ¶ added in v0.4.1
func UnmarshalGitConfigList(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGitConfigList unmarshals an instance of GitConfigList from the specified map of raw messages.
func UnmarshalGitConfigPromote ¶ added in v0.4.1
func UnmarshalGitConfigPromote(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGitConfigPromote unmarshals an instance of GitConfigPromote from the specified map of raw messages.
func UnmarshalGitConfigRestore ¶ added in v0.4.1
func UnmarshalGitConfigRestore(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGitConfigRestore unmarshals an instance of GitConfigRestore from the specified map of raw messages.
func UnmarshalImportCollectionSchema ¶ added in v0.4.0
func UnmarshalImportCollectionSchema(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalImportCollectionSchema unmarshals an instance of ImportCollectionSchema from the specified map of raw messages.
func UnmarshalImportConfig ¶ added in v0.4.0
func UnmarshalImportConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalImportConfig unmarshals an instance of ImportConfig from the specified map of raw messages.
func UnmarshalImportEnvironmentSchema ¶ added in v0.4.1
func UnmarshalImportEnvironmentSchema(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalImportEnvironmentSchema unmarshals an instance of ImportEnvironmentSchema from the specified map of raw messages.
func UnmarshalImportFeatureRequestBody ¶ added in v0.4.0
func UnmarshalImportFeatureRequestBody(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalImportFeatureRequestBody unmarshals an instance of ImportFeatureRequestBody from the specified map of raw messages.
func UnmarshalImportPropertyRequestBody ¶ added in v0.4.0
func UnmarshalImportPropertyRequestBody(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalImportPropertyRequestBody unmarshals an instance of ImportPropertyRequestBody from the specified map of raw messages.
func UnmarshalImportSegmentSchema ¶ added in v0.4.0
func UnmarshalImportSegmentSchema(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalImportSegmentSchema unmarshals an instance of ImportSegmentSchema from the specified map of raw messages.
func UnmarshalListWorkflowconfigResponse ¶ added in v0.4.3
func UnmarshalListWorkflowconfigResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalListWorkflowconfigResponse unmarshals an instance of ListWorkflowconfigResponse from the specified map of raw messages.
func UnmarshalListWorkflowconfigResponseIbmWorkflowConfig ¶ added in v0.4.3
func UnmarshalListWorkflowconfigResponseIbmWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalListWorkflowconfigResponseIbmWorkflowConfig unmarshals an instance of ListWorkflowconfigResponseIbmWorkflowConfig from the specified map of raw messages.
func UnmarshalListWorkflowconfigResponseWorkflowConfig ¶ added in v0.4.3
func UnmarshalListWorkflowconfigResponseWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalListWorkflowconfigResponseWorkflowConfig unmarshals an instance of ListWorkflowconfigResponseWorkflowConfig from the specified map of raw messages.
func UnmarshalOriginConfigList ¶ added in v0.3.2
func UnmarshalOriginConfigList(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalOriginConfigList unmarshals an instance of OriginConfigList from the specified map of raw messages.
func UnmarshalPaginatedListFirst ¶ added in v0.4.1
func UnmarshalPaginatedListFirst(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPaginatedListFirst unmarshals an instance of PaginatedListFirst from the specified map of raw messages.
func UnmarshalPaginatedListLast ¶ added in v0.4.1
func UnmarshalPaginatedListLast(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPaginatedListLast unmarshals an instance of PaginatedListLast from the specified map of raw messages.
func UnmarshalPaginatedListNext ¶ added in v0.4.1
func UnmarshalPaginatedListNext(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPaginatedListNext unmarshals an instance of PaginatedListNext from the specified map of raw messages.
func UnmarshalPaginatedListPrevious ¶ added in v0.4.1
func UnmarshalPaginatedListPrevious(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPaginatedListPrevious unmarshals an instance of PaginatedListPrevious from the specified map of raw messages.
func UnmarshalPropertiesList ¶
func UnmarshalPropertiesList(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPropertiesList unmarshals an instance of PropertiesList from the specified map of raw messages.
func UnmarshalProperty ¶
func UnmarshalProperty(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProperty unmarshals an instance of Property from the specified map of raw messages.
func UnmarshalPropertyOutput ¶
func UnmarshalPropertyOutput(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPropertyOutput unmarshals an instance of PropertyOutput from the specified map of raw messages.
func UnmarshalRule ¶
func UnmarshalRule(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRule unmarshals an instance of Rule from the specified map of raw messages.
func UnmarshalSegment ¶
func UnmarshalSegment(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSegment unmarshals an instance of Segment from the specified map of raw messages.
func UnmarshalSegmentRule ¶
func UnmarshalSegmentRule(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSegmentRule unmarshals an instance of SegmentRule from the specified map of raw messages.
func UnmarshalSegmentsList ¶
func UnmarshalSegmentsList(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSegmentsList unmarshals an instance of SegmentsList from the specified map of raw messages.
func UnmarshalSnapshotOutput ¶ added in v0.3.0
func UnmarshalSnapshotOutput(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSnapshotOutput unmarshals an instance of SnapshotOutput from the specified map of raw messages.
func UnmarshalTargetSegments ¶
func UnmarshalTargetSegments(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTargetSegments unmarshals an instance of TargetSegments from the specified map of raw messages.
func UnmarshalUpdateWorkflowconfigRequest ¶ added in v0.4.3
func UnmarshalUpdateWorkflowconfigRequest(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateWorkflowconfigRequest unmarshals an instance of UpdateWorkflowconfigRequest from the specified map of raw messages.
func UnmarshalUpdateWorkflowconfigRequestUpdateIbmWorkflowConfig ¶ added in v0.4.3
func UnmarshalUpdateWorkflowconfigRequestUpdateIbmWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateWorkflowconfigRequestUpdateIbmWorkflowConfig unmarshals an instance of UpdateWorkflowconfigRequestUpdateIbmWorkflowConfig from the specified map of raw messages.
func UnmarshalUpdateWorkflowconfigRequestUpdateWorkflowConfig ¶ added in v0.4.3
func UnmarshalUpdateWorkflowconfigRequestUpdateWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateWorkflowconfigRequestUpdateWorkflowConfig unmarshals an instance of UpdateWorkflowconfigRequestUpdateWorkflowConfig from the specified map of raw messages.
func UnmarshalUpdateWorkflowconfigResponse ¶ added in v0.4.3
func UnmarshalUpdateWorkflowconfigResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateWorkflowconfigResponse unmarshals an instance of UpdateWorkflowconfigResponse from the specified map of raw messages.
func UnmarshalUpdateWorkflowconfigResponseIbmWorkflowConfig ¶ added in v0.4.3
func UnmarshalUpdateWorkflowconfigResponseIbmWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateWorkflowconfigResponseIbmWorkflowConfig unmarshals an instance of UpdateWorkflowconfigResponseIbmWorkflowConfig from the specified map of raw messages.
func UnmarshalUpdateWorkflowconfigResponseWorkflowConfig ¶ added in v0.4.3
func UnmarshalUpdateWorkflowconfigResponseWorkflowConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUpdateWorkflowconfigResponseWorkflowConfig unmarshals an instance of UpdateWorkflowconfigResponseWorkflowConfig from the specified map of raw messages.
func UnmarshalWorkflowCredentials ¶ added in v0.4.1
func UnmarshalWorkflowCredentials(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalWorkflowCredentials unmarshals an instance of WorkflowCredentials from the specified map of raw messages.
Types ¶
type AppConfigurationV1 ¶
type AppConfigurationV1 struct {
Service *core.BaseService
}
AppConfigurationV1 : IBM Cloud App Configuration is a centralized feature management and configuration service for use with web and mobile applications, microservices, and distributed environments.
API Version: 1.0 See: https://cloud.ibm.com/docs/app-configuration
func NewAppConfigurationV1 ¶
func NewAppConfigurationV1(options *AppConfigurationV1Options) (service *AppConfigurationV1, err error)
NewAppConfigurationV1 : constructs an instance of AppConfigurationV1 with passed in options.
func NewAppConfigurationV1UsingExternalConfig ¶
func NewAppConfigurationV1UsingExternalConfig(options *AppConfigurationV1Options) (appConfiguration *AppConfigurationV1, err error)
NewAppConfigurationV1UsingExternalConfig : constructs an instance of AppConfigurationV1 with passed in options and external configuration.
func (*AppConfigurationV1) Clone ¶
func (appConfiguration *AppConfigurationV1) Clone() *AppConfigurationV1
Clone makes a copy of "appConfiguration" suitable for processing requests.
func (*AppConfigurationV1) CreateCollection ¶
func (appConfiguration *AppConfigurationV1) CreateCollection(createCollectionOptions *CreateCollectionOptions) (result *CollectionLite, response *core.DetailedResponse, err error)
CreateCollection : Create Collection Create a collection.
func (*AppConfigurationV1) CreateCollectionWithContext ¶
func (appConfiguration *AppConfigurationV1) CreateCollectionWithContext(ctx context.Context, createCollectionOptions *CreateCollectionOptions) (result *CollectionLite, response *core.DetailedResponse, err error)
CreateCollectionWithContext is an alternate form of the CreateCollection method which supports a Context parameter
func (*AppConfigurationV1) CreateEnvironment ¶
func (appConfiguration *AppConfigurationV1) CreateEnvironment(createEnvironmentOptions *CreateEnvironmentOptions) (result *Environment, response *core.DetailedResponse, err error)
CreateEnvironment : Create Environment Create an environment.
func (*AppConfigurationV1) CreateEnvironmentWithContext ¶
func (appConfiguration *AppConfigurationV1) CreateEnvironmentWithContext(ctx context.Context, createEnvironmentOptions *CreateEnvironmentOptions) (result *Environment, response *core.DetailedResponse, err error)
CreateEnvironmentWithContext is an alternate form of the CreateEnvironment method which supports a Context parameter
func (*AppConfigurationV1) CreateFeature ¶
func (appConfiguration *AppConfigurationV1) CreateFeature(createFeatureOptions *CreateFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
CreateFeature : Create Feature Create a feature flag.
func (*AppConfigurationV1) CreateFeatureWithContext ¶
func (appConfiguration *AppConfigurationV1) CreateFeatureWithContext(ctx context.Context, createFeatureOptions *CreateFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
CreateFeatureWithContext is an alternate form of the CreateFeature method which supports a Context parameter
func (*AppConfigurationV1) CreateGitconfig ¶ added in v0.3.0
func (appConfiguration *AppConfigurationV1) CreateGitconfig(createGitconfigOptions *CreateGitconfigOptions) (result *CreateGitConfigResponse, response *core.DetailedResponse, err error)
CreateGitconfig : Create Git config Create a Git config.
func (*AppConfigurationV1) CreateGitconfigWithContext ¶ added in v0.3.0
func (appConfiguration *AppConfigurationV1) CreateGitconfigWithContext(ctx context.Context, createGitconfigOptions *CreateGitconfigOptions) (result *CreateGitConfigResponse, response *core.DetailedResponse, err error)
CreateGitconfigWithContext is an alternate form of the CreateGitconfig method which supports a Context parameter
func (*AppConfigurationV1) CreateProperty ¶
func (appConfiguration *AppConfigurationV1) CreateProperty(createPropertyOptions *CreatePropertyOptions) (result *Property, response *core.DetailedResponse, err error)
CreateProperty : Create Property Create a Property.
func (*AppConfigurationV1) CreatePropertyWithContext ¶
func (appConfiguration *AppConfigurationV1) CreatePropertyWithContext(ctx context.Context, createPropertyOptions *CreatePropertyOptions) (result *Property, response *core.DetailedResponse, err error)
CreatePropertyWithContext is an alternate form of the CreateProperty method which supports a Context parameter
func (*AppConfigurationV1) CreateSegment ¶
func (appConfiguration *AppConfigurationV1) CreateSegment(createSegmentOptions *CreateSegmentOptions) (result *Segment, response *core.DetailedResponse, err error)
CreateSegment : Create Segment Create a segment.
func (*AppConfigurationV1) CreateSegmentWithContext ¶
func (appConfiguration *AppConfigurationV1) CreateSegmentWithContext(ctx context.Context, createSegmentOptions *CreateSegmentOptions) (result *Segment, response *core.DetailedResponse, err error)
CreateSegmentWithContext is an alternate form of the CreateSegment method which supports a Context parameter
func (*AppConfigurationV1) CreateWorkflowconfig ¶ added in v0.4.0
func (appConfiguration *AppConfigurationV1) CreateWorkflowconfig(createWorkflowconfigOptions *CreateWorkflowconfigOptions) (result CreateWorkflowconfigResponseIntf, response *core.DetailedResponse, err error)
CreateWorkflowconfig : Create Workflow config Create a Workflow.
func (*AppConfigurationV1) CreateWorkflowconfigWithContext ¶ added in v0.4.0
func (appConfiguration *AppConfigurationV1) CreateWorkflowconfigWithContext(ctx context.Context, createWorkflowconfigOptions *CreateWorkflowconfigOptions) (result CreateWorkflowconfigResponseIntf, response *core.DetailedResponse, err error)
CreateWorkflowconfigWithContext is an alternate form of the CreateWorkflowconfig method which supports a Context parameter
func (*AppConfigurationV1) DeleteCollection ¶
func (appConfiguration *AppConfigurationV1) DeleteCollection(deleteCollectionOptions *DeleteCollectionOptions) (response *core.DetailedResponse, err error)
DeleteCollection : Delete Collection Delete the collection.
func (*AppConfigurationV1) DeleteCollectionWithContext ¶
func (appConfiguration *AppConfigurationV1) DeleteCollectionWithContext(ctx context.Context, deleteCollectionOptions *DeleteCollectionOptions) (response *core.DetailedResponse, err error)
DeleteCollectionWithContext is an alternate form of the DeleteCollection method which supports a Context parameter
func (*AppConfigurationV1) DeleteEnvironment ¶
func (appConfiguration *AppConfigurationV1) DeleteEnvironment(deleteEnvironmentOptions *DeleteEnvironmentOptions) (response *core.DetailedResponse, err error)
DeleteEnvironment : Delete Environment Delete an Environment.
func (*AppConfigurationV1) DeleteEnvironmentWithContext ¶
func (appConfiguration *AppConfigurationV1) DeleteEnvironmentWithContext(ctx context.Context, deleteEnvironmentOptions *DeleteEnvironmentOptions) (response *core.DetailedResponse, err error)
DeleteEnvironmentWithContext is an alternate form of the DeleteEnvironment method which supports a Context parameter
func (*AppConfigurationV1) DeleteFeature ¶
func (appConfiguration *AppConfigurationV1) DeleteFeature(deleteFeatureOptions *DeleteFeatureOptions) (response *core.DetailedResponse, err error)
DeleteFeature : Delete Feature Delete a feature flag.
func (*AppConfigurationV1) DeleteFeatureWithContext ¶
func (appConfiguration *AppConfigurationV1) DeleteFeatureWithContext(ctx context.Context, deleteFeatureOptions *DeleteFeatureOptions) (response *core.DetailedResponse, err error)
DeleteFeatureWithContext is an alternate form of the DeleteFeature method which supports a Context parameter
func (*AppConfigurationV1) DeleteGitconfig ¶ added in v0.3.0
func (appConfiguration *AppConfigurationV1) DeleteGitconfig(deleteGitconfigOptions *DeleteGitconfigOptions) (response *core.DetailedResponse, err error)
DeleteGitconfig : Delete Git Config Delete a gitconfig.
func (*AppConfigurationV1) DeleteGitconfigWithContext ¶ added in v0.3.0
func (appConfiguration *AppConfigurationV1) DeleteGitconfigWithContext(ctx context.Context, deleteGitconfigOptions *DeleteGitconfigOptions) (response *core.DetailedResponse, err error)
DeleteGitconfigWithContext is an alternate form of the DeleteGitconfig method which supports a Context parameter
func (*AppConfigurationV1) DeleteProperty ¶
func (appConfiguration *AppConfigurationV1) DeleteProperty(deletePropertyOptions *DeletePropertyOptions) (response *core.DetailedResponse, err error)
DeleteProperty : Delete Property Delete a Property.
func (*AppConfigurationV1) DeletePropertyWithContext ¶
func (appConfiguration *AppConfigurationV1) DeletePropertyWithContext(ctx context.Context, deletePropertyOptions *DeletePropertyOptions) (response *core.DetailedResponse, err error)
DeletePropertyWithContext is an alternate form of the DeleteProperty method which supports a Context parameter
func (*AppConfigurationV1) DeleteSegment ¶
func (appConfiguration *AppConfigurationV1) DeleteSegment(deleteSegmentOptions *DeleteSegmentOptions) (response *core.DetailedResponse, err error)
DeleteSegment : Delete Segment Delete a segment.
func (*AppConfigurationV1) DeleteSegmentWithContext ¶
func (appConfiguration *AppConfigurationV1) DeleteSegmentWithContext(ctx context.Context, deleteSegmentOptions *DeleteSegmentOptions) (response *core.DetailedResponse, err error)
DeleteSegmentWithContext is an alternate form of the DeleteSegment method which supports a Context parameter
func (*AppConfigurationV1) DeleteWorkflowconfig ¶ added in v0.4.0
func (appConfiguration *AppConfigurationV1) DeleteWorkflowconfig(deleteWorkflowconfigOptions *DeleteWorkflowconfigOptions) (response *core.DetailedResponse, err error)
DeleteWorkflowconfig : Delete Workflow config Delete a Workflow config.
func (*AppConfigurationV1) DeleteWorkflowconfigWithContext ¶ added in v0.4.0
func (appConfiguration *AppConfigurationV1) DeleteWorkflowconfigWithContext(ctx context.Context, deleteWorkflowconfigOptions *DeleteWorkflowconfigOptions) (response *core.DetailedResponse, err error)
DeleteWorkflowconfigWithContext is an alternate form of the DeleteWorkflowconfig method which supports a Context parameter
func (*AppConfigurationV1) DisableRetries ¶
func (appConfiguration *AppConfigurationV1) DisableRetries()
DisableRetries disables automatic retries for requests invoked for this service instance.
func (*AppConfigurationV1) EnableRetries ¶
func (appConfiguration *AppConfigurationV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.
func (*AppConfigurationV1) GetCollection ¶
func (appConfiguration *AppConfigurationV1) GetCollection(getCollectionOptions *GetCollectionOptions) (result *Collection, response *core.DetailedResponse, err error)
GetCollection : Get Collection Retrieve the details of the collection.
func (*AppConfigurationV1) GetCollectionWithContext ¶
func (appConfiguration *AppConfigurationV1) GetCollectionWithContext(ctx context.Context, getCollectionOptions *GetCollectionOptions) (result *Collection, response *core.DetailedResponse, err error)
GetCollectionWithContext is an alternate form of the GetCollection method which supports a Context parameter
func (*AppConfigurationV1) GetEnableGzipCompression ¶
func (appConfiguration *AppConfigurationV1) GetEnableGzipCompression() bool
GetEnableGzipCompression returns the service's EnableGzipCompression field
func (*AppConfigurationV1) GetEnvironment ¶
func (appConfiguration *AppConfigurationV1) GetEnvironment(getEnvironmentOptions *GetEnvironmentOptions) (result *Environment, response *core.DetailedResponse, err error)
GetEnvironment : Get Environment Retrieve the details of the environment.
func (*AppConfigurationV1) GetEnvironmentWithContext ¶
func (appConfiguration *AppConfigurationV1) GetEnvironmentWithContext(ctx context.Context, getEnvironmentOptions *GetEnvironmentOptions) (result *Environment, response *core.DetailedResponse, err error)
GetEnvironmentWithContext is an alternate form of the GetEnvironment method which supports a Context parameter
func (*AppConfigurationV1) GetFeature ¶
func (appConfiguration *AppConfigurationV1) GetFeature(getFeatureOptions *GetFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
GetFeature : Get Feature Retrieve details of a feature.
func (*AppConfigurationV1) GetFeatureWithContext ¶
func (appConfiguration *AppConfigurationV1) GetFeatureWithContext(ctx context.Context, getFeatureOptions *GetFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
GetFeatureWithContext is an alternate form of the GetFeature method which supports a Context parameter
func (*AppConfigurationV1) GetGitconfig ¶ added in v0.3.0
func (appConfiguration *AppConfigurationV1) GetGitconfig(getGitconfigOptions *GetGitconfigOptions) (result *GitConfig, response *core.DetailedResponse, err error)
GetGitconfig : Get Git Config Retrieve details of a gitconfig.
func (*AppConfigurationV1) GetGitconfigWithContext ¶ added in v0.3.0
func (appConfiguration *AppConfigurationV1) GetGitconfigWithContext(ctx context.Context, getGitconfigOptions *GetGitconfigOptions) (result *GitConfig, response *core.DetailedResponse, err error)
GetGitconfigWithContext is an alternate form of the GetGitconfig method which supports a Context parameter
func (*AppConfigurationV1) GetProperty ¶
func (appConfiguration *AppConfigurationV1) GetProperty(getPropertyOptions *GetPropertyOptions) (result *Property, response *core.DetailedResponse, err error)
GetProperty : Get Property Retrieve details of a property.
func (*AppConfigurationV1) GetPropertyWithContext ¶
func (appConfiguration *AppConfigurationV1) GetPropertyWithContext(ctx context.Context, getPropertyOptions *GetPropertyOptions) (result *Property, response *core.DetailedResponse, err error)
GetPropertyWithContext is an alternate form of the GetProperty method which supports a Context parameter
func (*AppConfigurationV1) GetSegment ¶
func (appConfiguration *AppConfigurationV1) GetSegment(getSegmentOptions *GetSegmentOptions) (result *Segment, response *core.DetailedResponse, err error)
GetSegment : Get Segment Retrieve details of a segment.
func (*AppConfigurationV1) GetSegmentWithContext ¶
func (appConfiguration *AppConfigurationV1) GetSegmentWithContext(ctx context.Context, getSegmentOptions *GetSegmentOptions) (result *Segment, response *core.DetailedResponse, err error)
GetSegmentWithContext is an alternate form of the GetSegment method which supports a Context parameter
func (*AppConfigurationV1) GetServiceURL ¶
func (appConfiguration *AppConfigurationV1) GetServiceURL() string
GetServiceURL returns the service URL
func (*AppConfigurationV1) ImportConfig ¶ added in v0.4.0
func (appConfiguration *AppConfigurationV1) ImportConfig(importConfigOptions *ImportConfigOptions) (result *ImportConfig, response *core.DetailedResponse, err error)
ImportConfig : Import instance configuration Import configuration to the instance.
func (*AppConfigurationV1) ImportConfigWithContext ¶ added in v0.4.0
func (appConfiguration *AppConfigurationV1) ImportConfigWithContext(ctx context.Context, importConfigOptions *ImportConfigOptions) (result *ImportConfig, response *core.DetailedResponse, err error)
ImportConfigWithContext is an alternate form of the ImportConfig method which supports a Context parameter
func (*AppConfigurationV1) ListCollections ¶
func (appConfiguration *AppConfigurationV1) ListCollections(listCollectionsOptions *ListCollectionsOptions) (result *CollectionList, response *core.DetailedResponse, err error)
ListCollections : Get list of Collections List of all the collections in the App Configuration service instance.
func (*AppConfigurationV1) ListCollectionsWithContext ¶
func (appConfiguration *AppConfigurationV1) ListCollectionsWithContext(ctx context.Context, listCollectionsOptions *ListCollectionsOptions) (result *CollectionList, response *core.DetailedResponse, err error)
ListCollectionsWithContext is an alternate form of the ListCollections method which supports a Context parameter
func (*AppConfigurationV1) ListEnvironments ¶
func (appConfiguration *AppConfigurationV1) ListEnvironments(listEnvironmentsOptions *ListEnvironmentsOptions) (result *EnvironmentList, response *core.DetailedResponse, err error)
ListEnvironments : Get list of Environments List all the environments in the App Configuration service instance.
func (*AppConfigurationV1) ListEnvironmentsWithContext ¶
func (appConfiguration *AppConfigurationV1) ListEnvironmentsWithContext(ctx context.Context, listEnvironmentsOptions *ListEnvironmentsOptions) (result *EnvironmentList, response *core.DetailedResponse, err error)
ListEnvironmentsWithContext is an alternate form of the ListEnvironments method which supports a Context parameter
func (*AppConfigurationV1) ListFeatures ¶
func (appConfiguration *AppConfigurationV1) ListFeatures(listFeaturesOptions *ListFeaturesOptions) (result *FeaturesList, response *core.DetailedResponse, err error)
ListFeatures : Get list of Features List all the feature flags in the specified environment.
func (*AppConfigurationV1) ListFeaturesWithContext ¶
func (appConfiguration *AppConfigurationV1) ListFeaturesWithContext(ctx context.Context, listFeaturesOptions *ListFeaturesOptions) (result *FeaturesList, response *core.DetailedResponse, err error)
ListFeaturesWithContext is an alternate form of the ListFeatures method which supports a Context parameter
func (*AppConfigurationV1) ListInstanceConfig ¶ added in v0.4.0
func (appConfiguration *AppConfigurationV1) ListInstanceConfig(listInstanceConfigOptions *ListInstanceConfigOptions) (result *ImportConfig, response *core.DetailedResponse, err error)
ListInstanceConfig : Export instance configuration Get the instance configuration.
func (*AppConfigurationV1) ListInstanceConfigWithContext ¶ added in v0.4.0
func (appConfiguration *AppConfigurationV1) ListInstanceConfigWithContext(ctx context.Context, listInstanceConfigOptions *ListInstanceConfigOptions) (result *ImportConfig, response *core.DetailedResponse, err error)
ListInstanceConfigWithContext is an alternate form of the ListInstanceConfig method which supports a Context parameter
func (*AppConfigurationV1) ListOriginconfigs ¶ added in v0.3.2
func (appConfiguration *AppConfigurationV1) ListOriginconfigs(listOriginconfigsOptions *ListOriginconfigsOptions) (result *OriginConfigList, response *core.DetailedResponse, err error)
ListOriginconfigs : Get list of Origin Configs List all the Origin Configs.
func (*AppConfigurationV1) ListOriginconfigsWithContext ¶ added in v0.3.2
func (appConfiguration *AppConfigurationV1) ListOriginconfigsWithContext(ctx context.Context, listOriginconfigsOptions *ListOriginconfigsOptions) (result *OriginConfigList, response *core.DetailedResponse, err error)
ListOriginconfigsWithContext is an alternate form of the ListOriginconfigs method which supports a Context parameter
func (*AppConfigurationV1) ListProperties ¶
func (appConfiguration *AppConfigurationV1) ListProperties(listPropertiesOptions *ListPropertiesOptions) (result *PropertiesList, response *core.DetailedResponse, err error)
ListProperties : Get list of Properties List all the properties in the specified environment.
func (*AppConfigurationV1) ListPropertiesWithContext ¶
func (appConfiguration *AppConfigurationV1) ListPropertiesWithContext(ctx context.Context, listPropertiesOptions *ListPropertiesOptions) (result *PropertiesList, response *core.DetailedResponse, err error)
ListPropertiesWithContext is an alternate form of the ListProperties method which supports a Context parameter
func (*AppConfigurationV1) ListSegments ¶
func (appConfiguration *AppConfigurationV1) ListSegments(listSegmentsOptions *ListSegmentsOptions) (result *SegmentsList, response *core.DetailedResponse, err error)
ListSegments : Get list of Segments List all the segments.
func (*AppConfigurationV1) ListSegmentsWithContext ¶
func (appConfiguration *AppConfigurationV1) ListSegmentsWithContext(ctx context.Context, listSegmentsOptions *ListSegmentsOptions) (result *SegmentsList, response *core.DetailedResponse, err error)
ListSegmentsWithContext is an alternate form of the ListSegments method which supports a Context parameter
func (*AppConfigurationV1) ListSnapshots ¶ added in v0.3.0
func (appConfiguration *AppConfigurationV1) ListSnapshots(listSnapshotsOptions *ListSnapshotsOptions) (result *GitConfigList, response *core.DetailedResponse, err error)
ListSnapshots : Get list of Git configs List all the Git configs.
func (*AppConfigurationV1) ListSnapshotsWithContext ¶ added in v0.3.0
func (appConfiguration *AppConfigurationV1) ListSnapshotsWithContext(ctx context.Context, listSnapshotsOptions *ListSnapshotsOptions) (result *GitConfigList, response *core.DetailedResponse, err error)
ListSnapshotsWithContext is an alternate form of the ListSnapshots method which supports a Context parameter
func (*AppConfigurationV1) ListWorkflowconfig ¶ added in v0.4.0
func (appConfiguration *AppConfigurationV1) ListWorkflowconfig(listWorkflowconfigOptions *ListWorkflowconfigOptions) (result ListWorkflowconfigResponseIntf, response *core.DetailedResponse, err error)
ListWorkflowconfig : Get Workflow Config Get the environment specific workflow Configs.
func (*AppConfigurationV1) ListWorkflowconfigWithContext ¶ added in v0.4.0
func (appConfiguration *AppConfigurationV1) ListWorkflowconfigWithContext(ctx context.Context, listWorkflowconfigOptions *ListWorkflowconfigOptions) (result ListWorkflowconfigResponseIntf, response *core.DetailedResponse, err error)
ListWorkflowconfigWithContext is an alternate form of the ListWorkflowconfig method which supports a Context parameter
func (*AppConfigurationV1) NewCollection ¶
func (*AppConfigurationV1) NewCollection(name string, collectionID string) (_model *Collection, err error)
NewCollection : Instantiate Collection (Generic Model Constructor)
func (*AppConfigurationV1) NewCollectionRef ¶
func (*AppConfigurationV1) NewCollectionRef(collectionID string) (_model *CollectionRef, err error)
NewCollectionRef : Instantiate CollectionRef (Generic Model Constructor)
func (*AppConfigurationV1) NewCollectionsPager ¶ added in v0.3.1
func (appConfiguration *AppConfigurationV1) NewCollectionsPager(options *ListCollectionsOptions) (pager *CollectionsPager, err error)
NewCollectionsPager returns a new CollectionsPager instance.
func (*AppConfigurationV1) NewCreateCollectionOptions ¶
func (*AppConfigurationV1) NewCreateCollectionOptions(name string, collectionID string) *CreateCollectionOptions
NewCreateCollectionOptions : Instantiate CreateCollectionOptions
func (*AppConfigurationV1) NewCreateEnvironmentOptions ¶
func (*AppConfigurationV1) NewCreateEnvironmentOptions(name string, environmentID string) *CreateEnvironmentOptions
NewCreateEnvironmentOptions : Instantiate CreateEnvironmentOptions
func (*AppConfigurationV1) NewCreateFeatureOptions ¶
func (*AppConfigurationV1) NewCreateFeatureOptions(environmentID string, name string, featureID string, typeVar string, enabledValue interface{}, disabledValue interface{}) *CreateFeatureOptions
NewCreateFeatureOptions : Instantiate CreateFeatureOptions
func (*AppConfigurationV1) NewCreateGitconfigOptions ¶ added in v0.3.0
func (*AppConfigurationV1) NewCreateGitconfigOptions(gitConfigName string, gitConfigID string, collectionID string, environmentID string, gitURL string, gitBranch string, gitFilePath string, gitToken string) *CreateGitconfigOptions
NewCreateGitconfigOptions : Instantiate CreateGitconfigOptions
func (*AppConfigurationV1) NewCreatePropertyOptions ¶
func (*AppConfigurationV1) NewCreatePropertyOptions(environmentID string, name string, propertyID string, typeVar string, value interface{}) *CreatePropertyOptions
NewCreatePropertyOptions : Instantiate CreatePropertyOptions
func (*AppConfigurationV1) NewCreateSegmentOptions ¶
func (*AppConfigurationV1) NewCreateSegmentOptions(name string, segmentID string, rules []Rule) *CreateSegmentOptions
NewCreateSegmentOptions : Instantiate CreateSegmentOptions
func (*AppConfigurationV1) NewCreateWorkflowconfigOptions ¶ added in v0.4.0
func (*AppConfigurationV1) NewCreateWorkflowconfigOptions(environmentID string, workflowConfig CreateWorkflowconfigRequestIntf) *CreateWorkflowconfigOptions
NewCreateWorkflowconfigOptions : Instantiate CreateWorkflowconfigOptions
func (*AppConfigurationV1) NewCreateWorkflowconfigRequestIbmWorkflowConfig ¶ added in v0.4.3
func (*AppConfigurationV1) NewCreateWorkflowconfigRequestIbmWorkflowConfig(serviceCrn string, workflowType string, approvalExpiration int64, smInstanceCrn string, secretID string, enabled bool) (_model *CreateWorkflowconfigRequestIbmWorkflowConfig, err error)
NewCreateWorkflowconfigRequestIbmWorkflowConfig : Instantiate CreateWorkflowconfigRequestIbmWorkflowConfig (Generic Model Constructor)
func (*AppConfigurationV1) NewCreateWorkflowconfigRequestWorkflowConfig ¶ added in v0.4.3
func (*AppConfigurationV1) NewCreateWorkflowconfigRequestWorkflowConfig(workflowURL string, approvalGroupName string, approvalExpiration int64, workflowCredentials *WorkflowCredentials, enabled bool) (_model *CreateWorkflowconfigRequestWorkflowConfig, err error)
NewCreateWorkflowconfigRequestWorkflowConfig : Instantiate CreateWorkflowconfigRequestWorkflowConfig (Generic Model Constructor)
func (*AppConfigurationV1) NewDeleteCollectionOptions ¶
func (*AppConfigurationV1) NewDeleteCollectionOptions(collectionID string) *DeleteCollectionOptions
NewDeleteCollectionOptions : Instantiate DeleteCollectionOptions
func (*AppConfigurationV1) NewDeleteEnvironmentOptions ¶
func (*AppConfigurationV1) NewDeleteEnvironmentOptions(environmentID string) *DeleteEnvironmentOptions
NewDeleteEnvironmentOptions : Instantiate DeleteEnvironmentOptions
func (*AppConfigurationV1) NewDeleteFeatureOptions ¶
func (*AppConfigurationV1) NewDeleteFeatureOptions(environmentID string, featureID string) *DeleteFeatureOptions
NewDeleteFeatureOptions : Instantiate DeleteFeatureOptions
func (*AppConfigurationV1) NewDeleteGitconfigOptions ¶ added in v0.3.0
func (*AppConfigurationV1) NewDeleteGitconfigOptions(gitConfigID string) *DeleteGitconfigOptions
NewDeleteGitconfigOptions : Instantiate DeleteGitconfigOptions
func (*AppConfigurationV1) NewDeletePropertyOptions ¶
func (*AppConfigurationV1) NewDeletePropertyOptions(environmentID string, propertyID string) *DeletePropertyOptions
NewDeletePropertyOptions : Instantiate DeletePropertyOptions
func (*AppConfigurationV1) NewDeleteSegmentOptions ¶
func (*AppConfigurationV1) NewDeleteSegmentOptions(segmentID string) *DeleteSegmentOptions
NewDeleteSegmentOptions : Instantiate DeleteSegmentOptions
func (*AppConfigurationV1) NewDeleteWorkflowconfigOptions ¶ added in v0.4.0
func (*AppConfigurationV1) NewDeleteWorkflowconfigOptions(environmentID string) *DeleteWorkflowconfigOptions
NewDeleteWorkflowconfigOptions : Instantiate DeleteWorkflowconfigOptions
func (*AppConfigurationV1) NewEnvironment ¶
func (*AppConfigurationV1) NewEnvironment(name string, environmentID string) (_model *Environment, err error)
NewEnvironment : Instantiate Environment (Generic Model Constructor)
func (*AppConfigurationV1) NewEnvironmentsPager ¶ added in v0.3.1
func (appConfiguration *AppConfigurationV1) NewEnvironmentsPager(options *ListEnvironmentsOptions) (pager *EnvironmentsPager, err error)
NewEnvironmentsPager returns a new EnvironmentsPager instance.
func (*AppConfigurationV1) NewFeatureOutput ¶
func (*AppConfigurationV1) NewFeatureOutput(featureID string, name string) (_model *FeatureOutput, err error)
NewFeatureOutput : Instantiate FeatureOutput (Generic Model Constructor)
func (*AppConfigurationV1) NewFeatureSegmentRule ¶ added in v0.2.3
func (*AppConfigurationV1) NewFeatureSegmentRule(rules []TargetSegments, value interface{}, order int64) (_model *FeatureSegmentRule, err error)
NewFeatureSegmentRule : Instantiate FeatureSegmentRule (Generic Model Constructor)
func (*AppConfigurationV1) NewFeaturesPager ¶ added in v0.3.1
func (appConfiguration *AppConfigurationV1) NewFeaturesPager(options *ListFeaturesOptions) (pager *FeaturesPager, err error)
NewFeaturesPager returns a new FeaturesPager instance.
func (*AppConfigurationV1) NewGetCollectionOptions ¶
func (*AppConfigurationV1) NewGetCollectionOptions(collectionID string) *GetCollectionOptions
NewGetCollectionOptions : Instantiate GetCollectionOptions
func (*AppConfigurationV1) NewGetEnvironmentOptions ¶
func (*AppConfigurationV1) NewGetEnvironmentOptions(environmentID string) *GetEnvironmentOptions
NewGetEnvironmentOptions : Instantiate GetEnvironmentOptions
func (*AppConfigurationV1) NewGetFeatureOptions ¶
func (*AppConfigurationV1) NewGetFeatureOptions(environmentID string, featureID string) *GetFeatureOptions
NewGetFeatureOptions : Instantiate GetFeatureOptions
func (*AppConfigurationV1) NewGetGitconfigOptions ¶ added in v0.3.0
func (*AppConfigurationV1) NewGetGitconfigOptions(gitConfigID string) *GetGitconfigOptions
NewGetGitconfigOptions : Instantiate GetGitconfigOptions
func (*AppConfigurationV1) NewGetPropertyOptions ¶
func (*AppConfigurationV1) NewGetPropertyOptions(environmentID string, propertyID string) *GetPropertyOptions
NewGetPropertyOptions : Instantiate GetPropertyOptions
func (*AppConfigurationV1) NewGetSegmentOptions ¶
func (*AppConfigurationV1) NewGetSegmentOptions(segmentID string) *GetSegmentOptions
NewGetSegmentOptions : Instantiate GetSegmentOptions
func (*AppConfigurationV1) NewImportCollectionSchema ¶ added in v0.4.1
func (*AppConfigurationV1) NewImportCollectionSchema(collectionID string, name string) (_model *ImportCollectionSchema, err error)
NewImportCollectionSchema : Instantiate ImportCollectionSchema (Generic Model Constructor)
func (*AppConfigurationV1) NewImportConfigOptions ¶ added in v0.4.0
func (*AppConfigurationV1) NewImportConfigOptions() *ImportConfigOptions
NewImportConfigOptions : Instantiate ImportConfigOptions
func (*AppConfigurationV1) NewImportEnvironmentSchema ¶ added in v0.4.1
func (*AppConfigurationV1) NewImportEnvironmentSchema(name string, environmentID string) (_model *ImportEnvironmentSchema, err error)
NewImportEnvironmentSchema : Instantiate ImportEnvironmentSchema (Generic Model Constructor)
func (*AppConfigurationV1) NewImportFeatureRequestBody ¶ added in v0.4.0
func (*AppConfigurationV1) NewImportFeatureRequestBody(name string, featureID string, typeVar string, enabledValue interface{}, disabledValue interface{}, isOverridden bool) (_model *ImportFeatureRequestBody, err error)
NewImportFeatureRequestBody : Instantiate ImportFeatureRequestBody (Generic Model Constructor)
func (*AppConfigurationV1) NewImportPropertyRequestBody ¶ added in v0.4.0
func (*AppConfigurationV1) NewImportPropertyRequestBody(name string, propertyID string, typeVar string, value interface{}, isOverridden bool) (_model *ImportPropertyRequestBody, err error)
NewImportPropertyRequestBody : Instantiate ImportPropertyRequestBody (Generic Model Constructor)
func (*AppConfigurationV1) NewImportSegmentSchema ¶ added in v0.4.0
func (*AppConfigurationV1) NewImportSegmentSchema(name string, segmentID string, rules []Rule) (_model *ImportSegmentSchema, err error)
NewImportSegmentSchema : Instantiate ImportSegmentSchema (Generic Model Constructor)
func (*AppConfigurationV1) NewListCollectionsOptions ¶
func (*AppConfigurationV1) NewListCollectionsOptions() *ListCollectionsOptions
NewListCollectionsOptions : Instantiate ListCollectionsOptions
func (*AppConfigurationV1) NewListEnvironmentsOptions ¶
func (*AppConfigurationV1) NewListEnvironmentsOptions() *ListEnvironmentsOptions
NewListEnvironmentsOptions : Instantiate ListEnvironmentsOptions
func (*AppConfigurationV1) NewListFeaturesOptions ¶
func (*AppConfigurationV1) NewListFeaturesOptions(environmentID string) *ListFeaturesOptions
NewListFeaturesOptions : Instantiate ListFeaturesOptions
func (*AppConfigurationV1) NewListInstanceConfigOptions ¶ added in v0.4.0
func (*AppConfigurationV1) NewListInstanceConfigOptions() *ListInstanceConfigOptions
NewListInstanceConfigOptions : Instantiate ListInstanceConfigOptions
func (*AppConfigurationV1) NewListOriginconfigsOptions ¶ added in v0.3.2
func (*AppConfigurationV1) NewListOriginconfigsOptions() *ListOriginconfigsOptions
NewListOriginconfigsOptions : Instantiate ListOriginconfigsOptions
func (*AppConfigurationV1) NewListPropertiesOptions ¶
func (*AppConfigurationV1) NewListPropertiesOptions(environmentID string) *ListPropertiesOptions
NewListPropertiesOptions : Instantiate ListPropertiesOptions
func (*AppConfigurationV1) NewListSegmentsOptions ¶
func (*AppConfigurationV1) NewListSegmentsOptions() *ListSegmentsOptions
NewListSegmentsOptions : Instantiate ListSegmentsOptions
func (*AppConfigurationV1) NewListSnapshotsOptions ¶ added in v0.3.0
func (*AppConfigurationV1) NewListSnapshotsOptions() *ListSnapshotsOptions
NewListSnapshotsOptions : Instantiate ListSnapshotsOptions
func (*AppConfigurationV1) NewListWorkflowconfigOptions ¶ added in v0.4.0
func (*AppConfigurationV1) NewListWorkflowconfigOptions(environmentID string) *ListWorkflowconfigOptions
NewListWorkflowconfigOptions : Instantiate ListWorkflowconfigOptions
func (*AppConfigurationV1) NewPromoteGitconfigOptions ¶ added in v0.3.0
func (*AppConfigurationV1) NewPromoteGitconfigOptions(gitConfigID string) *PromoteGitconfigOptions
NewPromoteGitconfigOptions : Instantiate PromoteGitconfigOptions
func (*AppConfigurationV1) NewPromoteRestoreConfigOptions ¶ added in v0.4.0
func (*AppConfigurationV1) NewPromoteRestoreConfigOptions(gitConfigID string, action string) *PromoteRestoreConfigOptions
NewPromoteRestoreConfigOptions : Instantiate PromoteRestoreConfigOptions
func (*AppConfigurationV1) NewPropertiesPager ¶ added in v0.3.1
func (appConfiguration *AppConfigurationV1) NewPropertiesPager(options *ListPropertiesOptions) (pager *PropertiesPager, err error)
NewPropertiesPager returns a new PropertiesPager instance.
func (*AppConfigurationV1) NewProperty ¶
func (*AppConfigurationV1) NewProperty(name string, propertyID string, typeVar string, value interface{}) (_model *Property, err error)
NewProperty : Instantiate Property (Generic Model Constructor)
func (*AppConfigurationV1) NewPropertyOutput ¶
func (*AppConfigurationV1) NewPropertyOutput(propertyID string, name string) (_model *PropertyOutput, err error)
NewPropertyOutput : Instantiate PropertyOutput (Generic Model Constructor)
func (*AppConfigurationV1) NewRestoreGitconfigOptions ¶ added in v0.3.2
func (*AppConfigurationV1) NewRestoreGitconfigOptions(gitConfigID string) *RestoreGitconfigOptions
NewRestoreGitconfigOptions : Instantiate RestoreGitconfigOptions
func (*AppConfigurationV1) NewRule ¶
func (*AppConfigurationV1) NewRule(attributeName string, operator string, values []string) (_model *Rule, err error)
NewRule : Instantiate Rule (Generic Model Constructor)
func (*AppConfigurationV1) NewSegment ¶
func (*AppConfigurationV1) NewSegment(name string, segmentID string, rules []Rule) (_model *Segment, err error)
NewSegment : Instantiate Segment (Generic Model Constructor)
func (*AppConfigurationV1) NewSegmentRule ¶
func (*AppConfigurationV1) NewSegmentRule(rules []TargetSegments, value interface{}, order int64) (_model *SegmentRule, err error)
NewSegmentRule : Instantiate SegmentRule (Generic Model Constructor)
func (*AppConfigurationV1) NewSegmentsPager ¶ added in v0.3.1
func (appConfiguration *AppConfigurationV1) NewSegmentsPager(options *ListSegmentsOptions) (pager *SegmentsPager, err error)
NewSegmentsPager returns a new SegmentsPager instance.
func (*AppConfigurationV1) NewSnapshotOutput ¶ added in v0.3.1
func (*AppConfigurationV1) NewSnapshotOutput(gitConfigID string, name string) (_model *SnapshotOutput, err error)
NewSnapshotOutput : Instantiate SnapshotOutput (Generic Model Constructor)
func (*AppConfigurationV1) NewSnapshotsPager ¶ added in v0.3.1
func (appConfiguration *AppConfigurationV1) NewSnapshotsPager(options *ListSnapshotsOptions) (pager *SnapshotsPager, err error)
NewSnapshotsPager returns a new SnapshotsPager instance.
func (*AppConfigurationV1) NewTargetSegments ¶
func (*AppConfigurationV1) NewTargetSegments(segments []string) (_model *TargetSegments, err error)
NewTargetSegments : Instantiate TargetSegments (Generic Model Constructor)
func (*AppConfigurationV1) NewToggleFeatureOptions ¶
func (*AppConfigurationV1) NewToggleFeatureOptions(environmentID string, featureID string, enabled bool) *ToggleFeatureOptions
NewToggleFeatureOptions : Instantiate ToggleFeatureOptions
func (*AppConfigurationV1) NewUpdateCollectionOptions ¶
func (*AppConfigurationV1) NewUpdateCollectionOptions(collectionID string) *UpdateCollectionOptions
NewUpdateCollectionOptions : Instantiate UpdateCollectionOptions
func (*AppConfigurationV1) NewUpdateEnvironmentOptions ¶
func (*AppConfigurationV1) NewUpdateEnvironmentOptions(environmentID string) *UpdateEnvironmentOptions
NewUpdateEnvironmentOptions : Instantiate UpdateEnvironmentOptions
func (*AppConfigurationV1) NewUpdateFeatureOptions ¶
func (*AppConfigurationV1) NewUpdateFeatureOptions(environmentID string, featureID string) *UpdateFeatureOptions
NewUpdateFeatureOptions : Instantiate UpdateFeatureOptions
func (*AppConfigurationV1) NewUpdateFeatureValuesOptions ¶
func (*AppConfigurationV1) NewUpdateFeatureValuesOptions(environmentID string, featureID string) *UpdateFeatureValuesOptions
NewUpdateFeatureValuesOptions : Instantiate UpdateFeatureValuesOptions
func (*AppConfigurationV1) NewUpdateGitconfigOptions ¶ added in v0.3.0
func (*AppConfigurationV1) NewUpdateGitconfigOptions(gitConfigID string) *UpdateGitconfigOptions
NewUpdateGitconfigOptions : Instantiate UpdateGitconfigOptions
func (*AppConfigurationV1) NewUpdateOriginconfigsOptions ¶ added in v0.3.2
func (*AppConfigurationV1) NewUpdateOriginconfigsOptions(allowedOrigins []string) *UpdateOriginconfigsOptions
NewUpdateOriginconfigsOptions : Instantiate UpdateOriginconfigsOptions
func (*AppConfigurationV1) NewUpdatePropertyOptions ¶
func (*AppConfigurationV1) NewUpdatePropertyOptions(environmentID string, propertyID string) *UpdatePropertyOptions
NewUpdatePropertyOptions : Instantiate UpdatePropertyOptions
func (*AppConfigurationV1) NewUpdatePropertyValuesOptions ¶
func (*AppConfigurationV1) NewUpdatePropertyValuesOptions(environmentID string, propertyID string) *UpdatePropertyValuesOptions
NewUpdatePropertyValuesOptions : Instantiate UpdatePropertyValuesOptions
func (*AppConfigurationV1) NewUpdateSegmentOptions ¶
func (*AppConfigurationV1) NewUpdateSegmentOptions(segmentID string) *UpdateSegmentOptions
NewUpdateSegmentOptions : Instantiate UpdateSegmentOptions
func (*AppConfigurationV1) NewUpdateWorkflowconfigOptions ¶ added in v0.4.0
func (*AppConfigurationV1) NewUpdateWorkflowconfigOptions(environmentID string, updateWorkflowConfig UpdateWorkflowconfigRequestIntf) *UpdateWorkflowconfigOptions
NewUpdateWorkflowconfigOptions : Instantiate UpdateWorkflowconfigOptions
func (*AppConfigurationV1) NewWorkflowCredentials ¶ added in v0.4.1
func (*AppConfigurationV1) NewWorkflowCredentials(username string, password string, clientID string, clientSecret string) (_model *WorkflowCredentials, err error)
NewWorkflowCredentials : Instantiate WorkflowCredentials (Generic Model Constructor)
func (*AppConfigurationV1) PromoteGitconfig ¶ added in v0.3.0
func (appConfiguration *AppConfigurationV1) PromoteGitconfig(promoteGitconfigOptions *PromoteGitconfigOptions) (result *GitConfigPromote, response *core.DetailedResponse, err error)
PromoteGitconfig : Promote configuration Promote configuration, this api will write or update your chosen configuration to the GitHub based on the git url, file path and branch data. In simple words this api will create or updates the bootstrap json file. Deprecated: this method is deprecated and may be removed in a future release.
func (*AppConfigurationV1) PromoteGitconfigWithContext ¶ added in v0.3.0
func (appConfiguration *AppConfigurationV1) PromoteGitconfigWithContext(ctx context.Context, promoteGitconfigOptions *PromoteGitconfigOptions) (result *GitConfigPromote, response *core.DetailedResponse, err error)
PromoteGitconfigWithContext is an alternate form of the PromoteGitconfig method which supports a Context parameter Deprecated: this method is deprecated and may be removed in a future release.
func (*AppConfigurationV1) PromoteRestoreConfig ¶ added in v0.4.0
func (appConfiguration *AppConfigurationV1) PromoteRestoreConfig(promoteRestoreConfigOptions *PromoteRestoreConfigOptions) (result ConfigActionIntf, response *core.DetailedResponse, err error)
PromoteRestoreConfig : Promote or Restore snapshot configuration This api will either promote or restore your chosen configuration from or to the GitHub based on the git url, file path and branch data.
func (*AppConfigurationV1) PromoteRestoreConfigWithContext ¶ added in v0.4.0
func (appConfiguration *AppConfigurationV1) PromoteRestoreConfigWithContext(ctx context.Context, promoteRestoreConfigOptions *PromoteRestoreConfigOptions) (result ConfigActionIntf, response *core.DetailedResponse, err error)
PromoteRestoreConfigWithContext is an alternate form of the PromoteRestoreConfig method which supports a Context parameter
func (*AppConfigurationV1) RestoreGitconfig ¶ added in v0.3.2
func (appConfiguration *AppConfigurationV1) RestoreGitconfig(restoreGitconfigOptions *RestoreGitconfigOptions) (result *GitConfigRestore, response *core.DetailedResponse, err error)
RestoreGitconfig : Restore configuration Restore configuration, this api will write or update your chosen configuration from the GitHub to App configuration instance. The api will read the contents in the json file that was created using promote API and recreate or updates the App configuration instance with the file contents like properties, features and segments. Deprecated: this method is deprecated and may be removed in a future release.
func (*AppConfigurationV1) RestoreGitconfigWithContext ¶ added in v0.3.2
func (appConfiguration *AppConfigurationV1) RestoreGitconfigWithContext(ctx context.Context, restoreGitconfigOptions *RestoreGitconfigOptions) (result *GitConfigRestore, response *core.DetailedResponse, err error)
RestoreGitconfigWithContext is an alternate form of the RestoreGitconfig method which supports a Context parameter Deprecated: this method is deprecated and may be removed in a future release.
func (*AppConfigurationV1) SetDefaultHeaders ¶
func (appConfiguration *AppConfigurationV1) SetDefaultHeaders(headers http.Header)
SetDefaultHeaders sets HTTP headers to be sent in every request
func (*AppConfigurationV1) SetEnableGzipCompression ¶
func (appConfiguration *AppConfigurationV1) SetEnableGzipCompression(enableGzip bool)
SetEnableGzipCompression sets the service's EnableGzipCompression field
func (*AppConfigurationV1) SetServiceURL ¶
func (appConfiguration *AppConfigurationV1) SetServiceURL(url string) error
SetServiceURL sets the service URL
func (*AppConfigurationV1) ToggleFeature ¶
func (appConfiguration *AppConfigurationV1) ToggleFeature(toggleFeatureOptions *ToggleFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
ToggleFeature : Toggle Feature Toggle a feature.
func (*AppConfigurationV1) ToggleFeatureWithContext ¶
func (appConfiguration *AppConfigurationV1) ToggleFeatureWithContext(ctx context.Context, toggleFeatureOptions *ToggleFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
ToggleFeatureWithContext is an alternate form of the ToggleFeature method which supports a Context parameter
func (*AppConfigurationV1) UpdateCollection ¶
func (appConfiguration *AppConfigurationV1) UpdateCollection(updateCollectionOptions *UpdateCollectionOptions) (result *CollectionLite, response *core.DetailedResponse, err error)
UpdateCollection : Update Collection Update the collection name, tags and description. Collection Id cannot be updated.
func (*AppConfigurationV1) UpdateCollectionWithContext ¶
func (appConfiguration *AppConfigurationV1) UpdateCollectionWithContext(ctx context.Context, updateCollectionOptions *UpdateCollectionOptions) (result *CollectionLite, response *core.DetailedResponse, err error)
UpdateCollectionWithContext is an alternate form of the UpdateCollection method which supports a Context parameter
func (*AppConfigurationV1) UpdateEnvironment ¶
func (appConfiguration *AppConfigurationV1) UpdateEnvironment(updateEnvironmentOptions *UpdateEnvironmentOptions) (result *Environment, response *core.DetailedResponse, err error)
UpdateEnvironment : Update Environment Update an environment.
func (*AppConfigurationV1) UpdateEnvironmentWithContext ¶
func (appConfiguration *AppConfigurationV1) UpdateEnvironmentWithContext(ctx context.Context, updateEnvironmentOptions *UpdateEnvironmentOptions) (result *Environment, response *core.DetailedResponse, err error)
UpdateEnvironmentWithContext is an alternate form of the UpdateEnvironment method which supports a Context parameter
func (*AppConfigurationV1) UpdateFeature ¶
func (appConfiguration *AppConfigurationV1) UpdateFeature(updateFeatureOptions *UpdateFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
UpdateFeature : Update Feature Update a feature flag details.
func (*AppConfigurationV1) UpdateFeatureValues ¶
func (appConfiguration *AppConfigurationV1) UpdateFeatureValues(updateFeatureValuesOptions *UpdateFeatureValuesOptions) (result *Feature, response *core.DetailedResponse, err error)
UpdateFeatureValues : Update Feature Values Update the feature values. This method can be executed only by the `writer` role. This method allows the update of feature name, feature enabled_value, feature disabled_value, tags, description and feature segment rules, however this method does not allow toggling the feature flag and assigning feature to a collection.
func (*AppConfigurationV1) UpdateFeatureValuesWithContext ¶
func (appConfiguration *AppConfigurationV1) UpdateFeatureValuesWithContext(ctx context.Context, updateFeatureValuesOptions *UpdateFeatureValuesOptions) (result *Feature, response *core.DetailedResponse, err error)
UpdateFeatureValuesWithContext is an alternate form of the UpdateFeatureValues method which supports a Context parameter
func (*AppConfigurationV1) UpdateFeatureWithContext ¶
func (appConfiguration *AppConfigurationV1) UpdateFeatureWithContext(ctx context.Context, updateFeatureOptions *UpdateFeatureOptions) (result *Feature, response *core.DetailedResponse, err error)
UpdateFeatureWithContext is an alternate form of the UpdateFeature method which supports a Context parameter
func (*AppConfigurationV1) UpdateGitconfig ¶ added in v0.3.0
func (appConfiguration *AppConfigurationV1) UpdateGitconfig(updateGitconfigOptions *UpdateGitconfigOptions) (result *GitConfig, response *core.DetailedResponse, err error)
UpdateGitconfig : Update Git Config Update the gitconfig properties.
func (*AppConfigurationV1) UpdateGitconfigWithContext ¶ added in v0.3.0
func (appConfiguration *AppConfigurationV1) UpdateGitconfigWithContext(ctx context.Context, updateGitconfigOptions *UpdateGitconfigOptions) (result *GitConfig, response *core.DetailedResponse, err error)
UpdateGitconfigWithContext is an alternate form of the UpdateGitconfig method which supports a Context parameter
func (*AppConfigurationV1) UpdateOriginconfigs ¶ added in v0.3.2
func (appConfiguration *AppConfigurationV1) UpdateOriginconfigs(updateOriginconfigsOptions *UpdateOriginconfigsOptions) (result *OriginConfigList, response *core.DetailedResponse, err error)
UpdateOriginconfigs : Update Origin Configs Update the Origin Configs.
func (*AppConfigurationV1) UpdateOriginconfigsWithContext ¶ added in v0.3.2
func (appConfiguration *AppConfigurationV1) UpdateOriginconfigsWithContext(ctx context.Context, updateOriginconfigsOptions *UpdateOriginconfigsOptions) (result *OriginConfigList, response *core.DetailedResponse, err error)
UpdateOriginconfigsWithContext is an alternate form of the UpdateOriginconfigs method which supports a Context parameter
func (*AppConfigurationV1) UpdateProperty ¶
func (appConfiguration *AppConfigurationV1) UpdateProperty(updatePropertyOptions *UpdatePropertyOptions) (result *Property, response *core.DetailedResponse, err error)
UpdateProperty : Update Property Update a Property.
func (*AppConfigurationV1) UpdatePropertyValues ¶
func (appConfiguration *AppConfigurationV1) UpdatePropertyValues(updatePropertyValuesOptions *UpdatePropertyValuesOptions) (result *Property, response *core.DetailedResponse, err error)
UpdatePropertyValues : Update Property values Update the property values. This method can be executed by the `writer` role. Property value and targeting rules can be updated, however this method does not allow assigning property to a collection.
func (*AppConfigurationV1) UpdatePropertyValuesWithContext ¶
func (appConfiguration *AppConfigurationV1) UpdatePropertyValuesWithContext(ctx context.Context, updatePropertyValuesOptions *UpdatePropertyValuesOptions) (result *Property, response *core.DetailedResponse, err error)
UpdatePropertyValuesWithContext is an alternate form of the UpdatePropertyValues method which supports a Context parameter
func (*AppConfigurationV1) UpdatePropertyWithContext ¶
func (appConfiguration *AppConfigurationV1) UpdatePropertyWithContext(ctx context.Context, updatePropertyOptions *UpdatePropertyOptions) (result *Property, response *core.DetailedResponse, err error)
UpdatePropertyWithContext is an alternate form of the UpdateProperty method which supports a Context parameter
func (*AppConfigurationV1) UpdateSegment ¶
func (appConfiguration *AppConfigurationV1) UpdateSegment(updateSegmentOptions *UpdateSegmentOptions) (result *Segment, response *core.DetailedResponse, err error)
UpdateSegment : Update Segment Update the segment properties.
func (*AppConfigurationV1) UpdateSegmentWithContext ¶
func (appConfiguration *AppConfigurationV1) UpdateSegmentWithContext(ctx context.Context, updateSegmentOptions *UpdateSegmentOptions) (result *Segment, response *core.DetailedResponse, err error)
UpdateSegmentWithContext is an alternate form of the UpdateSegment method which supports a Context parameter
func (*AppConfigurationV1) UpdateWorkflowconfig ¶ added in v0.4.0
func (appConfiguration *AppConfigurationV1) UpdateWorkflowconfig(updateWorkflowconfigOptions *UpdateWorkflowconfigOptions) (result UpdateWorkflowconfigResponseIntf, response *core.DetailedResponse, err error)
UpdateWorkflowconfig : Update Workflow config Update a Workflow.
func (*AppConfigurationV1) UpdateWorkflowconfigWithContext ¶ added in v0.4.0
func (appConfiguration *AppConfigurationV1) UpdateWorkflowconfigWithContext(ctx context.Context, updateWorkflowconfigOptions *UpdateWorkflowconfigOptions) (result UpdateWorkflowconfigResponseIntf, response *core.DetailedResponse, err error)
UpdateWorkflowconfigWithContext is an alternate form of the UpdateWorkflowconfig method which supports a Context parameter
type AppConfigurationV1Options ¶
type AppConfigurationV1Options struct { ServiceName string URL string Authenticator core.Authenticator }
AppConfigurationV1Options : Service options
type Collection ¶
type Collection struct { // Collection name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Collection Id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. CollectionID *string `json:"collection_id" validate:"required"` // Collection description. Description *string `json:"description,omitempty"` // Tags associated with the collection. Tags *string `json:"tags,omitempty"` // Creation time of the collection. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last updated time of the collection data. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Collection URL. Href *string `json:"href,omitempty"` // List of Features associated with the collection. Features []FeatureOutput `json:"features,omitempty"` // List of properties associated with the collection. Properties []PropertyOutput `json:"properties,omitempty"` // List of snapshots associated with the collection. Snapshots []SnapshotOutput `json:"snapshots,omitempty"` // Number of features associated with the collection. FeaturesCount *int64 `json:"features_count,omitempty"` // Number of properties associated with the collection. PropertiesCount *int64 `json:"properties_count,omitempty"` // Number of snapshot associated with the collection. SnapshotCount *int64 `json:"snapshot_count,omitempty"` }
Collection : Details of the collection.
type CollectionList ¶
type CollectionList struct { // Array of collections. Collections []Collection `json:"collections" validate:"required"` // The number of records that are retrieved in a list. Limit *int64 `json:"limit" validate:"required"` // The number of records that are skipped in a list. Offset *int64 `json:"offset" validate:"required"` // The total number of records. TotalCount *int64 `json:"total_count" validate:"required"` // URL to navigate to the first page of records. First *PaginatedListFirst `json:"first" validate:"required"` // URL to navigate to the previous list of records. Previous *PaginatedListPrevious `json:"previous,omitempty"` // URL to navigate to the next list of records. Next *PaginatedListNext `json:"next,omitempty"` // URL to navigate to the last page of records. Last *PaginatedListLast `json:"last" validate:"required"` }
CollectionList : List of all Collections.
func (*CollectionList) GetNextOffset ¶ added in v0.2.0
func (resp *CollectionList) GetNextOffset() (*int64, error)
Retrieve the value to be passed to a request to access the next page of results
type CollectionLite ¶
type CollectionLite struct { // Collection name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Collection Id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. CollectionID *string `json:"collection_id" validate:"required"` // Collection description. Description *string `json:"description,omitempty"` // Tags associated with the collection. Tags *string `json:"tags,omitempty"` // Creation time of the collection. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last updated time of the collection data. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Collection URL. Href *string `json:"href,omitempty"` }
CollectionLite : Details of the collection.
type CollectionRef ¶
type CollectionRef struct { // Collection id. CollectionID *string `json:"collection_id" validate:"required"` // Name of the collection. Name *string `json:"name,omitempty"` }
CollectionRef : CollectionRef struct
type CollectionsPager ¶ added in v0.3.1
type CollectionsPager struct {
// contains filtered or unexported fields
}
CollectionsPager can be used to simplify the use of the "ListCollections" method.
func (*CollectionsPager) GetAll ¶ added in v0.3.1
func (pager *CollectionsPager) GetAll() (allItems []Collection, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*CollectionsPager) GetAllWithContext ¶ added in v0.3.1
func (pager *CollectionsPager) GetAllWithContext(ctx context.Context) (allItems []Collection, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*CollectionsPager) GetNext ¶ added in v0.3.1
func (pager *CollectionsPager) GetNext() (page []Collection, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*CollectionsPager) GetNextWithContext ¶ added in v0.3.1
func (pager *CollectionsPager) GetNextWithContext(ctx context.Context) (page []Collection, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*CollectionsPager) HasNext ¶ added in v0.3.1
func (pager *CollectionsPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type ConfigAction ¶ added in v0.4.1
type ConfigAction struct { // Git commit id will be given as part of the response upon successful git operation. GitCommitID *string `json:"git_commit_id,omitempty"` // Git commit message. GitCommitMessage *string `json:"git_commit_message,omitempty"` // Latest time when the snapshot was synced to git. LastSyncTime *strfmt.DateTime `json:"last_sync_time,omitempty"` // The environments array will contain the environment data and it will also contains properties array and features // array that belongs to that environment. Environments []ImportEnvironmentSchema `json:"environments,omitempty"` // Segments that belongs to the features or properties. Segments []ImportSegmentSchema `json:"segments,omitempty"` }
ConfigAction : ConfigAction struct Models which "extend" this model: - ConfigActionGitConfigPromote - ConfigActionGitConfigRestore
type ConfigActionGitConfigPromote ¶ added in v0.4.1
type ConfigActionGitConfigPromote struct { // Git commit id will be given as part of the response upon successful git operation. GitCommitID *string `json:"git_commit_id" validate:"required"` // Git commit message. GitCommitMessage *string `json:"git_commit_message" validate:"required"` // Latest time when the snapshot was synced to git. LastSyncTime *strfmt.DateTime `json:"last_sync_time,omitempty"` }
ConfigActionGitConfigPromote : Details of the promote operation. This model "extends" ConfigAction
type ConfigActionGitConfigRestore ¶ added in v0.4.1
type ConfigActionGitConfigRestore struct { // The environments array will contain the environment data and it will also contains properties array and features // array that belongs to that environment. Environments []ImportEnvironmentSchema `json:"environments" validate:"required"` // Segments that belongs to the features or properties. Segments []ImportSegmentSchema `json:"segments" validate:"required"` }
ConfigActionGitConfigRestore : Details of the restore operation. This model "extends" ConfigAction
type ConfigActionIntf ¶ added in v0.4.1
type ConfigActionIntf interface {
// contains filtered or unexported methods
}
type CreateCollectionOptions ¶
type CreateCollectionOptions struct { // Collection name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Collection Id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. CollectionID *string `json:"collection_id" validate:"required"` // Collection description. Description *string `json:"description,omitempty"` // Tags associated with the collection. Tags *string `json:"tags,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateCollectionOptions : The CreateCollection options.
func (*CreateCollectionOptions) SetCollectionID ¶
func (_options *CreateCollectionOptions) SetCollectionID(collectionID string) *CreateCollectionOptions
SetCollectionID : Allow user to set CollectionID
func (*CreateCollectionOptions) SetDescription ¶
func (_options *CreateCollectionOptions) SetDescription(description string) *CreateCollectionOptions
SetDescription : Allow user to set Description
func (*CreateCollectionOptions) SetHeaders ¶
func (options *CreateCollectionOptions) SetHeaders(param map[string]string) *CreateCollectionOptions
SetHeaders : Allow user to set Headers
func (*CreateCollectionOptions) SetName ¶
func (_options *CreateCollectionOptions) SetName(name string) *CreateCollectionOptions
SetName : Allow user to set Name
func (*CreateCollectionOptions) SetTags ¶
func (_options *CreateCollectionOptions) SetTags(tags string) *CreateCollectionOptions
SetTags : Allow user to set Tags
type CreateEnvironmentOptions ¶
type CreateEnvironmentOptions struct { // Environment name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Environment id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. EnvironmentID *string `json:"environment_id" validate:"required"` // Environment description. Description *string `json:"description,omitempty"` // Tags associated with the environment. Tags *string `json:"tags,omitempty"` // Color code to distinguish the environment. The Hex code for the color. For example `#FF0000` for `red`. ColorCode *string `json:"color_code,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateEnvironmentOptions : The CreateEnvironment options.
func (*CreateEnvironmentOptions) SetColorCode ¶
func (_options *CreateEnvironmentOptions) SetColorCode(colorCode string) *CreateEnvironmentOptions
SetColorCode : Allow user to set ColorCode
func (*CreateEnvironmentOptions) SetDescription ¶
func (_options *CreateEnvironmentOptions) SetDescription(description string) *CreateEnvironmentOptions
SetDescription : Allow user to set Description
func (*CreateEnvironmentOptions) SetEnvironmentID ¶
func (_options *CreateEnvironmentOptions) SetEnvironmentID(environmentID string) *CreateEnvironmentOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*CreateEnvironmentOptions) SetHeaders ¶
func (options *CreateEnvironmentOptions) SetHeaders(param map[string]string) *CreateEnvironmentOptions
SetHeaders : Allow user to set Headers
func (*CreateEnvironmentOptions) SetName ¶
func (_options *CreateEnvironmentOptions) SetName(name string) *CreateEnvironmentOptions
SetName : Allow user to set Name
func (*CreateEnvironmentOptions) SetTags ¶
func (_options *CreateEnvironmentOptions) SetTags(tags string) *CreateEnvironmentOptions
SetTags : Allow user to set Tags
type CreateFeatureOptions ¶
type CreateFeatureOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Feature name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Feature id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. FeatureID *string `json:"feature_id" validate:"required"` // Type of the feature (BOOLEAN, STRING, NUMERIC). If `type` is `STRING`, then `format` attribute is required. Type *string `json:"type" validate:"required"` // Value of the feature when it is enabled. The value can be Boolean, Numeric, String - TEXT, String - JSON, String - // YAML value as per the `type` and `format` attributes. EnabledValue interface{} `json:"enabled_value" validate:"required"` // Value of the feature when it is disabled. The value can be Boolean, Numeric, String - TEXT, String - JSON, String - // YAML value as per the `type` and `format` attributes. DisabledValue interface{} `json:"disabled_value" validate:"required"` // Feature description. Description *string `json:"description,omitempty"` // Format of the feature (TEXT, JSON, YAML) and it is a required attribute when `type` is `STRING`. It is not required // for `BOOLEAN` and `NUMERIC` types. This property is populated in the response body of `POST, PUT and GET` calls if // the type `STRING` is used and not populated for `BOOLEAN` and `NUMERIC` types. Format *string `json:"format,omitempty"` // The state of the feature flag. Enabled *bool `json:"enabled,omitempty"` // Rollout percentage associated with feature flag. Supported only for Lite and Enterprise plans. RolloutPercentage *int64 `json:"rollout_percentage,omitempty"` // Tags associated with the feature. Tags *string `json:"tags,omitempty"` // Specify the targeting rules that is used to set different feature flag values for different segments. SegmentRules []FeatureSegmentRule `json:"segment_rules,omitempty"` // List of collection id representing the collections that are associated with the specified feature flag. Collections []CollectionRef `json:"collections,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateFeatureOptions : The CreateFeature options.
func (*CreateFeatureOptions) SetCollections ¶
func (_options *CreateFeatureOptions) SetCollections(collections []CollectionRef) *CreateFeatureOptions
SetCollections : Allow user to set Collections
func (*CreateFeatureOptions) SetDescription ¶
func (_options *CreateFeatureOptions) SetDescription(description string) *CreateFeatureOptions
SetDescription : Allow user to set Description
func (*CreateFeatureOptions) SetDisabledValue ¶
func (_options *CreateFeatureOptions) SetDisabledValue(disabledValue interface{}) *CreateFeatureOptions
SetDisabledValue : Allow user to set DisabledValue
func (*CreateFeatureOptions) SetEnabled ¶
func (_options *CreateFeatureOptions) SetEnabled(enabled bool) *CreateFeatureOptions
SetEnabled : Allow user to set Enabled
func (*CreateFeatureOptions) SetEnabledValue ¶
func (_options *CreateFeatureOptions) SetEnabledValue(enabledValue interface{}) *CreateFeatureOptions
SetEnabledValue : Allow user to set EnabledValue
func (*CreateFeatureOptions) SetEnvironmentID ¶
func (_options *CreateFeatureOptions) SetEnvironmentID(environmentID string) *CreateFeatureOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*CreateFeatureOptions) SetFeatureID ¶
func (_options *CreateFeatureOptions) SetFeatureID(featureID string) *CreateFeatureOptions
SetFeatureID : Allow user to set FeatureID
func (*CreateFeatureOptions) SetFormat ¶ added in v0.2.0
func (_options *CreateFeatureOptions) SetFormat(format string) *CreateFeatureOptions
SetFormat : Allow user to set Format
func (*CreateFeatureOptions) SetHeaders ¶
func (options *CreateFeatureOptions) SetHeaders(param map[string]string) *CreateFeatureOptions
SetHeaders : Allow user to set Headers
func (*CreateFeatureOptions) SetName ¶
func (_options *CreateFeatureOptions) SetName(name string) *CreateFeatureOptions
SetName : Allow user to set Name
func (*CreateFeatureOptions) SetRolloutPercentage ¶ added in v0.2.3
func (_options *CreateFeatureOptions) SetRolloutPercentage(rolloutPercentage int64) *CreateFeatureOptions
SetRolloutPercentage : Allow user to set RolloutPercentage
func (*CreateFeatureOptions) SetSegmentRules ¶
func (_options *CreateFeatureOptions) SetSegmentRules(segmentRules []FeatureSegmentRule) *CreateFeatureOptions
SetSegmentRules : Allow user to set SegmentRules
func (*CreateFeatureOptions) SetTags ¶
func (_options *CreateFeatureOptions) SetTags(tags string) *CreateFeatureOptions
SetTags : Allow user to set Tags
func (*CreateFeatureOptions) SetType ¶
func (_options *CreateFeatureOptions) SetType(typeVar string) *CreateFeatureOptions
SetType : Allow user to set Type
type CreateGitConfigResponse ¶ added in v0.4.1
type CreateGitConfigResponse struct { // Git config name. GitConfigName *string `json:"git_config_name" validate:"required"` // Git config Id. GitConfigID *string `json:"git_config_id" validate:"required"` // Collection Id. CollectionID *string `json:"collection_id" validate:"required"` // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required"` // Git url which will be used to connect to the github account. GitURL *string `json:"git_url" validate:"required"` // Branch name to which you need to write or update the configuration. GitBranch *string `json:"git_branch" validate:"required"` // Git file path, this is a path where your configuration file will be written. GitFilePath *string `json:"git_file_path" validate:"required"` // Creation time of the git config. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the git config data. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Git config URL. Href *string `json:"href,omitempty"` }
CreateGitConfigResponse : Details of the created Git config.
type CreateGitconfigOptions ¶ added in v0.3.0
type CreateGitconfigOptions struct { // Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. GitConfigName *string `json:"git_config_name" validate:"required"` // Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. GitConfigID *string `json:"git_config_id" validate:"required"` // Collection Id. CollectionID *string `json:"collection_id" validate:"required"` // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required"` // Git url which will be used to connect to the github account. The url must be formed in this format, // https://api.github.com/repos/{owner}/{repo_name} for the personal git account. If you are using the organization // account then url must be in this format https://github.{organization_name}.com/api/v3/repos/{owner}/{repo_name} . // Note do not provide /(slash) in the beginning or at the end of the url. GitURL *string `json:"git_url" validate:"required"` // Branch name to which you need to write or update the configuration. Just provide the branch name, do not provide any // /(slashes) in the beginning or at the end of the branch name. Note make sure branch exists in your repository. GitBranch *string `json:"git_branch" validate:"required"` // Git file path, this is a path where your configuration file will be written. The path must contain the file name // with `json` extension. We only create or update `json` extension file. Note do not provide any /(slashes) in the // beginning or at the end of the file path. GitFilePath *string `json:"git_file_path" validate:"required"` // Git token, this needs to be provided with enough permission to write and update the file. GitToken *string `json:"git_token" validate:"required"` // Allows users to set headers on API requests Headers map[string]string }
CreateGitconfigOptions : The CreateGitconfig options.
func (*CreateGitconfigOptions) SetCollectionID ¶ added in v0.3.0
func (_options *CreateGitconfigOptions) SetCollectionID(collectionID string) *CreateGitconfigOptions
SetCollectionID : Allow user to set CollectionID
func (*CreateGitconfigOptions) SetEnvironmentID ¶ added in v0.3.0
func (_options *CreateGitconfigOptions) SetEnvironmentID(environmentID string) *CreateGitconfigOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*CreateGitconfigOptions) SetGitBranch ¶ added in v0.3.0
func (_options *CreateGitconfigOptions) SetGitBranch(gitBranch string) *CreateGitconfigOptions
SetGitBranch : Allow user to set GitBranch
func (*CreateGitconfigOptions) SetGitConfigID ¶ added in v0.3.0
func (_options *CreateGitconfigOptions) SetGitConfigID(gitConfigID string) *CreateGitconfigOptions
SetGitConfigID : Allow user to set GitConfigID
func (*CreateGitconfigOptions) SetGitConfigName ¶ added in v0.3.0
func (_options *CreateGitconfigOptions) SetGitConfigName(gitConfigName string) *CreateGitconfigOptions
SetGitConfigName : Allow user to set GitConfigName
func (*CreateGitconfigOptions) SetGitFilePath ¶ added in v0.3.0
func (_options *CreateGitconfigOptions) SetGitFilePath(gitFilePath string) *CreateGitconfigOptions
SetGitFilePath : Allow user to set GitFilePath
func (*CreateGitconfigOptions) SetGitToken ¶ added in v0.3.0
func (_options *CreateGitconfigOptions) SetGitToken(gitToken string) *CreateGitconfigOptions
SetGitToken : Allow user to set GitToken
func (*CreateGitconfigOptions) SetGitURL ¶ added in v0.3.0
func (_options *CreateGitconfigOptions) SetGitURL(gitURL string) *CreateGitconfigOptions
SetGitURL : Allow user to set GitURL
func (*CreateGitconfigOptions) SetHeaders ¶ added in v0.3.0
func (options *CreateGitconfigOptions) SetHeaders(param map[string]string) *CreateGitconfigOptions
SetHeaders : Allow user to set Headers
type CreatePropertyOptions ¶
type CreatePropertyOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Property name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Property id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. PropertyID *string `json:"property_id" validate:"required"` // Type of the property (BOOLEAN, STRING, NUMERIC, SECRETREF). If `type` is `STRING`, then `format` attribute is // required. Type *string `json:"type" validate:"required"` // Value of the Property. The value can be Boolean, Numeric, SecretRef, String - TEXT, String - JSON, String - YAML as // per the `type` and `format` attributes. Value interface{} `json:"value" validate:"required"` // Property description. Description *string `json:"description,omitempty"` // Format of the property (TEXT, JSON, YAML) and it is a required attribute when `type` is `STRING`. It is not required // for `BOOLEAN`, `NUMERIC` or `SECRETREF` types. This attribute is populated in the response body of `POST, PUT and // GET` calls if the type `STRING` is used and not populated for `BOOLEAN`, `NUMERIC` and `SECRETREF` types. Format *string `json:"format,omitempty"` // Tags associated with the property. Tags *string `json:"tags,omitempty"` // Specify the targeting rules that is used to set different property values for different segments. SegmentRules []SegmentRule `json:"segment_rules,omitempty"` // List of collection id representing the collections that are associated with the specified property. Collections []CollectionRef `json:"collections,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreatePropertyOptions : The CreateProperty options.
func (*CreatePropertyOptions) SetCollections ¶
func (_options *CreatePropertyOptions) SetCollections(collections []CollectionRef) *CreatePropertyOptions
SetCollections : Allow user to set Collections
func (*CreatePropertyOptions) SetDescription ¶
func (_options *CreatePropertyOptions) SetDescription(description string) *CreatePropertyOptions
SetDescription : Allow user to set Description
func (*CreatePropertyOptions) SetEnvironmentID ¶
func (_options *CreatePropertyOptions) SetEnvironmentID(environmentID string) *CreatePropertyOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*CreatePropertyOptions) SetFormat ¶ added in v0.2.0
func (_options *CreatePropertyOptions) SetFormat(format string) *CreatePropertyOptions
SetFormat : Allow user to set Format
func (*CreatePropertyOptions) SetHeaders ¶
func (options *CreatePropertyOptions) SetHeaders(param map[string]string) *CreatePropertyOptions
SetHeaders : Allow user to set Headers
func (*CreatePropertyOptions) SetName ¶
func (_options *CreatePropertyOptions) SetName(name string) *CreatePropertyOptions
SetName : Allow user to set Name
func (*CreatePropertyOptions) SetPropertyID ¶
func (_options *CreatePropertyOptions) SetPropertyID(propertyID string) *CreatePropertyOptions
SetPropertyID : Allow user to set PropertyID
func (*CreatePropertyOptions) SetSegmentRules ¶
func (_options *CreatePropertyOptions) SetSegmentRules(segmentRules []SegmentRule) *CreatePropertyOptions
SetSegmentRules : Allow user to set SegmentRules
func (*CreatePropertyOptions) SetTags ¶
func (_options *CreatePropertyOptions) SetTags(tags string) *CreatePropertyOptions
SetTags : Allow user to set Tags
func (*CreatePropertyOptions) SetType ¶
func (_options *CreatePropertyOptions) SetType(typeVar string) *CreatePropertyOptions
SetType : Allow user to set Type
func (*CreatePropertyOptions) SetValue ¶
func (_options *CreatePropertyOptions) SetValue(value interface{}) *CreatePropertyOptions
SetValue : Allow user to set Value
type CreateSegmentOptions ¶
type CreateSegmentOptions struct { // Segment name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Segment id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. SegmentID *string `json:"segment_id" validate:"required"` // List of rules that determine if the entity belongs to the segment during feature / property evaluation. An entity is // identified by an unique identifier and the attributes that it defines. Any feature flag and property value // evaluation is performed in the context of an entity when it is targeted to segments. Rules []Rule `json:"rules" validate:"required"` // Segment description. Description *string `json:"description,omitempty"` // Tags associated with the segments. Tags *string `json:"tags,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateSegmentOptions : The CreateSegment options.
func (*CreateSegmentOptions) SetDescription ¶
func (_options *CreateSegmentOptions) SetDescription(description string) *CreateSegmentOptions
SetDescription : Allow user to set Description
func (*CreateSegmentOptions) SetHeaders ¶
func (options *CreateSegmentOptions) SetHeaders(param map[string]string) *CreateSegmentOptions
SetHeaders : Allow user to set Headers
func (*CreateSegmentOptions) SetName ¶
func (_options *CreateSegmentOptions) SetName(name string) *CreateSegmentOptions
SetName : Allow user to set Name
func (*CreateSegmentOptions) SetRules ¶
func (_options *CreateSegmentOptions) SetRules(rules []Rule) *CreateSegmentOptions
SetRules : Allow user to set Rules
func (*CreateSegmentOptions) SetSegmentID ¶
func (_options *CreateSegmentOptions) SetSegmentID(segmentID string) *CreateSegmentOptions
SetSegmentID : Allow user to set SegmentID
func (*CreateSegmentOptions) SetTags ¶
func (_options *CreateSegmentOptions) SetTags(tags string) *CreateSegmentOptions
SetTags : Allow user to set Tags
type CreateWorkflowconfigOptions ¶ added in v0.4.0
type CreateWorkflowconfigOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // The request body to create a new external workflow config. WorkflowConfig CreateWorkflowconfigRequestIntf `json:"WorkflowConfig" validate:"required"` // Allows users to set headers on API requests Headers map[string]string }
CreateWorkflowconfigOptions : The CreateWorkflowconfig options.
func (*CreateWorkflowconfigOptions) SetEnvironmentID ¶ added in v0.4.0
func (_options *CreateWorkflowconfigOptions) SetEnvironmentID(environmentID string) *CreateWorkflowconfigOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*CreateWorkflowconfigOptions) SetHeaders ¶ added in v0.4.0
func (options *CreateWorkflowconfigOptions) SetHeaders(param map[string]string) *CreateWorkflowconfigOptions
SetHeaders : Allow user to set Headers
func (*CreateWorkflowconfigOptions) SetWorkflowConfig ¶ added in v0.4.3
func (_options *CreateWorkflowconfigOptions) SetWorkflowConfig(workflowConfig CreateWorkflowconfigRequestIntf) *CreateWorkflowconfigOptions
SetWorkflowConfig : Allow user to set WorkflowConfig
type CreateWorkflowconfigRequest ¶ added in v0.4.3
type CreateWorkflowconfigRequest struct { // Environment name of workflow config in which it is created. EnvironmentName *string `json:"environment_name,omitempty"` // Environment ID of workflow config in which it is created. EnvironmentID *string `json:"environment_id,omitempty"` // Only service now url https://xxxxx.service-now.com allowed, xxxxx is the service now instance id. WorkflowURL *string `json:"workflow_url,omitempty"` // Group name of personals who can approve the Change Request on your Service Now. It must be first registered in your // Service Now then it must be added here. ApprovalGroupName *string `json:"approval_group_name,omitempty"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration,omitempty"` // The credentials of the Service Now instance. WorkflowCredentials *WorkflowCredentials `json:"workflow_credentials,omitempty"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled,omitempty"` // Creation time of the workflow configs. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the workflow configs. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Workflow Config URL. Href *string `json:"href,omitempty"` // Only service crn will be allowed. Example: `crn:v1:staging:staging:appservice:us-south::::`. ServiceCrn *string `json:"service_crn,omitempty"` // Allowed value is `SERVICENOW_IBM` case-sensitive. WorkflowType *string `json:"workflow_type,omitempty"` // Only Secret Manager instance crn will be allowed. Example: // `crn:v1:staging:public:secrets-manager:eu-gb:a/3268cfe9e25d411122f9a731a:0a23274-92d0a-4d42-b1fa-d15b4293cd::`. SmInstanceCrn *string `json:"sm_instance_crn,omitempty"` // Provide the arbitary secret key id which holds the api key to interact with service now. This is required to perform // action on ServiceNow like Create CR or Close CR. SecretID *string `json:"secret_id,omitempty"` }
CreateWorkflowconfigRequest : CreateWorkflowconfigRequest struct Models which "extend" this model: - CreateWorkflowconfigRequestWorkflowConfig - CreateWorkflowconfigRequestIbmWorkflowConfig
type CreateWorkflowconfigRequestIbmWorkflowConfig ¶ added in v0.4.3
type CreateWorkflowconfigRequestIbmWorkflowConfig struct { // Environment name of workflow config in which it is created. EnvironmentName *string `json:"environment_name,omitempty"` // Environment ID of workflow config in which it is created. EnvironmentID *string `json:"environment_id,omitempty"` // Only service crn will be allowed. Example: `crn:v1:staging:staging:appservice:us-south::::`. ServiceCrn *string `json:"service_crn" validate:"required"` // Allowed value is `SERVICENOW_IBM` case-sensitive. WorkflowType *string `json:"workflow_type" validate:"required"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration" validate:"required"` // Only Secret Manager instance crn will be allowed. Example: // `crn:v1:staging:public:secrets-manager:eu-gb:a/3268cfe9e25d411122f9a731a:0a23274-92d0a-4d42-b1fa-d15b4293cd::`. SmInstanceCrn *string `json:"sm_instance_crn" validate:"required"` // Provide the arbitary secret key id which holds the api key to interact with service now. This is required to perform // action on ServiceNow like Create CR or Close CR. SecretID *string `json:"secret_id" validate:"required"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled" validate:"required"` // Creation time of the workflow configs. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the workflow configs. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Workflow Config URL. Href *string `json:"href,omitempty"` }
CreateWorkflowconfigRequestIbmWorkflowConfig : Details of the IBM Workflow configuration. This model "extends" CreateWorkflowconfigRequest
type CreateWorkflowconfigRequestIntf ¶ added in v0.4.3
type CreateWorkflowconfigRequestIntf interface {
// contains filtered or unexported methods
}
type CreateWorkflowconfigRequestWorkflowConfig ¶ added in v0.4.3
type CreateWorkflowconfigRequestWorkflowConfig struct { // Environment name of workflow config in which it is created. EnvironmentName *string `json:"environment_name,omitempty"` // Environment ID of workflow config in which it is created. EnvironmentID *string `json:"environment_id,omitempty"` // Only service now url https://xxxxx.service-now.com allowed, xxxxx is the service now instance id. WorkflowURL *string `json:"workflow_url" validate:"required"` // Group name of personals who can approve the Change Request on your Service Now. It must be first registered in your // Service Now then it must be added here. ApprovalGroupName *string `json:"approval_group_name" validate:"required"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration" validate:"required"` // The credentials of the Service Now instance. WorkflowCredentials *WorkflowCredentials `json:"workflow_credentials" validate:"required"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled" validate:"required"` // Creation time of the workflow configs. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the workflow configs. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Workflow Config URL. Href *string `json:"href,omitempty"` }
CreateWorkflowconfigRequestWorkflowConfig : Details of the External Workflow configuration. This model "extends" CreateWorkflowconfigRequest
type CreateWorkflowconfigResponse ¶ added in v0.4.3
type CreateWorkflowconfigResponse struct { // Environment name of workflow config in which it is created. EnvironmentName *string `json:"environment_name,omitempty"` // Environment ID of workflow config in which it is created. EnvironmentID *string `json:"environment_id,omitempty"` // Only service now url https://xxxxx.service-now.com allowed, xxxxx is the service now instance id. WorkflowURL *string `json:"workflow_url,omitempty"` // Group name of personals who can approve the Change Request on your Service Now. It must be first registered in your // Service Now then it must be added here. ApprovalGroupName *string `json:"approval_group_name,omitempty"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration,omitempty"` // The credentials of the Service Now instance. WorkflowCredentials *WorkflowCredentials `json:"workflow_credentials,omitempty"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled,omitempty"` // Creation time of the workflow configs. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the workflow configs. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Workflow Config URL. Href *string `json:"href,omitempty"` // Only service crn will be allowed. Example: `crn:v1:staging:staging:appservice:us-south::::`. ServiceCrn *string `json:"service_crn,omitempty"` // Allowed value is `SERVICENOW_IBM` case-sensitive. WorkflowType *string `json:"workflow_type,omitempty"` // Only Secret Manager instance crn will be allowed. Example: // `crn:v1:staging:public:secrets-manager:eu-gb:a/3268cfe9e25d411122f9a731a:0a23274-92d0a-4d42-b1fa-d15b4293cd::`. SmInstanceCrn *string `json:"sm_instance_crn,omitempty"` // Provide the arbitary secret key id which holds the api key to interact with service now. This is required to perform // action on ServiceNow like Create CR or Close CR. SecretID *string `json:"secret_id,omitempty"` }
CreateWorkflowconfigResponse : CreateWorkflowconfigResponse struct Models which "extend" this model: - CreateWorkflowconfigResponseWorkflowConfig - CreateWorkflowconfigResponseIbmWorkflowConfig
type CreateWorkflowconfigResponseIbmWorkflowConfig ¶ added in v0.4.3
type CreateWorkflowconfigResponseIbmWorkflowConfig struct { // Environment name of workflow config in which it is created. EnvironmentName *string `json:"environment_name,omitempty"` // Environment ID of workflow config in which it is created. EnvironmentID *string `json:"environment_id,omitempty"` // Only service crn will be allowed. Example: `crn:v1:staging:staging:appservice:us-south::::`. ServiceCrn *string `json:"service_crn" validate:"required"` // Allowed value is `SERVICENOW_IBM` case-sensitive. WorkflowType *string `json:"workflow_type" validate:"required"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration" validate:"required"` // Only Secret Manager instance crn will be allowed. Example: // `crn:v1:staging:public:secrets-manager:eu-gb:a/3268cfe9e25d411122f9a731a:0a23274-92d0a-4d42-b1fa-d15b4293cd::`. SmInstanceCrn *string `json:"sm_instance_crn" validate:"required"` // Provide the arbitary secret key id which holds the api key to interact with service now. This is required to perform // action on ServiceNow like Create CR or Close CR. SecretID *string `json:"secret_id" validate:"required"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled" validate:"required"` // Creation time of the workflow configs. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the workflow configs. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Workflow Config URL. Href *string `json:"href,omitempty"` }
CreateWorkflowconfigResponseIbmWorkflowConfig : Details of the IBM Workflow configuration. This model "extends" CreateWorkflowconfigResponse
type CreateWorkflowconfigResponseIntf ¶ added in v0.4.3
type CreateWorkflowconfigResponseIntf interface {
// contains filtered or unexported methods
}
type CreateWorkflowconfigResponseWorkflowConfig ¶ added in v0.4.3
type CreateWorkflowconfigResponseWorkflowConfig struct { // Environment name of workflow config in which it is created. EnvironmentName *string `json:"environment_name,omitempty"` // Environment ID of workflow config in which it is created. EnvironmentID *string `json:"environment_id,omitempty"` // Only service now url https://xxxxx.service-now.com allowed, xxxxx is the service now instance id. WorkflowURL *string `json:"workflow_url" validate:"required"` // Group name of personals who can approve the Change Request on your Service Now. It must be first registered in your // Service Now then it must be added here. ApprovalGroupName *string `json:"approval_group_name" validate:"required"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration" validate:"required"` // The credentials of the Service Now instance. WorkflowCredentials *WorkflowCredentials `json:"workflow_credentials" validate:"required"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled" validate:"required"` // Creation time of the workflow configs. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the workflow configs. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Workflow Config URL. Href *string `json:"href,omitempty"` }
CreateWorkflowconfigResponseWorkflowConfig : Details of the External Workflow configuration. This model "extends" CreateWorkflowconfigResponse
type DeleteCollectionOptions ¶
type DeleteCollectionOptions struct { // Collection Id of the collection. CollectionID *string `json:"collection_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteCollectionOptions : The DeleteCollection options.
func (*DeleteCollectionOptions) SetCollectionID ¶
func (_options *DeleteCollectionOptions) SetCollectionID(collectionID string) *DeleteCollectionOptions
SetCollectionID : Allow user to set CollectionID
func (*DeleteCollectionOptions) SetHeaders ¶
func (options *DeleteCollectionOptions) SetHeaders(param map[string]string) *DeleteCollectionOptions
SetHeaders : Allow user to set Headers
type DeleteEnvironmentOptions ¶
type DeleteEnvironmentOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteEnvironmentOptions : The DeleteEnvironment options.
func (*DeleteEnvironmentOptions) SetEnvironmentID ¶
func (_options *DeleteEnvironmentOptions) SetEnvironmentID(environmentID string) *DeleteEnvironmentOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*DeleteEnvironmentOptions) SetHeaders ¶
func (options *DeleteEnvironmentOptions) SetHeaders(param map[string]string) *DeleteEnvironmentOptions
SetHeaders : Allow user to set Headers
type DeleteFeatureOptions ¶
type DeleteFeatureOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Feature Id. FeatureID *string `json:"feature_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteFeatureOptions : The DeleteFeature options.
func (*DeleteFeatureOptions) SetEnvironmentID ¶
func (_options *DeleteFeatureOptions) SetEnvironmentID(environmentID string) *DeleteFeatureOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*DeleteFeatureOptions) SetFeatureID ¶
func (_options *DeleteFeatureOptions) SetFeatureID(featureID string) *DeleteFeatureOptions
SetFeatureID : Allow user to set FeatureID
func (*DeleteFeatureOptions) SetHeaders ¶
func (options *DeleteFeatureOptions) SetHeaders(param map[string]string) *DeleteFeatureOptions
SetHeaders : Allow user to set Headers
type DeleteGitconfigOptions ¶ added in v0.3.0
type DeleteGitconfigOptions struct { // Git Config Id. GitConfigID *string `json:"git_config_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteGitconfigOptions : The DeleteGitconfig options.
func (*DeleteGitconfigOptions) SetGitConfigID ¶ added in v0.3.0
func (_options *DeleteGitconfigOptions) SetGitConfigID(gitConfigID string) *DeleteGitconfigOptions
SetGitConfigID : Allow user to set GitConfigID
func (*DeleteGitconfigOptions) SetHeaders ¶ added in v0.3.0
func (options *DeleteGitconfigOptions) SetHeaders(param map[string]string) *DeleteGitconfigOptions
SetHeaders : Allow user to set Headers
type DeletePropertyOptions ¶
type DeletePropertyOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Property Id. PropertyID *string `json:"property_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeletePropertyOptions : The DeleteProperty options.
func (*DeletePropertyOptions) SetEnvironmentID ¶
func (_options *DeletePropertyOptions) SetEnvironmentID(environmentID string) *DeletePropertyOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*DeletePropertyOptions) SetHeaders ¶
func (options *DeletePropertyOptions) SetHeaders(param map[string]string) *DeletePropertyOptions
SetHeaders : Allow user to set Headers
func (*DeletePropertyOptions) SetPropertyID ¶
func (_options *DeletePropertyOptions) SetPropertyID(propertyID string) *DeletePropertyOptions
SetPropertyID : Allow user to set PropertyID
type DeleteSegmentOptions ¶
type DeleteSegmentOptions struct { // Segment Id. SegmentID *string `json:"segment_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteSegmentOptions : The DeleteSegment options.
func (*DeleteSegmentOptions) SetHeaders ¶
func (options *DeleteSegmentOptions) SetHeaders(param map[string]string) *DeleteSegmentOptions
SetHeaders : Allow user to set Headers
func (*DeleteSegmentOptions) SetSegmentID ¶
func (_options *DeleteSegmentOptions) SetSegmentID(segmentID string) *DeleteSegmentOptions
SetSegmentID : Allow user to set SegmentID
type DeleteWorkflowconfigOptions ¶ added in v0.4.0
type DeleteWorkflowconfigOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteWorkflowconfigOptions : The DeleteWorkflowconfig options.
func (*DeleteWorkflowconfigOptions) SetEnvironmentID ¶ added in v0.4.0
func (_options *DeleteWorkflowconfigOptions) SetEnvironmentID(environmentID string) *DeleteWorkflowconfigOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*DeleteWorkflowconfigOptions) SetHeaders ¶ added in v0.4.0
func (options *DeleteWorkflowconfigOptions) SetHeaders(param map[string]string) *DeleteWorkflowconfigOptions
SetHeaders : Allow user to set Headers
type Environment ¶
type Environment struct { // Environment name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Environment id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. EnvironmentID *string `json:"environment_id" validate:"required"` // Environment description. Description *string `json:"description,omitempty"` // Tags associated with the environment. Tags *string `json:"tags,omitempty"` // Color code to distinguish the environment. The Hex code for the color. For example `#FF0000` for `red`. ColorCode *string `json:"color_code,omitempty"` // Creation time of the environment. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the environment data. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Environment URL. Href *string `json:"href,omitempty"` // List of Features associated with the environment. Features []FeatureOutput `json:"features,omitempty"` // List of properties associated with the environment. Properties []PropertyOutput `json:"properties,omitempty"` // List of snapshots associated with the environment. Snapshots []SnapshotOutput `json:"snapshots,omitempty"` }
Environment : Details of the environment.
type EnvironmentList ¶
type EnvironmentList struct { // Array of environments. Environments []Environment `json:"environments" validate:"required"` // The number of records that are retrieved in a list. Limit *int64 `json:"limit" validate:"required"` // The number of records that are skipped in a list. Offset *int64 `json:"offset" validate:"required"` // The total number of records. TotalCount *int64 `json:"total_count" validate:"required"` // URL to navigate to the first page of records. First *PaginatedListFirst `json:"first" validate:"required"` // URL to navigate to the previous list of records. Previous *PaginatedListPrevious `json:"previous,omitempty"` // URL to navigate to the next list of records. Next *PaginatedListNext `json:"next,omitempty"` // URL to navigate to the last page of records. Last *PaginatedListLast `json:"last" validate:"required"` }
EnvironmentList : List of all environments.
func (*EnvironmentList) GetNextOffset ¶ added in v0.2.0
func (resp *EnvironmentList) GetNextOffset() (*int64, error)
Retrieve the value to be passed to a request to access the next page of results
type EnvironmentsPager ¶ added in v0.3.1
type EnvironmentsPager struct {
// contains filtered or unexported fields
}
EnvironmentsPager can be used to simplify the use of the "ListEnvironments" method.
func (*EnvironmentsPager) GetAll ¶ added in v0.3.1
func (pager *EnvironmentsPager) GetAll() (allItems []Environment, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*EnvironmentsPager) GetAllWithContext ¶ added in v0.3.1
func (pager *EnvironmentsPager) GetAllWithContext(ctx context.Context) (allItems []Environment, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*EnvironmentsPager) GetNext ¶ added in v0.3.1
func (pager *EnvironmentsPager) GetNext() (page []Environment, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*EnvironmentsPager) GetNextWithContext ¶ added in v0.3.1
func (pager *EnvironmentsPager) GetNextWithContext(ctx context.Context) (page []Environment, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*EnvironmentsPager) HasNext ¶ added in v0.3.1
func (pager *EnvironmentsPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type Feature ¶
type Feature struct { // Feature name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Feature id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. FeatureID *string `json:"feature_id" validate:"required"` // Feature description. Description *string `json:"description,omitempty"` // Type of the feature (BOOLEAN, STRING, NUMERIC). If `type` is `STRING`, then `format` attribute is required. Type *string `json:"type" validate:"required"` // Format of the feature (TEXT, JSON, YAML) and it is a required attribute when `type` is `STRING`. It is not required // for `BOOLEAN` and `NUMERIC` types. This property is populated in the response body of `POST, PUT and GET` calls if // the type `STRING` is used and not populated for `BOOLEAN` and `NUMERIC` types. Format *string `json:"format,omitempty"` // Value of the feature when it is enabled. The value can be Boolean, Numeric, String - TEXT, String - JSON, String - // YAML value as per the `type` and `format` attributes. EnabledValue interface{} `json:"enabled_value" validate:"required"` // Value of the feature when it is disabled. The value can be Boolean, Numeric, String - TEXT, String - JSON, String - // YAML value as per the `type` and `format` attributes. DisabledValue interface{} `json:"disabled_value" validate:"required"` // The state of the feature flag. Enabled *bool `json:"enabled,omitempty"` // Rollout percentage associated with feature flag. Supported only for Lite and Enterprise plans. RolloutPercentage *int64 `json:"rollout_percentage,omitempty"` // Tags associated with the feature. Tags *string `json:"tags,omitempty"` // Specify the targeting rules that is used to set different feature flag values for different segments. SegmentRules []FeatureSegmentRule `json:"segment_rules,omitempty"` // Denotes if the targeting rules are specified for the feature flag. SegmentExists *bool `json:"segment_exists,omitempty"` // List of collection id representing the collections that are associated with the specified feature flag. Collections []CollectionRef `json:"collections,omitempty"` // If you have enabled the workflow configuration and have a pending CR then this provides the change_request_number. ChangeRequestNumber *string `json:"change_request_number,omitempty"` // If you have enabled the workflow configuration and have a pending CR then this provides the change_request_status. ChangeRequestStatus *string `json:"change_request_status,omitempty"` // Creation time of the feature flag. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the feature flag data. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // The last occurrence of the feature flag value evaluation. EvaluationTime *strfmt.DateTime `json:"evaluation_time,omitempty"` // Feature flag URL. Href *string `json:"href,omitempty"` }
Feature : Details of the feature.
type FeatureOutput ¶
type FeatureOutput struct { // Feature id. FeatureID *string `json:"feature_id" validate:"required"` // Feature name. Name *string `json:"name" validate:"required"` }
FeatureOutput : Feature object.
type FeatureSegmentRule ¶ added in v0.2.3
type FeatureSegmentRule struct { // The list of targeted segments. Rules []TargetSegments `json:"rules" validate:"required"` // Value to be used for evaluation for this rule. The value can be Boolean, SecretRef, String - TEXT , String - JSON , // String - YAML or a Numeric value as per the `type` and `format` attributes. Value interface{} `json:"value" validate:"required"` // Order of the rule, used during evaluation. The evaluation is performed in the order defined and the value associated // with the first matching rule is used for evaluation. Order *int64 `json:"order" validate:"required"` // Rollout percentage associated with feature flag. Supported only for Lite and Enterprise plans. RolloutPercentage *int64 `json:"rollout_percentage,omitempty"` }
FeatureSegmentRule : FeatureSegmentRule struct
type FeaturesList ¶
type FeaturesList struct { // Array of Features. Features []Feature `json:"features" validate:"required"` // The number of records that are retrieved in a list. Limit *int64 `json:"limit" validate:"required"` // The number of records that are skipped in a list. Offset *int64 `json:"offset" validate:"required"` // The total number of records. TotalCount *int64 `json:"total_count" validate:"required"` // URL to navigate to the first page of records. First *PaginatedListFirst `json:"first" validate:"required"` // URL to navigate to the previous list of records. Previous *PaginatedListPrevious `json:"previous,omitempty"` // URL to navigate to the next list of records. Next *PaginatedListNext `json:"next,omitempty"` // URL to navigate to the last page of records. Last *PaginatedListLast `json:"last" validate:"required"` }
FeaturesList : List of all features.
func (*FeaturesList) GetNextOffset ¶ added in v0.2.0
func (resp *FeaturesList) GetNextOffset() (*int64, error)
Retrieve the value to be passed to a request to access the next page of results
type FeaturesPager ¶ added in v0.3.1
type FeaturesPager struct {
// contains filtered or unexported fields
}
FeaturesPager can be used to simplify the use of the "ListFeatures" method.
func (*FeaturesPager) GetAll ¶ added in v0.3.1
func (pager *FeaturesPager) GetAll() (allItems []Feature, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*FeaturesPager) GetAllWithContext ¶ added in v0.3.1
func (pager *FeaturesPager) GetAllWithContext(ctx context.Context) (allItems []Feature, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*FeaturesPager) GetNext ¶ added in v0.3.1
func (pager *FeaturesPager) GetNext() (page []Feature, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*FeaturesPager) GetNextWithContext ¶ added in v0.3.1
func (pager *FeaturesPager) GetNextWithContext(ctx context.Context) (page []Feature, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*FeaturesPager) HasNext ¶ added in v0.3.1
func (pager *FeaturesPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type GetCollectionOptions ¶
type GetCollectionOptions struct { // Collection Id of the collection. CollectionID *string `json:"collection_id" validate:"required,ne="` // If set to `true`, returns expanded view of the resource details. Expand *bool `json:"expand,omitempty"` // Include feature, property, snapshots details in the response. Include []string `json:"include,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetCollectionOptions : The GetCollection options.
func (*GetCollectionOptions) SetCollectionID ¶
func (_options *GetCollectionOptions) SetCollectionID(collectionID string) *GetCollectionOptions
SetCollectionID : Allow user to set CollectionID
func (*GetCollectionOptions) SetExpand ¶
func (_options *GetCollectionOptions) SetExpand(expand bool) *GetCollectionOptions
SetExpand : Allow user to set Expand
func (*GetCollectionOptions) SetHeaders ¶
func (options *GetCollectionOptions) SetHeaders(param map[string]string) *GetCollectionOptions
SetHeaders : Allow user to set Headers
func (*GetCollectionOptions) SetInclude ¶
func (_options *GetCollectionOptions) SetInclude(include []string) *GetCollectionOptions
SetInclude : Allow user to set Include
type GetEnvironmentOptions ¶
type GetEnvironmentOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // If set to `true`, returns expanded view of the resource details. Expand *bool `json:"expand,omitempty"` // Include feature, property, snapshots details in the response. Include []string `json:"include,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetEnvironmentOptions : The GetEnvironment options.
func (*GetEnvironmentOptions) SetEnvironmentID ¶
func (_options *GetEnvironmentOptions) SetEnvironmentID(environmentID string) *GetEnvironmentOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*GetEnvironmentOptions) SetExpand ¶
func (_options *GetEnvironmentOptions) SetExpand(expand bool) *GetEnvironmentOptions
SetExpand : Allow user to set Expand
func (*GetEnvironmentOptions) SetHeaders ¶
func (options *GetEnvironmentOptions) SetHeaders(param map[string]string) *GetEnvironmentOptions
SetHeaders : Allow user to set Headers
func (*GetEnvironmentOptions) SetInclude ¶
func (_options *GetEnvironmentOptions) SetInclude(include []string) *GetEnvironmentOptions
SetInclude : Allow user to set Include
type GetFeatureOptions ¶
type GetFeatureOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Feature Id. FeatureID *string `json:"feature_id" validate:"required,ne="` // Include the associated collections or targeting rules or change request details in the response. Include []string `json:"include,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetFeatureOptions : The GetFeature options.
func (*GetFeatureOptions) SetEnvironmentID ¶
func (_options *GetFeatureOptions) SetEnvironmentID(environmentID string) *GetFeatureOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*GetFeatureOptions) SetFeatureID ¶
func (_options *GetFeatureOptions) SetFeatureID(featureID string) *GetFeatureOptions
SetFeatureID : Allow user to set FeatureID
func (*GetFeatureOptions) SetHeaders ¶
func (options *GetFeatureOptions) SetHeaders(param map[string]string) *GetFeatureOptions
SetHeaders : Allow user to set Headers
func (*GetFeatureOptions) SetInclude ¶
func (_options *GetFeatureOptions) SetInclude(include []string) *GetFeatureOptions
SetInclude : Allow user to set Include
type GetGitconfigOptions ¶ added in v0.3.0
type GetGitconfigOptions struct { // Git Config Id. GitConfigID *string `json:"git_config_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
GetGitconfigOptions : The GetGitconfig options.
func (*GetGitconfigOptions) SetGitConfigID ¶ added in v0.3.0
func (_options *GetGitconfigOptions) SetGitConfigID(gitConfigID string) *GetGitconfigOptions
SetGitConfigID : Allow user to set GitConfigID
func (*GetGitconfigOptions) SetHeaders ¶ added in v0.3.0
func (options *GetGitconfigOptions) SetHeaders(param map[string]string) *GetGitconfigOptions
SetHeaders : Allow user to set Headers
type GetPropertyOptions ¶
type GetPropertyOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Property Id. PropertyID *string `json:"property_id" validate:"required,ne="` // Include the associated collections or targeting rules details in the response. Include []string `json:"include,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetPropertyOptions : The GetProperty options.
func (*GetPropertyOptions) SetEnvironmentID ¶
func (_options *GetPropertyOptions) SetEnvironmentID(environmentID string) *GetPropertyOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*GetPropertyOptions) SetHeaders ¶
func (options *GetPropertyOptions) SetHeaders(param map[string]string) *GetPropertyOptions
SetHeaders : Allow user to set Headers
func (*GetPropertyOptions) SetInclude ¶
func (_options *GetPropertyOptions) SetInclude(include []string) *GetPropertyOptions
SetInclude : Allow user to set Include
func (*GetPropertyOptions) SetPropertyID ¶
func (_options *GetPropertyOptions) SetPropertyID(propertyID string) *GetPropertyOptions
SetPropertyID : Allow user to set PropertyID
type GetSegmentOptions ¶
type GetSegmentOptions struct { // Segment Id. SegmentID *string `json:"segment_id" validate:"required,ne="` // Include feature and property details in the response. Include []string `json:"include,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetSegmentOptions : The GetSegment options.
func (*GetSegmentOptions) SetHeaders ¶
func (options *GetSegmentOptions) SetHeaders(param map[string]string) *GetSegmentOptions
SetHeaders : Allow user to set Headers
func (*GetSegmentOptions) SetInclude ¶
func (_options *GetSegmentOptions) SetInclude(include []string) *GetSegmentOptions
SetInclude : Allow user to set Include
func (*GetSegmentOptions) SetSegmentID ¶
func (_options *GetSegmentOptions) SetSegmentID(segmentID string) *GetSegmentOptions
SetSegmentID : Allow user to set SegmentID
type GitConfig ¶ added in v0.4.1
type GitConfig struct { // Git config name. GitConfigName *string `json:"git_config_name" validate:"required"` // Git config id. GitConfigID *string `json:"git_config_id" validate:"required"` // Details of the collection. Collection *GitConfigCollection `json:"collection" validate:"required"` // Details of the environment. Environment *GitConfigEnvironment `json:"environment" validate:"required"` // Git url which will be used to connect to the github account. GitURL *string `json:"git_url" validate:"required"` // Branch name to which you need to write or update the configuration. GitBranch *string `json:"git_branch" validate:"required"` // Git file path, this is a path where your configuration file will be written. GitFilePath *string `json:"git_file_path" validate:"required"` // Latest time when the snapshot was synced to git. LastSyncTime *strfmt.DateTime `json:"last_sync_time,omitempty"` // Creation time of the git config. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the git config data. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Git config URL. Href *string `json:"href,omitempty"` }
GitConfig : Details of the Git Config.
type GitConfigCollection ¶ added in v0.4.1
type GitConfigCollection struct { // Collection name. Name *string `json:"name,omitempty"` // Collection Id. CollectionID *string `json:"collection_id,omitempty"` }
GitConfigCollection : Details of the collection.
type GitConfigEnvironment ¶ added in v0.4.1
type GitConfigEnvironment struct { // Environment name. Name *string `json:"name,omitempty"` // Environment Id. EnvironmentID *string `json:"environment_id,omitempty"` // Environment color code. ColorCode *string `json:"color_code,omitempty"` }
GitConfigEnvironment : Details of the environment.
type GitConfigList ¶ added in v0.4.1
type GitConfigList struct { // Array of Git Configs. GitConfig []GitConfig `json:"git_config" validate:"required"` // The number of records that are retrieved in a list. Limit *int64 `json:"limit" validate:"required"` // The number of records that are skipped in a list. Offset *int64 `json:"offset" validate:"required"` // The total number of records. TotalCount *int64 `json:"total_count" validate:"required"` // URL to navigate to the first page of records. First *PaginatedListFirst `json:"first" validate:"required"` // URL to navigate to the previous list of records. Previous *PaginatedListPrevious `json:"previous,omitempty"` // URL to navigate to the next list of records. Next *PaginatedListNext `json:"next,omitempty"` // URL to navigate to the last page of records. Last *PaginatedListLast `json:"last" validate:"required"` }
GitConfigList : List of all Git Configs.
func (*GitConfigList) GetNextOffset ¶ added in v0.4.1
func (resp *GitConfigList) GetNextOffset() (*int64, error)
Retrieve the value to be passed to a request to access the next page of results
type GitConfigPromote ¶ added in v0.4.1
type GitConfigPromote struct { // Git commit id will be given as part of the response upon successful git operation. GitCommitID *string `json:"git_commit_id" validate:"required"` // Git commit message. GitCommitMessage *string `json:"git_commit_message" validate:"required"` // Latest time when the snapshot was synced to git. LastSyncTime *strfmt.DateTime `json:"last_sync_time,omitempty"` }
GitConfigPromote : Details of the promote operation.
type GitConfigRestore ¶ added in v0.4.1
type GitConfigRestore struct { // The environments array will contain the environment data and it will also contains properties array and features // array that belongs to that environment. Environments []ImportEnvironmentSchema `json:"environments" validate:"required"` // Segments that belongs to the features or properties. Segments []ImportSegmentSchema `json:"segments" validate:"required"` }
GitConfigRestore : Details of the restore operation.
type ImportCollectionSchema ¶ added in v0.4.0
type ImportCollectionSchema struct { // Collection id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. CollectionID *string `json:"collection_id" validate:"required"` // Collection name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Description of the collection. Description *string `json:"description,omitempty"` // Tags associated with the collection. Tags *string `json:"tags,omitempty"` }
ImportCollectionSchema : Collection to be created.
type ImportConfig ¶ added in v0.4.0
type ImportConfig struct { // Array will contain features and properties per environment. Environments []ImportEnvironmentSchema `json:"environments,omitempty"` // Array will contain collections details. Collections []ImportCollectionSchema `json:"collections,omitempty"` // Array will contain segments details. Segments []ImportSegmentSchema `json:"segments,omitempty"` }
ImportConfig : Full instance configuration.
type ImportConfigOptions ¶ added in v0.4.0
type ImportConfigOptions struct { // Array will contain features and properties per environment. Environments []ImportEnvironmentSchema `json:"environments,omitempty"` // Array will contain collections details. Collections []ImportCollectionSchema `json:"collections,omitempty"` // Array will contain segments details. Segments []ImportSegmentSchema `json:"segments,omitempty"` // Full instance import requires query parameter `clean=true` to perform wiping of the existing data. Clean *string `json:"clean,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ImportConfigOptions : The ImportConfig options.
func (*ImportConfigOptions) SetClean ¶ added in v0.4.0
func (_options *ImportConfigOptions) SetClean(clean string) *ImportConfigOptions
SetClean : Allow user to set Clean
func (*ImportConfigOptions) SetCollections ¶ added in v0.4.0
func (_options *ImportConfigOptions) SetCollections(collections []ImportCollectionSchema) *ImportConfigOptions
SetCollections : Allow user to set Collections
func (*ImportConfigOptions) SetEnvironments ¶ added in v0.4.0
func (_options *ImportConfigOptions) SetEnvironments(environments []ImportEnvironmentSchema) *ImportConfigOptions
SetEnvironments : Allow user to set Environments
func (*ImportConfigOptions) SetHeaders ¶ added in v0.4.0
func (options *ImportConfigOptions) SetHeaders(param map[string]string) *ImportConfigOptions
SetHeaders : Allow user to set Headers
func (*ImportConfigOptions) SetSegments ¶ added in v0.4.0
func (_options *ImportConfigOptions) SetSegments(segments []ImportSegmentSchema) *ImportConfigOptions
SetSegments : Allow user to set Segments
type ImportEnvironmentSchema ¶ added in v0.4.1
type ImportEnvironmentSchema struct { // Environment name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Environment Id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. EnvironmentID *string `json:"environment_id" validate:"required"` // Environment description. Description *string `json:"description,omitempty"` // Tags associated with the environment. Tags *string `json:"tags,omitempty"` // Color code to distinguish the environment. The Hex code for the color. For example `#FF0000` for `red`. ColorCode *string `json:"color_code,omitempty"` // Array will contain features per environment. Features []ImportFeatureRequestBody `json:"features,omitempty"` // Array will contain properties per environment. Properties []ImportPropertyRequestBody `json:"properties,omitempty"` }
ImportEnvironmentSchema : Environment attributes to import.
type ImportFeatureRequestBody ¶ added in v0.4.0
type ImportFeatureRequestBody struct { // Feature name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Feature id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. FeatureID *string `json:"feature_id" validate:"required"` // Feature description. Description *string `json:"description,omitempty"` // Type of the feature (BOOLEAN, STRING, NUMERIC). If `type` is `STRING`, then `format` attribute is required. Type *string `json:"type" validate:"required"` // Format of the feature (TEXT, JSON, YAML) and it is a required attribute when `type` is `STRING`. It is not required // for `BOOLEAN` and `NUMERIC` types. This property is populated in the response body of `POST, PUT and GET` calls if // the type `STRING` is used and not populated for `BOOLEAN` and `NUMERIC` types. Format *string `json:"format,omitempty"` // Value of the feature when it is enabled. The value can be Boolean, Numeric, String - TEXT, String - JSON, String - // YAML value as per the `type` and `format` attributes. EnabledValue interface{} `json:"enabled_value" validate:"required"` // Value of the feature when it is disabled. The value can be Boolean, Numeric, String - TEXT, String - JSON, String - // YAML value as per the `type` and `format` attributes. DisabledValue interface{} `json:"disabled_value" validate:"required"` // The state of the feature flag. Enabled *bool `json:"enabled,omitempty"` // Rollout percentage associated with feature flag. Supported only for Lite and Enterprise plans. RolloutPercentage *int64 `json:"rollout_percentage,omitempty"` // Tags associated with the feature. Tags *string `json:"tags,omitempty"` // Specify the targeting rules that is used to set different feature flag values for different segments. SegmentRules []FeatureSegmentRule `json:"segment_rules,omitempty"` // List of collection id representing the collections that are associated with the specified feature flag. Collections []CollectionRef `json:"collections,omitempty"` // This attribute explains whether the feature has to be imported or not. IsOverridden *bool `json:"isOverridden" validate:"required"` }
ImportFeatureRequestBody : Requset Body of the feature.
type ImportPropertyRequestBody ¶ added in v0.4.0
type ImportPropertyRequestBody struct { // Property name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Property id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. PropertyID *string `json:"property_id" validate:"required"` // Property description. Description *string `json:"description,omitempty"` // Type of the property (BOOLEAN, STRING, NUMERIC, SECRETREF). If `type` is `STRING`, then `format` attribute is // required. Type *string `json:"type" validate:"required"` // Format of the property (TEXT, JSON, YAML) and it is a required attribute when `type` is `STRING`. It is not required // for `BOOLEAN`, `NUMERIC` or `SECRETREF` types. This attribute is populated in the response body of `POST, PUT and // GET` calls if the type `STRING` is used and not populated for `BOOLEAN`, `NUMERIC` and `SECRETREF` types. Format *string `json:"format,omitempty"` // Value of the Property. The value can be Boolean, Numeric, SecretRef, String - TEXT, String - JSON, String - YAML as // per the `type` and `format` attributes. Value interface{} `json:"value" validate:"required"` // Tags associated with the property. Tags *string `json:"tags,omitempty"` // Specify the targeting rules that is used to set different property values for different segments. SegmentRules []SegmentRule `json:"segment_rules,omitempty"` // List of collection id representing the collections that are associated with the specified property. Collections []CollectionRef `json:"collections,omitempty"` // This attribute explains whether the property has to be imported or not. IsOverridden *bool `json:"isOverridden" validate:"required"` }
ImportPropertyRequestBody : Details of the property.
type ImportSegmentSchema ¶ added in v0.4.0
type ImportSegmentSchema struct { // Segment name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Segment id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. SegmentID *string `json:"segment_id" validate:"required"` // Segment description. Description *string `json:"description,omitempty"` // Tags associated with the segments. Tags *string `json:"tags,omitempty"` // List of rules that determine if the entity belongs to the segment during feature / property evaluation. An entity is // identified by an unique identifier and the attributes that it defines. Any feature flag and property value // evaluation is performed in the context of an entity when it is targeted to segments. Rules []Rule `json:"rules" validate:"required"` }
ImportSegmentSchema : Details of the segment.
type ListCollectionsOptions ¶
type ListCollectionsOptions struct { // If set to `true`, returns expanded view of the resource details. Expand *bool `json:"expand,omitempty"` // Sort the collection details based on the specified attribute. By default, items are sorted by name. Sort *string `json:"sort,omitempty"` // Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated // tags. Returns resources associated with any of the specified tags. Tags *string `json:"tags,omitempty"` // Filter collections by a list of comma separated features. Features []string `json:"features,omitempty"` // Filter collections by a list of comma separated properties. Properties []string `json:"properties,omitempty"` // Include feature, property, snapshots details in the response. Include []string `json:"include,omitempty"` // The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different // set of records, use `limit` with `offset` to page through the available records. Limit *int64 `json:"limit,omitempty"` // The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` // value. Use `offset` with `limit` to page through the available records. Offset *int64 `json:"offset,omitempty"` // Searches for the provided keyword and returns the appropriate row with that value. Here the search happens on the // '[Name OR Tag]' of the entity. Search *string `json:"search,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListCollectionsOptions : The ListCollections options.
func (*ListCollectionsOptions) SetExpand ¶
func (_options *ListCollectionsOptions) SetExpand(expand bool) *ListCollectionsOptions
SetExpand : Allow user to set Expand
func (*ListCollectionsOptions) SetFeatures ¶
func (_options *ListCollectionsOptions) SetFeatures(features []string) *ListCollectionsOptions
SetFeatures : Allow user to set Features
func (*ListCollectionsOptions) SetHeaders ¶
func (options *ListCollectionsOptions) SetHeaders(param map[string]string) *ListCollectionsOptions
SetHeaders : Allow user to set Headers
func (*ListCollectionsOptions) SetInclude ¶
func (_options *ListCollectionsOptions) SetInclude(include []string) *ListCollectionsOptions
SetInclude : Allow user to set Include
func (*ListCollectionsOptions) SetLimit ¶
func (_options *ListCollectionsOptions) SetLimit(limit int64) *ListCollectionsOptions
SetLimit : Allow user to set Limit
func (*ListCollectionsOptions) SetOffset ¶
func (_options *ListCollectionsOptions) SetOffset(offset int64) *ListCollectionsOptions
SetOffset : Allow user to set Offset
func (*ListCollectionsOptions) SetProperties ¶
func (_options *ListCollectionsOptions) SetProperties(properties []string) *ListCollectionsOptions
SetProperties : Allow user to set Properties
func (*ListCollectionsOptions) SetSearch ¶ added in v0.2.0
func (_options *ListCollectionsOptions) SetSearch(search string) *ListCollectionsOptions
SetSearch : Allow user to set Search
func (*ListCollectionsOptions) SetSort ¶
func (_options *ListCollectionsOptions) SetSort(sort string) *ListCollectionsOptions
SetSort : Allow user to set Sort
func (*ListCollectionsOptions) SetTags ¶
func (_options *ListCollectionsOptions) SetTags(tags string) *ListCollectionsOptions
SetTags : Allow user to set Tags
type ListEnvironmentsOptions ¶
type ListEnvironmentsOptions struct { // If set to `true`, returns expanded view of the resource details. Expand *bool `json:"expand,omitempty"` // Sort the environment details based on the specified attribute. By default, items are sorted by name. Sort *string `json:"sort,omitempty"` // Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated // tags. Returns resources associated with any of the specified tags. Tags *string `json:"tags,omitempty"` // Include feature, property, snapshots details in the response. Include []string `json:"include,omitempty"` // The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different // set of records, use `limit` with `offset` to page through the available records. Limit *int64 `json:"limit,omitempty"` // The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` // value. Use `offset` with `limit` to page through the available records. Offset *int64 `json:"offset,omitempty"` // Searches for the provided keyword and returns the appropriate row with that value. Here the search happens on the // '[Name OR Tag]' of the entity. Search *string `json:"search,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListEnvironmentsOptions : The ListEnvironments options.
func (*ListEnvironmentsOptions) SetExpand ¶
func (_options *ListEnvironmentsOptions) SetExpand(expand bool) *ListEnvironmentsOptions
SetExpand : Allow user to set Expand
func (*ListEnvironmentsOptions) SetHeaders ¶
func (options *ListEnvironmentsOptions) SetHeaders(param map[string]string) *ListEnvironmentsOptions
SetHeaders : Allow user to set Headers
func (*ListEnvironmentsOptions) SetInclude ¶
func (_options *ListEnvironmentsOptions) SetInclude(include []string) *ListEnvironmentsOptions
SetInclude : Allow user to set Include
func (*ListEnvironmentsOptions) SetLimit ¶
func (_options *ListEnvironmentsOptions) SetLimit(limit int64) *ListEnvironmentsOptions
SetLimit : Allow user to set Limit
func (*ListEnvironmentsOptions) SetOffset ¶
func (_options *ListEnvironmentsOptions) SetOffset(offset int64) *ListEnvironmentsOptions
SetOffset : Allow user to set Offset
func (*ListEnvironmentsOptions) SetSearch ¶ added in v0.2.0
func (_options *ListEnvironmentsOptions) SetSearch(search string) *ListEnvironmentsOptions
SetSearch : Allow user to set Search
func (*ListEnvironmentsOptions) SetSort ¶
func (_options *ListEnvironmentsOptions) SetSort(sort string) *ListEnvironmentsOptions
SetSort : Allow user to set Sort
func (*ListEnvironmentsOptions) SetTags ¶
func (_options *ListEnvironmentsOptions) SetTags(tags string) *ListEnvironmentsOptions
SetTags : Allow user to set Tags
type ListFeaturesOptions ¶
type ListFeaturesOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // If set to `true`, returns expanded view of the resource details. Expand *bool `json:"expand,omitempty"` // Sort the feature details based on the specified attribute. By default, items are sorted by name. Sort *string `json:"sort,omitempty"` // Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated // tags. Returns resources associated with any of the specified tags. Tags *string `json:"tags,omitempty"` // Filter features by a list of comma separated collections. Collections []string `json:"collections,omitempty"` // Filter features by a list of comma separated segments. Segments []string `json:"segments,omitempty"` // Include the associated collections or targeting rules or change request details in the response. Include []string `json:"include,omitempty"` // The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different // set of records, use `limit` with `offset` to page through the available records. Limit *int64 `json:"limit,omitempty"` // The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` // value. Use `offset` with `limit` to page through the available records. Offset *int64 `json:"offset,omitempty"` // Searches for the provided keyword and returns the appropriate row with that value. Here the search happens on the // '[Name OR Tag]' of the entity. Search *string `json:"search,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListFeaturesOptions : The ListFeatures options.
func (*ListFeaturesOptions) SetCollections ¶
func (_options *ListFeaturesOptions) SetCollections(collections []string) *ListFeaturesOptions
SetCollections : Allow user to set Collections
func (*ListFeaturesOptions) SetEnvironmentID ¶
func (_options *ListFeaturesOptions) SetEnvironmentID(environmentID string) *ListFeaturesOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*ListFeaturesOptions) SetExpand ¶
func (_options *ListFeaturesOptions) SetExpand(expand bool) *ListFeaturesOptions
SetExpand : Allow user to set Expand
func (*ListFeaturesOptions) SetHeaders ¶
func (options *ListFeaturesOptions) SetHeaders(param map[string]string) *ListFeaturesOptions
SetHeaders : Allow user to set Headers
func (*ListFeaturesOptions) SetInclude ¶
func (_options *ListFeaturesOptions) SetInclude(include []string) *ListFeaturesOptions
SetInclude : Allow user to set Include
func (*ListFeaturesOptions) SetLimit ¶
func (_options *ListFeaturesOptions) SetLimit(limit int64) *ListFeaturesOptions
SetLimit : Allow user to set Limit
func (*ListFeaturesOptions) SetOffset ¶
func (_options *ListFeaturesOptions) SetOffset(offset int64) *ListFeaturesOptions
SetOffset : Allow user to set Offset
func (*ListFeaturesOptions) SetSearch ¶ added in v0.2.0
func (_options *ListFeaturesOptions) SetSearch(search string) *ListFeaturesOptions
SetSearch : Allow user to set Search
func (*ListFeaturesOptions) SetSegments ¶
func (_options *ListFeaturesOptions) SetSegments(segments []string) *ListFeaturesOptions
SetSegments : Allow user to set Segments
func (*ListFeaturesOptions) SetSort ¶
func (_options *ListFeaturesOptions) SetSort(sort string) *ListFeaturesOptions
SetSort : Allow user to set Sort
func (*ListFeaturesOptions) SetTags ¶
func (_options *ListFeaturesOptions) SetTags(tags string) *ListFeaturesOptions
SetTags : Allow user to set Tags
type ListInstanceConfigOptions ¶ added in v0.4.0
type ListInstanceConfigOptions struct { // Allows users to set headers on API requests Headers map[string]string }
ListInstanceConfigOptions : The ListInstanceConfig options.
func (*ListInstanceConfigOptions) SetHeaders ¶ added in v0.4.0
func (options *ListInstanceConfigOptions) SetHeaders(param map[string]string) *ListInstanceConfigOptions
SetHeaders : Allow user to set Headers
type ListOriginconfigsOptions ¶ added in v0.3.2
type ListOriginconfigsOptions struct { // Allows users to set headers on API requests Headers map[string]string }
ListOriginconfigsOptions : The ListOriginconfigs options.
func (*ListOriginconfigsOptions) SetHeaders ¶ added in v0.3.2
func (options *ListOriginconfigsOptions) SetHeaders(param map[string]string) *ListOriginconfigsOptions
SetHeaders : Allow user to set Headers
type ListPropertiesOptions ¶
type ListPropertiesOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // If set to `true`, returns expanded view of the resource details. Expand *bool `json:"expand,omitempty"` // Sort the property details based on the specified attribute. By default, items are sorted by name. Sort *string `json:"sort,omitempty"` // Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated // tags. Returns resources associated with any of the specified tags. Tags *string `json:"tags,omitempty"` // Filter properties by a list of comma separated collections. Collections []string `json:"collections,omitempty"` // Filter properties by a list of comma separated segments. Segments []string `json:"segments,omitempty"` // Include the associated collections or targeting rules details in the response. Include []string `json:"include,omitempty"` // The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different // set of records, use `limit` with `offset` to page through the available records. Limit *int64 `json:"limit,omitempty"` // The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` // value. Use `offset` with `limit` to page through the available records. Offset *int64 `json:"offset,omitempty"` // Searches for the provided keyword and returns the appropriate row with that value. Here the search happens on the // '[Name OR Tag]' of the entity. Search *string `json:"search,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListPropertiesOptions : The ListProperties options.
func (*ListPropertiesOptions) SetCollections ¶
func (_options *ListPropertiesOptions) SetCollections(collections []string) *ListPropertiesOptions
SetCollections : Allow user to set Collections
func (*ListPropertiesOptions) SetEnvironmentID ¶
func (_options *ListPropertiesOptions) SetEnvironmentID(environmentID string) *ListPropertiesOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*ListPropertiesOptions) SetExpand ¶
func (_options *ListPropertiesOptions) SetExpand(expand bool) *ListPropertiesOptions
SetExpand : Allow user to set Expand
func (*ListPropertiesOptions) SetHeaders ¶
func (options *ListPropertiesOptions) SetHeaders(param map[string]string) *ListPropertiesOptions
SetHeaders : Allow user to set Headers
func (*ListPropertiesOptions) SetInclude ¶
func (_options *ListPropertiesOptions) SetInclude(include []string) *ListPropertiesOptions
SetInclude : Allow user to set Include
func (*ListPropertiesOptions) SetLimit ¶
func (_options *ListPropertiesOptions) SetLimit(limit int64) *ListPropertiesOptions
SetLimit : Allow user to set Limit
func (*ListPropertiesOptions) SetOffset ¶
func (_options *ListPropertiesOptions) SetOffset(offset int64) *ListPropertiesOptions
SetOffset : Allow user to set Offset
func (*ListPropertiesOptions) SetSearch ¶ added in v0.2.0
func (_options *ListPropertiesOptions) SetSearch(search string) *ListPropertiesOptions
SetSearch : Allow user to set Search
func (*ListPropertiesOptions) SetSegments ¶
func (_options *ListPropertiesOptions) SetSegments(segments []string) *ListPropertiesOptions
SetSegments : Allow user to set Segments
func (*ListPropertiesOptions) SetSort ¶
func (_options *ListPropertiesOptions) SetSort(sort string) *ListPropertiesOptions
SetSort : Allow user to set Sort
func (*ListPropertiesOptions) SetTags ¶
func (_options *ListPropertiesOptions) SetTags(tags string) *ListPropertiesOptions
SetTags : Allow user to set Tags
type ListSegmentsOptions ¶
type ListSegmentsOptions struct { // If set to `true`, returns expanded view of the resource details. Expand *bool `json:"expand,omitempty"` // Sort the segment details based on the specified attribute. By default, items are sorted by name. Sort *string `json:"sort,omitempty"` // Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated // tags. Returns resources associated with any of the specified tags. Tags *string `json:"tags,omitempty"` // Segment details to include the associated rules in the response. Include *string `json:"include,omitempty"` // The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different // set of records, use `limit` with `offset` to page through the available records. Limit *int64 `json:"limit,omitempty"` // The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` // value. Use `offset` with `limit` to page through the available records. Offset *int64 `json:"offset,omitempty"` // Searches for the provided keyword and returns the appropriate row with that value. Here the search happens on the // '[Name OR Tag]' of the entity. Search *string `json:"search,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListSegmentsOptions : The ListSegments options.
func (*ListSegmentsOptions) SetExpand ¶
func (_options *ListSegmentsOptions) SetExpand(expand bool) *ListSegmentsOptions
SetExpand : Allow user to set Expand
func (*ListSegmentsOptions) SetHeaders ¶
func (options *ListSegmentsOptions) SetHeaders(param map[string]string) *ListSegmentsOptions
SetHeaders : Allow user to set Headers
func (*ListSegmentsOptions) SetInclude ¶
func (_options *ListSegmentsOptions) SetInclude(include string) *ListSegmentsOptions
SetInclude : Allow user to set Include
func (*ListSegmentsOptions) SetLimit ¶
func (_options *ListSegmentsOptions) SetLimit(limit int64) *ListSegmentsOptions
SetLimit : Allow user to set Limit
func (*ListSegmentsOptions) SetOffset ¶
func (_options *ListSegmentsOptions) SetOffset(offset int64) *ListSegmentsOptions
SetOffset : Allow user to set Offset
func (*ListSegmentsOptions) SetSearch ¶ added in v0.2.0
func (_options *ListSegmentsOptions) SetSearch(search string) *ListSegmentsOptions
SetSearch : Allow user to set Search
func (*ListSegmentsOptions) SetSort ¶
func (_options *ListSegmentsOptions) SetSort(sort string) *ListSegmentsOptions
SetSort : Allow user to set Sort
func (*ListSegmentsOptions) SetTags ¶
func (_options *ListSegmentsOptions) SetTags(tags string) *ListSegmentsOptions
SetTags : Allow user to set Tags
type ListSnapshotsOptions ¶ added in v0.3.0
type ListSnapshotsOptions struct { // Sort the git configurations details based on the specified attribute. By default, items are sorted by name. Sort *string `json:"sort,omitempty"` // Filters the response based on the specified collection_id. CollectionID *string `json:"collection_id,omitempty"` // Filters the response based on the specified environment_id. EnvironmentID *string `json:"environment_id,omitempty"` // The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different // set of records, use `limit` with `offset` to page through the available records. Limit *int64 `json:"limit,omitempty"` // The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` // value. Use `offset` with `limit` to page through the available records. Offset *int64 `json:"offset,omitempty"` // Searches for the provided keyword and returns the appropriate row with that value. Here the search happens on the // '[Name]' of the entity. Search *string `json:"search,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListSnapshotsOptions : The ListSnapshots options.
func (*ListSnapshotsOptions) SetCollectionID ¶ added in v0.3.0
func (_options *ListSnapshotsOptions) SetCollectionID(collectionID string) *ListSnapshotsOptions
SetCollectionID : Allow user to set CollectionID
func (*ListSnapshotsOptions) SetEnvironmentID ¶ added in v0.3.0
func (_options *ListSnapshotsOptions) SetEnvironmentID(environmentID string) *ListSnapshotsOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*ListSnapshotsOptions) SetHeaders ¶ added in v0.3.0
func (options *ListSnapshotsOptions) SetHeaders(param map[string]string) *ListSnapshotsOptions
SetHeaders : Allow user to set Headers
func (*ListSnapshotsOptions) SetLimit ¶ added in v0.3.0
func (_options *ListSnapshotsOptions) SetLimit(limit int64) *ListSnapshotsOptions
SetLimit : Allow user to set Limit
func (*ListSnapshotsOptions) SetOffset ¶ added in v0.3.0
func (_options *ListSnapshotsOptions) SetOffset(offset int64) *ListSnapshotsOptions
SetOffset : Allow user to set Offset
func (*ListSnapshotsOptions) SetSearch ¶ added in v0.3.0
func (_options *ListSnapshotsOptions) SetSearch(search string) *ListSnapshotsOptions
SetSearch : Allow user to set Search
func (*ListSnapshotsOptions) SetSort ¶ added in v0.3.0
func (_options *ListSnapshotsOptions) SetSort(sort string) *ListSnapshotsOptions
SetSort : Allow user to set Sort
type ListWorkflowconfigOptions ¶ added in v0.4.0
type ListWorkflowconfigOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
ListWorkflowconfigOptions : The ListWorkflowconfig options.
func (*ListWorkflowconfigOptions) SetEnvironmentID ¶ added in v0.4.0
func (_options *ListWorkflowconfigOptions) SetEnvironmentID(environmentID string) *ListWorkflowconfigOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*ListWorkflowconfigOptions) SetHeaders ¶ added in v0.4.0
func (options *ListWorkflowconfigOptions) SetHeaders(param map[string]string) *ListWorkflowconfigOptions
SetHeaders : Allow user to set Headers
type ListWorkflowconfigResponse ¶ added in v0.4.3
type ListWorkflowconfigResponse struct { // Environment name of workflow config in which it is created. EnvironmentName *string `json:"environment_name,omitempty"` // Environment ID of workflow config in which it is created. EnvironmentID *string `json:"environment_id,omitempty"` // Only service now url https://xxxxx.service-now.com allowed, xxxxx is the service now instance id. WorkflowURL *string `json:"workflow_url,omitempty"` // Group name of personals who can approve the Change Request on your Service Now. It must be first registered in your // Service Now then it must be added here. ApprovalGroupName *string `json:"approval_group_name,omitempty"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration,omitempty"` // The credentials of the Service Now instance. WorkflowCredentials *WorkflowCredentials `json:"workflow_credentials,omitempty"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled,omitempty"` // Creation time of the workflow configs. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the workflow configs. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Workflow Config URL. Href *string `json:"href,omitempty"` // Only service crn will be allowed. Example: `crn:v1:staging:staging:appservice:us-south::::`. ServiceCrn *string `json:"service_crn,omitempty"` // Allowed value is `SERVICENOW_IBM` case-sensitive. WorkflowType *string `json:"workflow_type,omitempty"` // Only Secret Manager instance crn will be allowed. Example: // `crn:v1:staging:public:secrets-manager:eu-gb:a/3268cfe9e25d411122f9a731a:0a23274-92d0a-4d42-b1fa-d15b4293cd::`. SmInstanceCrn *string `json:"sm_instance_crn,omitempty"` // Provide the arbitary secret key id which holds the api key to interact with service now. This is required to perform // action on ServiceNow like Create CR or Close CR. SecretID *string `json:"secret_id,omitempty"` }
ListWorkflowconfigResponse : ListWorkflowconfigResponse struct Models which "extend" this model: - ListWorkflowconfigResponseWorkflowConfig - ListWorkflowconfigResponseIbmWorkflowConfig
type ListWorkflowconfigResponseIbmWorkflowConfig ¶ added in v0.4.3
type ListWorkflowconfigResponseIbmWorkflowConfig struct { // Environment name of workflow config in which it is created. EnvironmentName *string `json:"environment_name,omitempty"` // Environment ID of workflow config in which it is created. EnvironmentID *string `json:"environment_id,omitempty"` // Only service crn will be allowed. Example: `crn:v1:staging:staging:appservice:us-south::::`. ServiceCrn *string `json:"service_crn" validate:"required"` // Allowed value is `SERVICENOW_IBM` case-sensitive. WorkflowType *string `json:"workflow_type" validate:"required"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration" validate:"required"` // Only Secret Manager instance crn will be allowed. Example: // `crn:v1:staging:public:secrets-manager:eu-gb:a/3268cfe9e25d411122f9a731a:0a23274-92d0a-4d42-b1fa-d15b4293cd::`. SmInstanceCrn *string `json:"sm_instance_crn" validate:"required"` // Provide the arbitary secret key id which holds the api key to interact with service now. This is required to perform // action on ServiceNow like Create CR or Close CR. SecretID *string `json:"secret_id" validate:"required"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled" validate:"required"` // Creation time of the workflow configs. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the workflow configs. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Workflow Config URL. Href *string `json:"href,omitempty"` }
ListWorkflowconfigResponseIbmWorkflowConfig : Details of the IBM Workflow configuration. This model "extends" ListWorkflowconfigResponse
type ListWorkflowconfigResponseIntf ¶ added in v0.4.3
type ListWorkflowconfigResponseIntf interface {
// contains filtered or unexported methods
}
type ListWorkflowconfigResponseWorkflowConfig ¶ added in v0.4.3
type ListWorkflowconfigResponseWorkflowConfig struct { // Environment name of workflow config in which it is created. EnvironmentName *string `json:"environment_name,omitempty"` // Environment ID of workflow config in which it is created. EnvironmentID *string `json:"environment_id,omitempty"` // Only service now url https://xxxxx.service-now.com allowed, xxxxx is the service now instance id. WorkflowURL *string `json:"workflow_url" validate:"required"` // Group name of personals who can approve the Change Request on your Service Now. It must be first registered in your // Service Now then it must be added here. ApprovalGroupName *string `json:"approval_group_name" validate:"required"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration" validate:"required"` // The credentials of the Service Now instance. WorkflowCredentials *WorkflowCredentials `json:"workflow_credentials" validate:"required"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled" validate:"required"` // Creation time of the workflow configs. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the workflow configs. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Workflow Config URL. Href *string `json:"href,omitempty"` }
ListWorkflowconfigResponseWorkflowConfig : Details of the External Workflow configuration. This model "extends" ListWorkflowconfigResponse
type OriginConfigList ¶ added in v0.3.2
type OriginConfigList struct { // List of allowed origins. Specify the parameter as a list of comma separated origins. AllowedOrigins []string `json:"allowed_origins" validate:"required"` // Creation time of the origin configs. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the origin configs. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Origin Config URL. Href *string `json:"href,omitempty"` }
OriginConfigList : List of all origin configs.
type PaginatedListFirst ¶ added in v0.4.1
type PaginatedListFirst struct { // URL to the page. Href *string `json:"href" validate:"required"` }
PaginatedListFirst : URL to navigate to the first page of records.
type PaginatedListLast ¶ added in v0.4.1
type PaginatedListLast struct { // URL to the page. Href *string `json:"href" validate:"required"` }
PaginatedListLast : URL to navigate to the last page of records.
type PaginatedListNext ¶ added in v0.4.1
type PaginatedListNext struct { // URL to the page. Href *string `json:"href" validate:"required"` }
PaginatedListNext : URL to navigate to the next list of records.
type PaginatedListPrevious ¶ added in v0.4.1
type PaginatedListPrevious struct { // URL to the page. Href *string `json:"href" validate:"required"` }
PaginatedListPrevious : URL to navigate to the previous list of records.
type PromoteGitconfigOptions ¶ added in v0.3.0
type PromoteGitconfigOptions struct { // Git Config Id. GitConfigID *string `json:"git_config_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
PromoteGitconfigOptions : The PromoteGitconfig options.
func (*PromoteGitconfigOptions) SetGitConfigID ¶ added in v0.3.0
func (_options *PromoteGitconfigOptions) SetGitConfigID(gitConfigID string) *PromoteGitconfigOptions
SetGitConfigID : Allow user to set GitConfigID
func (*PromoteGitconfigOptions) SetHeaders ¶ added in v0.3.0
func (options *PromoteGitconfigOptions) SetHeaders(param map[string]string) *PromoteGitconfigOptions
SetHeaders : Allow user to set Headers
type PromoteRestoreConfigOptions ¶ added in v0.4.0
type PromoteRestoreConfigOptions struct { // Git Config Id. GitConfigID *string `json:"git_config_id" validate:"required"` // Promote configuration to Git or Restore configuration from Git. Action *string `json:"action" validate:"required"` // Allows users to set headers on API requests Headers map[string]string }
PromoteRestoreConfigOptions : The PromoteRestoreConfig options.
func (*PromoteRestoreConfigOptions) SetAction ¶ added in v0.4.0
func (_options *PromoteRestoreConfigOptions) SetAction(action string) *PromoteRestoreConfigOptions
SetAction : Allow user to set Action
func (*PromoteRestoreConfigOptions) SetGitConfigID ¶ added in v0.4.0
func (_options *PromoteRestoreConfigOptions) SetGitConfigID(gitConfigID string) *PromoteRestoreConfigOptions
SetGitConfigID : Allow user to set GitConfigID
func (*PromoteRestoreConfigOptions) SetHeaders ¶ added in v0.4.0
func (options *PromoteRestoreConfigOptions) SetHeaders(param map[string]string) *PromoteRestoreConfigOptions
SetHeaders : Allow user to set Headers
type PropertiesList ¶
type PropertiesList struct { // Array of properties. Properties []Property `json:"properties" validate:"required"` // The number of records that are retrieved in a list. Limit *int64 `json:"limit" validate:"required"` // The number of records that are skipped in a list. Offset *int64 `json:"offset" validate:"required"` // The total number of records. TotalCount *int64 `json:"total_count" validate:"required"` // URL to navigate to the first page of records. First *PaginatedListFirst `json:"first" validate:"required"` // URL to navigate to the previous list of records. Previous *PaginatedListPrevious `json:"previous,omitempty"` // URL to navigate to the next list of records. Next *PaginatedListNext `json:"next,omitempty"` // URL to navigate to the last page of records. Last *PaginatedListLast `json:"last" validate:"required"` }
PropertiesList : List of all properties.
func (*PropertiesList) GetNextOffset ¶ added in v0.2.0
func (resp *PropertiesList) GetNextOffset() (*int64, error)
Retrieve the value to be passed to a request to access the next page of results
type PropertiesPager ¶ added in v0.3.1
type PropertiesPager struct {
// contains filtered or unexported fields
}
PropertiesPager can be used to simplify the use of the "ListProperties" method.
func (*PropertiesPager) GetAll ¶ added in v0.3.1
func (pager *PropertiesPager) GetAll() (allItems []Property, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*PropertiesPager) GetAllWithContext ¶ added in v0.3.1
func (pager *PropertiesPager) GetAllWithContext(ctx context.Context) (allItems []Property, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*PropertiesPager) GetNext ¶ added in v0.3.1
func (pager *PropertiesPager) GetNext() (page []Property, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*PropertiesPager) GetNextWithContext ¶ added in v0.3.1
func (pager *PropertiesPager) GetNextWithContext(ctx context.Context) (page []Property, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*PropertiesPager) HasNext ¶ added in v0.3.1
func (pager *PropertiesPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type Property ¶
type Property struct { // Property name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Property id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. PropertyID *string `json:"property_id" validate:"required"` // Property description. Description *string `json:"description,omitempty"` // Type of the property (BOOLEAN, STRING, NUMERIC, SECRETREF). If `type` is `STRING`, then `format` attribute is // required. Type *string `json:"type" validate:"required"` // Format of the property (TEXT, JSON, YAML) and it is a required attribute when `type` is `STRING`. It is not required // for `BOOLEAN`, `NUMERIC` or `SECRETREF` types. This attribute is populated in the response body of `POST, PUT and // GET` calls if the type `STRING` is used and not populated for `BOOLEAN`, `NUMERIC` and `SECRETREF` types. Format *string `json:"format,omitempty"` // Value of the Property. The value can be Boolean, Numeric, SecretRef, String - TEXT, String - JSON, String - YAML as // per the `type` and `format` attributes. Value interface{} `json:"value" validate:"required"` // Tags associated with the property. Tags *string `json:"tags,omitempty"` // Specify the targeting rules that is used to set different property values for different segments. SegmentRules []SegmentRule `json:"segment_rules,omitempty"` // Denotes if the targeting rules are specified for the property. SegmentExists *bool `json:"segment_exists,omitempty"` // List of collection id representing the collections that are associated with the specified property. Collections []CollectionRef `json:"collections,omitempty"` // Creation time of the property. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the property data. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // The last occurrence of the property value evaluation. EvaluationTime *strfmt.DateTime `json:"evaluation_time,omitempty"` // Property URL. Href *string `json:"href,omitempty"` }
Property : Details of the property.
type PropertyOutput ¶
type PropertyOutput struct { // Property id. PropertyID *string `json:"property_id" validate:"required"` // Property name. Name *string `json:"name" validate:"required"` }
PropertyOutput : Property object.
type RestoreGitconfigOptions ¶ added in v0.3.2
type RestoreGitconfigOptions struct { // Git Config Id. GitConfigID *string `json:"git_config_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
RestoreGitconfigOptions : The RestoreGitconfig options.
func (*RestoreGitconfigOptions) SetGitConfigID ¶ added in v0.3.2
func (_options *RestoreGitconfigOptions) SetGitConfigID(gitConfigID string) *RestoreGitconfigOptions
SetGitConfigID : Allow user to set GitConfigID
func (*RestoreGitconfigOptions) SetHeaders ¶ added in v0.3.2
func (options *RestoreGitconfigOptions) SetHeaders(param map[string]string) *RestoreGitconfigOptions
SetHeaders : Allow user to set Headers
type Rule ¶
type Rule struct { // Attribute name. AttributeName *string `json:"attribute_name" validate:"required"` // Operator to be used for the evaluation if the entity belongs to the segment. Operator *string `json:"operator" validate:"required"` // List of values. Entities matching any of the given values will be considered to belong to the segment. Values []string `json:"values" validate:"required"` }
Rule : Rule is used to determine if the entity belongs to the segment during feature / property evaluation.
type Segment ¶
type Segment struct { // Segment name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name" validate:"required"` // Segment id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. SegmentID *string `json:"segment_id" validate:"required"` // Segment description. Description *string `json:"description,omitempty"` // Tags associated with the segments. Tags *string `json:"tags,omitempty"` // List of rules that determine if the entity belongs to the segment during feature / property evaluation. An entity is // identified by an unique identifier and the attributes that it defines. Any feature flag and property value // evaluation is performed in the context of an entity when it is targeted to segments. Rules []Rule `json:"rules" validate:"required"` // Creation time of the segment. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the segment data. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Segment URL. Href *string `json:"href,omitempty"` // List of Features associated with the segment. Features []FeatureOutput `json:"features,omitempty"` // List of properties associated with the segment. Properties []PropertyOutput `json:"properties,omitempty"` }
Segment : Details of the segment.
type SegmentRule ¶
type SegmentRule struct { // The list of targeted segments. Rules []TargetSegments `json:"rules" validate:"required"` // Value to be used for evaluation for this rule. The value can be Boolean, SecretRef, String - TEXT , String - JSON , // String - YAML or a Numeric value as per the `type` and `format` attributes. Value interface{} `json:"value" validate:"required"` // Order of the rule, used during evaluation. The evaluation is performed in the order defined and the value associated // with the first matching rule is used for evaluation. Order *int64 `json:"order" validate:"required"` }
SegmentRule : SegmentRule struct
type SegmentsList ¶
type SegmentsList struct { // Array of Segments. Segments []Segment `json:"segments" validate:"required"` // The number of records that are retrieved in a list. Limit *int64 `json:"limit" validate:"required"` // The number of records that are skipped in a list. Offset *int64 `json:"offset" validate:"required"` // The total number of records. TotalCount *int64 `json:"total_count" validate:"required"` // URL to navigate to the first page of records. First *PaginatedListFirst `json:"first" validate:"required"` // URL to navigate to the previous list of records. Previous *PaginatedListPrevious `json:"previous,omitempty"` // URL to navigate to the next list of records. Next *PaginatedListNext `json:"next,omitempty"` // URL to navigate to the last page of records. Last *PaginatedListLast `json:"last" validate:"required"` }
SegmentsList : List of all segments.
func (*SegmentsList) GetNextOffset ¶ added in v0.2.0
func (resp *SegmentsList) GetNextOffset() (*int64, error)
Retrieve the value to be passed to a request to access the next page of results
type SegmentsPager ¶ added in v0.3.1
type SegmentsPager struct {
// contains filtered or unexported fields
}
SegmentsPager can be used to simplify the use of the "ListSegments" method.
func (*SegmentsPager) GetAll ¶ added in v0.3.1
func (pager *SegmentsPager) GetAll() (allItems []Segment, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*SegmentsPager) GetAllWithContext ¶ added in v0.3.1
func (pager *SegmentsPager) GetAllWithContext(ctx context.Context) (allItems []Segment, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*SegmentsPager) GetNext ¶ added in v0.3.1
func (pager *SegmentsPager) GetNext() (page []Segment, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*SegmentsPager) GetNextWithContext ¶ added in v0.3.1
func (pager *SegmentsPager) GetNextWithContext(ctx context.Context) (page []Segment, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*SegmentsPager) HasNext ¶ added in v0.3.1
func (pager *SegmentsPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type SnapshotOutput ¶ added in v0.3.0
type SnapshotOutput struct { // Git Config id. GitConfigID *string `json:"git_config_id" validate:"required"` // Git Config name. Name *string `json:"name" validate:"required"` }
SnapshotOutput : Snapshot object.
type SnapshotsPager ¶ added in v0.3.1
type SnapshotsPager struct {
// contains filtered or unexported fields
}
SnapshotsPager can be used to simplify the use of the "ListSnapshots" method.
func (*SnapshotsPager) GetAll ¶ added in v0.3.1
func (pager *SnapshotsPager) GetAll() (allItems []GitConfig, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*SnapshotsPager) GetAllWithContext ¶ added in v0.3.1
func (pager *SnapshotsPager) GetAllWithContext(ctx context.Context) (allItems []GitConfig, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*SnapshotsPager) GetNext ¶ added in v0.3.1
func (pager *SnapshotsPager) GetNext() (page []GitConfig, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*SnapshotsPager) GetNextWithContext ¶ added in v0.3.1
func (pager *SnapshotsPager) GetNextWithContext(ctx context.Context) (page []GitConfig, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*SnapshotsPager) HasNext ¶ added in v0.3.1
func (pager *SnapshotsPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type TargetSegments ¶
type TargetSegments struct { // List of segment ids that are used for targeting using the rule. Segments []string `json:"segments" validate:"required"` }
TargetSegments : TargetSegments struct
type ToggleFeatureOptions ¶
type ToggleFeatureOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Feature Id. FeatureID *string `json:"feature_id" validate:"required,ne="` // The state of the feature flag. Enabled *bool `json:"enabled" validate:"required"` // Allows users to set headers on API requests Headers map[string]string }
ToggleFeatureOptions : The ToggleFeature options.
func (*ToggleFeatureOptions) SetEnabled ¶
func (_options *ToggleFeatureOptions) SetEnabled(enabled bool) *ToggleFeatureOptions
SetEnabled : Allow user to set Enabled
func (*ToggleFeatureOptions) SetEnvironmentID ¶
func (_options *ToggleFeatureOptions) SetEnvironmentID(environmentID string) *ToggleFeatureOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*ToggleFeatureOptions) SetFeatureID ¶
func (_options *ToggleFeatureOptions) SetFeatureID(featureID string) *ToggleFeatureOptions
SetFeatureID : Allow user to set FeatureID
func (*ToggleFeatureOptions) SetHeaders ¶
func (options *ToggleFeatureOptions) SetHeaders(param map[string]string) *ToggleFeatureOptions
SetHeaders : Allow user to set Headers
type UpdateCollectionOptions ¶
type UpdateCollectionOptions struct { // Collection Id of the collection. CollectionID *string `json:"collection_id" validate:"required,ne="` // Collection name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name,omitempty"` // Description of the collection. Description *string `json:"description,omitempty"` // Tags associated with the collection. Tags *string `json:"tags,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateCollectionOptions : The UpdateCollection options.
func (*UpdateCollectionOptions) SetCollectionID ¶
func (_options *UpdateCollectionOptions) SetCollectionID(collectionID string) *UpdateCollectionOptions
SetCollectionID : Allow user to set CollectionID
func (*UpdateCollectionOptions) SetDescription ¶
func (_options *UpdateCollectionOptions) SetDescription(description string) *UpdateCollectionOptions
SetDescription : Allow user to set Description
func (*UpdateCollectionOptions) SetHeaders ¶
func (options *UpdateCollectionOptions) SetHeaders(param map[string]string) *UpdateCollectionOptions
SetHeaders : Allow user to set Headers
func (*UpdateCollectionOptions) SetName ¶
func (_options *UpdateCollectionOptions) SetName(name string) *UpdateCollectionOptions
SetName : Allow user to set Name
func (*UpdateCollectionOptions) SetTags ¶
func (_options *UpdateCollectionOptions) SetTags(tags string) *UpdateCollectionOptions
SetTags : Allow user to set Tags
type UpdateEnvironmentOptions ¶
type UpdateEnvironmentOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Environment name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name,omitempty"` // Environment description. Description *string `json:"description,omitempty"` // Tags associated with the environment. Tags *string `json:"tags,omitempty"` // Color code to distinguish the environment. The Hex code for the color. For example `#FF0000` for `red`. ColorCode *string `json:"color_code,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateEnvironmentOptions : The UpdateEnvironment options.
func (*UpdateEnvironmentOptions) SetColorCode ¶
func (_options *UpdateEnvironmentOptions) SetColorCode(colorCode string) *UpdateEnvironmentOptions
SetColorCode : Allow user to set ColorCode
func (*UpdateEnvironmentOptions) SetDescription ¶
func (_options *UpdateEnvironmentOptions) SetDescription(description string) *UpdateEnvironmentOptions
SetDescription : Allow user to set Description
func (*UpdateEnvironmentOptions) SetEnvironmentID ¶
func (_options *UpdateEnvironmentOptions) SetEnvironmentID(environmentID string) *UpdateEnvironmentOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*UpdateEnvironmentOptions) SetHeaders ¶
func (options *UpdateEnvironmentOptions) SetHeaders(param map[string]string) *UpdateEnvironmentOptions
SetHeaders : Allow user to set Headers
func (*UpdateEnvironmentOptions) SetName ¶
func (_options *UpdateEnvironmentOptions) SetName(name string) *UpdateEnvironmentOptions
SetName : Allow user to set Name
func (*UpdateEnvironmentOptions) SetTags ¶
func (_options *UpdateEnvironmentOptions) SetTags(tags string) *UpdateEnvironmentOptions
SetTags : Allow user to set Tags
type UpdateFeatureOptions ¶
type UpdateFeatureOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Feature Id. FeatureID *string `json:"feature_id" validate:"required,ne="` // Feature name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name,omitempty"` // Feature description. Description *string `json:"description,omitempty"` // Value of the feature when it is enabled. The value can be Boolean, Numeric, String - TEXT, String - JSON, String - // YAML value as per the `type` and `format` attributes. EnabledValue interface{} `json:"enabled_value,omitempty"` // Value of the feature when it is disabled. The value can be Boolean, Numeric, String - TEXT, String - JSON, String - // YAML value as per the `type` and `format` attributes. DisabledValue interface{} `json:"disabled_value,omitempty"` // The state of the feature flag. Enabled *bool `json:"enabled,omitempty"` // Rollout percentage associated with feature flag. Supported only for Lite and Enterprise plans. RolloutPercentage *int64 `json:"rollout_percentage,omitempty"` // Tags associated with the feature. Tags *string `json:"tags,omitempty"` // Specify the targeting rules that is used to set different property values for different segments. SegmentRules []FeatureSegmentRule `json:"segment_rules,omitempty"` // List of collection id representing the collections that are associated with the specified property. Collections []CollectionRef `json:"collections,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateFeatureOptions : The UpdateFeature options.
func (*UpdateFeatureOptions) SetCollections ¶
func (_options *UpdateFeatureOptions) SetCollections(collections []CollectionRef) *UpdateFeatureOptions
SetCollections : Allow user to set Collections
func (*UpdateFeatureOptions) SetDescription ¶
func (_options *UpdateFeatureOptions) SetDescription(description string) *UpdateFeatureOptions
SetDescription : Allow user to set Description
func (*UpdateFeatureOptions) SetDisabledValue ¶
func (_options *UpdateFeatureOptions) SetDisabledValue(disabledValue interface{}) *UpdateFeatureOptions
SetDisabledValue : Allow user to set DisabledValue
func (*UpdateFeatureOptions) SetEnabled ¶
func (_options *UpdateFeatureOptions) SetEnabled(enabled bool) *UpdateFeatureOptions
SetEnabled : Allow user to set Enabled
func (*UpdateFeatureOptions) SetEnabledValue ¶
func (_options *UpdateFeatureOptions) SetEnabledValue(enabledValue interface{}) *UpdateFeatureOptions
SetEnabledValue : Allow user to set EnabledValue
func (*UpdateFeatureOptions) SetEnvironmentID ¶
func (_options *UpdateFeatureOptions) SetEnvironmentID(environmentID string) *UpdateFeatureOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*UpdateFeatureOptions) SetFeatureID ¶
func (_options *UpdateFeatureOptions) SetFeatureID(featureID string) *UpdateFeatureOptions
SetFeatureID : Allow user to set FeatureID
func (*UpdateFeatureOptions) SetHeaders ¶
func (options *UpdateFeatureOptions) SetHeaders(param map[string]string) *UpdateFeatureOptions
SetHeaders : Allow user to set Headers
func (*UpdateFeatureOptions) SetName ¶
func (_options *UpdateFeatureOptions) SetName(name string) *UpdateFeatureOptions
SetName : Allow user to set Name
func (*UpdateFeatureOptions) SetRolloutPercentage ¶ added in v0.2.3
func (_options *UpdateFeatureOptions) SetRolloutPercentage(rolloutPercentage int64) *UpdateFeatureOptions
SetRolloutPercentage : Allow user to set RolloutPercentage
func (*UpdateFeatureOptions) SetSegmentRules ¶
func (_options *UpdateFeatureOptions) SetSegmentRules(segmentRules []FeatureSegmentRule) *UpdateFeatureOptions
SetSegmentRules : Allow user to set SegmentRules
func (*UpdateFeatureOptions) SetTags ¶
func (_options *UpdateFeatureOptions) SetTags(tags string) *UpdateFeatureOptions
SetTags : Allow user to set Tags
type UpdateFeatureValuesOptions ¶
type UpdateFeatureValuesOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Feature Id. FeatureID *string `json:"feature_id" validate:"required,ne="` // Feature name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name,omitempty"` // Feature description. Description *string `json:"description,omitempty"` // Tags associated with the feature. Tags *string `json:"tags,omitempty"` // Value of the feature when it is enabled. The value can be Boolean, Numeric, String - TEXT, String - JSON, String - // YAML value as per the `type` and `format` attributes. EnabledValue interface{} `json:"enabled_value,omitempty"` // Value of the feature when it is disabled. The value can be Boolean, Numeric, String - TEXT, String - JSON, String - // YAML value as per the `type` and `format` attributes. DisabledValue interface{} `json:"disabled_value,omitempty"` // Rollout percentage associated with feature flag. Supported only for Lite and Enterprise plans. RolloutPercentage *int64 `json:"rollout_percentage,omitempty"` // Specify the targeting rules that is used to set different property values for different segments. SegmentRules []FeatureSegmentRule `json:"segment_rules,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateFeatureValuesOptions : The UpdateFeatureValues options.
func (*UpdateFeatureValuesOptions) SetDescription ¶
func (_options *UpdateFeatureValuesOptions) SetDescription(description string) *UpdateFeatureValuesOptions
SetDescription : Allow user to set Description
func (*UpdateFeatureValuesOptions) SetDisabledValue ¶
func (_options *UpdateFeatureValuesOptions) SetDisabledValue(disabledValue interface{}) *UpdateFeatureValuesOptions
SetDisabledValue : Allow user to set DisabledValue
func (*UpdateFeatureValuesOptions) SetEnabledValue ¶
func (_options *UpdateFeatureValuesOptions) SetEnabledValue(enabledValue interface{}) *UpdateFeatureValuesOptions
SetEnabledValue : Allow user to set EnabledValue
func (*UpdateFeatureValuesOptions) SetEnvironmentID ¶
func (_options *UpdateFeatureValuesOptions) SetEnvironmentID(environmentID string) *UpdateFeatureValuesOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*UpdateFeatureValuesOptions) SetFeatureID ¶
func (_options *UpdateFeatureValuesOptions) SetFeatureID(featureID string) *UpdateFeatureValuesOptions
SetFeatureID : Allow user to set FeatureID
func (*UpdateFeatureValuesOptions) SetHeaders ¶
func (options *UpdateFeatureValuesOptions) SetHeaders(param map[string]string) *UpdateFeatureValuesOptions
SetHeaders : Allow user to set Headers
func (*UpdateFeatureValuesOptions) SetName ¶
func (_options *UpdateFeatureValuesOptions) SetName(name string) *UpdateFeatureValuesOptions
SetName : Allow user to set Name
func (*UpdateFeatureValuesOptions) SetRolloutPercentage ¶ added in v0.2.3
func (_options *UpdateFeatureValuesOptions) SetRolloutPercentage(rolloutPercentage int64) *UpdateFeatureValuesOptions
SetRolloutPercentage : Allow user to set RolloutPercentage
func (*UpdateFeatureValuesOptions) SetSegmentRules ¶
func (_options *UpdateFeatureValuesOptions) SetSegmentRules(segmentRules []FeatureSegmentRule) *UpdateFeatureValuesOptions
SetSegmentRules : Allow user to set SegmentRules
func (*UpdateFeatureValuesOptions) SetTags ¶
func (_options *UpdateFeatureValuesOptions) SetTags(tags string) *UpdateFeatureValuesOptions
SetTags : Allow user to set Tags
type UpdateGitconfigOptions ¶ added in v0.3.0
type UpdateGitconfigOptions struct { // Git Config Id. GitConfigID *string `json:"git_config_id" validate:"required,ne="` // Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. GitConfigName *string `json:"git_config_name,omitempty"` // Collection Id. CollectionID *string `json:"collection_id,omitempty"` // Environment Id. EnvironmentID *string `json:"environment_id,omitempty"` // Git url which will be used to connect to the github account. The url must be formed in this format, // https://api.github.com/repos/{owner}/{repo_name} for the personal git account. If you are using the organization // account then url must be in this format https://github.{organization_name}.com/api/v3/repos/{owner}/{repo_name} . // Note do not provide /(slash) in the beginning or at the end of the url. GitURL *string `json:"git_url,omitempty"` // Branch name to which you need to write or update the configuration. Just provide the branch name, do not provide any // /(slashes) in the beginning or at the end of the branch name. Note make sure branch exists in your repository. GitBranch *string `json:"git_branch,omitempty"` // Git file path, this is a path where your configuration file will be written. The path must contain the file name // with `json` extension. We only create or update `json` extension file. Note do not provide any /(slashes) in the // beginning or at the end of the file path. GitFilePath *string `json:"git_file_path,omitempty"` // Git token, this needs to be provided with enough permission to write and update the file. GitToken *string `json:"git_token,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateGitconfigOptions : The UpdateGitconfig options.
func (*UpdateGitconfigOptions) SetCollectionID ¶ added in v0.3.0
func (_options *UpdateGitconfigOptions) SetCollectionID(collectionID string) *UpdateGitconfigOptions
SetCollectionID : Allow user to set CollectionID
func (*UpdateGitconfigOptions) SetEnvironmentID ¶ added in v0.3.0
func (_options *UpdateGitconfigOptions) SetEnvironmentID(environmentID string) *UpdateGitconfigOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*UpdateGitconfigOptions) SetGitBranch ¶ added in v0.3.0
func (_options *UpdateGitconfigOptions) SetGitBranch(gitBranch string) *UpdateGitconfigOptions
SetGitBranch : Allow user to set GitBranch
func (*UpdateGitconfigOptions) SetGitConfigID ¶ added in v0.3.0
func (_options *UpdateGitconfigOptions) SetGitConfigID(gitConfigID string) *UpdateGitconfigOptions
SetGitConfigID : Allow user to set GitConfigID
func (*UpdateGitconfigOptions) SetGitConfigName ¶ added in v0.3.0
func (_options *UpdateGitconfigOptions) SetGitConfigName(gitConfigName string) *UpdateGitconfigOptions
SetGitConfigName : Allow user to set GitConfigName
func (*UpdateGitconfigOptions) SetGitFilePath ¶ added in v0.3.0
func (_options *UpdateGitconfigOptions) SetGitFilePath(gitFilePath string) *UpdateGitconfigOptions
SetGitFilePath : Allow user to set GitFilePath
func (*UpdateGitconfigOptions) SetGitToken ¶ added in v0.3.0
func (_options *UpdateGitconfigOptions) SetGitToken(gitToken string) *UpdateGitconfigOptions
SetGitToken : Allow user to set GitToken
func (*UpdateGitconfigOptions) SetGitURL ¶ added in v0.3.0
func (_options *UpdateGitconfigOptions) SetGitURL(gitURL string) *UpdateGitconfigOptions
SetGitURL : Allow user to set GitURL
func (*UpdateGitconfigOptions) SetHeaders ¶ added in v0.3.0
func (options *UpdateGitconfigOptions) SetHeaders(param map[string]string) *UpdateGitconfigOptions
SetHeaders : Allow user to set Headers
type UpdateOriginconfigsOptions ¶ added in v0.3.2
type UpdateOriginconfigsOptions struct { // List of allowed origins. Specify the parameter as a list of comma separated origins. AllowedOrigins []string `json:"allowed_origins" validate:"required"` // Allows users to set headers on API requests Headers map[string]string }
UpdateOriginconfigsOptions : The UpdateOriginconfigs options.
func (*UpdateOriginconfigsOptions) SetAllowedOrigins ¶ added in v0.3.2
func (_options *UpdateOriginconfigsOptions) SetAllowedOrigins(allowedOrigins []string) *UpdateOriginconfigsOptions
SetAllowedOrigins : Allow user to set AllowedOrigins
func (*UpdateOriginconfigsOptions) SetHeaders ¶ added in v0.3.2
func (options *UpdateOriginconfigsOptions) SetHeaders(param map[string]string) *UpdateOriginconfigsOptions
SetHeaders : Allow user to set Headers
type UpdatePropertyOptions ¶
type UpdatePropertyOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Property Id. PropertyID *string `json:"property_id" validate:"required,ne="` // Property name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name,omitempty"` // Property description. Description *string `json:"description,omitempty"` // Value of the Property. The value can be Boolean, Numeric, SecretRef, String - TEXT, String - JSON, String - YAML as // per the `type` and `format` attributes. Value interface{} `json:"value,omitempty"` // Tags associated with the property. Tags *string `json:"tags,omitempty"` // Specify the targeting rules that is used to set different property values for different segments. SegmentRules []SegmentRule `json:"segment_rules,omitempty"` // List of collection id representing the collections that are associated with the specified property. Collections []CollectionRef `json:"collections,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdatePropertyOptions : The UpdateProperty options.
func (*UpdatePropertyOptions) SetCollections ¶
func (_options *UpdatePropertyOptions) SetCollections(collections []CollectionRef) *UpdatePropertyOptions
SetCollections : Allow user to set Collections
func (*UpdatePropertyOptions) SetDescription ¶
func (_options *UpdatePropertyOptions) SetDescription(description string) *UpdatePropertyOptions
SetDescription : Allow user to set Description
func (*UpdatePropertyOptions) SetEnvironmentID ¶
func (_options *UpdatePropertyOptions) SetEnvironmentID(environmentID string) *UpdatePropertyOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*UpdatePropertyOptions) SetHeaders ¶
func (options *UpdatePropertyOptions) SetHeaders(param map[string]string) *UpdatePropertyOptions
SetHeaders : Allow user to set Headers
func (*UpdatePropertyOptions) SetName ¶
func (_options *UpdatePropertyOptions) SetName(name string) *UpdatePropertyOptions
SetName : Allow user to set Name
func (*UpdatePropertyOptions) SetPropertyID ¶
func (_options *UpdatePropertyOptions) SetPropertyID(propertyID string) *UpdatePropertyOptions
SetPropertyID : Allow user to set PropertyID
func (*UpdatePropertyOptions) SetSegmentRules ¶
func (_options *UpdatePropertyOptions) SetSegmentRules(segmentRules []SegmentRule) *UpdatePropertyOptions
SetSegmentRules : Allow user to set SegmentRules
func (*UpdatePropertyOptions) SetTags ¶
func (_options *UpdatePropertyOptions) SetTags(tags string) *UpdatePropertyOptions
SetTags : Allow user to set Tags
func (*UpdatePropertyOptions) SetValue ¶
func (_options *UpdatePropertyOptions) SetValue(value interface{}) *UpdatePropertyOptions
SetValue : Allow user to set Value
type UpdatePropertyValuesOptions ¶
type UpdatePropertyValuesOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // Property Id. PropertyID *string `json:"property_id" validate:"required,ne="` // Property name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name,omitempty"` // Property description. Description *string `json:"description,omitempty"` // Tags associated with the property. Tags *string `json:"tags,omitempty"` // Value of the Property. The value can be Boolean, Numeric, SecretRef, String - TEXT, String - JSON, String - YAML as // per the `type` and `format` attributes. Value interface{} `json:"value,omitempty"` // Specify the targeting rules that is used to set different property values for different segments. SegmentRules []SegmentRule `json:"segment_rules,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdatePropertyValuesOptions : The UpdatePropertyValues options.
func (*UpdatePropertyValuesOptions) SetDescription ¶
func (_options *UpdatePropertyValuesOptions) SetDescription(description string) *UpdatePropertyValuesOptions
SetDescription : Allow user to set Description
func (*UpdatePropertyValuesOptions) SetEnvironmentID ¶
func (_options *UpdatePropertyValuesOptions) SetEnvironmentID(environmentID string) *UpdatePropertyValuesOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*UpdatePropertyValuesOptions) SetHeaders ¶
func (options *UpdatePropertyValuesOptions) SetHeaders(param map[string]string) *UpdatePropertyValuesOptions
SetHeaders : Allow user to set Headers
func (*UpdatePropertyValuesOptions) SetName ¶
func (_options *UpdatePropertyValuesOptions) SetName(name string) *UpdatePropertyValuesOptions
SetName : Allow user to set Name
func (*UpdatePropertyValuesOptions) SetPropertyID ¶
func (_options *UpdatePropertyValuesOptions) SetPropertyID(propertyID string) *UpdatePropertyValuesOptions
SetPropertyID : Allow user to set PropertyID
func (*UpdatePropertyValuesOptions) SetSegmentRules ¶
func (_options *UpdatePropertyValuesOptions) SetSegmentRules(segmentRules []SegmentRule) *UpdatePropertyValuesOptions
SetSegmentRules : Allow user to set SegmentRules
func (*UpdatePropertyValuesOptions) SetTags ¶
func (_options *UpdatePropertyValuesOptions) SetTags(tags string) *UpdatePropertyValuesOptions
SetTags : Allow user to set Tags
func (*UpdatePropertyValuesOptions) SetValue ¶
func (_options *UpdatePropertyValuesOptions) SetValue(value interface{}) *UpdatePropertyValuesOptions
SetValue : Allow user to set Value
type UpdateSegmentOptions ¶
type UpdateSegmentOptions struct { // Segment Id. SegmentID *string `json:"segment_id" validate:"required,ne="` // Segment name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only. Name *string `json:"name,omitempty"` // Segment description. Description *string `json:"description,omitempty"` // Tags associated with segments. Tags *string `json:"tags,omitempty"` // List of rules that determine if the entity belongs to the segment during feature / property evaluation. An entity is // identified by an unique identifier and the attributes that it defines. Any feature flag and property value // evaluation is performed in the context of an entity when it is targeted to segments. Rules []Rule `json:"rules,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateSegmentOptions : The UpdateSegment options.
func (*UpdateSegmentOptions) SetDescription ¶
func (_options *UpdateSegmentOptions) SetDescription(description string) *UpdateSegmentOptions
SetDescription : Allow user to set Description
func (*UpdateSegmentOptions) SetHeaders ¶
func (options *UpdateSegmentOptions) SetHeaders(param map[string]string) *UpdateSegmentOptions
SetHeaders : Allow user to set Headers
func (*UpdateSegmentOptions) SetName ¶
func (_options *UpdateSegmentOptions) SetName(name string) *UpdateSegmentOptions
SetName : Allow user to set Name
func (*UpdateSegmentOptions) SetRules ¶
func (_options *UpdateSegmentOptions) SetRules(rules []Rule) *UpdateSegmentOptions
SetRules : Allow user to set Rules
func (*UpdateSegmentOptions) SetSegmentID ¶
func (_options *UpdateSegmentOptions) SetSegmentID(segmentID string) *UpdateSegmentOptions
SetSegmentID : Allow user to set SegmentID
func (*UpdateSegmentOptions) SetTags ¶
func (_options *UpdateSegmentOptions) SetTags(tags string) *UpdateSegmentOptions
SetTags : Allow user to set Tags
type UpdateWorkflowconfigOptions ¶ added in v0.4.0
type UpdateWorkflowconfigOptions struct { // Environment Id. EnvironmentID *string `json:"environment_id" validate:"required,ne="` // The request body to update a workflow config. UpdateWorkflowConfig UpdateWorkflowconfigRequestIntf `json:"UpdateWorkflowConfig" validate:"required"` // Allows users to set headers on API requests Headers map[string]string }
UpdateWorkflowconfigOptions : The UpdateWorkflowconfig options.
func (*UpdateWorkflowconfigOptions) SetEnvironmentID ¶ added in v0.4.0
func (_options *UpdateWorkflowconfigOptions) SetEnvironmentID(environmentID string) *UpdateWorkflowconfigOptions
SetEnvironmentID : Allow user to set EnvironmentID
func (*UpdateWorkflowconfigOptions) SetHeaders ¶ added in v0.4.0
func (options *UpdateWorkflowconfigOptions) SetHeaders(param map[string]string) *UpdateWorkflowconfigOptions
SetHeaders : Allow user to set Headers
func (*UpdateWorkflowconfigOptions) SetUpdateWorkflowConfig ¶ added in v0.4.3
func (_options *UpdateWorkflowconfigOptions) SetUpdateWorkflowConfig(updateWorkflowConfig UpdateWorkflowconfigRequestIntf) *UpdateWorkflowconfigOptions
SetUpdateWorkflowConfig : Allow user to set UpdateWorkflowConfig
type UpdateWorkflowconfigRequest ¶ added in v0.4.3
type UpdateWorkflowconfigRequest struct { // Service Now instance URL. Only url https://xxxxx.service-now.com allowed, xxxxx is the service now instance id. WorkflowURL *string `json:"workflow_url,omitempty"` // Group name of personals who can approve the Change Request on your Service Now. It must be first registered in your // Service Now then it must be added here. ApprovalGroupName *string `json:"approval_group_name,omitempty"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration,omitempty"` // The credentials of the Service Now instance. WorkflowCredentials *WorkflowCredentials `json:"workflow_credentials,omitempty"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled,omitempty"` // Only service crn will be allowed. Example: `crn:v1:staging:staging:appservice:us-south::::`. ServiceCrn *string `json:"service_crn,omitempty"` // Only Secret Manager instance crn will be allowed. Example: // `crn:v1:staging:public:secrets-manager:eu-gb:a/3268cfe9e25d411122f9a731a:0a23274-92d0a-4d42-b1fa-d15b4293cd::`. SmInstanceCrn *string `json:"sm_instance_crn,omitempty"` // Provide the arbitary secret key id which holds the api key to interact with service now. This is required to perform // action on ServiceNow like Create CR or Close CR. SecretID *string `json:"secret_id,omitempty"` }
UpdateWorkflowconfigRequest : UpdateWorkflowconfigRequest struct Models which "extend" this model: - UpdateWorkflowconfigRequestUpdateWorkflowConfig - UpdateWorkflowconfigRequestUpdateIbmWorkflowConfig
type UpdateWorkflowconfigRequestIntf ¶ added in v0.4.3
type UpdateWorkflowconfigRequestIntf interface {
// contains filtered or unexported methods
}
type UpdateWorkflowconfigRequestUpdateIbmWorkflowConfig ¶ added in v0.4.3
type UpdateWorkflowconfigRequestUpdateIbmWorkflowConfig struct { // Only service crn will be allowed. Example: `crn:v1:staging:staging:appservice:us-south::::`. ServiceCrn *string `json:"service_crn,omitempty"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration,omitempty"` // Only Secret Manager instance crn will be allowed. Example: // `crn:v1:staging:public:secrets-manager:eu-gb:a/3268cfe9e25d411122f9a731a:0a23274-92d0a-4d42-b1fa-d15b4293cd::`. SmInstanceCrn *string `json:"sm_instance_crn,omitempty"` // Provide the arbitary secret key id which holds the api key to interact with service now. This is required to perform // action on ServiceNow like Create CR or Close CR. SecretID *string `json:"secret_id,omitempty"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled,omitempty"` }
UpdateWorkflowconfigRequestUpdateIbmWorkflowConfig : IBM Workflow config attributes to be updated. This model "extends" UpdateWorkflowconfigRequest
type UpdateWorkflowconfigRequestUpdateWorkflowConfig ¶ added in v0.4.3
type UpdateWorkflowconfigRequestUpdateWorkflowConfig struct { // Service Now instance URL. Only url https://xxxxx.service-now.com allowed, xxxxx is the service now instance id. WorkflowURL *string `json:"workflow_url,omitempty"` // Group name of personals who can approve the Change Request on your Service Now. It must be first registered in your // Service Now then it must be added here. ApprovalGroupName *string `json:"approval_group_name,omitempty"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration,omitempty"` // The credentials of the Service Now instance. WorkflowCredentials *WorkflowCredentials `json:"workflow_credentials,omitempty"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled,omitempty"` }
UpdateWorkflowconfigRequestUpdateWorkflowConfig : Workflow config attributes to be updated. This model "extends" UpdateWorkflowconfigRequest
type UpdateWorkflowconfigResponse ¶ added in v0.4.3
type UpdateWorkflowconfigResponse struct { // Environment name of workflow config in which it is created. EnvironmentName *string `json:"environment_name,omitempty"` // Environment ID of workflow config in which it is created. EnvironmentID *string `json:"environment_id,omitempty"` // Only service now url https://xxxxx.service-now.com allowed, xxxxx is the service now instance id. WorkflowURL *string `json:"workflow_url,omitempty"` // Group name of personals who can approve the Change Request on your Service Now. It must be first registered in your // Service Now then it must be added here. ApprovalGroupName *string `json:"approval_group_name,omitempty"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration,omitempty"` // The credentials of the Service Now instance. WorkflowCredentials *WorkflowCredentials `json:"workflow_credentials,omitempty"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled,omitempty"` // Creation time of the workflow configs. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the workflow configs. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Workflow Config URL. Href *string `json:"href,omitempty"` // Only service crn will be allowed. Example: `crn:v1:staging:staging:appservice:us-south::::`. ServiceCrn *string `json:"service_crn,omitempty"` // Allowed value is `SERVICENOW_IBM` case-sensitive. WorkflowType *string `json:"workflow_type,omitempty"` // Only Secret Manager instance crn will be allowed. Example: // `crn:v1:staging:public:secrets-manager:eu-gb:a/3268cfe9e25d411122f9a731a:0a23274-92d0a-4d42-b1fa-d15b4293cd::`. SmInstanceCrn *string `json:"sm_instance_crn,omitempty"` // Provide the arbitary secret key id which holds the api key to interact with service now. This is required to perform // action on ServiceNow like Create CR or Close CR. SecretID *string `json:"secret_id,omitempty"` }
UpdateWorkflowconfigResponse : UpdateWorkflowconfigResponse struct Models which "extend" this model: - UpdateWorkflowconfigResponseWorkflowConfig - UpdateWorkflowconfigResponseIbmWorkflowConfig
type UpdateWorkflowconfigResponseIbmWorkflowConfig ¶ added in v0.4.3
type UpdateWorkflowconfigResponseIbmWorkflowConfig struct { // Environment name of workflow config in which it is created. EnvironmentName *string `json:"environment_name,omitempty"` // Environment ID of workflow config in which it is created. EnvironmentID *string `json:"environment_id,omitempty"` // Only service crn will be allowed. Example: `crn:v1:staging:staging:appservice:us-south::::`. ServiceCrn *string `json:"service_crn" validate:"required"` // Allowed value is `SERVICENOW_IBM` case-sensitive. WorkflowType *string `json:"workflow_type" validate:"required"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration" validate:"required"` // Only Secret Manager instance crn will be allowed. Example: // `crn:v1:staging:public:secrets-manager:eu-gb:a/3268cfe9e25d411122f9a731a:0a23274-92d0a-4d42-b1fa-d15b4293cd::`. SmInstanceCrn *string `json:"sm_instance_crn" validate:"required"` // Provide the arbitary secret key id which holds the api key to interact with service now. This is required to perform // action on ServiceNow like Create CR or Close CR. SecretID *string `json:"secret_id" validate:"required"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled" validate:"required"` // Creation time of the workflow configs. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the workflow configs. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Workflow Config URL. Href *string `json:"href,omitempty"` }
UpdateWorkflowconfigResponseIbmWorkflowConfig : Details of the IBM Workflow configuration. This model "extends" UpdateWorkflowconfigResponse
type UpdateWorkflowconfigResponseIntf ¶ added in v0.4.3
type UpdateWorkflowconfigResponseIntf interface {
// contains filtered or unexported methods
}
type UpdateWorkflowconfigResponseWorkflowConfig ¶ added in v0.4.3
type UpdateWorkflowconfigResponseWorkflowConfig struct { // Environment name of workflow config in which it is created. EnvironmentName *string `json:"environment_name,omitempty"` // Environment ID of workflow config in which it is created. EnvironmentID *string `json:"environment_id,omitempty"` // Only service now url https://xxxxx.service-now.com allowed, xxxxx is the service now instance id. WorkflowURL *string `json:"workflow_url" validate:"required"` // Group name of personals who can approve the Change Request on your Service Now. It must be first registered in your // Service Now then it must be added here. ApprovalGroupName *string `json:"approval_group_name" validate:"required"` // Integer number identifies as hours which helps in adding approval start and end time to the created Change Request. ApprovalExpiration *int64 `json:"approval_expiration" validate:"required"` // The credentials of the Service Now instance. WorkflowCredentials *WorkflowCredentials `json:"workflow_credentials" validate:"required"` // This option enables the workflow configuration per environment. User must set it to true if they wish to create // Change Request for flag state changes. Enabled *bool `json:"enabled" validate:"required"` // Creation time of the workflow configs. CreatedTime *strfmt.DateTime `json:"created_time,omitempty"` // Last modified time of the workflow configs. UpdatedTime *strfmt.DateTime `json:"updated_time,omitempty"` // Workflow Config URL. Href *string `json:"href,omitempty"` }
UpdateWorkflowconfigResponseWorkflowConfig : Details of the External Workflow configuration. This model "extends" UpdateWorkflowconfigResponse
type WorkflowCredentials ¶ added in v0.4.1
type WorkflowCredentials struct { // Service Now instance login username. Username *string `json:"username" validate:"required"` // Service Now instance login password. Password *string `json:"password" validate:"required"` // The auto-generated unique ID of the application in your Service Now instance. ClientID *string `json:"client_id" validate:"required"` // The secret string that both the Service Now instance and the client application use to authorize communications with // one another. ClientSecret *string `json:"client_secret" validate:"required"` }
WorkflowCredentials : The credentials of the Service Now instance.