apiclient

package
v1.3.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 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 AppList

type AppList struct {
	Apps                 map[string]string `` /* 142-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) 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 (dst *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() (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 HelmAppSpec

type HelmAppSpec struct {
	Name       string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ValueFiles []string `protobuf:"bytes,3,rep,name=valueFiles" json:"valueFiles,omitempty"`
	// the output of `helm inspect values`
	Parameters []*v1alpha1.HelmParameter `protobuf:"bytes,4,rep,name=parameters" json:"parameters,omitempty"`
	// the contents of values.yaml
	Values               string   `protobuf:"bytes,5,opt,name=values,proto3" json:"values,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) 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) 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 HelmChart

type HelmChart struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Versions             []string `protobuf:"bytes,2,rep,name=versions" 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) 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 (dst *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" 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) 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 (dst *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" 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) 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 (dst *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 `` /* 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) 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"`
	// 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) 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 {
	// 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 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) 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 ListAppsRequest

type ListAppsRequest 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"`
	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) 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 (dst *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 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"`
	Repos                []*v1alpha1.Repository             `protobuf:"bytes,11,rep,name=repos" json:"repos,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"`
	KubeVersion          string                             `protobuf:"bytes,14,opt,name=kubeVersion,proto3" json:"kubeVersion,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) 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) 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) 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"`
	Source               *v1alpha1.ApplicationSource `protobuf:"bytes,2,opt,name=source" json:"source,omitempty"`
	Repos                []*v1alpha1.Repository      `protobuf:"bytes,3,rep,name=repos" json:"repos,omitempty"`
	KustomizeOptions     *v1alpha1.KustomizeOptions  `protobuf:"bytes,4,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) GetKustomizeOptions

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

func (*RepoServerAppDetailsQuery) GetRepo

func (*RepoServerAppDetailsQuery) GetRepos

func (*RepoServerAppDetailsQuery) GetSource

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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