Documentation
¶
Index ¶
- type AzureStorageStateFilesLocation
- func (o AzureStorageStateFilesLocation) MarshalJSON() ([]byte, error)
- func (o *AzureStorageStateFilesLocation) SetAzureSubscriptionId(v *string) *AzureStorageStateFilesLocation
- func (o *AzureStorageStateFilesLocation) SetContainerName(v *string) *AzureStorageStateFilesLocation
- func (o *AzureStorageStateFilesLocation) SetStorageAccountName(v *string) *AzureStorageStateFilesLocation
- type GcsStateFilesLocation
- type IacConfig
- type OrgConfiguration
- func (o OrgConfiguration) MarshalJSON() ([]byte, error)
- func (o *OrgConfiguration) SetIacConfig(v *IacConfig) *OrgConfiguration
- func (o *OrgConfiguration) SetReportConfigurations(v []*ReportConfiguration) *OrgConfiguration
- func (o *OrgConfiguration) SetRunnerConfig(v *RunnerConfig) *OrgConfiguration
- func (o *OrgConfiguration) SetSuppressedResources(v *SuppressedResources) *OrgConfiguration
- func (o *OrgConfiguration) SetTfStateFilesAzureStorageLocations(v []*AzureStorageStateFilesLocation) *OrgConfiguration
- func (o *OrgConfiguration) SetTfStateFilesGcsLocations(v []*GcsStateFilesLocation) *OrgConfiguration
- func (o *OrgConfiguration) SetTfStateFilesS3Locations(v []*S3StateFilesLocation) *OrgConfiguration
- type ReportConfiguration
- type ReportRecipients
- type RunnerConfig
- type S3StateFilesLocation
- type Service
- type ServiceOp
- func (s *ServiceOp) DeleteOrgConfiguration(ctx context.Context) (*commons.EmptyResponse, error)
- func (s *ServiceOp) ReadOrgConfiguration(ctx context.Context) (*OrgConfiguration, error)
- func (s *ServiceOp) UpsertOrgConfiguration(ctx context.Context, input *OrgConfiguration) (*OrgConfiguration, error)
- type SuppressedResources
- type TagProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureStorageStateFilesLocation ¶ added in v1.15.0
type AzureStorageStateFilesLocation struct {
StorageAccountName *string `json:"storageAccountName,omitempty"`
ContainerName *string `json:"containerName,omitempty"`
AzureSubscriptionId *string `json:"azureSubscriptionId,omitempty"`
// contains filtered or unexported fields
}
func (AzureStorageStateFilesLocation) MarshalJSON ¶ added in v1.15.0
func (o AzureStorageStateFilesLocation) MarshalJSON() ([]byte, error)
func (*AzureStorageStateFilesLocation) SetAzureSubscriptionId ¶ added in v1.15.0
func (o *AzureStorageStateFilesLocation) SetAzureSubscriptionId(v *string) *AzureStorageStateFilesLocation
func (*AzureStorageStateFilesLocation) SetContainerName ¶ added in v1.15.0
func (o *AzureStorageStateFilesLocation) SetContainerName(v *string) *AzureStorageStateFilesLocation
func (*AzureStorageStateFilesLocation) SetStorageAccountName ¶ added in v1.15.0
func (o *AzureStorageStateFilesLocation) SetStorageAccountName(v *string) *AzureStorageStateFilesLocation
type GcsStateFilesLocation ¶ added in v1.15.0
type GcsStateFilesLocation struct {
BucketName *string `json:"bucketName,omitempty"`
GcpProjectId *string `json:"gcpProjectId,omitempty"`
// contains filtered or unexported fields
}
func (GcsStateFilesLocation) MarshalJSON ¶ added in v1.15.0
func (o GcsStateFilesLocation) MarshalJSON() ([]byte, error)
func (*GcsStateFilesLocation) SetBucketName ¶ added in v1.15.0
func (o *GcsStateFilesLocation) SetBucketName(v *string) *GcsStateFilesLocation
func (*GcsStateFilesLocation) SetGcpProjectId ¶ added in v1.15.0
func (o *GcsStateFilesLocation) SetGcpProjectId(v *string) *GcsStateFilesLocation
type IacConfig ¶
type IacConfig struct {
TerraformVersion *string `json:"terraformVersion,omitempty"`
TerragruntVersion *string `json:"terragruntVersion,omitempty"`
OpentofuVersion *string `json:"opentofuVersion,omitempty"`
// contains filtered or unexported fields
}
func (IacConfig) MarshalJSON ¶
func (*IacConfig) SetOpentofuVersion ¶
func (*IacConfig) SetTerraformVersion ¶
func (*IacConfig) SetTerragruntVersion ¶
type OrgConfiguration ¶
type OrgConfiguration struct {
IacConfig *IacConfig `json:"iacConfig,omitempty"`
S3StateFilesLocations []*S3StateFilesLocation `json:"tfStateFilesS3Locations,omitempty"`
AzureStorageStateFilesLocations []*AzureStorageStateFilesLocation `json:"tfStateFilesAzureStorageLocations,omitempty"`
GcsStateFilesLocations []*GcsStateFilesLocation `json:"tfStateFilesGcsLocations,omitempty"`
RunnerConfig *RunnerConfig `json:"runnerConfig,omitempty"`
SuppressedResources *SuppressedResources `json:"suppressedResources,omitempty"`
ReportConfigurations []*ReportConfiguration `json:"reportConfigurations,omitempty"`
// contains filtered or unexported fields
}
func (OrgConfiguration) MarshalJSON ¶
func (o OrgConfiguration) MarshalJSON() ([]byte, error)
func (*OrgConfiguration) SetIacConfig ¶
func (o *OrgConfiguration) SetIacConfig(v *IacConfig) *OrgConfiguration
func (*OrgConfiguration) SetReportConfigurations ¶
func (o *OrgConfiguration) SetReportConfigurations(v []*ReportConfiguration) *OrgConfiguration
func (*OrgConfiguration) SetRunnerConfig ¶
func (o *OrgConfiguration) SetRunnerConfig(v *RunnerConfig) *OrgConfiguration
func (*OrgConfiguration) SetSuppressedResources ¶
func (o *OrgConfiguration) SetSuppressedResources(v *SuppressedResources) *OrgConfiguration
func (*OrgConfiguration) SetTfStateFilesAzureStorageLocations ¶ added in v1.15.0
func (o *OrgConfiguration) SetTfStateFilesAzureStorageLocations(v []*AzureStorageStateFilesLocation) *OrgConfiguration
func (*OrgConfiguration) SetTfStateFilesGcsLocations ¶ added in v1.15.0
func (o *OrgConfiguration) SetTfStateFilesGcsLocations(v []*GcsStateFilesLocation) *OrgConfiguration
func (*OrgConfiguration) SetTfStateFilesS3Locations ¶
func (o *OrgConfiguration) SetTfStateFilesS3Locations(v []*S3StateFilesLocation) *OrgConfiguration
type ReportConfiguration ¶
type ReportConfiguration struct {
Type *string `json:"type,omitempty"` //commons.ReportTypes
Recipients *ReportRecipients `json:"recipients,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// contains filtered or unexported fields
}
func (ReportConfiguration) MarshalJSON ¶
func (o ReportConfiguration) MarshalJSON() ([]byte, error)
func (*ReportConfiguration) SetEnabled ¶
func (o *ReportConfiguration) SetEnabled(v *bool) *ReportConfiguration
func (*ReportConfiguration) SetRecipients ¶
func (o *ReportConfiguration) SetRecipients(v *ReportRecipients) *ReportConfiguration
func (*ReportConfiguration) SetType ¶
func (o *ReportConfiguration) SetType(v *string) *ReportConfiguration
type ReportRecipients ¶
type ReportRecipients struct {
AllAdmins *bool `json:"allAdmins,omitempty"`
EmailAddresses []*string `json:"emailAddresses,omitempty"`
EmailAddressesToExclude []*string `json:"emailAddressesToExclude,omitempty"`
// contains filtered or unexported fields
}
func (ReportRecipients) MarshalJSON ¶
func (o ReportRecipients) MarshalJSON() ([]byte, error)
func (*ReportRecipients) SetAllAdmins ¶
func (o *ReportRecipients) SetAllAdmins(v *bool) *ReportRecipients
func (*ReportRecipients) SetEmailAddresses ¶
func (o *ReportRecipients) SetEmailAddresses(v []*string) *ReportRecipients
func (*ReportRecipients) SetEmailAddressesToExclude ¶
func (o *ReportRecipients) SetEmailAddressesToExclude(v []*string) *ReportRecipients
type RunnerConfig ¶
type RunnerConfig struct {
Mode *string `json:"mode,omitempty"` //commons.RunnerConfigModeTypes
Groups []*string `json:"groups,omitempty"`
IsOverridable *bool `json:"isOverridable,omitempty"`
// contains filtered or unexported fields
}
func (RunnerConfig) MarshalJSON ¶
func (o RunnerConfig) MarshalJSON() ([]byte, error)
func (*RunnerConfig) SetGroups ¶
func (o *RunnerConfig) SetGroups(v []*string) *RunnerConfig
func (*RunnerConfig) SetIsOverridable ¶
func (o *RunnerConfig) SetIsOverridable(v *bool) *RunnerConfig
func (*RunnerConfig) SetMode ¶
func (o *RunnerConfig) SetMode(v *string) *RunnerConfig
type S3StateFilesLocation ¶
type S3StateFilesLocation struct {
BucketName *string `json:"bucketName,omitempty"`
BucketRegion *string `json:"bucketRegion,omitempty"`
AwsAccountId *string `json:"awsAccountId,omitempty"`
// contains filtered or unexported fields
}
func (S3StateFilesLocation) MarshalJSON ¶
func (o S3StateFilesLocation) MarshalJSON() ([]byte, error)
func (*S3StateFilesLocation) SetAwsAccountId ¶
func (o *S3StateFilesLocation) SetAwsAccountId(v *string) *S3StateFilesLocation
func (*S3StateFilesLocation) SetBucketName ¶
func (o *S3StateFilesLocation) SetBucketName(v *string) *S3StateFilesLocation
func (*S3StateFilesLocation) SetBucketRegion ¶
func (o *S3StateFilesLocation) SetBucketRegion(v *string) *S3StateFilesLocation
type Service ¶
type Service interface {
ReadOrgConfiguration(context.Context) (*OrgConfiguration, error)
UpsertOrgConfiguration(context.Context, *OrgConfiguration) (*OrgConfiguration, error)
DeleteOrgConfiguration(context.Context) (*commons.EmptyResponse, error)
}
Service provides the API operation methods for making requests to endpoints of the ControlMonkey API. See this package's package overview docs for details on the service.
type ServiceOp ¶
func (*ServiceOp) DeleteOrgConfiguration ¶
func (*ServiceOp) ReadOrgConfiguration ¶
func (s *ServiceOp) ReadOrgConfiguration(ctx context.Context) (*OrgConfiguration, error)
func (*ServiceOp) UpsertOrgConfiguration ¶
func (s *ServiceOp) UpsertOrgConfiguration(ctx context.Context, input *OrgConfiguration) (*OrgConfiguration, error)
type SuppressedResources ¶
type SuppressedResources struct {
ManagedByTags []*TagProperties `json:"managedByTags,omitempty"`
// contains filtered or unexported fields
}
func (SuppressedResources) MarshalJSON ¶
func (o SuppressedResources) MarshalJSON() ([]byte, error)
func (*SuppressedResources) SetManagedByTags ¶
func (o *SuppressedResources) SetManagedByTags(v []*TagProperties) *SuppressedResources
type TagProperties ¶
type TagProperties struct {
Key *string `json:"key,omitempty"`
Value *string `json:"value,omitempty"`
// contains filtered or unexported fields
}
func (TagProperties) MarshalJSON ¶
func (o TagProperties) MarshalJSON() ([]byte, error)
func (*TagProperties) SetKey ¶
func (o *TagProperties) SetKey(v *string) *TagProperties
func (*TagProperties) SetValue ¶
func (o *TagProperties) SetValue(v *string) *TagProperties
Click to show internal directories.
Click to hide internal directories.