Documentation ¶
Index ¶
- type DeploymentApprovalPolicy
- type ExternalCredentials
- type IacConfig
- type Namespace
- func (o Namespace) MarshalJSON() ([]byte, error)
- func (o *Namespace) SetDeploymentApprovalPolicy(v *DeploymentApprovalPolicy) *Namespace
- func (o *Namespace) SetDescription(v *string) *Namespace
- func (o *Namespace) SetExternalCredentials(v []*ExternalCredentials) *Namespace
- func (o *Namespace) SetID(v *string) *Namespace
- func (o *Namespace) SetIacConfig(v *IacConfig) *Namespace
- func (o *Namespace) SetName(v *string) *Namespace
- func (o *Namespace) SetRunnerConfig(v *RunnerConfig) *Namespace
- type RunnerConfig
- type Service
- type ServiceOp
- func (s *ServiceOp) CreateNamespace(ctx context.Context, input *Namespace) (*Namespace, error)
- func (s *ServiceOp) DeleteNamespace(ctx context.Context, namespaceId string) (*commons.EmptyResponse, error)
- func (s *ServiceOp) ListNamespaces(ctx context.Context, namespaceId *string, namespaceName *string) ([]*Namespace, error)
- func (s *ServiceOp) ReadNamespace(ctx context.Context, namespaceId string) (*Namespace, error)
- func (s *ServiceOp) UpdateNamespace(ctx context.Context, namespaceId string, input *Namespace) (*Namespace, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentApprovalPolicy ¶ added in v1.3.0
type DeploymentApprovalPolicy struct { Rules []*cross_models.DeploymentApprovalPolicyRule `json:"rules,omitempty"` OverrideBehavior *string `json:"overrideBehavior,omitempty"` //commons.OverrideBehaviorTypes // contains filtered or unexported fields }
func (DeploymentApprovalPolicy) MarshalJSON ¶ added in v1.3.0
func (o DeploymentApprovalPolicy) MarshalJSON() ([]byte, error)
func (*DeploymentApprovalPolicy) SetOverrideBehavior ¶ added in v1.3.0
func (o *DeploymentApprovalPolicy) SetOverrideBehavior(v *string) *DeploymentApprovalPolicy
func (*DeploymentApprovalPolicy) SetRules ¶ added in v1.3.0
func (o *DeploymentApprovalPolicy) SetRules(v []*cross_models.DeploymentApprovalPolicyRule) *DeploymentApprovalPolicy
type ExternalCredentials ¶
type ExternalCredentials struct { Type *string `json:"type,omitempty"` //commons.ExternalCredentialTypes ExternalCredentialsId *string `json:"externalCredentialsId,omitempty"` AwsProfileName *string `json:"awsProfileName,omitempty"` // contains filtered or unexported fields }
func (ExternalCredentials) MarshalJSON ¶
func (o ExternalCredentials) MarshalJSON() ([]byte, error)
func (*ExternalCredentials) SetAwsProfileName ¶ added in v1.3.0
func (o *ExternalCredentials) SetAwsProfileName(v *string) *ExternalCredentials
func (*ExternalCredentials) SetExternalCredentialsId ¶
func (o *ExternalCredentials) SetExternalCredentialsId(v *string) *ExternalCredentials
func (*ExternalCredentials) SetType ¶
func (o *ExternalCredentials) SetType(v *string) *ExternalCredentials
type IacConfig ¶ added in v1.3.0
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 ¶ added in v1.3.0
func (*IacConfig) SetOpentofuVersion ¶ added in v1.4.0
func (*IacConfig) SetTerraformVersion ¶ added in v1.3.0
func (*IacConfig) SetTerragruntVersion ¶ added in v1.3.0
type Namespace ¶
type Namespace struct { ID *string `json:"id,omitempty"` // read-only Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` ExternalCredentials []*ExternalCredentials `json:"externalCredentials,omitempty"` IacConfig *IacConfig `json:"iacConfig,omitempty"` RunnerConfig *RunnerConfig `json:"runnerConfig,omitempty"` DeploymentApprovalPolicy *DeploymentApprovalPolicy `json:"deploymentApprovalPolicy,omitempty"` // contains filtered or unexported fields }
func (Namespace) MarshalJSON ¶
func (*Namespace) SetDeploymentApprovalPolicy ¶ added in v1.3.0
func (o *Namespace) SetDeploymentApprovalPolicy(v *DeploymentApprovalPolicy) *Namespace
func (*Namespace) SetDescription ¶
func (*Namespace) SetExternalCredentials ¶
func (o *Namespace) SetExternalCredentials(v []*ExternalCredentials) *Namespace
func (*Namespace) SetIacConfig ¶ added in v1.3.0
func (*Namespace) SetRunnerConfig ¶ added in v1.3.0
func (o *Namespace) SetRunnerConfig(v *RunnerConfig) *Namespace
type RunnerConfig ¶ added in v1.3.0
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 ¶ added in v1.3.0
func (o RunnerConfig) MarshalJSON() ([]byte, error)
func (*RunnerConfig) SetGroups ¶ added in v1.3.0
func (o *RunnerConfig) SetGroups(v []*string) *RunnerConfig
func (*RunnerConfig) SetIsOverridable ¶ added in v1.3.0
func (o *RunnerConfig) SetIsOverridable(v *bool) *RunnerConfig
func (*RunnerConfig) SetMode ¶ added in v1.3.0
func (o *RunnerConfig) SetMode(v *string) *RunnerConfig
type Service ¶
type Service interface { CreateNamespace(context.Context, *Namespace) (*Namespace, error) ListNamespaces(context.Context, *string, *string) ([]*Namespace, error) ReadNamespace(context.Context, string) (*Namespace, error) UpdateNamespace(context.Context, string, *Namespace) (*Namespace, error) DeleteNamespace(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) CreateNamespace ¶
func (*ServiceOp) DeleteNamespace ¶
func (*ServiceOp) ListNamespaces ¶
func (*ServiceOp) ReadNamespace ¶
Click to show internal directories.
Click to hide internal directories.