client

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Refactor

func Refactor(params *Params) (domain.Project, error)

Refactor initializes the refactoring process for the given project.

Types

type Params added in v0.2.0

type Params struct {
	Provider    string
	Token       string
	Playbook    string
	MockProject bool
	Debug       bool
	Stats       bool
	Format      string
	Soutput     string
	Input       string
	Output      string
	MaxSize     int
	Log         io.Writer
	Checks      []string
}

Params holds the configuration parameters for Refrax commands.

func NewMockParams added in v0.2.0

func NewMockParams() *Params

NewMockParams creates a new Params object with mock settings.

type RefraxClient

type RefraxClient struct {
	// contains filtered or unexported fields
}

RefraxClient represents a client used for refactoring projects.

func NewRefraxClient

func NewRefraxClient(params *Params) *RefraxClient

NewRefraxClient creates a new instance of RefraxClient.

func (*RefraxClient) Refactor

func (c *RefraxClient) Refactor(proj domain.Project) (domain.Project, error)

Refactor performs refactoring on the given project using the RefraxClient.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL