Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRequiredCompanyIDOrProjectID = fmt.Errorf("at least one of company id or project id is required, please set it via flag or context")
)
Functions ¶
func ListCmd ¶
func ListCmd(options *clioptions.CLIOptions) *cobra.Command
func UpdateRules ¶
func UpdateRules(o *clioptions.CLIOptions) *cobra.Command
Types ¶
type IRulesClient ¶
type IRulesClient interface { ListTenantRules(ctx context.Context, companyID string) ([]*rulesentities.SaveChangesRules, error) ListProjectRules(ctx context.Context, projectID string) ([]*rulesentities.ProjectSaveChangesRules, error) UpdateTenantRules(ctx context.Context, companyID string, rules []*rulesentities.SaveChangesRules) error UpdateProjectRules(ctx context.Context, projectID string, rules []*rulesentities.SaveChangesRules) error }
func New ¶
func New(c *client.APIClient) IRulesClient
type UpdateRequestBody ¶
type UpdateRequestBody struct {
ConfigurationManagement *resources.ConfigurationManagement `json:"configurationManagement"`
}
Click to show internal directories.
Click to hide internal directories.