actions

package
v1.22.5 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 38 Imported by: 1

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 added in v1.20.0

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

func ArtifactV4Contexter added in v1.22.0

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

func ArtifactsRoutes added in v1.20.0

func ArtifactsRoutes(prefix string) *web.Route

func ArtifactsV4Routes added in v1.22.0

func ArtifactsV4Routes(prefix string) *web.Route

func Routes

func Routes(prefix string) *web.Route

Types

type ArtifactContext added in v1.20.0

type ArtifactContext struct {
	*context.Base

	ActionTask *actions.ActionTask
}

type BlockList added in v1.22.4

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

type CreateArtifactRequest added in v1.22.0

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 added in v1.22.0

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

Deprecated: Use CreateArtifactRequest.ProtoReflect.Descriptor instead.

func (*CreateArtifactRequest) GetExpiresAt added in v1.22.0

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

func (*CreateArtifactRequest) GetName added in v1.22.0

func (x *CreateArtifactRequest) GetName() string

func (*CreateArtifactRequest) GetVersion added in v1.22.0

func (x *CreateArtifactRequest) GetVersion() int32

func (*CreateArtifactRequest) GetWorkflowJobRunBackendId added in v1.22.0

func (x *CreateArtifactRequest) GetWorkflowJobRunBackendId() string

func (*CreateArtifactRequest) GetWorkflowRunBackendId added in v1.22.0

func (x *CreateArtifactRequest) GetWorkflowRunBackendId() string

func (*CreateArtifactRequest) ProtoMessage added in v1.22.0

func (*CreateArtifactRequest) ProtoMessage()

func (*CreateArtifactRequest) ProtoReflect added in v1.22.0

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

func (*CreateArtifactRequest) Reset added in v1.22.0

func (x *CreateArtifactRequest) Reset()

func (*CreateArtifactRequest) String added in v1.22.0

func (x *CreateArtifactRequest) String() string

type CreateArtifactResponse added in v1.22.0

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 added in v1.22.0

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

Deprecated: Use CreateArtifactResponse.ProtoReflect.Descriptor instead.

func (*CreateArtifactResponse) GetOk added in v1.22.0

func (x *CreateArtifactResponse) GetOk() bool

func (*CreateArtifactResponse) GetSignedUploadUrl added in v1.22.0

func (x *CreateArtifactResponse) GetSignedUploadUrl() string

func (*CreateArtifactResponse) ProtoMessage added in v1.22.0

func (*CreateArtifactResponse) ProtoMessage()

func (*CreateArtifactResponse) ProtoReflect added in v1.22.0

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

func (*CreateArtifactResponse) Reset added in v1.22.0

func (x *CreateArtifactResponse) Reset()

func (*CreateArtifactResponse) String added in v1.22.0

func (x *CreateArtifactResponse) String() string

type DeleteArtifactRequest added in v1.22.0

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 added in v1.22.0

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

Deprecated: Use DeleteArtifactRequest.ProtoReflect.Descriptor instead.

func (*DeleteArtifactRequest) GetName added in v1.22.0

func (x *DeleteArtifactRequest) GetName() string

func (*DeleteArtifactRequest) GetWorkflowJobRunBackendId added in v1.22.0

func (x *DeleteArtifactRequest) GetWorkflowJobRunBackendId() string

func (*DeleteArtifactRequest) GetWorkflowRunBackendId added in v1.22.0

func (x *DeleteArtifactRequest) GetWorkflowRunBackendId() string

func (*DeleteArtifactRequest) ProtoMessage added in v1.22.0

func (*DeleteArtifactRequest) ProtoMessage()

func (*DeleteArtifactRequest) ProtoReflect added in v1.22.0

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

func (*DeleteArtifactRequest) Reset added in v1.22.0

func (x *DeleteArtifactRequest) Reset()

func (*DeleteArtifactRequest) String added in v1.22.0

func (x *DeleteArtifactRequest) String() string

type DeleteArtifactResponse added in v1.22.0

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 added in v1.22.0

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

Deprecated: Use DeleteArtifactResponse.ProtoReflect.Descriptor instead.

func (*DeleteArtifactResponse) GetArtifactId added in v1.22.0

func (x *DeleteArtifactResponse) GetArtifactId() int64

func (*DeleteArtifactResponse) GetOk added in v1.22.0

func (x *DeleteArtifactResponse) GetOk() bool

func (*DeleteArtifactResponse) ProtoMessage added in v1.22.0

func (*DeleteArtifactResponse) ProtoMessage()

func (*DeleteArtifactResponse) ProtoReflect added in v1.22.0

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

func (*DeleteArtifactResponse) Reset added in v1.22.0

func (x *DeleteArtifactResponse) Reset()

func (*DeleteArtifactResponse) String added in v1.22.0

func (x *DeleteArtifactResponse) String() string

type FinalizeArtifactRequest added in v1.22.0

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 added in v1.22.0

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

Deprecated: Use FinalizeArtifactRequest.ProtoReflect.Descriptor instead.

func (*FinalizeArtifactRequest) GetHash added in v1.22.0

func (*FinalizeArtifactRequest) GetName added in v1.22.0

func (x *FinalizeArtifactRequest) GetName() string

func (*FinalizeArtifactRequest) GetSize added in v1.22.0

func (x *FinalizeArtifactRequest) GetSize() int64

func (*FinalizeArtifactRequest) GetWorkflowJobRunBackendId added in v1.22.0

func (x *FinalizeArtifactRequest) GetWorkflowJobRunBackendId() string

func (*FinalizeArtifactRequest) GetWorkflowRunBackendId added in v1.22.0

func (x *FinalizeArtifactRequest) GetWorkflowRunBackendId() string

func (*FinalizeArtifactRequest) ProtoMessage added in v1.22.0

func (*FinalizeArtifactRequest) ProtoMessage()

func (*FinalizeArtifactRequest) ProtoReflect added in v1.22.0

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

func (*FinalizeArtifactRequest) Reset added in v1.22.0

func (x *FinalizeArtifactRequest) Reset()

func (*FinalizeArtifactRequest) String added in v1.22.0

func (x *FinalizeArtifactRequest) String() string

type FinalizeArtifactResponse added in v1.22.0

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 added in v1.22.0

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

Deprecated: Use FinalizeArtifactResponse.ProtoReflect.Descriptor instead.

func (*FinalizeArtifactResponse) GetArtifactId added in v1.22.0

func (x *FinalizeArtifactResponse) GetArtifactId() int64

func (*FinalizeArtifactResponse) GetOk added in v1.22.0

func (x *FinalizeArtifactResponse) GetOk() bool

func (*FinalizeArtifactResponse) ProtoMessage added in v1.22.0

func (*FinalizeArtifactResponse) ProtoMessage()

func (*FinalizeArtifactResponse) ProtoReflect added in v1.22.0

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

func (*FinalizeArtifactResponse) Reset added in v1.22.0

func (x *FinalizeArtifactResponse) Reset()

func (*FinalizeArtifactResponse) String added in v1.22.0

func (x *FinalizeArtifactResponse) String() string

type GetSignedArtifactURLRequest added in v1.22.0

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 added in v1.22.0

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

Deprecated: Use GetSignedArtifactURLRequest.ProtoReflect.Descriptor instead.

func (*GetSignedArtifactURLRequest) GetName added in v1.22.0

func (x *GetSignedArtifactURLRequest) GetName() string

func (*GetSignedArtifactURLRequest) GetWorkflowJobRunBackendId added in v1.22.0

func (x *GetSignedArtifactURLRequest) GetWorkflowJobRunBackendId() string

func (*GetSignedArtifactURLRequest) GetWorkflowRunBackendId added in v1.22.0

func (x *GetSignedArtifactURLRequest) GetWorkflowRunBackendId() string

func (*GetSignedArtifactURLRequest) ProtoMessage added in v1.22.0

func (*GetSignedArtifactURLRequest) ProtoMessage()

func (*GetSignedArtifactURLRequest) ProtoReflect added in v1.22.0

func (*GetSignedArtifactURLRequest) Reset added in v1.22.0

func (x *GetSignedArtifactURLRequest) Reset()

func (*GetSignedArtifactURLRequest) String added in v1.22.0

func (x *GetSignedArtifactURLRequest) String() string

type GetSignedArtifactURLResponse added in v1.22.0

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 added in v1.22.0

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

Deprecated: Use GetSignedArtifactURLResponse.ProtoReflect.Descriptor instead.

func (*GetSignedArtifactURLResponse) GetSignedUrl added in v1.22.0

func (x *GetSignedArtifactURLResponse) GetSignedUrl() string

func (*GetSignedArtifactURLResponse) ProtoMessage added in v1.22.0

func (*GetSignedArtifactURLResponse) ProtoMessage()

func (*GetSignedArtifactURLResponse) ProtoReflect added in v1.22.0

func (*GetSignedArtifactURLResponse) Reset added in v1.22.0

func (x *GetSignedArtifactURLResponse) Reset()

func (*GetSignedArtifactURLResponse) String added in v1.22.0

type Latest added in v1.22.4

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

type ListArtifactsRequest added in v1.22.0

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 added in v1.22.0

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

Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead.

func (*ListArtifactsRequest) GetIdFilter added in v1.22.0

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

func (*ListArtifactsRequest) GetNameFilter added in v1.22.0

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

func (*ListArtifactsRequest) GetWorkflowJobRunBackendId added in v1.22.0

func (x *ListArtifactsRequest) GetWorkflowJobRunBackendId() string

func (*ListArtifactsRequest) GetWorkflowRunBackendId added in v1.22.0

func (x *ListArtifactsRequest) GetWorkflowRunBackendId() string

func (*ListArtifactsRequest) ProtoMessage added in v1.22.0

func (*ListArtifactsRequest) ProtoMessage()

func (*ListArtifactsRequest) ProtoReflect added in v1.22.0

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

func (*ListArtifactsRequest) Reset added in v1.22.0

func (x *ListArtifactsRequest) Reset()

func (*ListArtifactsRequest) String added in v1.22.0

func (x *ListArtifactsRequest) String() string

type ListArtifactsResponse added in v1.22.0

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 added in v1.22.0

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

Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead.

func (*ListArtifactsResponse) GetArtifacts added in v1.22.0

func (*ListArtifactsResponse) ProtoMessage added in v1.22.0

func (*ListArtifactsResponse) ProtoMessage()

func (*ListArtifactsResponse) ProtoReflect added in v1.22.0

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

func (*ListArtifactsResponse) Reset added in v1.22.0

func (x *ListArtifactsResponse) Reset()

func (*ListArtifactsResponse) String added in v1.22.0

func (x *ListArtifactsResponse) String() string

type ListArtifactsResponse_MonolithArtifact added in v1.22.0

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 added in v1.22.0

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

Deprecated: Use ListArtifactsResponse_MonolithArtifact.ProtoReflect.Descriptor instead.

func (*ListArtifactsResponse_MonolithArtifact) GetCreatedAt added in v1.22.0

func (*ListArtifactsResponse_MonolithArtifact) GetDatabaseId added in v1.22.0

func (x *ListArtifactsResponse_MonolithArtifact) GetDatabaseId() int64

func (*ListArtifactsResponse_MonolithArtifact) GetName added in v1.22.0

func (*ListArtifactsResponse_MonolithArtifact) GetSize added in v1.22.0

func (*ListArtifactsResponse_MonolithArtifact) GetWorkflowJobRunBackendId added in v1.22.0

func (x *ListArtifactsResponse_MonolithArtifact) GetWorkflowJobRunBackendId() string

func (*ListArtifactsResponse_MonolithArtifact) GetWorkflowRunBackendId added in v1.22.0

func (x *ListArtifactsResponse_MonolithArtifact) GetWorkflowRunBackendId() string

func (*ListArtifactsResponse_MonolithArtifact) ProtoMessage added in v1.22.0

func (*ListArtifactsResponse_MonolithArtifact) ProtoReflect added in v1.22.0

func (*ListArtifactsResponse_MonolithArtifact) Reset added in v1.22.0

func (*ListArtifactsResponse_MonolithArtifact) String added in v1.22.0

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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