concourse

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MethodGet   = "get"
	MethodPut   = "put"
	MethodCheck = "check"
)

Variables

View Source
var File_pkg_concourse_input_proto protoreflect.FileDescriptor
View Source
var File_pkg_concourse_output_proto protoreflect.FileDescriptor
View Source
var File_pkg_concourse_resource_proto protoreflect.FileDescriptor
View Source
var File_pkg_concourse_resource_type_proto protoreflect.FileDescriptor
View Source
var File_pkg_concourse_source_proto protoreflect.FileDescriptor

Functions

func WithResourceTypes

func WithResourceTypes(ctx context.Context, resourceTypes ...*ResourceType) context.Context

func WithResources

func WithResources(ctx context.Context, resources ...*Resource) context.Context

Types

type Input

type Input struct {
	Params  map[string]string `` /* 153-byte string literal not displayed */
	Source  map[string]string `` /* 153-byte string literal not displayed */
	Version map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Input) Descriptor deprecated

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

Deprecated: Use Input.ProtoReflect.Descriptor instead.

func (*Input) GetParams

func (x *Input) GetParams() map[string]string

func (*Input) GetSource

func (x *Input) GetSource() map[string]string

func (*Input) GetVersion

func (x *Input) GetVersion() map[string]string

func (*Input) ProtoMessage

func (*Input) ProtoMessage()

func (*Input) ProtoReflect

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

func (*Input) Reset

func (x *Input) Reset()

func (*Input) String

func (x *Input) String() string

type Output

type Output struct {
	Version  map[string]string  `` /* 155-byte string literal not displayed */
	Metadata []*Output_Metadata `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Output) Descriptor deprecated

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

Deprecated: Use Output.ProtoReflect.Descriptor instead.

func (*Output) GetMetadata

func (x *Output) GetMetadata() []*Output_Metadata

func (*Output) GetVersion

func (x *Output) GetVersion() map[string]string

func (*Output) ProtoMessage

func (*Output) ProtoMessage()

func (*Output) ProtoReflect

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

func (*Output) Reset

func (x *Output) Reset()

func (*Output) String

func (x *Output) String() string

type Output_Metadata

type Output_Metadata struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Output_Metadata) Descriptor deprecated

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

Deprecated: Use Output_Metadata.ProtoReflect.Descriptor instead.

func (*Output_Metadata) GetName

func (x *Output_Metadata) GetName() string

func (*Output_Metadata) GetValue

func (x *Output_Metadata) GetValue() string

func (*Output_Metadata) ProtoMessage

func (*Output_Metadata) ProtoMessage()

func (*Output_Metadata) ProtoReflect

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

func (*Output_Metadata) Reset

func (x *Output_Metadata) Reset()

func (*Output_Metadata) String

func (x *Output_Metadata) String() string

type Resource

type Resource struct {
	Name   string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type   string            `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Source map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func ResourcesFrom

func ResourcesFrom(ctx context.Context) (resources []*Resource, ok bool)

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetName

func (x *Resource) GetName() string

func (*Resource) GetSource

func (x *Resource) GetSource() map[string]string

func (*Resource) GetType

func (x *Resource) GetType() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

type ResourceType

type ResourceType struct {
	Name       string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Source     *Source `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	Privileged bool    `protobuf:"varint,3,opt,name=privileged,proto3" json:"privileged,omitempty"`
	// contains filtered or unexported fields
}

func ResourceTypesFrom

func ResourceTypesFrom(ctx context.Context) (resourceTypes []*ResourceType, ok bool)

func (*ResourceType) Descriptor deprecated

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

Deprecated: Use ResourceType.ProtoReflect.Descriptor instead.

func (*ResourceType) GetName

func (x *ResourceType) GetName() string

func (*ResourceType) GetPrivileged

func (x *ResourceType) GetPrivileged() bool

func (*ResourceType) GetSource

func (x *ResourceType) GetSource() *Source

func (*ResourceType) ProtoMessage

func (*ResourceType) ProtoMessage()

func (*ResourceType) ProtoReflect

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

func (*ResourceType) Reset

func (x *ResourceType) Reset()

func (*ResourceType) String

func (x *ResourceType) String() string

type Source

type Source struct {
	Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	Tag        string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*Source) Descriptor deprecated

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

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetRepository

func (x *Source) GetRepository() string

func (*Source) GetTag

func (x *Source) GetTag() string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

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

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

Jump to

Keyboard shortcuts

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