apiclient

package
v2.1.16 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 22 Imported by: 20

Documentation

Index

Constants

View Source
const (
	// MaxGRPCMessageSize contains max grpc message size
	MaxGRPCMessageSize = 100 * 1024 * 1024
)

Variables

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

Functions

func NewConnection

func NewConnection(address string, timeoutSeconds int, tlsConfig *TLSConfiguration) (*grpc.ClientConn, error)

func RegisterRepoServerServiceServer

func RegisterRepoServerServiceServer(s *grpc.Server, srv RepoServerServiceServer)

Types

type AppList

type AppList struct {
	Apps                 map[string]string `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

AppList returns the contents of the repo of a ListApps request

func (*AppList) Descriptor

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

func (*AppList) GetApps

func (m *AppList) GetApps() map[string]string

func (*AppList) Marshal

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

func (*AppList) MarshalTo

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

func (*AppList) MarshalToSizedBuffer

func (m *AppList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppList) ProtoMessage

func (*AppList) ProtoMessage()

func (*AppList) Reset

func (m *AppList) Reset()

func (*AppList) Size

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

func (*AppList) String

func (m *AppList) String() string

func (*AppList) Unmarshal

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

func (*AppList) XXX_DiscardUnknown

func (m *AppList) XXX_DiscardUnknown()

func (*AppList) XXX_Marshal

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

func (*AppList) XXX_Merge

func (m *AppList) XXX_Merge(src proto.Message)

func (*AppList) XXX_Size

func (m *AppList) XXX_Size() int

func (*AppList) XXX_Unmarshal

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

type Clientset

type Clientset interface {
	NewRepoServerClient() (io.Closer, RepoServerServiceClient, error)
}

Clientset represents repository server api clients

func NewRepoServerClientset

func NewRepoServerClientset(address string, timeoutSeconds int, tlsConfig TLSConfiguration) Clientset

NewRepoServerClientset creates new instance of repo server Clientset

type DirectoryAppSpec

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

DirectoryAppSpec contains directory

func (*DirectoryAppSpec) Descriptor

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

func (*DirectoryAppSpec) Marshal

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

func (*DirectoryAppSpec) MarshalTo

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

func (*DirectoryAppSpec) MarshalToSizedBuffer

func (m *DirectoryAppSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DirectoryAppSpec) ProtoMessage

func (*DirectoryAppSpec) ProtoMessage()

func (*DirectoryAppSpec) Reset

func (m *DirectoryAppSpec) Reset()

func (*DirectoryAppSpec) Size

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

func (*DirectoryAppSpec) String

func (m *DirectoryAppSpec) String() string

func (*DirectoryAppSpec) Unmarshal

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

func (*DirectoryAppSpec) XXX_DiscardUnknown

func (m *DirectoryAppSpec) XXX_DiscardUnknown()

func (*DirectoryAppSpec) XXX_Marshal

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

func (*DirectoryAppSpec) XXX_Merge

func (m *DirectoryAppSpec) XXX_Merge(src proto.Message)

func (*DirectoryAppSpec) XXX_Size

func (m *DirectoryAppSpec) XXX_Size() int

func (*DirectoryAppSpec) XXX_Unmarshal

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

type HelmAppSpec

type HelmAppSpec struct {
	Name       string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ValueFiles []string `protobuf:"bytes,3,rep,name=valueFiles,proto3" json:"valueFiles,omitempty"`
	// the output of `helm inspect values`
	Parameters []*v1alpha1.HelmParameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// the contents of values.yaml
	Values string `protobuf:"bytes,5,opt,name=values,proto3" json:"values,omitempty"`
	// helm file parameters
	FileParameters       []*v1alpha1.HelmFileParameter `protobuf:"bytes,6,rep,name=fileParameters,proto3" json:"fileParameters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

HelmAppSpec contains helm app name in source repo

func (*HelmAppSpec) Descriptor

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

func (*HelmAppSpec) GetFileParameters

func (m *HelmAppSpec) GetFileParameters() []*v1alpha1.HelmFileParameter

func (*HelmAppSpec) GetName

func (m *HelmAppSpec) GetName() string

func (*HelmAppSpec) GetParameters

func (m *HelmAppSpec) GetParameters() []*v1alpha1.HelmParameter

func (*HelmAppSpec) GetValueFiles

func (m *HelmAppSpec) GetValueFiles() []string

func (*HelmAppSpec) GetValues

func (m *HelmAppSpec) GetValues() string

func (*HelmAppSpec) Marshal

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

func (*HelmAppSpec) MarshalTo

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

func (*HelmAppSpec) MarshalToSizedBuffer

func (m *HelmAppSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HelmAppSpec) ProtoMessage

func (*HelmAppSpec) ProtoMessage()

func (*HelmAppSpec) Reset

func (m *HelmAppSpec) Reset()

func (*HelmAppSpec) Size

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

func (*HelmAppSpec) String

func (m *HelmAppSpec) String() string

func (*HelmAppSpec) Unmarshal

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

func (*HelmAppSpec) XXX_DiscardUnknown

func (m *HelmAppSpec) XXX_DiscardUnknown()

func (*HelmAppSpec) XXX_Marshal

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

func (*HelmAppSpec) XXX_Merge

func (m *HelmAppSpec) XXX_Merge(src proto.Message)

func (*HelmAppSpec) XXX_Size

func (m *HelmAppSpec) XXX_Size() int

func (*HelmAppSpec) XXX_Unmarshal

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

type HelmChart

type HelmChart struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Versions             []string `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HelmChart) Descriptor

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

func (*HelmChart) GetName

func (m *HelmChart) GetName() string

func (*HelmChart) GetVersions

func (m *HelmChart) GetVersions() []string

func (*HelmChart) Marshal

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

func (*HelmChart) MarshalTo

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

func (*HelmChart) MarshalToSizedBuffer

func (m *HelmChart) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HelmChart) ProtoMessage

func (*HelmChart) ProtoMessage()

func (*HelmChart) Reset

func (m *HelmChart) Reset()

func (*HelmChart) Size

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

func (*HelmChart) String

func (m *HelmChart) String() string

func (*HelmChart) Unmarshal

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

func (*HelmChart) XXX_DiscardUnknown

func (m *HelmChart) XXX_DiscardUnknown()

func (*HelmChart) XXX_Marshal

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

func (*HelmChart) XXX_Merge

func (m *HelmChart) XXX_Merge(src proto.Message)

func (*HelmChart) XXX_Size

func (m *HelmChart) XXX_Size() int

func (*HelmChart) XXX_Unmarshal

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

type HelmChartsRequest

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

func (*HelmChartsRequest) Descriptor

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

func (*HelmChartsRequest) GetRepo

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

func (*HelmChartsRequest) Marshal

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

func (*HelmChartsRequest) MarshalTo

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

func (*HelmChartsRequest) MarshalToSizedBuffer

func (m *HelmChartsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HelmChartsRequest) ProtoMessage

func (*HelmChartsRequest) ProtoMessage()

func (*HelmChartsRequest) Reset

func (m *HelmChartsRequest) Reset()

func (*HelmChartsRequest) Size

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

func (*HelmChartsRequest) String

func (m *HelmChartsRequest) String() string

func (*HelmChartsRequest) Unmarshal

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

func (*HelmChartsRequest) XXX_DiscardUnknown

func (m *HelmChartsRequest) XXX_DiscardUnknown()

func (*HelmChartsRequest) XXX_Marshal

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

func (*HelmChartsRequest) XXX_Merge

func (m *HelmChartsRequest) XXX_Merge(src proto.Message)

func (*HelmChartsRequest) XXX_Size

func (m *HelmChartsRequest) XXX_Size() int

func (*HelmChartsRequest) XXX_Unmarshal

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

type HelmChartsResponse

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

func (*HelmChartsResponse) Descriptor

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

func (*HelmChartsResponse) GetItems

func (m *HelmChartsResponse) GetItems() []*HelmChart

func (*HelmChartsResponse) Marshal

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

func (*HelmChartsResponse) MarshalTo

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

func (*HelmChartsResponse) MarshalToSizedBuffer

func (m *HelmChartsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HelmChartsResponse) ProtoMessage

func (*HelmChartsResponse) ProtoMessage()

func (*HelmChartsResponse) Reset

func (m *HelmChartsResponse) Reset()

func (*HelmChartsResponse) Size

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

func (*HelmChartsResponse) String

func (m *HelmChartsResponse) String() string

func (*HelmChartsResponse) Unmarshal

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

func (*HelmChartsResponse) XXX_DiscardUnknown

func (m *HelmChartsResponse) XXX_DiscardUnknown()

func (*HelmChartsResponse) XXX_Marshal

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

func (*HelmChartsResponse) XXX_Merge

func (m *HelmChartsResponse) XXX_Merge(src proto.Message)

func (*HelmChartsResponse) XXX_Size

func (m *HelmChartsResponse) XXX_Size() int

func (*HelmChartsResponse) XXX_Unmarshal

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

type KsonnetAppSpec

type KsonnetAppSpec struct {
	Name                 string                         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Environments         map[string]*KsonnetEnvironment `` /* 165-byte string literal not displayed */
	Parameters           []*v1alpha1.KsonnetParameter   `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

KsonnetAppSpec contains Ksonnet app response This roughly reflects: ksonnet/ksonnet/metadata/app/schema.go

func (*KsonnetAppSpec) Descriptor

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

func (*KsonnetAppSpec) GetEnvironments

func (m *KsonnetAppSpec) GetEnvironments() map[string]*KsonnetEnvironment

func (*KsonnetAppSpec) GetName

func (m *KsonnetAppSpec) GetName() string

func (*KsonnetAppSpec) GetParameters

func (m *KsonnetAppSpec) GetParameters() []*v1alpha1.KsonnetParameter

func (*KsonnetAppSpec) Marshal

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

func (*KsonnetAppSpec) MarshalTo

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

func (*KsonnetAppSpec) MarshalToSizedBuffer

func (m *KsonnetAppSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KsonnetAppSpec) ProtoMessage

func (*KsonnetAppSpec) ProtoMessage()

func (*KsonnetAppSpec) Reset

func (m *KsonnetAppSpec) Reset()

func (*KsonnetAppSpec) Size

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

func (*KsonnetAppSpec) String

func (m *KsonnetAppSpec) String() string

func (*KsonnetAppSpec) Unmarshal

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

func (*KsonnetAppSpec) XXX_DiscardUnknown

func (m *KsonnetAppSpec) XXX_DiscardUnknown()

func (*KsonnetAppSpec) XXX_Marshal

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

func (*KsonnetAppSpec) XXX_Merge

func (m *KsonnetAppSpec) XXX_Merge(src proto.Message)

func (*KsonnetAppSpec) XXX_Size

func (m *KsonnetAppSpec) XXX_Size() int

func (*KsonnetAppSpec) XXX_Unmarshal

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

type KsonnetEnvironment

type KsonnetEnvironment struct {
	// Name is the user defined name of an environment
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// KubernetesVersion is the kubernetes version the targeted cluster is running on.
	K8SVersion string `protobuf:"bytes,2,opt,name=k8sVersion,proto3" json:"k8sVersion,omitempty"`
	// Destination stores the cluster address that this environment points to.
	Destination          *KsonnetEnvironmentDestination `protobuf:"bytes,4,opt,name=destination,proto3" json:"destination,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*KsonnetEnvironment) Descriptor

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

func (*KsonnetEnvironment) GetDestination

func (*KsonnetEnvironment) GetK8SVersion

func (m *KsonnetEnvironment) GetK8SVersion() string

func (*KsonnetEnvironment) GetName

func (m *KsonnetEnvironment) GetName() string

func (*KsonnetEnvironment) Marshal

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

func (*KsonnetEnvironment) MarshalTo

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

func (*KsonnetEnvironment) MarshalToSizedBuffer

func (m *KsonnetEnvironment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KsonnetEnvironment) ProtoMessage

func (*KsonnetEnvironment) ProtoMessage()

func (*KsonnetEnvironment) Reset

func (m *KsonnetEnvironment) Reset()

func (*KsonnetEnvironment) Size

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

func (*KsonnetEnvironment) String

func (m *KsonnetEnvironment) String() string

func (*KsonnetEnvironment) Unmarshal

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

func (*KsonnetEnvironment) XXX_DiscardUnknown

func (m *KsonnetEnvironment) XXX_DiscardUnknown()

func (*KsonnetEnvironment) XXX_Marshal

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

func (*KsonnetEnvironment) XXX_Merge

func (m *KsonnetEnvironment) XXX_Merge(src proto.Message)

func (*KsonnetEnvironment) XXX_Size

func (m *KsonnetEnvironment) XXX_Size() int

func (*KsonnetEnvironment) XXX_Unmarshal

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

type KsonnetEnvironmentDestination

type KsonnetEnvironmentDestination struct {
	// Server is the Kubernetes server that the cluster is running on.
	Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	// Namespace is the namespace of the Kubernetes server that targets should be deployed to
	Namespace            string   `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KsonnetEnvironmentDestination) Descriptor

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

func (*KsonnetEnvironmentDestination) GetNamespace

func (m *KsonnetEnvironmentDestination) GetNamespace() string

func (*KsonnetEnvironmentDestination) GetServer

func (m *KsonnetEnvironmentDestination) GetServer() string

func (*KsonnetEnvironmentDestination) Marshal

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

func (*KsonnetEnvironmentDestination) MarshalTo

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

func (*KsonnetEnvironmentDestination) MarshalToSizedBuffer

func (m *KsonnetEnvironmentDestination) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KsonnetEnvironmentDestination) ProtoMessage

func (*KsonnetEnvironmentDestination) ProtoMessage()

func (*KsonnetEnvironmentDestination) Reset

func (m *KsonnetEnvironmentDestination) Reset()

func (*KsonnetEnvironmentDestination) Size

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

func (*KsonnetEnvironmentDestination) String

func (*KsonnetEnvironmentDestination) Unmarshal

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

func (*KsonnetEnvironmentDestination) XXX_DiscardUnknown

func (m *KsonnetEnvironmentDestination) XXX_DiscardUnknown()

func (*KsonnetEnvironmentDestination) XXX_Marshal

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

func (*KsonnetEnvironmentDestination) XXX_Merge

func (m *KsonnetEnvironmentDestination) XXX_Merge(src proto.Message)

func (*KsonnetEnvironmentDestination) XXX_Size

func (m *KsonnetEnvironmentDestination) XXX_Size() int

func (*KsonnetEnvironmentDestination) XXX_Unmarshal

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

type KustomizeAppSpec

type KustomizeAppSpec struct {
	// images is a list of available images.
	Images               []string `protobuf:"bytes,3,rep,name=images,proto3" json:"images,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

KustomizeAppSpec contains kustomize images

func (*KustomizeAppSpec) Descriptor

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

func (*KustomizeAppSpec) GetImages

func (m *KustomizeAppSpec) GetImages() []string

func (*KustomizeAppSpec) Marshal

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

func (*KustomizeAppSpec) MarshalTo

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

func (*KustomizeAppSpec) MarshalToSizedBuffer

func (m *KustomizeAppSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KustomizeAppSpec) ProtoMessage

func (*KustomizeAppSpec) ProtoMessage()

func (*KustomizeAppSpec) Reset

func (m *KustomizeAppSpec) Reset()

func (*KustomizeAppSpec) Size

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

func (*KustomizeAppSpec) String

func (m *KustomizeAppSpec) String() string

func (*KustomizeAppSpec) Unmarshal

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

func (*KustomizeAppSpec) XXX_DiscardUnknown

func (m *KustomizeAppSpec) XXX_DiscardUnknown()

func (*KustomizeAppSpec) XXX_Marshal

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

func (*KustomizeAppSpec) XXX_Merge

func (m *KustomizeAppSpec) XXX_Merge(src proto.Message)

func (*KustomizeAppSpec) XXX_Size

func (m *KustomizeAppSpec) XXX_Size() int

func (*KustomizeAppSpec) XXX_Unmarshal

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

type ListAppsRequest

type ListAppsRequest struct {
	Repo                 *v1alpha1.Repository `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:"-"`
}

ListAppsRequest requests a repository directory structure

func (*ListAppsRequest) Descriptor

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

func (*ListAppsRequest) GetRepo

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

func (*ListAppsRequest) GetRevision

func (m *ListAppsRequest) GetRevision() string

func (*ListAppsRequest) Marshal

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

func (*ListAppsRequest) MarshalTo

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

func (*ListAppsRequest) MarshalToSizedBuffer

func (m *ListAppsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListAppsRequest) ProtoMessage

func (*ListAppsRequest) ProtoMessage()

func (*ListAppsRequest) Reset

func (m *ListAppsRequest) Reset()

func (*ListAppsRequest) Size

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

func (*ListAppsRequest) String

func (m *ListAppsRequest) String() string

func (*ListAppsRequest) Unmarshal

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

func (*ListAppsRequest) XXX_DiscardUnknown

func (m *ListAppsRequest) XXX_DiscardUnknown()

func (*ListAppsRequest) XXX_Marshal

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

func (*ListAppsRequest) XXX_Merge

func (m *ListAppsRequest) XXX_Merge(src proto.Message)

func (*ListAppsRequest) XXX_Size

func (m *ListAppsRequest) XXX_Size() int

func (*ListAppsRequest) XXX_Unmarshal

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

type ListRefsRequest

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

func (*ListRefsRequest) Descriptor

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

func (*ListRefsRequest) GetRepo

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

func (*ListRefsRequest) Marshal

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

func (*ListRefsRequest) MarshalTo

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

func (*ListRefsRequest) MarshalToSizedBuffer

func (m *ListRefsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListRefsRequest) ProtoMessage

func (*ListRefsRequest) ProtoMessage()

func (*ListRefsRequest) Reset

func (m *ListRefsRequest) Reset()

func (*ListRefsRequest) Size

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

func (*ListRefsRequest) String

func (m *ListRefsRequest) String() string

func (*ListRefsRequest) Unmarshal

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

func (*ListRefsRequest) XXX_DiscardUnknown

func (m *ListRefsRequest) XXX_DiscardUnknown()

func (*ListRefsRequest) XXX_Marshal

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

func (*ListRefsRequest) XXX_Merge

func (m *ListRefsRequest) XXX_Merge(src proto.Message)

func (*ListRefsRequest) XXX_Size

func (m *ListRefsRequest) XXX_Size() int

func (*ListRefsRequest) XXX_Unmarshal

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

type ManifestRequest

type ManifestRequest struct {
	Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// revision, potentially un-resolved
	Revision    string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	NoCache     bool   `protobuf:"varint,3,opt,name=noCache,proto3" json:"noCache,omitempty"`
	AppLabelKey string `protobuf:"bytes,4,opt,name=appLabelKey,proto3" json:"appLabelKey,omitempty"`
	// Name of the application for which the request is triggered
	AppName           string                             `protobuf:"bytes,5,opt,name=appName,proto3" json:"appName,omitempty"`
	Namespace         string                             `protobuf:"bytes,8,opt,name=namespace,proto3" json:"namespace,omitempty"`
	ApplicationSource *v1alpha1.ApplicationSource        `protobuf:"bytes,10,opt,name=applicationSource,proto3" json:"applicationSource,omitempty"`
	Repos             []*v1alpha1.Repository             `protobuf:"bytes,11,rep,name=repos,proto3" json:"repos,omitempty"`
	Plugins           []*v1alpha1.ConfigManagementPlugin `protobuf:"bytes,12,rep,name=plugins,proto3" json:"plugins,omitempty"`
	KustomizeOptions  *v1alpha1.KustomizeOptions         `protobuf:"bytes,13,opt,name=kustomizeOptions,proto3" json:"kustomizeOptions,omitempty"`
	KubeVersion       string                             `protobuf:"bytes,14,opt,name=kubeVersion,proto3" json:"kubeVersion,omitempty"`
	ApiVersions       []string                           `protobuf:"bytes,15,rep,name=apiVersions,proto3" json:"apiVersions,omitempty"`
	// Request to verify the signature when generating the manifests (only for Git repositories)
	VerifySignature      bool                  `protobuf:"varint,16,opt,name=verifySignature,proto3" json:"verifySignature,omitempty"`
	HelmRepoCreds        []*v1alpha1.RepoCreds `protobuf:"bytes,17,rep,name=helmRepoCreds,proto3" json:"helmRepoCreds,omitempty"`
	NoRevisionCache      bool                  `protobuf:"varint,18,opt,name=noRevisionCache,proto3" json:"noRevisionCache,omitempty"`
	HelmOptions          *v1alpha1.HelmOptions `protobuf:"bytes,21,opt,name=helmOptions,proto3" json:"helmOptions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

ManifestRequest is a query for manifest generation.

func (*ManifestRequest) Descriptor

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

func (*ManifestRequest) GetApiVersions

func (m *ManifestRequest) GetApiVersions() []string

func (*ManifestRequest) GetAppLabelKey

func (m *ManifestRequest) GetAppLabelKey() string

func (*ManifestRequest) GetAppName

func (m *ManifestRequest) GetAppName() string

func (*ManifestRequest) GetApplicationSource

func (m *ManifestRequest) GetApplicationSource() *v1alpha1.ApplicationSource

func (*ManifestRequest) GetHelmOptions added in v2.1.11

func (m *ManifestRequest) GetHelmOptions() *v1alpha1.HelmOptions

func (*ManifestRequest) GetHelmRepoCreds added in v2.1.0

func (m *ManifestRequest) GetHelmRepoCreds() []*v1alpha1.RepoCreds

func (*ManifestRequest) GetKubeVersion

func (m *ManifestRequest) GetKubeVersion() string

func (*ManifestRequest) GetKustomizeOptions

func (m *ManifestRequest) GetKustomizeOptions() *v1alpha1.KustomizeOptions

func (*ManifestRequest) GetNamespace

func (m *ManifestRequest) GetNamespace() string

func (*ManifestRequest) GetNoCache

func (m *ManifestRequest) GetNoCache() bool

func (*ManifestRequest) GetNoRevisionCache added in v2.1.0

func (m *ManifestRequest) GetNoRevisionCache() bool

func (*ManifestRequest) GetPlugins

func (m *ManifestRequest) GetPlugins() []*v1alpha1.ConfigManagementPlugin

func (*ManifestRequest) GetRepo

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

func (*ManifestRequest) GetRepos

func (m *ManifestRequest) GetRepos() []*v1alpha1.Repository

func (*ManifestRequest) GetRevision

func (m *ManifestRequest) GetRevision() string

func (*ManifestRequest) GetValuesFileSchemes added in v2.1.11

func (q *ManifestRequest) GetValuesFileSchemes() []string

func (*ManifestRequest) GetVerifySignature

func (m *ManifestRequest) GetVerifySignature() bool

func (*ManifestRequest) Marshal

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

func (*ManifestRequest) MarshalTo

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

func (*ManifestRequest) MarshalToSizedBuffer

func (m *ManifestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ManifestRequest) ProtoMessage

func (*ManifestRequest) ProtoMessage()

func (*ManifestRequest) Reset

func (m *ManifestRequest) Reset()

func (*ManifestRequest) Size

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

func (*ManifestRequest) String

func (m *ManifestRequest) String() string

func (*ManifestRequest) Unmarshal

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

func (*ManifestRequest) XXX_DiscardUnknown

func (m *ManifestRequest) XXX_DiscardUnknown()

func (*ManifestRequest) XXX_Marshal

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

func (*ManifestRequest) XXX_Merge

func (m *ManifestRequest) XXX_Merge(src proto.Message)

func (*ManifestRequest) XXX_Size

func (m *ManifestRequest) XXX_Size() int

func (*ManifestRequest) XXX_Unmarshal

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

type ManifestResponse

type ManifestResponse struct {
	Manifests []string `protobuf:"bytes,1,rep,name=manifests,proto3" json:"manifests,omitempty"`
	Namespace string   `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Server    string   `protobuf:"bytes,3,opt,name=server,proto3" json:"server,omitempty"`
	// resolved revision
	Revision   string `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
	SourceType string `protobuf:"bytes,6,opt,name=sourceType,proto3" json:"sourceType,omitempty"`
	// Raw response of git verify-commit operation (always the empty string for Helm)
	VerifyResult         string   `protobuf:"bytes,7,opt,name=verifyResult,proto3" json:"verifyResult,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ManifestResponse) Descriptor

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

func (*ManifestResponse) GetManifests

func (m *ManifestResponse) GetManifests() []string

func (*ManifestResponse) GetNamespace

func (m *ManifestResponse) GetNamespace() string

func (*ManifestResponse) GetRevision

func (m *ManifestResponse) GetRevision() string

func (*ManifestResponse) GetServer

func (m *ManifestResponse) GetServer() string

func (*ManifestResponse) GetSourceType

func (m *ManifestResponse) GetSourceType() string

func (*ManifestResponse) GetVerifyResult

func (m *ManifestResponse) GetVerifyResult() string

func (*ManifestResponse) Marshal

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

func (*ManifestResponse) MarshalTo

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

func (*ManifestResponse) MarshalToSizedBuffer

func (m *ManifestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ManifestResponse) ProtoMessage

func (*ManifestResponse) ProtoMessage()

func (*ManifestResponse) Reset

func (m *ManifestResponse) Reset()

func (*ManifestResponse) Size

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

func (*ManifestResponse) String

func (m *ManifestResponse) String() string

func (*ManifestResponse) Unmarshal

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

func (*ManifestResponse) XXX_DiscardUnknown

func (m *ManifestResponse) XXX_DiscardUnknown()

func (*ManifestResponse) XXX_Marshal

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

func (*ManifestResponse) XXX_Merge

func (m *ManifestResponse) XXX_Merge(src proto.Message)

func (*ManifestResponse) XXX_Size

func (m *ManifestResponse) XXX_Size() int

func (*ManifestResponse) XXX_Unmarshal

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

type Refs

type Refs struct {
	Branches             []string `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"`
	Tags                 []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A subset of the repository's named refs

func (*Refs) Descriptor

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

func (*Refs) GetBranches

func (m *Refs) GetBranches() []string

func (*Refs) GetTags

func (m *Refs) GetTags() []string

func (*Refs) Marshal

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

func (*Refs) MarshalTo

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

func (*Refs) MarshalToSizedBuffer

func (m *Refs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Refs) ProtoMessage

func (*Refs) ProtoMessage()

func (*Refs) Reset

func (m *Refs) Reset()

func (*Refs) Size

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

func (*Refs) String

func (m *Refs) String() string

func (*Refs) Unmarshal

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

func (*Refs) XXX_DiscardUnknown

func (m *Refs) XXX_DiscardUnknown()

func (*Refs) XXX_Marshal

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

func (*Refs) XXX_Merge

func (m *Refs) XXX_Merge(src proto.Message)

func (*Refs) XXX_Size

func (m *Refs) XXX_Size() int

func (*Refs) XXX_Unmarshal

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

type RepoAppDetailsResponse

type RepoAppDetailsResponse struct {
	Type                 string            `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Ksonnet              *KsonnetAppSpec   `protobuf:"bytes,2,opt,name=ksonnet,proto3" json:"ksonnet,omitempty"`
	Helm                 *HelmAppSpec      `protobuf:"bytes,3,opt,name=helm,proto3" json:"helm,omitempty"`
	Kustomize            *KustomizeAppSpec `protobuf:"bytes,4,opt,name=kustomize,proto3" json:"kustomize,omitempty"`
	Directory            *DirectoryAppSpec `protobuf:"bytes,5,opt,name=directory,proto3" json:"directory,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

RepoAppDetailsResponse application details

func (*RepoAppDetailsResponse) Descriptor

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

func (*RepoAppDetailsResponse) GetDirectory

func (m *RepoAppDetailsResponse) GetDirectory() *DirectoryAppSpec

func (*RepoAppDetailsResponse) GetHelm

func (m *RepoAppDetailsResponse) GetHelm() *HelmAppSpec

func (*RepoAppDetailsResponse) GetKsonnet

func (m *RepoAppDetailsResponse) GetKsonnet() *KsonnetAppSpec

func (*RepoAppDetailsResponse) GetKustomize

func (m *RepoAppDetailsResponse) GetKustomize() *KustomizeAppSpec

func (*RepoAppDetailsResponse) GetType

func (m *RepoAppDetailsResponse) GetType() string

func (*RepoAppDetailsResponse) Marshal

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

func (*RepoAppDetailsResponse) MarshalTo

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

func (*RepoAppDetailsResponse) MarshalToSizedBuffer

func (m *RepoAppDetailsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RepoAppDetailsResponse) ProtoMessage

func (*RepoAppDetailsResponse) ProtoMessage()

func (*RepoAppDetailsResponse) Reset

func (m *RepoAppDetailsResponse) Reset()

func (*RepoAppDetailsResponse) Size

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

func (*RepoAppDetailsResponse) String

func (m *RepoAppDetailsResponse) String() string

func (*RepoAppDetailsResponse) Unmarshal

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

func (*RepoAppDetailsResponse) XXX_DiscardUnknown

func (m *RepoAppDetailsResponse) XXX_DiscardUnknown()

func (*RepoAppDetailsResponse) XXX_Marshal

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

func (*RepoAppDetailsResponse) XXX_Merge

func (m *RepoAppDetailsResponse) XXX_Merge(src proto.Message)

func (*RepoAppDetailsResponse) XXX_Size

func (m *RepoAppDetailsResponse) XXX_Size() int

func (*RepoAppDetailsResponse) XXX_Unmarshal

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

type RepoServerAppDetailsQuery

type RepoServerAppDetailsQuery struct {
	Repo                 *v1alpha1.Repository        `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	Source               *v1alpha1.ApplicationSource `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	Repos                []*v1alpha1.Repository      `protobuf:"bytes,3,rep,name=repos,proto3" json:"repos,omitempty"`
	KustomizeOptions     *v1alpha1.KustomizeOptions  `protobuf:"bytes,4,opt,name=kustomizeOptions,proto3" json:"kustomizeOptions,omitempty"`
	AppName              string                      `protobuf:"bytes,5,opt,name=appName,proto3" json:"appName,omitempty"`
	NoCache              bool                        `protobuf:"varint,6,opt,name=noCache,proto3" json:"noCache,omitempty"`
	NoRevisionCache      bool                        `protobuf:"varint,7,opt,name=noRevisionCache,proto3" json:"noRevisionCache,omitempty"`
	HelmOptions          *v1alpha1.HelmOptions       `protobuf:"bytes,10,opt,name=helmOptions,proto3" json:"helmOptions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

RepoServerAppDetailsQuery contains query information for app details request

func (*RepoServerAppDetailsQuery) Descriptor

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

func (*RepoServerAppDetailsQuery) GetAppName

func (m *RepoServerAppDetailsQuery) GetAppName() string

func (*RepoServerAppDetailsQuery) GetHelmOptions added in v2.1.11

func (m *RepoServerAppDetailsQuery) GetHelmOptions() *v1alpha1.HelmOptions

func (*RepoServerAppDetailsQuery) GetKustomizeOptions

func (m *RepoServerAppDetailsQuery) GetKustomizeOptions() *v1alpha1.KustomizeOptions

func (*RepoServerAppDetailsQuery) GetNoCache added in v2.1.0

func (m *RepoServerAppDetailsQuery) GetNoCache() bool

func (*RepoServerAppDetailsQuery) GetNoRevisionCache added in v2.1.3

func (m *RepoServerAppDetailsQuery) GetNoRevisionCache() bool

func (*RepoServerAppDetailsQuery) GetRepo

func (*RepoServerAppDetailsQuery) GetRepos

func (*RepoServerAppDetailsQuery) GetSource

func (*RepoServerAppDetailsQuery) GetValuesFileSchemes added in v2.1.11

func (q *RepoServerAppDetailsQuery) GetValuesFileSchemes() []string

func (*RepoServerAppDetailsQuery) Marshal

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

func (*RepoServerAppDetailsQuery) MarshalTo

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

func (*RepoServerAppDetailsQuery) MarshalToSizedBuffer

func (m *RepoServerAppDetailsQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RepoServerAppDetailsQuery) ProtoMessage

func (*RepoServerAppDetailsQuery) ProtoMessage()

func (*RepoServerAppDetailsQuery) Reset

func (m *RepoServerAppDetailsQuery) Reset()

func (*RepoServerAppDetailsQuery) Size

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

func (*RepoServerAppDetailsQuery) String

func (m *RepoServerAppDetailsQuery) String() string

func (*RepoServerAppDetailsQuery) Unmarshal

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

func (*RepoServerAppDetailsQuery) XXX_DiscardUnknown

func (m *RepoServerAppDetailsQuery) XXX_DiscardUnknown()

func (*RepoServerAppDetailsQuery) XXX_Marshal

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

func (*RepoServerAppDetailsQuery) XXX_Merge

func (m *RepoServerAppDetailsQuery) XXX_Merge(src proto.Message)

func (*RepoServerAppDetailsQuery) XXX_Size

func (m *RepoServerAppDetailsQuery) XXX_Size() int

func (*RepoServerAppDetailsQuery) XXX_Unmarshal

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

type RepoServerRevisionMetadataRequest

type RepoServerRevisionMetadataRequest struct {
	// the repo
	Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// the revision within the repo
	Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	// whether to check signature on revision
	CheckSignature       bool     `protobuf:"varint,3,opt,name=checkSignature,proto3" json:"checkSignature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RepoServerRevisionMetadataRequest) Descriptor

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

func (*RepoServerRevisionMetadataRequest) GetCheckSignature

func (m *RepoServerRevisionMetadataRequest) GetCheckSignature() bool

func (*RepoServerRevisionMetadataRequest) GetRepo

func (*RepoServerRevisionMetadataRequest) GetRevision

func (m *RepoServerRevisionMetadataRequest) GetRevision() string

func (*RepoServerRevisionMetadataRequest) Marshal

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

func (*RepoServerRevisionMetadataRequest) MarshalTo

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

func (*RepoServerRevisionMetadataRequest) MarshalToSizedBuffer

func (m *RepoServerRevisionMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RepoServerRevisionMetadataRequest) ProtoMessage

func (*RepoServerRevisionMetadataRequest) ProtoMessage()

func (*RepoServerRevisionMetadataRequest) Reset

func (*RepoServerRevisionMetadataRequest) Size

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

func (*RepoServerRevisionMetadataRequest) String

func (*RepoServerRevisionMetadataRequest) Unmarshal

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

func (*RepoServerRevisionMetadataRequest) XXX_DiscardUnknown

func (m *RepoServerRevisionMetadataRequest) XXX_DiscardUnknown()

func (*RepoServerRevisionMetadataRequest) XXX_Marshal

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

func (*RepoServerRevisionMetadataRequest) XXX_Merge

func (*RepoServerRevisionMetadataRequest) XXX_Size

func (m *RepoServerRevisionMetadataRequest) XXX_Size() int

func (*RepoServerRevisionMetadataRequest) XXX_Unmarshal

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

type RepoServerServiceClient

type RepoServerServiceClient interface {
	// GenerateManifest generates manifest for application in specified repo name and revision
	GenerateManifest(ctx context.Context, in *ManifestRequest, opts ...grpc.CallOption) (*ManifestResponse, error)
	// Returns a bool val if the repository is valid and has proper access
	TestRepository(ctx context.Context, in *TestRepositoryRequest, opts ...grpc.CallOption) (*TestRepositoryResponse, error)
	// Returns a list of refs (e.g. branches and tags) in the repo
	ListRefs(ctx context.Context, in *ListRefsRequest, opts ...grpc.CallOption) (*Refs, error)
	// ListApps returns a list of apps in the repo
	ListApps(ctx context.Context, in *ListAppsRequest, opts ...grpc.CallOption) (*AppList, error)
	// Generate manifest for application in specified repo name and revision
	GetAppDetails(ctx context.Context, in *RepoServerAppDetailsQuery, opts ...grpc.CallOption) (*RepoAppDetailsResponse, error)
	// Get the meta-data (author, date, tags, message) for a specific revision of the repo
	GetRevisionMetadata(ctx context.Context, in *RepoServerRevisionMetadataRequest, opts ...grpc.CallOption) (*v1alpha1.RevisionMetadata, error)
	// GetHelmCharts returns list of helm charts in the specified repository
	GetHelmCharts(ctx context.Context, in *HelmChartsRequest, opts ...grpc.CallOption) (*HelmChartsResponse, error)
}

RepoServerServiceClient is the client API for RepoServerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRepoServerServiceClient

func NewRepoServerServiceClient(cc *grpc.ClientConn) RepoServerServiceClient

type RepoServerServiceServer

type RepoServerServiceServer interface {
	// GenerateManifest generates manifest for application in specified repo name and revision
	GenerateManifest(context.Context, *ManifestRequest) (*ManifestResponse, error)
	// Returns a bool val if the repository is valid and has proper access
	TestRepository(context.Context, *TestRepositoryRequest) (*TestRepositoryResponse, error)
	// Returns a list of refs (e.g. branches and tags) in the repo
	ListRefs(context.Context, *ListRefsRequest) (*Refs, error)
	// ListApps returns a list of apps in the repo
	ListApps(context.Context, *ListAppsRequest) (*AppList, error)
	// Generate manifest for application in specified repo name and revision
	GetAppDetails(context.Context, *RepoServerAppDetailsQuery) (*RepoAppDetailsResponse, error)
	// Get the meta-data (author, date, tags, message) for a specific revision of the repo
	GetRevisionMetadata(context.Context, *RepoServerRevisionMetadataRequest) (*v1alpha1.RevisionMetadata, error)
	// GetHelmCharts returns list of helm charts in the specified repository
	GetHelmCharts(context.Context, *HelmChartsRequest) (*HelmChartsResponse, error)
}

RepoServerServiceServer is the server API for RepoServerService service.

type TLSConfiguration

type TLSConfiguration struct {
	// Whether to disable TLS for connections
	DisableTLS bool
	// Whether to enforce strict validation of TLS certificates
	StrictValidation bool
	// List of certificates to validate the peer against (if StrictCerts is true)
	Certificates *x509.CertPool
}

TLSConfiguration describes parameters for TLS configuration to be used by a repo server API client

type TestRepositoryRequest added in v2.1.0

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

TestRepositoryRequest is a query to test repository is valid or not and has valid access.

func (*TestRepositoryRequest) Descriptor added in v2.1.0

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

func (*TestRepositoryRequest) GetRepo added in v2.1.0

func (*TestRepositoryRequest) Marshal added in v2.1.0

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

func (*TestRepositoryRequest) MarshalTo added in v2.1.0

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

func (*TestRepositoryRequest) MarshalToSizedBuffer added in v2.1.0

func (m *TestRepositoryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TestRepositoryRequest) ProtoMessage added in v2.1.0

func (*TestRepositoryRequest) ProtoMessage()

func (*TestRepositoryRequest) Reset added in v2.1.0

func (m *TestRepositoryRequest) Reset()

func (*TestRepositoryRequest) Size added in v2.1.0

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

func (*TestRepositoryRequest) String added in v2.1.0

func (m *TestRepositoryRequest) String() string

func (*TestRepositoryRequest) Unmarshal added in v2.1.0

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

func (*TestRepositoryRequest) XXX_DiscardUnknown added in v2.1.0

func (m *TestRepositoryRequest) XXX_DiscardUnknown()

func (*TestRepositoryRequest) XXX_Marshal added in v2.1.0

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

func (*TestRepositoryRequest) XXX_Merge added in v2.1.0

func (m *TestRepositoryRequest) XXX_Merge(src proto.Message)

func (*TestRepositoryRequest) XXX_Size added in v2.1.0

func (m *TestRepositoryRequest) XXX_Size() int

func (*TestRepositoryRequest) XXX_Unmarshal added in v2.1.0

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

type TestRepositoryResponse added in v2.1.0

type TestRepositoryResponse struct {
	// Request to verify the signature when generating the manifests (only for Git repositories)
	VerifiedRepository   bool     `protobuf:"varint,1,opt,name=verifiedRepository,proto3" json:"verifiedRepository,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

TestRepositoryRequest is a query to test repository is valid or not and has valid access.

func (*TestRepositoryResponse) Descriptor added in v2.1.0

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

func (*TestRepositoryResponse) GetVerifiedRepository added in v2.1.0

func (m *TestRepositoryResponse) GetVerifiedRepository() bool

func (*TestRepositoryResponse) Marshal added in v2.1.0

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

func (*TestRepositoryResponse) MarshalTo added in v2.1.0

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

func (*TestRepositoryResponse) MarshalToSizedBuffer added in v2.1.0

func (m *TestRepositoryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TestRepositoryResponse) ProtoMessage added in v2.1.0

func (*TestRepositoryResponse) ProtoMessage()

func (*TestRepositoryResponse) Reset added in v2.1.0

func (m *TestRepositoryResponse) Reset()

func (*TestRepositoryResponse) Size added in v2.1.0

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

func (*TestRepositoryResponse) String added in v2.1.0

func (m *TestRepositoryResponse) String() string

func (*TestRepositoryResponse) Unmarshal added in v2.1.0

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

func (*TestRepositoryResponse) XXX_DiscardUnknown added in v2.1.0

func (m *TestRepositoryResponse) XXX_DiscardUnknown()

func (*TestRepositoryResponse) XXX_Marshal added in v2.1.0

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

func (*TestRepositoryResponse) XXX_Merge added in v2.1.0

func (m *TestRepositoryResponse) XXX_Merge(src proto.Message)

func (*TestRepositoryResponse) XXX_Size added in v2.1.0

func (m *TestRepositoryResponse) XXX_Size() int

func (*TestRepositoryResponse) XXX_Unmarshal added in v2.1.0

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

type UnimplementedRepoServerServiceServer

type UnimplementedRepoServerServiceServer struct {
}

UnimplementedRepoServerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedRepoServerServiceServer) GenerateManifest

func (*UnimplementedRepoServerServiceServer) GetAppDetails

func (*UnimplementedRepoServerServiceServer) GetHelmCharts

func (*UnimplementedRepoServerServiceServer) GetRevisionMetadata

func (*UnimplementedRepoServerServiceServer) ListApps

func (*UnimplementedRepoServerServiceServer) ListRefs

func (*UnimplementedRepoServerServiceServer) TestRepository added in v2.1.0

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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