repository

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2019 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginEnvAppName      = "ARGOCD_APP_NAME"
	PluginEnvAppNamespace = "ARGOCD_APP_NAMESPACE"
)

Variables

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

Functions

func GetAppSourceType added in v0.12.0

func GetAppSourceType(source *v1alpha1.ApplicationSource, appDirPath string) (v1alpha1.ApplicationSourceType, error)

GetAppSourceType returns explicit application source type or examines a directory and determines its application source type

func RegisterRepoServerServiceServer added in v0.12.0

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

Types

type DirectoryAppSpec added in v0.12.0

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

DirectoryAppSpec contains directory

func (*DirectoryAppSpec) Descriptor added in v0.12.0

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

func (*DirectoryAppSpec) Marshal added in v0.12.0

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

func (*DirectoryAppSpec) MarshalTo added in v0.12.0

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

func (*DirectoryAppSpec) ProtoMessage added in v0.12.0

func (*DirectoryAppSpec) ProtoMessage()

func (*DirectoryAppSpec) Reset added in v0.12.0

func (m *DirectoryAppSpec) Reset()

func (*DirectoryAppSpec) Size added in v0.12.0

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

func (*DirectoryAppSpec) String added in v0.12.0

func (m *DirectoryAppSpec) String() string

func (*DirectoryAppSpec) Unmarshal added in v0.12.0

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

func (*DirectoryAppSpec) XXX_DiscardUnknown added in v0.12.0

func (m *DirectoryAppSpec) XXX_DiscardUnknown()

func (*DirectoryAppSpec) XXX_Marshal added in v0.12.0

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

func (*DirectoryAppSpec) XXX_Merge added in v0.12.0

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

func (*DirectoryAppSpec) XXX_Size added in v0.12.0

func (m *DirectoryAppSpec) XXX_Size() int

func (*DirectoryAppSpec) XXX_Unmarshal added in v0.12.0

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

type FileList added in v0.4.4

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

FileList returns the contents of the repo of a ListDir request

func (*FileList) Descriptor added in v0.4.4

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

func (*FileList) GetItems added in v0.4.4

func (m *FileList) GetItems() []string

func (*FileList) Marshal added in v0.4.4

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

func (*FileList) MarshalTo added in v0.4.4

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

func (*FileList) ProtoMessage added in v0.4.4

func (*FileList) ProtoMessage()

func (*FileList) Reset added in v0.4.4

func (m *FileList) Reset()

func (*FileList) Size added in v0.4.4

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

func (*FileList) String added in v0.4.4

func (m *FileList) String() string

func (*FileList) Unmarshal added in v0.4.4

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

func (*FileList) XXX_DiscardUnknown added in v0.9.0

func (m *FileList) XXX_DiscardUnknown()

func (*FileList) XXX_Marshal added in v0.9.0

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

func (*FileList) XXX_Merge added in v0.9.0

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

func (*FileList) XXX_Size added in v0.9.0

func (m *FileList) XXX_Size() int

func (*FileList) XXX_Unmarshal added in v0.9.0

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

type GetFileRequest added in v0.4.0

type GetFileRequest struct {
	Repo                 *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo" 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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

GetFileRequest return

func (*GetFileRequest) Descriptor added in v0.4.0

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

func (*GetFileRequest) GetPath added in v0.4.0

func (m *GetFileRequest) GetPath() string

func (*GetFileRequest) GetRepo added in v0.4.0

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

func (*GetFileRequest) GetRevision added in v0.4.0

func (m *GetFileRequest) GetRevision() string

func (*GetFileRequest) Marshal added in v0.4.0

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

func (*GetFileRequest) MarshalTo added in v0.4.0

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

func (*GetFileRequest) ProtoMessage added in v0.4.0

func (*GetFileRequest) ProtoMessage()

func (*GetFileRequest) Reset added in v0.4.0

func (m *GetFileRequest) Reset()

func (*GetFileRequest) Size added in v0.4.0

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

func (*GetFileRequest) String added in v0.4.0

func (m *GetFileRequest) String() string

func (*GetFileRequest) Unmarshal added in v0.4.0

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

func (*GetFileRequest) XXX_DiscardUnknown added in v0.9.0

func (m *GetFileRequest) XXX_DiscardUnknown()

func (*GetFileRequest) XXX_Marshal added in v0.9.0

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

func (*GetFileRequest) XXX_Merge added in v0.9.0

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

func (*GetFileRequest) XXX_Size added in v0.9.0

func (m *GetFileRequest) XXX_Size() int

func (*GetFileRequest) XXX_Unmarshal added in v0.9.0

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

type GetFileResponse added in v0.4.0

type GetFileResponse struct {
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetFileResponse returns the contents of the file of a GetFile request

func (*GetFileResponse) Descriptor added in v0.4.0

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

func (*GetFileResponse) GetData added in v0.4.0

func (m *GetFileResponse) GetData() []byte

func (*GetFileResponse) Marshal added in v0.4.0

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

func (*GetFileResponse) MarshalTo added in v0.4.0

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

func (*GetFileResponse) ProtoMessage added in v0.4.0

func (*GetFileResponse) ProtoMessage()

func (*GetFileResponse) Reset added in v0.4.0

func (m *GetFileResponse) Reset()

func (*GetFileResponse) Size added in v0.4.0

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

func (*GetFileResponse) String added in v0.4.0

func (m *GetFileResponse) String() string

func (*GetFileResponse) Unmarshal added in v0.4.0

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

func (*GetFileResponse) XXX_DiscardUnknown added in v0.9.0

func (m *GetFileResponse) XXX_DiscardUnknown()

func (*GetFileResponse) XXX_Marshal added in v0.9.0

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

func (*GetFileResponse) XXX_Merge added in v0.9.0

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

func (*GetFileResponse) XXX_Size added in v0.9.0

func (m *GetFileResponse) XXX_Size() int

func (*GetFileResponse) XXX_Unmarshal added in v0.9.0

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

type HelmAppDetailsQuery added in v0.12.0

type HelmAppDetailsQuery struct {
	ValueFiles           []string `protobuf:"bytes,1,rep,name=valueFiles" json:"valueFiles,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HelmAppDetailsQuery) Descriptor added in v0.12.0

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

func (*HelmAppDetailsQuery) GetValueFiles added in v0.12.0

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

func (*HelmAppDetailsQuery) Marshal added in v0.12.0

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

func (*HelmAppDetailsQuery) MarshalTo added in v0.12.0

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

func (*HelmAppDetailsQuery) ProtoMessage added in v0.12.0

func (*HelmAppDetailsQuery) ProtoMessage()

func (*HelmAppDetailsQuery) Reset added in v0.12.0

func (m *HelmAppDetailsQuery) Reset()

func (*HelmAppDetailsQuery) Size added in v0.12.0

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

func (*HelmAppDetailsQuery) String added in v0.12.0

func (m *HelmAppDetailsQuery) String() string

func (*HelmAppDetailsQuery) Unmarshal added in v0.12.0

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

func (*HelmAppDetailsQuery) XXX_DiscardUnknown added in v0.12.0

func (m *HelmAppDetailsQuery) XXX_DiscardUnknown()

func (*HelmAppDetailsQuery) XXX_Marshal added in v0.12.0

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

func (*HelmAppDetailsQuery) XXX_Merge added in v0.12.0

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

func (*HelmAppDetailsQuery) XXX_Size added in v0.12.0

func (m *HelmAppDetailsQuery) XXX_Size() int

func (*HelmAppDetailsQuery) XXX_Unmarshal added in v0.12.0

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

type HelmAppSpec added in v0.12.0

type HelmAppSpec struct {
	Name                 string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Path                 string                    `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	ValueFiles           []string                  `protobuf:"bytes,3,rep,name=valueFiles" json:"valueFiles,omitempty"`
	Parameters           []*v1alpha1.HelmParameter `protobuf:"bytes,4,rep,name=parameters" json:"parameters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

HelmAppSpec contains helm app name and path in source repo

func (*HelmAppSpec) Descriptor added in v0.12.0

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

func (*HelmAppSpec) GetName added in v0.12.0

func (m *HelmAppSpec) GetName() string

func (*HelmAppSpec) GetParameters added in v0.12.0

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

func (*HelmAppSpec) GetPath added in v0.12.0

func (m *HelmAppSpec) GetPath() string

func (*HelmAppSpec) GetValueFiles added in v0.12.0

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

func (*HelmAppSpec) Marshal added in v0.12.0

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

func (*HelmAppSpec) MarshalTo added in v0.12.0

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

func (*HelmAppSpec) ProtoMessage added in v0.12.0

func (*HelmAppSpec) ProtoMessage()

func (*HelmAppSpec) Reset added in v0.12.0

func (m *HelmAppSpec) Reset()

func (*HelmAppSpec) Size added in v0.12.0

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

func (*HelmAppSpec) String added in v0.12.0

func (m *HelmAppSpec) String() string

func (*HelmAppSpec) Unmarshal added in v0.12.0

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

func (*HelmAppSpec) XXX_DiscardUnknown added in v0.12.0

func (m *HelmAppSpec) XXX_DiscardUnknown()

func (*HelmAppSpec) XXX_Marshal added in v0.12.0

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

func (*HelmAppSpec) XXX_Merge added in v0.12.0

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

func (*HelmAppSpec) XXX_Size added in v0.12.0

func (m *HelmAppSpec) XXX_Size() int

func (*HelmAppSpec) XXX_Unmarshal added in v0.12.0

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

type KsonnetAppSpec added in v0.12.0

type KsonnetAppSpec struct {
	Name                 string                         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Path                 string                         `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Environments         map[string]*KsonnetEnvironment `` /* 151-byte string literal not displayed */
	Parameters           []*v1alpha1.KsonnetParameter   `protobuf:"bytes,4,rep,name=parameters" 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 added in v0.12.0

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

func (*KsonnetAppSpec) GetEnvironments added in v0.12.0

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

func (*KsonnetAppSpec) GetName added in v0.12.0

func (m *KsonnetAppSpec) GetName() string

func (*KsonnetAppSpec) GetParameters added in v0.12.0

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

func (*KsonnetAppSpec) GetPath added in v0.12.0

func (m *KsonnetAppSpec) GetPath() string

func (*KsonnetAppSpec) Marshal added in v0.12.0

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

func (*KsonnetAppSpec) MarshalTo added in v0.12.0

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

func (*KsonnetAppSpec) ProtoMessage added in v0.12.0

func (*KsonnetAppSpec) ProtoMessage()

func (*KsonnetAppSpec) Reset added in v0.12.0

func (m *KsonnetAppSpec) Reset()

func (*KsonnetAppSpec) Size added in v0.12.0

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

func (*KsonnetAppSpec) String added in v0.12.0

func (m *KsonnetAppSpec) String() string

func (*KsonnetAppSpec) Unmarshal added in v0.12.0

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

func (*KsonnetAppSpec) XXX_DiscardUnknown added in v0.12.0

func (m *KsonnetAppSpec) XXX_DiscardUnknown()

func (*KsonnetAppSpec) XXX_Marshal added in v0.12.0

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

func (*KsonnetAppSpec) XXX_Merge added in v0.12.0

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

func (*KsonnetAppSpec) XXX_Size added in v0.12.0

func (m *KsonnetAppSpec) XXX_Size() int

func (*KsonnetAppSpec) XXX_Unmarshal added in v0.12.0

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

type KsonnetEnvironment added in v0.3.0

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 targetted cluster is running on.
	K8SVersion string `protobuf:"bytes,2,opt,name=k8sVersion,proto3" json:"k8sVersion,omitempty"`
	// Path is the relative project path containing metadata for this environment.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// Destination stores the cluster address that this environment points to.
	Destination          *KsonnetEnvironmentDestination `protobuf:"bytes,4,opt,name=destination" json:"destination,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*KsonnetEnvironment) Descriptor added in v0.3.0

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

func (*KsonnetEnvironment) GetDestination added in v0.3.0

func (*KsonnetEnvironment) GetK8SVersion added in v0.3.0

func (m *KsonnetEnvironment) GetK8SVersion() string

func (*KsonnetEnvironment) GetName added in v0.3.0

func (m *KsonnetEnvironment) GetName() string

func (*KsonnetEnvironment) GetPath added in v0.3.0

func (m *KsonnetEnvironment) GetPath() string

func (*KsonnetEnvironment) Marshal added in v0.3.1

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

func (*KsonnetEnvironment) MarshalTo added in v0.3.1

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

func (*KsonnetEnvironment) ProtoMessage added in v0.3.0

func (*KsonnetEnvironment) ProtoMessage()

func (*KsonnetEnvironment) Reset added in v0.3.0

func (m *KsonnetEnvironment) Reset()

func (*KsonnetEnvironment) Size added in v0.3.1

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

func (*KsonnetEnvironment) String added in v0.3.0

func (m *KsonnetEnvironment) String() string

func (*KsonnetEnvironment) Unmarshal added in v0.3.1

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

func (*KsonnetEnvironment) XXX_DiscardUnknown added in v0.12.0

func (m *KsonnetEnvironment) XXX_DiscardUnknown()

func (*KsonnetEnvironment) XXX_Marshal added in v0.12.0

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

func (*KsonnetEnvironment) XXX_Merge added in v0.12.0

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

func (*KsonnetEnvironment) XXX_Size added in v0.12.0

func (m *KsonnetEnvironment) XXX_Size() int

func (*KsonnetEnvironment) XXX_Unmarshal added in v0.12.0

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

type KsonnetEnvironmentDestination added in v0.3.0

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 added in v0.3.0

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

func (*KsonnetEnvironmentDestination) GetNamespace added in v0.3.0

func (m *KsonnetEnvironmentDestination) GetNamespace() string

func (*KsonnetEnvironmentDestination) GetServer added in v0.3.0

func (m *KsonnetEnvironmentDestination) GetServer() string

func (*KsonnetEnvironmentDestination) Marshal added in v0.3.1

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

func (*KsonnetEnvironmentDestination) MarshalTo added in v0.3.1

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

func (*KsonnetEnvironmentDestination) ProtoMessage added in v0.3.0

func (*KsonnetEnvironmentDestination) ProtoMessage()

func (*KsonnetEnvironmentDestination) Reset added in v0.3.0

func (m *KsonnetEnvironmentDestination) Reset()

func (*KsonnetEnvironmentDestination) Size added in v0.3.1

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

func (*KsonnetEnvironmentDestination) String added in v0.3.0

func (*KsonnetEnvironmentDestination) Unmarshal added in v0.3.1

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

func (*KsonnetEnvironmentDestination) XXX_DiscardUnknown added in v0.12.0

func (m *KsonnetEnvironmentDestination) XXX_DiscardUnknown()

func (*KsonnetEnvironmentDestination) XXX_Marshal added in v0.12.0

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

func (*KsonnetEnvironmentDestination) XXX_Merge added in v0.12.0

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

func (*KsonnetEnvironmentDestination) XXX_Size added in v0.12.0

func (m *KsonnetEnvironmentDestination) XXX_Size() int

func (*KsonnetEnvironmentDestination) XXX_Unmarshal added in v0.12.0

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

type KustomizeAppSpec added in v0.12.0

type KustomizeAppSpec struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// imageTags is a list of available image tags. This is only populated for Kustomize 1.
	ImageTags []*v1alpha1.KustomizeImageTag `protobuf:"bytes,2,rep,name=imageTags" json:"imageTags,omitempty"`
	// images is a list of available images. This is only populated for Kustomize 2.
	Images               []string `protobuf:"bytes,3,rep,name=images" json:"images,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

KustomizeAppSpec contains kustomize app name and path in source repo

func (*KustomizeAppSpec) Descriptor added in v0.12.0

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

func (*KustomizeAppSpec) GetImageTags added in v0.12.0

func (m *KustomizeAppSpec) GetImageTags() []*v1alpha1.KustomizeImageTag

func (*KustomizeAppSpec) GetImages added in v0.12.1

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

func (*KustomizeAppSpec) GetPath added in v0.12.0

func (m *KustomizeAppSpec) GetPath() string

func (*KustomizeAppSpec) Marshal added in v0.12.0

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

func (*KustomizeAppSpec) MarshalTo added in v0.12.0

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

func (*KustomizeAppSpec) ProtoMessage added in v0.12.0

func (*KustomizeAppSpec) ProtoMessage()

func (*KustomizeAppSpec) Reset added in v0.12.0

func (m *KustomizeAppSpec) Reset()

func (*KustomizeAppSpec) Size added in v0.12.0

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

func (*KustomizeAppSpec) String added in v0.12.0

func (m *KustomizeAppSpec) String() string

func (*KustomizeAppSpec) Unmarshal added in v0.12.0

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

func (*KustomizeAppSpec) XXX_DiscardUnknown added in v0.12.0

func (m *KustomizeAppSpec) XXX_DiscardUnknown()

func (*KustomizeAppSpec) XXX_Marshal added in v0.12.0

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

func (*KustomizeAppSpec) XXX_Merge added in v0.12.0

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

func (*KustomizeAppSpec) XXX_Size added in v0.12.0

func (m *KustomizeAppSpec) XXX_Size() int

func (*KustomizeAppSpec) XXX_Unmarshal added in v0.12.0

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

type ListDirRequest added in v0.4.4

type ListDirRequest struct {
	Repo                 *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo" 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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

ListDirRequest requests a repository directory structure

func (*ListDirRequest) Descriptor added in v0.4.4

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

func (*ListDirRequest) GetPath added in v0.4.4

func (m *ListDirRequest) GetPath() string

func (*ListDirRequest) GetRepo added in v0.4.4

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

func (*ListDirRequest) GetRevision added in v0.4.4

func (m *ListDirRequest) GetRevision() string

func (*ListDirRequest) Marshal added in v0.4.4

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

func (*ListDirRequest) MarshalTo added in v0.4.4

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

func (*ListDirRequest) ProtoMessage added in v0.4.4

func (*ListDirRequest) ProtoMessage()

func (*ListDirRequest) Reset added in v0.4.4

func (m *ListDirRequest) Reset()

func (*ListDirRequest) Size added in v0.4.4

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

func (*ListDirRequest) String added in v0.4.4

func (m *ListDirRequest) String() string

func (*ListDirRequest) Unmarshal added in v0.4.4

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

func (*ListDirRequest) XXX_DiscardUnknown added in v0.9.0

func (m *ListDirRequest) XXX_DiscardUnknown()

func (*ListDirRequest) XXX_Marshal added in v0.9.0

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

func (*ListDirRequest) XXX_Merge added in v0.9.0

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

func (*ListDirRequest) XXX_Size added in v0.9.0

func (m *ListDirRequest) XXX_Size() int

func (*ListDirRequest) XXX_Unmarshal added in v0.9.0

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

type ManifestRequest

type ManifestRequest struct {
	Repo                 *v1alpha1.Repository               `protobuf:"bytes,1,opt,name=repo" json:"repo,omitempty"`
	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"`
	AppLabelValue        string                             `protobuf:"bytes,5,opt,name=appLabelValue,proto3" json:"appLabelValue,omitempty"`
	Namespace            string                             `protobuf:"bytes,8,opt,name=namespace,proto3" json:"namespace,omitempty"`
	ApplicationSource    *v1alpha1.ApplicationSource        `protobuf:"bytes,10,opt,name=applicationSource" json:"applicationSource,omitempty"`
	HelmRepos            []*v1alpha1.HelmRepository         `protobuf:"bytes,11,rep,name=helmRepos" json:"helmRepos,omitempty"`
	Plugins              []*v1alpha1.ConfigManagementPlugin `protobuf:"bytes,12,rep,name=plugins" json:"plugins,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) GetAppLabelKey added in v0.11.0

func (m *ManifestRequest) GetAppLabelKey() string

func (*ManifestRequest) GetAppLabelValue added in v0.11.0

func (m *ManifestRequest) GetAppLabelValue() string

func (*ManifestRequest) GetApplicationSource added in v0.11.0

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

func (*ManifestRequest) GetHelmRepos added in v0.11.0

func (m *ManifestRequest) GetHelmRepos() []*v1alpha1.HelmRepository

func (*ManifestRequest) GetNamespace added in v0.9.0

func (m *ManifestRequest) GetNamespace() string

func (*ManifestRequest) GetNoCache added in v0.11.0

func (m *ManifestRequest) GetNoCache() bool

func (*ManifestRequest) GetPlugins added in v0.12.0

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

func (*ManifestRequest) GetRepo

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

func (*ManifestRequest) GetRevision

func (m *ManifestRequest) GetRevision() string

func (*ManifestRequest) Marshal added in v0.3.1

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

func (*ManifestRequest) MarshalTo added in v0.3.1

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

func (*ManifestRequest) ProtoMessage

func (*ManifestRequest) ProtoMessage()

func (*ManifestRequest) Reset

func (m *ManifestRequest) Reset()

func (*ManifestRequest) Size added in v0.3.1

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

func (*ManifestRequest) String

func (m *ManifestRequest) String() string

func (*ManifestRequest) Unmarshal added in v0.3.1

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

func (*ManifestRequest) XXX_DiscardUnknown added in v0.9.0

func (m *ManifestRequest) XXX_DiscardUnknown()

func (*ManifestRequest) XXX_Marshal added in v0.9.0

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

func (*ManifestRequest) XXX_Merge added in v0.9.0

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

func (*ManifestRequest) XXX_Size added in v0.9.0

func (m *ManifestRequest) XXX_Size() int

func (*ManifestRequest) XXX_Unmarshal added in v0.9.0

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

type ManifestResponse

type ManifestResponse struct {
	Manifests            []string `protobuf:"bytes,1,rep,name=manifests" 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"`
	Revision             string   `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
	SourceType           string   `protobuf:"bytes,6,opt,name=sourceType,proto3" json:"sourceType,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func GenerateManifests added in v0.12.0

func GenerateManifests(appPath string, q *ManifestRequest) (*ManifestResponse, error)

GenerateManifests generates manifests from a path

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 added in v0.12.0

func (m *ManifestResponse) GetSourceType() string

func (*ManifestResponse) Marshal added in v0.3.1

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

func (*ManifestResponse) MarshalTo added in v0.3.1

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

func (*ManifestResponse) ProtoMessage

func (*ManifestResponse) ProtoMessage()

func (*ManifestResponse) Reset

func (m *ManifestResponse) Reset()

func (*ManifestResponse) Size added in v0.3.1

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

func (*ManifestResponse) String

func (m *ManifestResponse) String() string

func (*ManifestResponse) Unmarshal added in v0.3.1

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

func (*ManifestResponse) XXX_DiscardUnknown added in v0.9.0

func (m *ManifestResponse) XXX_DiscardUnknown()

func (*ManifestResponse) XXX_Marshal added in v0.9.0

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

func (*ManifestResponse) XXX_Merge added in v0.9.0

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

func (*ManifestResponse) XXX_Size added in v0.9.0

func (m *ManifestResponse) XXX_Size() int

func (*ManifestResponse) XXX_Unmarshal added in v0.9.0

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

type RepoAppDetailsResponse added in v0.12.0

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

RepoAppDetailsResponse application details

func (*RepoAppDetailsResponse) Descriptor added in v0.12.0

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

func (*RepoAppDetailsResponse) GetDirectory added in v0.12.0

func (m *RepoAppDetailsResponse) GetDirectory() *DirectoryAppSpec

func (*RepoAppDetailsResponse) GetHelm added in v0.12.0

func (m *RepoAppDetailsResponse) GetHelm() *HelmAppSpec

func (*RepoAppDetailsResponse) GetKsonnet added in v0.12.0

func (m *RepoAppDetailsResponse) GetKsonnet() *KsonnetAppSpec

func (*RepoAppDetailsResponse) GetKustomize added in v0.12.0

func (m *RepoAppDetailsResponse) GetKustomize() *KustomizeAppSpec

func (*RepoAppDetailsResponse) GetType added in v0.12.0

func (m *RepoAppDetailsResponse) GetType() string

func (*RepoAppDetailsResponse) Marshal added in v0.12.0

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

func (*RepoAppDetailsResponse) MarshalTo added in v0.12.0

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

func (*RepoAppDetailsResponse) ProtoMessage added in v0.12.0

func (*RepoAppDetailsResponse) ProtoMessage()

func (*RepoAppDetailsResponse) Reset added in v0.12.0

func (m *RepoAppDetailsResponse) Reset()

func (*RepoAppDetailsResponse) Size added in v0.12.0

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

func (*RepoAppDetailsResponse) String added in v0.12.0

func (m *RepoAppDetailsResponse) String() string

func (*RepoAppDetailsResponse) Unmarshal added in v0.12.0

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

func (*RepoAppDetailsResponse) XXX_DiscardUnknown added in v0.12.0

func (m *RepoAppDetailsResponse) XXX_DiscardUnknown()

func (*RepoAppDetailsResponse) XXX_Marshal added in v0.12.0

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

func (*RepoAppDetailsResponse) XXX_Merge added in v0.12.0

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

func (*RepoAppDetailsResponse) XXX_Size added in v0.12.0

func (m *RepoAppDetailsResponse) XXX_Size() int

func (*RepoAppDetailsResponse) XXX_Unmarshal added in v0.12.0

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

type RepoServerAppDetailsQuery added in v0.12.0

type RepoServerAppDetailsQuery struct {
	Repo                 *v1alpha1.Repository               `protobuf:"bytes,1,opt,name=repo" 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"`
	HelmRepos            []*v1alpha1.HelmRepository         `protobuf:"bytes,4,rep,name=helmRepos" json:"helmRepos,omitempty"`
	Plugins              []*v1alpha1.ConfigManagementPlugin `protobuf:"bytes,5,rep,name=plugins" json:"plugins,omitempty"`
	Helm                 *HelmAppDetailsQuery               `protobuf:"bytes,6,opt,name=helm" json:"helm,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

RepoServerAppDetailsQuery contains query information for app details request

func (*RepoServerAppDetailsQuery) Descriptor added in v0.12.0

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

func (*RepoServerAppDetailsQuery) GetHelm added in v0.12.0

func (*RepoServerAppDetailsQuery) GetHelmRepos added in v0.12.0

func (m *RepoServerAppDetailsQuery) GetHelmRepos() []*v1alpha1.HelmRepository

func (*RepoServerAppDetailsQuery) GetPath added in v0.12.0

func (m *RepoServerAppDetailsQuery) GetPath() string

func (*RepoServerAppDetailsQuery) GetPlugins added in v0.12.0

func (*RepoServerAppDetailsQuery) GetRepo added in v0.12.0

func (*RepoServerAppDetailsQuery) GetRevision added in v0.12.0

func (m *RepoServerAppDetailsQuery) GetRevision() string

func (*RepoServerAppDetailsQuery) Marshal added in v0.12.0

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

func (*RepoServerAppDetailsQuery) MarshalTo added in v0.12.0

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

func (*RepoServerAppDetailsQuery) ProtoMessage added in v0.12.0

func (*RepoServerAppDetailsQuery) ProtoMessage()

func (*RepoServerAppDetailsQuery) Reset added in v0.12.0

func (m *RepoServerAppDetailsQuery) Reset()

func (*RepoServerAppDetailsQuery) Size added in v0.12.0

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

func (*RepoServerAppDetailsQuery) String added in v0.12.0

func (m *RepoServerAppDetailsQuery) String() string

func (*RepoServerAppDetailsQuery) Unmarshal added in v0.12.0

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

func (*RepoServerAppDetailsQuery) XXX_DiscardUnknown added in v0.12.0

func (m *RepoServerAppDetailsQuery) XXX_DiscardUnknown()

func (*RepoServerAppDetailsQuery) XXX_Marshal added in v0.12.0

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

func (*RepoServerAppDetailsQuery) XXX_Merge added in v0.12.0

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

func (*RepoServerAppDetailsQuery) XXX_Size added in v0.12.0

func (m *RepoServerAppDetailsQuery) XXX_Size() int

func (*RepoServerAppDetailsQuery) XXX_Unmarshal added in v0.12.0

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

type RepoServerServiceClient added in v0.12.0

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)
	// ListDir returns the file contents at the specified repo and path
	ListDir(ctx context.Context, in *ListDirRequest, opts ...grpc.CallOption) (*FileList, error)
	// GetFile returns the file contents at the specified repo and path
	GetFile(ctx context.Context, in *GetFileRequest, opts ...grpc.CallOption) (*GetFileResponse, error)
	// Generate manifest for application in specified repo name and revision
	GetAppDetails(ctx context.Context, in *RepoServerAppDetailsQuery, opts ...grpc.CallOption) (*RepoAppDetailsResponse, error)
}

func NewRepoServerServiceClient added in v0.12.0

func NewRepoServerServiceClient(cc *grpc.ClientConn) RepoServerServiceClient

type RepoServerServiceServer added in v0.12.0

type RepoServerServiceServer interface {
	// GenerateManifest generates manifest for application in specified repo name and revision
	GenerateManifest(context.Context, *ManifestRequest) (*ManifestResponse, error)
	// ListDir returns the file contents at the specified repo and path
	ListDir(context.Context, *ListDirRequest) (*FileList, error)
	// GetFile returns the file contents at the specified repo and path
	GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error)
	// Generate manifest for application in specified repo name and revision
	GetAppDetails(context.Context, *RepoServerAppDetailsQuery) (*RepoAppDetailsResponse, error)
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service implements ManifestService interface

func NewService

func NewService(gitFactory git.ClientFactory, cache *cache.Cache, parallelismLimit int64) *Service

NewService returns a new instance of the Manifest service

func (*Service) GenerateManifest

func (s *Service) GenerateManifest(c context.Context, q *ManifestRequest) (*ManifestResponse, error)

func (*Service) GetAppDetails added in v0.12.0

func (*Service) GetFile added in v0.4.0

func (s *Service) GetFile(ctx context.Context, q *GetFileRequest) (*GetFileResponse, error)

func (*Service) ListDir added in v0.4.4

func (s *Service) ListDir(ctx context.Context, q *ListDirRequest) (*FileList, error)

ListDir lists the contents of a GitHub repo

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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