apiclient

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

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 RegisterRepoServerServiceServer

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

Types

type Clientset

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

Clientset represets repository server api clients

func NewRepoServerClientset

func NewRepoServerClientset(address string, timeoutSeconds int) 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) 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 (dst *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 FileList

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

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

func (*FileList) GetItems

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

func (*FileList) Marshal

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

func (*FileList) MarshalTo

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

func (*FileList) ProtoMessage

func (*FileList) ProtoMessage()

func (*FileList) Reset

func (m *FileList) Reset()

func (*FileList) Size

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

func (*FileList) String

func (m *FileList) String() string

func (*FileList) Unmarshal

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

func (*FileList) XXX_DiscardUnknown

func (m *FileList) XXX_DiscardUnknown()

func (*FileList) XXX_Marshal

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

func (*FileList) XXX_Merge

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

func (*FileList) XXX_Size

func (m *FileList) XXX_Size() int

func (*FileList) XXX_Unmarshal

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

type GetFileRequest

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

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

func (*GetFileRequest) GetPath

func (m *GetFileRequest) GetPath() string

func (*GetFileRequest) GetRepo

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

func (*GetFileRequest) GetRevision

func (m *GetFileRequest) GetRevision() string

func (*GetFileRequest) Marshal

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

func (*GetFileRequest) MarshalTo

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

func (*GetFileRequest) ProtoMessage

func (*GetFileRequest) ProtoMessage()

func (*GetFileRequest) Reset

func (m *GetFileRequest) Reset()

func (*GetFileRequest) Size

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

func (*GetFileRequest) String

func (m *GetFileRequest) String() string

func (*GetFileRequest) Unmarshal

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

func (*GetFileRequest) XXX_DiscardUnknown

func (m *GetFileRequest) XXX_DiscardUnknown()

func (*GetFileRequest) XXX_Marshal

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

func (*GetFileRequest) XXX_Merge

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

func (*GetFileRequest) XXX_Size

func (m *GetFileRequest) XXX_Size() int

func (*GetFileRequest) XXX_Unmarshal

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

type GetFileResponse

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

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

func (*GetFileResponse) GetData

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

func (*GetFileResponse) Marshal

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

func (*GetFileResponse) MarshalTo

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

func (*GetFileResponse) ProtoMessage

func (*GetFileResponse) ProtoMessage()

func (*GetFileResponse) Reset

func (m *GetFileResponse) Reset()

func (*GetFileResponse) Size

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

func (*GetFileResponse) String

func (m *GetFileResponse) String() string

func (*GetFileResponse) Unmarshal

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

func (*GetFileResponse) XXX_DiscardUnknown

func (m *GetFileResponse) XXX_DiscardUnknown()

func (*GetFileResponse) XXX_Marshal

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

func (*GetFileResponse) XXX_Merge

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

func (*GetFileResponse) XXX_Size

func (m *GetFileResponse) XXX_Size() int

func (*GetFileResponse) XXX_Unmarshal

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

type HelmAppDetailsQuery

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

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

func (*HelmAppDetailsQuery) GetValueFiles

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

func (*HelmAppDetailsQuery) Marshal

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

func (*HelmAppDetailsQuery) MarshalTo

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

func (*HelmAppDetailsQuery) ProtoMessage

func (*HelmAppDetailsQuery) ProtoMessage()

func (*HelmAppDetailsQuery) Reset

func (m *HelmAppDetailsQuery) Reset()

func (*HelmAppDetailsQuery) Size

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

func (*HelmAppDetailsQuery) String

func (m *HelmAppDetailsQuery) String() string

func (*HelmAppDetailsQuery) Unmarshal

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

func (*HelmAppDetailsQuery) XXX_DiscardUnknown

func (m *HelmAppDetailsQuery) XXX_DiscardUnknown()

func (*HelmAppDetailsQuery) XXX_Marshal

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

func (*HelmAppDetailsQuery) XXX_Merge

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

func (*HelmAppDetailsQuery) XXX_Size

func (m *HelmAppDetailsQuery) XXX_Size() int

func (*HelmAppDetailsQuery) XXX_Unmarshal

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

type HelmAppSpec

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

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

func (*HelmAppSpec) GetName

func (m *HelmAppSpec) GetName() string

func (*HelmAppSpec) GetParameters

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

func (*HelmAppSpec) GetPath

func (m *HelmAppSpec) GetPath() string

func (*HelmAppSpec) GetValueFiles

func (m *HelmAppSpec) GetValueFiles() []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) 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 (dst *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 KsonnetAppDetailsQuery

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

func (*KsonnetAppDetailsQuery) Descriptor

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

func (*KsonnetAppDetailsQuery) GetEnvironment

func (m *KsonnetAppDetailsQuery) GetEnvironment() string

func (*KsonnetAppDetailsQuery) Marshal

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

func (*KsonnetAppDetailsQuery) MarshalTo

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

func (*KsonnetAppDetailsQuery) ProtoMessage

func (*KsonnetAppDetailsQuery) ProtoMessage()

func (*KsonnetAppDetailsQuery) Reset

func (m *KsonnetAppDetailsQuery) Reset()

func (*KsonnetAppDetailsQuery) Size

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

func (*KsonnetAppDetailsQuery) String

func (m *KsonnetAppDetailsQuery) String() string

func (*KsonnetAppDetailsQuery) Unmarshal

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

func (*KsonnetAppDetailsQuery) XXX_DiscardUnknown

func (m *KsonnetAppDetailsQuery) XXX_DiscardUnknown()

func (*KsonnetAppDetailsQuery) XXX_Marshal

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

func (*KsonnetAppDetailsQuery) XXX_Merge

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

func (*KsonnetAppDetailsQuery) XXX_Size

func (m *KsonnetAppDetailsQuery) XXX_Size() int

func (*KsonnetAppDetailsQuery) XXX_Unmarshal

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

type KsonnetAppSpec

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

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) GetPath

func (m *KsonnetAppSpec) GetPath() string

func (*KsonnetAppSpec) Marshal

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

func (*KsonnetAppSpec) MarshalTo

func (m *KsonnetAppSpec) MarshalTo(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 (dst *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 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

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) GetPath

func (m *KsonnetEnvironment) GetPath() 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) 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 (dst *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) 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 (dst *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 {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// images is a list of available images.
	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

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

func (*KustomizeAppSpec) GetImages

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

func (*KustomizeAppSpec) GetPath

func (m *KustomizeAppSpec) GetPath() 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) 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 (dst *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 ListDirRequest

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

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

func (*ListDirRequest) GetPath

func (m *ListDirRequest) GetPath() string

func (*ListDirRequest) GetRepo

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

func (*ListDirRequest) GetRevision

func (m *ListDirRequest) GetRevision() string

func (*ListDirRequest) Marshal

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

func (*ListDirRequest) MarshalTo

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

func (*ListDirRequest) ProtoMessage

func (*ListDirRequest) ProtoMessage()

func (*ListDirRequest) Reset

func (m *ListDirRequest) Reset()

func (*ListDirRequest) Size

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

func (*ListDirRequest) String

func (m *ListDirRequest) String() string

func (*ListDirRequest) Unmarshal

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

func (*ListDirRequest) XXX_DiscardUnknown

func (m *ListDirRequest) XXX_DiscardUnknown()

func (*ListDirRequest) XXX_Marshal

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

func (*ListDirRequest) XXX_Merge

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

func (*ListDirRequest) XXX_Size

func (m *ListDirRequest) XXX_Size() int

func (*ListDirRequest) XXX_Unmarshal

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"`
	KustomizeOptions     *v1alpha1.KustomizeOptions         `protobuf:"bytes,13,opt,name=kustomizeOptions" json:"kustomizeOptions,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

func (m *ManifestRequest) GetAppLabelKey() string

func (*ManifestRequest) GetAppLabelValue

func (m *ManifestRequest) GetAppLabelValue() string

func (*ManifestRequest) GetApplicationSource

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

func (*ManifestRequest) GetHelmRepos

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

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) GetPlugins

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

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

func (*ManifestRequest) MarshalTo

func (m *ManifestRequest) MarshalTo(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 (dst *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" 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 (*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) Marshal

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

func (*ManifestResponse) MarshalTo

func (m *ManifestResponse) MarshalTo(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 (dst *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 RepoAppDetailsResponse

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

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) 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 (dst *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" 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"`
	Ksonnet              *KsonnetAppDetailsQuery            `protobuf:"bytes,7,opt,name=ksonnet" json:"ksonnet,omitempty"`
	KustomizeOptions     *v1alpha1.KustomizeOptions         `protobuf:"bytes,8,opt,name=kustomizeOptions" json:"kustomizeOptions,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) GetHelm

func (*RepoServerAppDetailsQuery) GetHelmRepos

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

func (*RepoServerAppDetailsQuery) GetKsonnet

func (*RepoServerAppDetailsQuery) GetKustomizeOptions

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

func (*RepoServerAppDetailsQuery) GetPath

func (m *RepoServerAppDetailsQuery) GetPath() string

func (*RepoServerAppDetailsQuery) GetPlugins

func (*RepoServerAppDetailsQuery) GetRepo

func (*RepoServerAppDetailsQuery) GetRevision

func (m *RepoServerAppDetailsQuery) GetRevision() 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) 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 (dst *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" json:"repo,omitempty"`
	// the revision within the repo
	Revision             string   `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RepoServerRevisionMetadataRequest) Descriptor

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

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) 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 (dst *RepoServerRevisionMetadataRequest) XXX_Merge(src proto.Message)

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)
	// 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)
	// 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)
}

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)
	// 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)
	// Get the meta-data (author, date, tags, message) for a specific revision of the repo
	GetRevisionMetadata(context.Context, *RepoServerRevisionMetadataRequest) (*v1alpha1.RevisionMetadata, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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