actions

package
v0.0.0-...-e61ee7f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArtifactV4RouteBase       = "/twirp/github.actions.results.api.v1.ArtifactService"
	ArtifactV4ContentEncoding = "application/zip"
)

Variables

View Source
var File_artifact_proto protoreflect.FileDescriptor

Functions

func ArtifactContexter

func ArtifactContexter() func(next http.Handler) http.Handler

func ArtifactV4Contexter

func ArtifactV4Contexter() func(next http.Handler) http.Handler

func ArtifactsRoutes

func ArtifactsRoutes(prefix string) *web.Router

func ArtifactsV4Routes

func ArtifactsV4Routes(prefix string) *web.Router

func Routes

func Routes(prefix string) *web.Router

Types

type ArtifactContext

type ArtifactContext struct {
	*context.Base

	ActionTask *actions.ActionTask
}

type BlockList

type BlockList struct {
	Latest []string `xml:"Latest"`
}

type CreateArtifactRequest

type CreateArtifactRequest struct {
	WorkflowRunBackendId    string                 `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"`
	WorkflowJobRunBackendId string                 `` /* 136-byte string literal not displayed */
	Name                    string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	ExpiresAt               *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	Version                 int32                  `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateArtifactRequest) Descriptor deprecated

func (*CreateArtifactRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateArtifactRequest.ProtoReflect.Descriptor instead.

func (*CreateArtifactRequest) GetExpiresAt

func (x *CreateArtifactRequest) GetExpiresAt() *timestamppb.Timestamp

func (*CreateArtifactRequest) GetName

func (x *CreateArtifactRequest) GetName() string

func (*CreateArtifactRequest) GetVersion

func (x *CreateArtifactRequest) GetVersion() int32

func (*CreateArtifactRequest) GetWorkflowJobRunBackendId

func (x *CreateArtifactRequest) GetWorkflowJobRunBackendId() string

func (*CreateArtifactRequest) GetWorkflowRunBackendId

func (x *CreateArtifactRequest) GetWorkflowRunBackendId() string

func (*CreateArtifactRequest) ProtoMessage

func (*CreateArtifactRequest) ProtoMessage()

func (*CreateArtifactRequest) ProtoReflect

func (x *CreateArtifactRequest) ProtoReflect() protoreflect.Message

func (*CreateArtifactRequest) Reset

func (x *CreateArtifactRequest) Reset()

func (*CreateArtifactRequest) String

func (x *CreateArtifactRequest) String() string

type CreateArtifactResponse

type CreateArtifactResponse struct {
	Ok              bool   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	SignedUploadUrl string `protobuf:"bytes,2,opt,name=signed_upload_url,json=signedUploadUrl,proto3" json:"signed_upload_url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateArtifactResponse) Descriptor deprecated

func (*CreateArtifactResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateArtifactResponse.ProtoReflect.Descriptor instead.

func (*CreateArtifactResponse) GetOk

func (x *CreateArtifactResponse) GetOk() bool

func (*CreateArtifactResponse) GetSignedUploadUrl

func (x *CreateArtifactResponse) GetSignedUploadUrl() string

func (*CreateArtifactResponse) ProtoMessage

func (*CreateArtifactResponse) ProtoMessage()

func (*CreateArtifactResponse) ProtoReflect

func (x *CreateArtifactResponse) ProtoReflect() protoreflect.Message

func (*CreateArtifactResponse) Reset

func (x *CreateArtifactResponse) Reset()

func (*CreateArtifactResponse) String

func (x *CreateArtifactResponse) String() string

type DeleteArtifactRequest

type DeleteArtifactRequest struct {
	WorkflowRunBackendId    string `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"`
	WorkflowJobRunBackendId string `` /* 136-byte string literal not displayed */
	Name                    string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteArtifactRequest) Descriptor deprecated

func (*DeleteArtifactRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteArtifactRequest.ProtoReflect.Descriptor instead.

func (*DeleteArtifactRequest) GetName

func (x *DeleteArtifactRequest) GetName() string

func (*DeleteArtifactRequest) GetWorkflowJobRunBackendId

func (x *DeleteArtifactRequest) GetWorkflowJobRunBackendId() string

func (*DeleteArtifactRequest) GetWorkflowRunBackendId

func (x *DeleteArtifactRequest) GetWorkflowRunBackendId() string

func (*DeleteArtifactRequest) ProtoMessage

func (*DeleteArtifactRequest) ProtoMessage()

func (*DeleteArtifactRequest) ProtoReflect

func (x *DeleteArtifactRequest) ProtoReflect() protoreflect.Message

func (*DeleteArtifactRequest) Reset

func (x *DeleteArtifactRequest) Reset()

func (*DeleteArtifactRequest) String

func (x *DeleteArtifactRequest) String() string

type DeleteArtifactResponse

type DeleteArtifactResponse struct {
	Ok         bool  `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	ArtifactId int64 `protobuf:"varint,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteArtifactResponse) Descriptor deprecated

func (*DeleteArtifactResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteArtifactResponse.ProtoReflect.Descriptor instead.

func (*DeleteArtifactResponse) GetArtifactId

func (x *DeleteArtifactResponse) GetArtifactId() int64

func (*DeleteArtifactResponse) GetOk

func (x *DeleteArtifactResponse) GetOk() bool

func (*DeleteArtifactResponse) ProtoMessage

func (*DeleteArtifactResponse) ProtoMessage()

func (*DeleteArtifactResponse) ProtoReflect

func (x *DeleteArtifactResponse) ProtoReflect() protoreflect.Message

func (*DeleteArtifactResponse) Reset

func (x *DeleteArtifactResponse) Reset()

func (*DeleteArtifactResponse) String

func (x *DeleteArtifactResponse) String() string

type FinalizeArtifactRequest

type FinalizeArtifactRequest struct {
	WorkflowRunBackendId    string                  `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"`
	WorkflowJobRunBackendId string                  `` /* 136-byte string literal not displayed */
	Name                    string                  `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Size                    int64                   `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	Hash                    *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*FinalizeArtifactRequest) Descriptor deprecated

func (*FinalizeArtifactRequest) Descriptor() ([]byte, []int)

Deprecated: Use FinalizeArtifactRequest.ProtoReflect.Descriptor instead.

func (*FinalizeArtifactRequest) GetHash

func (*FinalizeArtifactRequest) GetName

func (x *FinalizeArtifactRequest) GetName() string

func (*FinalizeArtifactRequest) GetSize

func (x *FinalizeArtifactRequest) GetSize() int64

func (*FinalizeArtifactRequest) GetWorkflowJobRunBackendId

func (x *FinalizeArtifactRequest) GetWorkflowJobRunBackendId() string

func (*FinalizeArtifactRequest) GetWorkflowRunBackendId

func (x *FinalizeArtifactRequest) GetWorkflowRunBackendId() string

func (*FinalizeArtifactRequest) ProtoMessage

func (*FinalizeArtifactRequest) ProtoMessage()

func (*FinalizeArtifactRequest) ProtoReflect

func (x *FinalizeArtifactRequest) ProtoReflect() protoreflect.Message

func (*FinalizeArtifactRequest) Reset

func (x *FinalizeArtifactRequest) Reset()

func (*FinalizeArtifactRequest) String

func (x *FinalizeArtifactRequest) String() string

type FinalizeArtifactResponse

type FinalizeArtifactResponse struct {
	Ok         bool  `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	ArtifactId int64 `protobuf:"varint,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// contains filtered or unexported fields
}

func (*FinalizeArtifactResponse) Descriptor deprecated

func (*FinalizeArtifactResponse) Descriptor() ([]byte, []int)

Deprecated: Use FinalizeArtifactResponse.ProtoReflect.Descriptor instead.

func (*FinalizeArtifactResponse) GetArtifactId

func (x *FinalizeArtifactResponse) GetArtifactId() int64

func (*FinalizeArtifactResponse) GetOk

func (x *FinalizeArtifactResponse) GetOk() bool

func (*FinalizeArtifactResponse) ProtoMessage

func (*FinalizeArtifactResponse) ProtoMessage()

func (*FinalizeArtifactResponse) ProtoReflect

func (x *FinalizeArtifactResponse) ProtoReflect() protoreflect.Message

func (*FinalizeArtifactResponse) Reset

func (x *FinalizeArtifactResponse) Reset()

func (*FinalizeArtifactResponse) String

func (x *FinalizeArtifactResponse) String() string

type GetSignedArtifactURLRequest

type GetSignedArtifactURLRequest struct {
	WorkflowRunBackendId    string `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"`
	WorkflowJobRunBackendId string `` /* 136-byte string literal not displayed */
	Name                    string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSignedArtifactURLRequest) Descriptor deprecated

func (*GetSignedArtifactURLRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSignedArtifactURLRequest.ProtoReflect.Descriptor instead.

func (*GetSignedArtifactURLRequest) GetName

func (x *GetSignedArtifactURLRequest) GetName() string

func (*GetSignedArtifactURLRequest) GetWorkflowJobRunBackendId

func (x *GetSignedArtifactURLRequest) GetWorkflowJobRunBackendId() string

func (*GetSignedArtifactURLRequest) GetWorkflowRunBackendId

func (x *GetSignedArtifactURLRequest) GetWorkflowRunBackendId() string

func (*GetSignedArtifactURLRequest) ProtoMessage

func (*GetSignedArtifactURLRequest) ProtoMessage()

func (*GetSignedArtifactURLRequest) ProtoReflect

func (*GetSignedArtifactURLRequest) Reset

func (x *GetSignedArtifactURLRequest) Reset()

func (*GetSignedArtifactURLRequest) String

func (x *GetSignedArtifactURLRequest) String() string

type GetSignedArtifactURLResponse

type GetSignedArtifactURLResponse struct {
	SignedUrl string `protobuf:"bytes,1,opt,name=signed_url,json=signedUrl,proto3" json:"signed_url,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSignedArtifactURLResponse) Descriptor deprecated

func (*GetSignedArtifactURLResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetSignedArtifactURLResponse.ProtoReflect.Descriptor instead.

func (*GetSignedArtifactURLResponse) GetSignedUrl

func (x *GetSignedArtifactURLResponse) GetSignedUrl() string

func (*GetSignedArtifactURLResponse) ProtoMessage

func (*GetSignedArtifactURLResponse) ProtoMessage()

func (*GetSignedArtifactURLResponse) ProtoReflect

func (*GetSignedArtifactURLResponse) Reset

func (x *GetSignedArtifactURLResponse) Reset()

func (*GetSignedArtifactURLResponse) String

type Latest

type Latest struct {
	Value string `xml:",chardata"`
}

type ListArtifactsRequest

type ListArtifactsRequest struct {
	WorkflowRunBackendId    string                  `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"`
	WorkflowJobRunBackendId string                  `` /* 136-byte string literal not displayed */
	NameFilter              *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name_filter,json=nameFilter,proto3" json:"name_filter,omitempty"`
	IdFilter                *wrapperspb.Int64Value  `protobuf:"bytes,4,opt,name=id_filter,json=idFilter,proto3" json:"id_filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListArtifactsRequest) Descriptor deprecated

func (*ListArtifactsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead.

func (*ListArtifactsRequest) GetIdFilter

func (x *ListArtifactsRequest) GetIdFilter() *wrapperspb.Int64Value

func (*ListArtifactsRequest) GetNameFilter

func (x *ListArtifactsRequest) GetNameFilter() *wrapperspb.StringValue

func (*ListArtifactsRequest) GetWorkflowJobRunBackendId

func (x *ListArtifactsRequest) GetWorkflowJobRunBackendId() string

func (*ListArtifactsRequest) GetWorkflowRunBackendId

func (x *ListArtifactsRequest) GetWorkflowRunBackendId() string

func (*ListArtifactsRequest) ProtoMessage

func (*ListArtifactsRequest) ProtoMessage()

func (*ListArtifactsRequest) ProtoReflect

func (x *ListArtifactsRequest) ProtoReflect() protoreflect.Message

func (*ListArtifactsRequest) Reset

func (x *ListArtifactsRequest) Reset()

func (*ListArtifactsRequest) String

func (x *ListArtifactsRequest) String() string

type ListArtifactsResponse

type ListArtifactsResponse struct {
	Artifacts []*ListArtifactsResponse_MonolithArtifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
	// contains filtered or unexported fields
}

func (*ListArtifactsResponse) Descriptor deprecated

func (*ListArtifactsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead.

func (*ListArtifactsResponse) GetArtifacts

func (*ListArtifactsResponse) ProtoMessage

func (*ListArtifactsResponse) ProtoMessage()

func (*ListArtifactsResponse) ProtoReflect

func (x *ListArtifactsResponse) ProtoReflect() protoreflect.Message

func (*ListArtifactsResponse) Reset

func (x *ListArtifactsResponse) Reset()

func (*ListArtifactsResponse) String

func (x *ListArtifactsResponse) String() string

type ListArtifactsResponse_MonolithArtifact

type ListArtifactsResponse_MonolithArtifact struct {
	WorkflowRunBackendId    string                 `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"`
	WorkflowJobRunBackendId string                 `` /* 136-byte string literal not displayed */
	DatabaseId              int64                  `protobuf:"varint,3,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	Name                    string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Size                    int64                  `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	CreatedAt               *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ListArtifactsResponse_MonolithArtifact) Descriptor deprecated

func (*ListArtifactsResponse_MonolithArtifact) Descriptor() ([]byte, []int)

Deprecated: Use ListArtifactsResponse_MonolithArtifact.ProtoReflect.Descriptor instead.

func (*ListArtifactsResponse_MonolithArtifact) GetCreatedAt

func (*ListArtifactsResponse_MonolithArtifact) GetDatabaseId

func (x *ListArtifactsResponse_MonolithArtifact) GetDatabaseId() int64

func (*ListArtifactsResponse_MonolithArtifact) GetName

func (*ListArtifactsResponse_MonolithArtifact) GetSize

func (*ListArtifactsResponse_MonolithArtifact) GetWorkflowJobRunBackendId

func (x *ListArtifactsResponse_MonolithArtifact) GetWorkflowJobRunBackendId() string

func (*ListArtifactsResponse_MonolithArtifact) GetWorkflowRunBackendId

func (x *ListArtifactsResponse_MonolithArtifact) GetWorkflowRunBackendId() string

func (*ListArtifactsResponse_MonolithArtifact) ProtoMessage

func (*ListArtifactsResponse_MonolithArtifact) ProtoReflect

func (*ListArtifactsResponse_MonolithArtifact) Reset

func (*ListArtifactsResponse_MonolithArtifact) String

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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