repository

package
v1.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package repository is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthRepository = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRepository   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterRepositoryServiceHandler

func RegisterRepositoryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterRepositoryServiceHandler registers the http handlers for service RepositoryService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterRepositoryServiceHandlerClient

func RegisterRepositoryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RepositoryServiceClient) error

RegisterRepositoryServiceHandler registers the http handlers for service RepositoryService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RepositoryServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RepositoryServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RepositoryServiceClient" to call the correct interceptors.

func RegisterRepositoryServiceHandlerFromEndpoint

func RegisterRepositoryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterRepositoryServiceHandlerFromEndpoint is same as RegisterRepositoryServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterRepositoryServiceServer

func RegisterRepositoryServiceServer(s *grpc.Server, srv RepositoryServiceServer)

Types

type AppInfo

type AppInfo struct {
	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Path                 string   `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

AppInfo contains application type and app file path

func (*AppInfo) Descriptor

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

func (*AppInfo) GetPath

func (m *AppInfo) GetPath() string

func (*AppInfo) GetType

func (m *AppInfo) GetType() string

func (*AppInfo) Marshal

func (m *AppInfo) Marshal() (dAtA []byte, err error)

func (*AppInfo) MarshalTo

func (m *AppInfo) MarshalTo(dAtA []byte) (int, error)

func (*AppInfo) ProtoMessage

func (*AppInfo) ProtoMessage()

func (*AppInfo) Reset

func (m *AppInfo) Reset()

func (*AppInfo) Size

func (m *AppInfo) Size() (n int)

func (*AppInfo) String

func (m *AppInfo) String() string

func (*AppInfo) Unmarshal

func (m *AppInfo) Unmarshal(dAtA []byte) error

func (*AppInfo) XXX_DiscardUnknown

func (m *AppInfo) XXX_DiscardUnknown()

func (*AppInfo) XXX_Marshal

func (m *AppInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppInfo) XXX_Merge

func (dst *AppInfo) XXX_Merge(src proto.Message)

func (*AppInfo) XXX_Size

func (m *AppInfo) XXX_Size() int

func (*AppInfo) XXX_Unmarshal

func (m *AppInfo) XXX_Unmarshal(b []byte) error

type RepoAccessQuery added in v1.2.0

type RepoAccessQuery struct {
	// The URL to the repo
	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// Username for accessing repo
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// Password for accessing repo
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// Private key data for accessing SSH repository
	SshPrivateKey string `protobuf:"bytes,4,opt,name=sshPrivateKey,proto3" json:"sshPrivateKey,omitempty"`
	// Whether to skip certificate or host key validation
	Insecure bool `protobuf:"varint,5,opt,name=insecure,proto3" json:"insecure,omitempty"`
	// TLS client cert data for accessing HTTPS repository
	TlsClientCertData string `protobuf:"bytes,6,opt,name=tlsClientCertData,proto3" json:"tlsClientCertData,omitempty"`
	// TLS client cert key for accessing HTTPS repository
	TlsClientCertKey     string   `protobuf:"bytes,7,opt,name=tlsClientCertKey,proto3" json:"tlsClientCertKey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RepoAccessQuery is a query for checking access to a repo

func (*RepoAccessQuery) Descriptor added in v1.2.0

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

func (*RepoAccessQuery) GetInsecure added in v1.2.0

func (m *RepoAccessQuery) GetInsecure() bool

func (*RepoAccessQuery) GetPassword added in v1.2.0

func (m *RepoAccessQuery) GetPassword() string

func (*RepoAccessQuery) GetRepo added in v1.2.0

func (m *RepoAccessQuery) GetRepo() string

func (*RepoAccessQuery) GetSshPrivateKey added in v1.2.0

func (m *RepoAccessQuery) GetSshPrivateKey() string

func (*RepoAccessQuery) GetTlsClientCertData added in v1.2.0

func (m *RepoAccessQuery) GetTlsClientCertData() string

func (*RepoAccessQuery) GetTlsClientCertKey added in v1.2.0

func (m *RepoAccessQuery) GetTlsClientCertKey() string

func (*RepoAccessQuery) GetUsername added in v1.2.0

func (m *RepoAccessQuery) GetUsername() string

func (*RepoAccessQuery) Marshal added in v1.2.0

func (m *RepoAccessQuery) Marshal() (dAtA []byte, err error)

func (*RepoAccessQuery) MarshalTo added in v1.2.0

func (m *RepoAccessQuery) MarshalTo(dAtA []byte) (int, error)

func (*RepoAccessQuery) ProtoMessage added in v1.2.0

func (*RepoAccessQuery) ProtoMessage()

func (*RepoAccessQuery) Reset added in v1.2.0

func (m *RepoAccessQuery) Reset()

func (*RepoAccessQuery) Size added in v1.2.0

func (m *RepoAccessQuery) Size() (n int)

func (*RepoAccessQuery) String added in v1.2.0

func (m *RepoAccessQuery) String() string

func (*RepoAccessQuery) Unmarshal added in v1.2.0

func (m *RepoAccessQuery) Unmarshal(dAtA []byte) error

func (*RepoAccessQuery) XXX_DiscardUnknown added in v1.2.0

func (m *RepoAccessQuery) XXX_DiscardUnknown()

func (*RepoAccessQuery) XXX_Marshal added in v1.2.0

func (m *RepoAccessQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepoAccessQuery) XXX_Merge added in v1.2.0

func (dst *RepoAccessQuery) XXX_Merge(src proto.Message)

func (*RepoAccessQuery) XXX_Size added in v1.2.0

func (m *RepoAccessQuery) XXX_Size() int

func (*RepoAccessQuery) XXX_Unmarshal added in v1.2.0

func (m *RepoAccessQuery) XXX_Unmarshal(b []byte) error

type RepoAppDetailsQuery

type RepoAppDetailsQuery struct {
	Repo                 string                            `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	Revision             string                            `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	Path                 string                            `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Helm                 *apiclient.HelmAppDetailsQuery    `protobuf:"bytes,4,opt,name=helm" json:"helm,omitempty"`
	Ksonnet              *apiclient.KsonnetAppDetailsQuery `protobuf:"bytes,5,opt,name=ksonnet" json:"ksonnet,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

RepoAppDetailsQuery contains query information for app details request

func (*RepoAppDetailsQuery) Descriptor

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

func (*RepoAppDetailsQuery) GetHelm

func (*RepoAppDetailsQuery) GetKsonnet

func (*RepoAppDetailsQuery) GetPath

func (m *RepoAppDetailsQuery) GetPath() string

func (*RepoAppDetailsQuery) GetRepo

func (m *RepoAppDetailsQuery) GetRepo() string

func (*RepoAppDetailsQuery) GetRevision

func (m *RepoAppDetailsQuery) GetRevision() string

func (*RepoAppDetailsQuery) Marshal

func (m *RepoAppDetailsQuery) Marshal() (dAtA []byte, err error)

func (*RepoAppDetailsQuery) MarshalTo

func (m *RepoAppDetailsQuery) MarshalTo(dAtA []byte) (int, error)

func (*RepoAppDetailsQuery) ProtoMessage

func (*RepoAppDetailsQuery) ProtoMessage()

func (*RepoAppDetailsQuery) Reset

func (m *RepoAppDetailsQuery) Reset()

func (*RepoAppDetailsQuery) Size

func (m *RepoAppDetailsQuery) Size() (n int)

func (*RepoAppDetailsQuery) String

func (m *RepoAppDetailsQuery) String() string

func (*RepoAppDetailsQuery) Unmarshal

func (m *RepoAppDetailsQuery) Unmarshal(dAtA []byte) error

func (*RepoAppDetailsQuery) XXX_DiscardUnknown

func (m *RepoAppDetailsQuery) XXX_DiscardUnknown()

func (*RepoAppDetailsQuery) XXX_Marshal

func (m *RepoAppDetailsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepoAppDetailsQuery) XXX_Merge

func (dst *RepoAppDetailsQuery) XXX_Merge(src proto.Message)

func (*RepoAppDetailsQuery) XXX_Size

func (m *RepoAppDetailsQuery) XXX_Size() int

func (*RepoAppDetailsQuery) XXX_Unmarshal

func (m *RepoAppDetailsQuery) XXX_Unmarshal(b []byte) error

type RepoAppsQuery

type RepoAppsQuery struct {
	Repo                 string   `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	Revision             string   `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RepoAppsQuery is a query for Repository apps

func (*RepoAppsQuery) Descriptor

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

func (*RepoAppsQuery) GetRepo

func (m *RepoAppsQuery) GetRepo() string

func (*RepoAppsQuery) GetRevision

func (m *RepoAppsQuery) GetRevision() string

func (*RepoAppsQuery) Marshal

func (m *RepoAppsQuery) Marshal() (dAtA []byte, err error)

func (*RepoAppsQuery) MarshalTo

func (m *RepoAppsQuery) MarshalTo(dAtA []byte) (int, error)

func (*RepoAppsQuery) ProtoMessage

func (*RepoAppsQuery) ProtoMessage()

func (*RepoAppsQuery) Reset

func (m *RepoAppsQuery) Reset()

func (*RepoAppsQuery) Size

func (m *RepoAppsQuery) Size() (n int)

func (*RepoAppsQuery) String

func (m *RepoAppsQuery) String() string

func (*RepoAppsQuery) Unmarshal

func (m *RepoAppsQuery) Unmarshal(dAtA []byte) error

func (*RepoAppsQuery) XXX_DiscardUnknown

func (m *RepoAppsQuery) XXX_DiscardUnknown()

func (*RepoAppsQuery) XXX_Marshal

func (m *RepoAppsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepoAppsQuery) XXX_Merge

func (dst *RepoAppsQuery) XXX_Merge(src proto.Message)

func (*RepoAppsQuery) XXX_Size

func (m *RepoAppsQuery) XXX_Size() int

func (*RepoAppsQuery) XXX_Unmarshal

func (m *RepoAppsQuery) XXX_Unmarshal(b []byte) error

type RepoAppsResponse

type RepoAppsResponse struct {
	Items                []*AppInfo `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

RepoAppsResponse contains applications of specified repository

func (*RepoAppsResponse) Descriptor

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

func (*RepoAppsResponse) GetItems

func (m *RepoAppsResponse) GetItems() []*AppInfo

func (*RepoAppsResponse) Marshal

func (m *RepoAppsResponse) Marshal() (dAtA []byte, err error)

func (*RepoAppsResponse) MarshalTo

func (m *RepoAppsResponse) MarshalTo(dAtA []byte) (int, error)

func (*RepoAppsResponse) ProtoMessage

func (*RepoAppsResponse) ProtoMessage()

func (*RepoAppsResponse) Reset

func (m *RepoAppsResponse) Reset()

func (*RepoAppsResponse) Size

func (m *RepoAppsResponse) Size() (n int)

func (*RepoAppsResponse) String

func (m *RepoAppsResponse) String() string

func (*RepoAppsResponse) Unmarshal

func (m *RepoAppsResponse) Unmarshal(dAtA []byte) error

func (*RepoAppsResponse) XXX_DiscardUnknown

func (m *RepoAppsResponse) XXX_DiscardUnknown()

func (*RepoAppsResponse) XXX_Marshal

func (m *RepoAppsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepoAppsResponse) XXX_Merge

func (dst *RepoAppsResponse) XXX_Merge(src proto.Message)

func (*RepoAppsResponse) XXX_Size

func (m *RepoAppsResponse) XXX_Size() int

func (*RepoAppsResponse) XXX_Unmarshal

func (m *RepoAppsResponse) XXX_Unmarshal(b []byte) error

type RepoCreateRequest

type RepoCreateRequest struct {
	Repo                 *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo" json:"repo,omitempty"`
	Upsert               bool                 `protobuf:"varint,2,opt,name=upsert,proto3" json:"upsert,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*RepoCreateRequest) Descriptor

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

func (*RepoCreateRequest) GetRepo

func (m *RepoCreateRequest) GetRepo() *v1alpha1.Repository

func (*RepoCreateRequest) GetUpsert

func (m *RepoCreateRequest) GetUpsert() bool

func (*RepoCreateRequest) Marshal

func (m *RepoCreateRequest) Marshal() (dAtA []byte, err error)

func (*RepoCreateRequest) MarshalTo

func (m *RepoCreateRequest) MarshalTo(dAtA []byte) (int, error)

func (*RepoCreateRequest) ProtoMessage

func (*RepoCreateRequest) ProtoMessage()

func (*RepoCreateRequest) Reset

func (m *RepoCreateRequest) Reset()

func (*RepoCreateRequest) Size

func (m *RepoCreateRequest) Size() (n int)

func (*RepoCreateRequest) String

func (m *RepoCreateRequest) String() string

func (*RepoCreateRequest) Unmarshal

func (m *RepoCreateRequest) Unmarshal(dAtA []byte) error

func (*RepoCreateRequest) XXX_DiscardUnknown

func (m *RepoCreateRequest) XXX_DiscardUnknown()

func (*RepoCreateRequest) XXX_Marshal

func (m *RepoCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepoCreateRequest) XXX_Merge

func (dst *RepoCreateRequest) XXX_Merge(src proto.Message)

func (*RepoCreateRequest) XXX_Size

func (m *RepoCreateRequest) XXX_Size() int

func (*RepoCreateRequest) XXX_Unmarshal

func (m *RepoCreateRequest) XXX_Unmarshal(b []byte) error

type RepoQuery

type RepoQuery struct {
	Repo                 string   `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RepoQuery is a query for Repository resources

func (*RepoQuery) Descriptor

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

func (*RepoQuery) GetRepo

func (m *RepoQuery) GetRepo() string

func (*RepoQuery) Marshal

func (m *RepoQuery) Marshal() (dAtA []byte, err error)

func (*RepoQuery) MarshalTo

func (m *RepoQuery) MarshalTo(dAtA []byte) (int, error)

func (*RepoQuery) ProtoMessage

func (*RepoQuery) ProtoMessage()

func (*RepoQuery) Reset

func (m *RepoQuery) Reset()

func (*RepoQuery) Size

func (m *RepoQuery) Size() (n int)

func (*RepoQuery) String

func (m *RepoQuery) String() string

func (*RepoQuery) Unmarshal

func (m *RepoQuery) Unmarshal(dAtA []byte) error

func (*RepoQuery) XXX_DiscardUnknown

func (m *RepoQuery) XXX_DiscardUnknown()

func (*RepoQuery) XXX_Marshal

func (m *RepoQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepoQuery) XXX_Merge

func (dst *RepoQuery) XXX_Merge(src proto.Message)

func (*RepoQuery) XXX_Size

func (m *RepoQuery) XXX_Size() int

func (*RepoQuery) XXX_Unmarshal

func (m *RepoQuery) XXX_Unmarshal(b []byte) error

type RepoResponse

type RepoResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RepoResponse) Descriptor

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

func (*RepoResponse) Marshal

func (m *RepoResponse) Marshal() (dAtA []byte, err error)

func (*RepoResponse) MarshalTo

func (m *RepoResponse) MarshalTo(dAtA []byte) (int, error)

func (*RepoResponse) ProtoMessage

func (*RepoResponse) ProtoMessage()

func (*RepoResponse) Reset

func (m *RepoResponse) Reset()

func (*RepoResponse) Size

func (m *RepoResponse) Size() (n int)

func (*RepoResponse) String

func (m *RepoResponse) String() string

func (*RepoResponse) Unmarshal

func (m *RepoResponse) Unmarshal(dAtA []byte) error

func (*RepoResponse) XXX_DiscardUnknown

func (m *RepoResponse) XXX_DiscardUnknown()

func (*RepoResponse) XXX_Marshal

func (m *RepoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepoResponse) XXX_Merge

func (dst *RepoResponse) XXX_Merge(src proto.Message)

func (*RepoResponse) XXX_Size

func (m *RepoResponse) XXX_Size() int

func (*RepoResponse) XXX_Unmarshal

func (m *RepoResponse) XXX_Unmarshal(b []byte) error

type RepoUpdateRequest

type RepoUpdateRequest struct {
	Repo                 *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo" json:"repo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*RepoUpdateRequest) Descriptor

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

func (*RepoUpdateRequest) GetRepo

func (m *RepoUpdateRequest) GetRepo() *v1alpha1.Repository

func (*RepoUpdateRequest) Marshal

func (m *RepoUpdateRequest) Marshal() (dAtA []byte, err error)

func (*RepoUpdateRequest) MarshalTo

func (m *RepoUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*RepoUpdateRequest) ProtoMessage

func (*RepoUpdateRequest) ProtoMessage()

func (*RepoUpdateRequest) Reset

func (m *RepoUpdateRequest) Reset()

func (*RepoUpdateRequest) Size

func (m *RepoUpdateRequest) Size() (n int)

func (*RepoUpdateRequest) String

func (m *RepoUpdateRequest) String() string

func (*RepoUpdateRequest) Unmarshal

func (m *RepoUpdateRequest) Unmarshal(dAtA []byte) error

func (*RepoUpdateRequest) XXX_DiscardUnknown

func (m *RepoUpdateRequest) XXX_DiscardUnknown()

func (*RepoUpdateRequest) XXX_Marshal

func (m *RepoUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepoUpdateRequest) XXX_Merge

func (dst *RepoUpdateRequest) XXX_Merge(src proto.Message)

func (*RepoUpdateRequest) XXX_Size

func (m *RepoUpdateRequest) XXX_Size() int

func (*RepoUpdateRequest) XXX_Unmarshal

func (m *RepoUpdateRequest) XXX_Unmarshal(b []byte) error

type RepositoryServiceClient

type RepositoryServiceClient interface {
	// List returns list of repos
	List(ctx context.Context, in *RepoQuery, opts ...grpc.CallOption) (*v1alpha1.RepositoryList, error)
	// ListApps returns list of apps in the repo
	ListApps(ctx context.Context, in *RepoAppsQuery, opts ...grpc.CallOption) (*RepoAppsResponse, error)
	// GetAppDetails returns application details by given path
	GetAppDetails(ctx context.Context, in *RepoAppDetailsQuery, opts ...grpc.CallOption) (*apiclient.RepoAppDetailsResponse, error)
	// Create creates a repo
	Create(ctx context.Context, in *RepoCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Repository, error)
	// Update updates a repo
	Update(ctx context.Context, in *RepoUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.Repository, error)
	// Delete deletes a repo
	Delete(ctx context.Context, in *RepoQuery, opts ...grpc.CallOption) (*RepoResponse, error)
	// ValidateAccess validates access to a repository with given parameters
	ValidateAccess(ctx context.Context, in *RepoAccessQuery, opts ...grpc.CallOption) (*RepoResponse, error)
}

func NewRepositoryServiceClient

func NewRepositoryServiceClient(cc *grpc.ClientConn) RepositoryServiceClient

type RepositoryServiceServer

type RepositoryServiceServer interface {
	// List returns list of repos
	List(context.Context, *RepoQuery) (*v1alpha1.RepositoryList, error)
	// ListApps returns list of apps in the repo
	ListApps(context.Context, *RepoAppsQuery) (*RepoAppsResponse, error)
	// GetAppDetails returns application details by given path
	GetAppDetails(context.Context, *RepoAppDetailsQuery) (*apiclient.RepoAppDetailsResponse, error)
	// Create creates a repo
	Create(context.Context, *RepoCreateRequest) (*v1alpha1.Repository, error)
	// Update updates a repo
	Update(context.Context, *RepoUpdateRequest) (*v1alpha1.Repository, error)
	// Delete deletes a repo
	Delete(context.Context, *RepoQuery) (*RepoResponse, error)
	// ValidateAccess validates access to a repository with given parameters
	ValidateAccess(context.Context, *RepoAccessQuery) (*RepoResponse, error)
}

Jump to

Keyboard shortcuts

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