Documentation
¶
Index ¶
- type Service
- type ServiceOp
- func (s *ServiceOp) CreateStackDiscoveryConfiguration(ctx context.Context, input *StackDiscoveryConfiguration) (*StackDiscoveryConfiguration, error)
- func (s *ServiceOp) DeleteStackDiscoveryConfiguration(ctx context.Context, configId string) (*commons.EmptyResponse, error)
- func (s *ServiceOp) ReadStackDiscoveryConfiguration(ctx context.Context, configId string) (*StackDiscoveryConfiguration, error)
- func (s *ServiceOp) UpdateStackDiscoveryConfiguration(ctx context.Context, configId string, input *StackDiscoveryConfiguration) (*StackDiscoveryConfiguration, error)
- type StackConfig
- func (o StackConfig) MarshalJSON() ([]byte, error)
- func (o *StackConfig) SetAutoSync(v *cross_models.AutoSync) *StackConfig
- func (o *StackConfig) SetDeploymentApprovalPolicy(v *cross_models.DeploymentApprovalPolicy) *StackConfig
- func (o *StackConfig) SetDeploymentBehavior(v *cross_models.DeploymentBehavior) *StackConfig
- func (o *StackConfig) SetIacConfig(v *cross_models.IacConfig) *StackConfig
- func (o *StackConfig) SetIacType(v *string) *StackConfig
- func (o *StackConfig) SetRunTrigger(v *cross_models.RunTrigger) *StackConfig
- func (o *StackConfig) SetRunnerConfig(v *cross_models.RunnerConfig) *StackConfig
- type StackDiscoveryConfiguration
- func (o StackDiscoveryConfiguration) MarshalJSON() ([]byte, error)
- func (o *StackDiscoveryConfiguration) SetDescription(v *string) *StackDiscoveryConfiguration
- func (o *StackDiscoveryConfiguration) SetName(v *string) *StackDiscoveryConfiguration
- func (o *StackDiscoveryConfiguration) SetNamespaceId(v *string) *StackDiscoveryConfiguration
- func (o *StackDiscoveryConfiguration) SetStackConfig(v *StackConfig) *StackDiscoveryConfiguration
- func (o *StackDiscoveryConfiguration) SetVcsPatterns(v []*VcsPattern) *StackDiscoveryConfiguration
- type VcsPattern
- func (o VcsPattern) MarshalJSON() ([]byte, error)
- func (o *VcsPattern) SetBranch(v *string) *VcsPattern
- func (o *VcsPattern) SetExcludePathPatterns(v []*string) *VcsPattern
- func (o *VcsPattern) SetPathPatterns(v []*string) *VcsPattern
- func (o *VcsPattern) SetProviderId(v *string) *VcsPattern
- func (o *VcsPattern) SetRepoName(v *string) *VcsPattern
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
CreateStackDiscoveryConfiguration(context.Context, *StackDiscoveryConfiguration) (*StackDiscoveryConfiguration, error)
ReadStackDiscoveryConfiguration(context.Context, string) (*StackDiscoveryConfiguration, error)
UpdateStackDiscoveryConfiguration(context.Context, string, *StackDiscoveryConfiguration) (*StackDiscoveryConfiguration, error)
DeleteStackDiscoveryConfiguration(context.Context, string) (*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) CreateStackDiscoveryConfiguration ¶
func (s *ServiceOp) CreateStackDiscoveryConfiguration(ctx context.Context, input *StackDiscoveryConfiguration) (*StackDiscoveryConfiguration, error)
func (*ServiceOp) DeleteStackDiscoveryConfiguration ¶
func (*ServiceOp) ReadStackDiscoveryConfiguration ¶
func (*ServiceOp) UpdateStackDiscoveryConfiguration ¶
func (s *ServiceOp) UpdateStackDiscoveryConfiguration(ctx context.Context, configId string, input *StackDiscoveryConfiguration) (*StackDiscoveryConfiguration, error)
type StackConfig ¶
type StackConfig struct {
IacType *string `json:"iacType,omitempty"` //commons.IacTypes
DeploymentBehavior *cross_models.DeploymentBehavior `json:"deploymentBehavior,omitempty"`
DeploymentApprovalPolicy *cross_models.DeploymentApprovalPolicy `json:"deploymentApprovalPolicy,omitempty"`
RunTrigger *cross_models.RunTrigger `json:"runTrigger,omitempty"`
IacConfig *cross_models.IacConfig `json:"iacConfig,omitempty"`
RunnerConfig *cross_models.RunnerConfig `json:"runnerConfig,omitempty"`
AutoSync *cross_models.AutoSync `json:"autoSync,omitempty"`
// contains filtered or unexported fields
}
func (StackConfig) MarshalJSON ¶
func (o StackConfig) MarshalJSON() ([]byte, error)
func (*StackConfig) SetAutoSync ¶
func (o *StackConfig) SetAutoSync(v *cross_models.AutoSync) *StackConfig
func (*StackConfig) SetDeploymentApprovalPolicy ¶
func (o *StackConfig) SetDeploymentApprovalPolicy(v *cross_models.DeploymentApprovalPolicy) *StackConfig
func (*StackConfig) SetDeploymentBehavior ¶
func (o *StackConfig) SetDeploymentBehavior(v *cross_models.DeploymentBehavior) *StackConfig
func (*StackConfig) SetIacConfig ¶
func (o *StackConfig) SetIacConfig(v *cross_models.IacConfig) *StackConfig
func (*StackConfig) SetIacType ¶
func (o *StackConfig) SetIacType(v *string) *StackConfig
func (*StackConfig) SetRunTrigger ¶
func (o *StackConfig) SetRunTrigger(v *cross_models.RunTrigger) *StackConfig
func (*StackConfig) SetRunnerConfig ¶
func (o *StackConfig) SetRunnerConfig(v *cross_models.RunnerConfig) *StackConfig
type StackDiscoveryConfiguration ¶
type StackDiscoveryConfiguration struct {
ID *string `json:"id,omitempty"` // read-only
Name *string `json:"name,omitempty"`
NamespaceId *string `json:"namespaceId,omitempty"`
Description *string `json:"description,omitempty"`
VcsPatterns []*VcsPattern `json:"vcsPatterns,omitempty"`
StackConfig *StackConfig `json:"stackConfig,omitempty"`
// contains filtered or unexported fields
}
func (StackDiscoveryConfiguration) MarshalJSON ¶
func (o StackDiscoveryConfiguration) MarshalJSON() ([]byte, error)
func (*StackDiscoveryConfiguration) SetDescription ¶
func (o *StackDiscoveryConfiguration) SetDescription(v *string) *StackDiscoveryConfiguration
func (*StackDiscoveryConfiguration) SetName ¶
func (o *StackDiscoveryConfiguration) SetName(v *string) *StackDiscoveryConfiguration
func (*StackDiscoveryConfiguration) SetNamespaceId ¶
func (o *StackDiscoveryConfiguration) SetNamespaceId(v *string) *StackDiscoveryConfiguration
func (*StackDiscoveryConfiguration) SetStackConfig ¶
func (o *StackDiscoveryConfiguration) SetStackConfig(v *StackConfig) *StackDiscoveryConfiguration
func (*StackDiscoveryConfiguration) SetVcsPatterns ¶
func (o *StackDiscoveryConfiguration) SetVcsPatterns(v []*VcsPattern) *StackDiscoveryConfiguration
type VcsPattern ¶
type VcsPattern struct {
ProviderId *string `json:"providerId,omitempty"`
RepoName *string `json:"repoName,omitempty"`
PathPatterns []*string `json:"pathPatterns,omitempty"`
ExcludePathPatterns []*string `json:"excludePathPatterns,omitempty"`
Branch *string `json:"branch,omitempty"`
// contains filtered or unexported fields
}
func (VcsPattern) MarshalJSON ¶
func (o VcsPattern) MarshalJSON() ([]byte, error)
func (*VcsPattern) SetBranch ¶
func (o *VcsPattern) SetBranch(v *string) *VcsPattern
func (*VcsPattern) SetExcludePathPatterns ¶
func (o *VcsPattern) SetExcludePathPatterns(v []*string) *VcsPattern
func (*VcsPattern) SetPathPatterns ¶
func (o *VcsPattern) SetPathPatterns(v []*string) *VcsPattern
func (*VcsPattern) SetProviderId ¶
func (o *VcsPattern) SetProviderId(v *string) *VcsPattern
func (*VcsPattern) SetRepoName ¶
func (o *VcsPattern) SetRepoName(v *string) *VcsPattern
Click to show internal directories.
Click to hide internal directories.