Documentation
¶
Index ¶
- Constants
- Variables
- func WithResourceTypes(ctx context.Context, resourceTypes ...*ResourceType) context.Context
- func WithResources(ctx context.Context, resources ...*Resource) context.Context
- type Input
- func (*Input) Descriptor() ([]byte, []int)deprecated
- func (x *Input) GetParams() map[string]string
- func (x *Input) GetSource() map[string]string
- func (x *Input) GetVersion() map[string]string
- func (*Input) ProtoMessage()
- func (x *Input) ProtoReflect() protoreflect.Message
- func (x *Input) Reset()
- func (x *Input) String() string
- type Output
- type Output_Metadata
- func (*Output_Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Output_Metadata) GetName() string
- func (x *Output_Metadata) GetValue() string
- func (*Output_Metadata) ProtoMessage()
- func (x *Output_Metadata) ProtoReflect() protoreflect.Message
- func (x *Output_Metadata) Reset()
- func (x *Output_Metadata) String() string
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetName() string
- func (x *Resource) GetSource() map[string]string
- func (x *Resource) GetType() string
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type ResourceType
- func (*ResourceType) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceType) GetName() string
- func (x *ResourceType) GetPrivileged() bool
- func (x *ResourceType) GetSource() *Source
- func (*ResourceType) ProtoMessage()
- func (x *ResourceType) ProtoReflect() protoreflect.Message
- func (x *ResourceType) Reset()
- func (x *ResourceType) String() string
- type Source
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
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) GetVersion ¶
func (*Input) ProtoMessage ¶
func (*Input) ProtoMessage()
func (*Input) ProtoReflect ¶
func (x *Input) ProtoReflect() protoreflect.Message
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) GetMetadata ¶
func (x *Output) GetMetadata() []*Output_Metadata
func (*Output) GetVersion ¶
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (*Output) ProtoReflect ¶
func (x *Output) ProtoReflect() protoreflect.Message
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 (*Resource) Descriptor
deprecated
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
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) GetRepository ¶
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶
func (x *Source) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.