rpc

package
v0.1.78 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FILE_LIMIT     = 3000
	WILDCARD_LIMIT = 15
)

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, p *project.Project, server *server.Server) error

Types

type Args

type Args struct {
	A int `json:"a"`
	B int `json:"b"`
}

type AwsResource

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

type BucketFile added in v0.1.74

type BucketFile struct {
	Source       string  `json:"source"`
	Key          string  `json:"key"`
	CacheControl *string `json:"cacheControl,omitempty"`
	ContentType  string  `json:"contentType"`
	Hash         *string `json:"hash,omitempty"`
}

type BucketFiles added in v0.1.74

type BucketFiles struct {
	*AwsResource
}

func (*BucketFiles) Create added in v0.1.74

func (*BucketFiles) Delete added in v0.1.74

func (r *BucketFiles) Delete(input *DeleteInput[BucketFilesOutputs], output *int) error

func (*BucketFiles) Update added in v0.1.74

type BucketFilesInputs added in v0.1.74

type BucketFilesInputs struct {
	BucketName string       `json:"bucketName"`
	Files      []BucketFile `json:"files"`
	Purge      bool         `json:"purge"`
}

type BucketFilesOutputs added in v0.1.74

type BucketFilesOutputs struct {
	BucketName string       `json:"bucketName,omitempty"`
	Files      []BucketFile `json:"files,omitempty"`
	Purge      bool         `json:"purge,omitempty"`
}

type CreateResult

type CreateResult[T any] struct {
	ID   string `json:"id"`
	Outs T      `json:"outs"`
}

type DeleteInput

type DeleteInput[T any] struct {
	ID   string `json:"id"`
	Outs T      `json:"outs"`
}

type DistributionDeploymentWaiter added in v0.1.74

type DistributionDeploymentWaiter struct {
	*AwsResource
}

func (*DistributionDeploymentWaiter) Create added in v0.1.74

type DistributionDeploymentWaiterInputs added in v0.1.74

type DistributionDeploymentWaiterInputs struct {
	DistributionId string `json:"distributionId"`
	Etag           string `json:"etag"`
	Wait           bool   `json:"wait"`
}

type DistributionDeploymentWaiterOutputs added in v0.1.74

type DistributionDeploymentWaiterOutputs struct {
	IsDone bool `json:"isDone"`
}

type DistributionInvalidation added in v0.1.74

type DistributionInvalidation struct {
	*AwsResource
}

func (*DistributionInvalidation) Create added in v0.1.74

func (r *DistributionInvalidation) Create(input *DistributionInvalidationInputs, output *CreateResult[struct{}]) error

func (*DistributionInvalidation) Update added in v0.1.74

func (r *DistributionInvalidation) Update(input *UpdateInput[DistributionInvalidationInputs, struct{}], output *UpdateResult[struct{}]) error

type DistributionInvalidationInputs added in v0.1.74

type DistributionInvalidationInputs struct {
	DistributionId string   `json:"distributionId"`
	Paths          []string `json:"paths"`
	Wait           bool     `json:"wait"`
	Version        string   `json:"version"`
}

type FunctionCodeUpdater added in v0.1.74

type FunctionCodeUpdater struct {
	*AwsResource
}

func (*FunctionCodeUpdater) Create added in v0.1.74

func (*FunctionCodeUpdater) Update added in v0.1.74

type FunctionCodeUpdaterInputs added in v0.1.74

type FunctionCodeUpdaterInputs struct {
	S3Bucket             string `json:"s3Bucket"`
	S3Key                string `json:"s3Key"`
	FunctionName         string `json:"functionName"`
	FunctionLastModified string `json:"functionLastModified"`
	Region               string `json:"region"`
}

type FunctionCodeUpdaterOutputs added in v0.1.74

type FunctionCodeUpdaterOutputs struct {
	Version string `json:"version"`
}

type HostedZoneLookup added in v0.1.74

type HostedZoneLookup struct {
	*AwsResource
}

func (*HostedZoneLookup) Create added in v0.1.74

func (*HostedZoneLookup) Update added in v0.1.74

type HostedZoneLookupInputs added in v0.1.74

type HostedZoneLookupInputs struct {
	Domain string `json:"domain"`
}

type HostedZoneLookupOutputs added in v0.1.74

type HostedZoneLookupOutputs struct {
	ZoneId string `json:"zoneId"`
}

type HttpConn

type HttpConn struct {
	io.Reader
	io.Writer
}

func (*HttpConn) Close

func (c *HttpConn) Close() error

type MathService

type MathService struct{}

func (*MathService) Multiply

func (m *MathService) Multiply(args *Args, reply *int) error

type OriginAccessIdentity

type OriginAccessIdentity struct {
	*AwsResource
}

func (*OriginAccessIdentity) Create

func (*OriginAccessIdentity) Delete

type OriginAccessIdentityInputs

type OriginAccessIdentityInputs struct {
}

type OriginAccessIdentityOutputs

type OriginAccessIdentityOutputs struct {
}

type UpdateInput

type UpdateInput[N any, O any] struct {
	ID   string `json:"id"`
	News N      `json:"news"`
	Olds O      `json:"olds"`
}

type UpdateResult added in v0.1.74

type UpdateResult[T any] struct {
	Outs T `json:"outs"`
}

type VectorTable added in v0.1.74

type VectorTable struct {
	*AwsResource
}

func (*VectorTable) Create added in v0.1.74

func (*VectorTable) Update added in v0.1.74

type VectorTableInputs added in v0.1.74

type VectorTableInputs struct {
	ClusterArn   string `json:"clusterArn"`
	SecretArn    string `json:"secretArn"`
	DatabaseName string `json:"databaseName"`
	TableName    string `json:"tableName"`
	Dimension    int    `json:"dimension"`
}

type VectorTableOutputs added in v0.1.74

type VectorTableOutputs struct {
	Dimension int `json:"dimension"`
}

Jump to

Keyboard shortcuts

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