apiclient

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 21 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")
	ErrUnexpectedEndOfGroupRepository = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterRepoServerServiceServer

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

Types

type AppList added in v1.3.0

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

AppList returns the contents of the repo of a ListApps request

func (*AppList) Descriptor added in v1.3.0

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

func (*AppList) GetApps added in v1.3.0

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

func (*AppList) Marshal added in v1.3.0

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

func (*AppList) MarshalTo added in v1.3.0

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

func (*AppList) MarshalToSizedBuffer added in v1.4.0

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

func (*AppList) ProtoMessage added in v1.3.0

func (*AppList) ProtoMessage()

func (*AppList) Reset added in v1.3.0

func (m *AppList) Reset()

func (*AppList) Size added in v1.3.0

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

func (*AppList) String added in v1.3.0

func (m *AppList) String() string

func (*AppList) Unmarshal added in v1.3.0

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

func (*AppList) XXX_DiscardUnknown added in v1.3.0

func (m *AppList) XXX_DiscardUnknown()

func (*AppList) XXX_Marshal added in v1.3.0

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

func (*AppList) XXX_Merge added in v1.3.0

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

func (*AppList) XXX_Size added in v1.3.0

func (m *AppList) XXX_Size() int

func (*AppList) XXX_Unmarshal added in v1.3.0

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) MarshalToSizedBuffer added in v1.4.0

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

func (*DirectoryAppSpec) ProtoMessage

func (*DirectoryAppSpec) ProtoMessage()

func (*DirectoryAppSpec) Reset

func (m *DirectoryAppSpec) Reset()

func (*DirectoryAppSpec) Size

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

func (*DirectoryAppSpec) String

func (m *DirectoryAppSpec) String() string

func (*DirectoryAppSpec) Unmarshal

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

func (*DirectoryAppSpec) XXX_DiscardUnknown

func (m *DirectoryAppSpec) XXX_DiscardUnknown()

func (*DirectoryAppSpec) XXX_Marshal

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

func (*DirectoryAppSpec) XXX_Merge

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

func (*DirectoryAppSpec) XXX_Size

func (m *DirectoryAppSpec) XXX_Size() int

func (*DirectoryAppSpec) XXX_Unmarshal

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

type HelmAppSpec

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

func (m *HelmAppSpec) GetValues() string

func (*HelmAppSpec) Marshal

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

func (*HelmAppSpec) MarshalTo

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

func (*HelmAppSpec) MarshalToSizedBuffer added in v1.4.0

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

func (*HelmAppSpec) ProtoMessage

func (*HelmAppSpec) ProtoMessage()

func (*HelmAppSpec) Reset

func (m *HelmAppSpec) Reset()

func (*HelmAppSpec) Size

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

func (*HelmAppSpec) String

func (m *HelmAppSpec) String() string

func (*HelmAppSpec) Unmarshal

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

func (*HelmAppSpec) XXX_DiscardUnknown

func (m *HelmAppSpec) XXX_DiscardUnknown()

func (*HelmAppSpec) XXX_Marshal

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

func (*HelmAppSpec) XXX_Merge

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

func (*HelmAppSpec) XXX_Size

func (m *HelmAppSpec) XXX_Size() int

func (*HelmAppSpec) XXX_Unmarshal

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

type HelmChart added in v1.3.0

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

func (*HelmChart) Descriptor added in v1.3.0

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

func (*HelmChart) GetName added in v1.3.0

func (m *HelmChart) GetName() string

func (*HelmChart) GetVersions added in v1.3.0

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

func (*HelmChart) Marshal added in v1.3.0

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

func (*HelmChart) MarshalTo added in v1.3.0

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

func (*HelmChart) MarshalToSizedBuffer added in v1.4.0

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

func (*HelmChart) ProtoMessage added in v1.3.0

func (*HelmChart) ProtoMessage()

func (*HelmChart) Reset added in v1.3.0

func (m *HelmChart) Reset()

func (*HelmChart) Size added in v1.3.0

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

func (*HelmChart) String added in v1.3.0

func (m *HelmChart) String() string

func (*HelmChart) Unmarshal added in v1.3.0

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

func (*HelmChart) XXX_DiscardUnknown added in v1.3.0

func (m *HelmChart) XXX_DiscardUnknown()

func (*HelmChart) XXX_Marshal added in v1.3.0

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

func (*HelmChart) XXX_Merge added in v1.3.0

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

func (*HelmChart) XXX_Size added in v1.3.0

func (m *HelmChart) XXX_Size() int

func (*HelmChart) XXX_Unmarshal added in v1.3.0

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

type HelmChartsRequest added in v1.3.0

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

func (*HelmChartsRequest) Descriptor added in v1.3.0

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

func (*HelmChartsRequest) GetRepo added in v1.3.0

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

func (*HelmChartsRequest) Marshal added in v1.3.0

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

func (*HelmChartsRequest) MarshalTo added in v1.3.0

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

func (*HelmChartsRequest) MarshalToSizedBuffer added in v1.4.0

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

func (*HelmChartsRequest) ProtoMessage added in v1.3.0

func (*HelmChartsRequest) ProtoMessage()

func (*HelmChartsRequest) Reset added in v1.3.0

func (m *HelmChartsRequest) Reset()

func (*HelmChartsRequest) Size added in v1.3.0

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

func (*HelmChartsRequest) String added in v1.3.0

func (m *HelmChartsRequest) String() string

func (*HelmChartsRequest) Unmarshal added in v1.3.0

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

func (*HelmChartsRequest) XXX_DiscardUnknown added in v1.3.0

func (m *HelmChartsRequest) XXX_DiscardUnknown()

func (*HelmChartsRequest) XXX_Marshal added in v1.3.0

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

func (*HelmChartsRequest) XXX_Merge added in v1.3.0

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

func (*HelmChartsRequest) XXX_Size added in v1.3.0

func (m *HelmChartsRequest) XXX_Size() int

func (*HelmChartsRequest) XXX_Unmarshal added in v1.3.0

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

type HelmChartsResponse added in v1.3.0

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

func (*HelmChartsResponse) Descriptor added in v1.3.0

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

func (*HelmChartsResponse) GetItems added in v1.3.0

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

func (*HelmChartsResponse) Marshal added in v1.3.0

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

func (*HelmChartsResponse) MarshalTo added in v1.3.0

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

func (*HelmChartsResponse) MarshalToSizedBuffer added in v1.4.0

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

func (*HelmChartsResponse) ProtoMessage added in v1.3.0

func (*HelmChartsResponse) ProtoMessage()

func (*HelmChartsResponse) Reset added in v1.3.0

func (m *HelmChartsResponse) Reset()

func (*HelmChartsResponse) Size added in v1.3.0

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

func (*HelmChartsResponse) String added in v1.3.0

func (m *HelmChartsResponse) String() string

func (*HelmChartsResponse) Unmarshal added in v1.3.0

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

func (*HelmChartsResponse) XXX_DiscardUnknown added in v1.3.0

func (m *HelmChartsResponse) XXX_DiscardUnknown()

func (*HelmChartsResponse) XXX_Marshal added in v1.3.0

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

func (*HelmChartsResponse) XXX_Merge added in v1.3.0

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

func (*HelmChartsResponse) XXX_Size added in v1.3.0

func (m *HelmChartsResponse) XXX_Size() int

func (*HelmChartsResponse) XXX_Unmarshal added in v1.3.0

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

type KsonnetAppSpec

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

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

func (*KsonnetAppSpec) Descriptor

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

func (*KsonnetAppSpec) GetEnvironments

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

func (*KsonnetAppSpec) GetName

func (m *KsonnetAppSpec) GetName() string

func (*KsonnetAppSpec) GetParameters

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

func (*KsonnetAppSpec) Marshal

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

func (*KsonnetAppSpec) MarshalTo

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

func (*KsonnetAppSpec) MarshalToSizedBuffer added in v1.4.0

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

func (*KsonnetAppSpec) ProtoMessage

func (*KsonnetAppSpec) ProtoMessage()

func (*KsonnetAppSpec) Reset

func (m *KsonnetAppSpec) Reset()

func (*KsonnetAppSpec) Size

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

func (*KsonnetAppSpec) String

func (m *KsonnetAppSpec) String() string

func (*KsonnetAppSpec) Unmarshal

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

func (*KsonnetAppSpec) XXX_DiscardUnknown

func (m *KsonnetAppSpec) XXX_DiscardUnknown()

func (*KsonnetAppSpec) XXX_Marshal

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

func (*KsonnetAppSpec) XXX_Merge

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

func (*KsonnetAppSpec) XXX_Size

func (m *KsonnetAppSpec) XXX_Size() int

func (*KsonnetAppSpec) XXX_Unmarshal

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

type KsonnetEnvironment

type KsonnetEnvironment struct {
	// Name is the user defined name of an environment
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// KubernetesVersion is the kubernetes version the 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,proto3" json:"destination,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*KsonnetEnvironment) Descriptor

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

func (*KsonnetEnvironment) GetDestination

func (*KsonnetEnvironment) GetK8SVersion

func (m *KsonnetEnvironment) GetK8SVersion() string

func (*KsonnetEnvironment) GetName

func (m *KsonnetEnvironment) GetName() string

func (*KsonnetEnvironment) Marshal

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

func (*KsonnetEnvironment) MarshalTo

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

func (*KsonnetEnvironment) MarshalToSizedBuffer added in v1.4.0

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

func (*KsonnetEnvironment) ProtoMessage

func (*KsonnetEnvironment) ProtoMessage()

func (*KsonnetEnvironment) Reset

func (m *KsonnetEnvironment) Reset()

func (*KsonnetEnvironment) Size

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

func (*KsonnetEnvironment) String

func (m *KsonnetEnvironment) String() string

func (*KsonnetEnvironment) Unmarshal

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

func (*KsonnetEnvironment) XXX_DiscardUnknown

func (m *KsonnetEnvironment) XXX_DiscardUnknown()

func (*KsonnetEnvironment) XXX_Marshal

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

func (*KsonnetEnvironment) XXX_Merge

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

func (*KsonnetEnvironment) XXX_Size

func (m *KsonnetEnvironment) XXX_Size() int

func (*KsonnetEnvironment) XXX_Unmarshal

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

type KsonnetEnvironmentDestination

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

func (*KsonnetEnvironmentDestination) Descriptor

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

func (*KsonnetEnvironmentDestination) GetNamespace

func (m *KsonnetEnvironmentDestination) GetNamespace() string

func (*KsonnetEnvironmentDestination) GetServer

func (m *KsonnetEnvironmentDestination) GetServer() string

func (*KsonnetEnvironmentDestination) Marshal

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

func (*KsonnetEnvironmentDestination) MarshalTo

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

func (*KsonnetEnvironmentDestination) MarshalToSizedBuffer added in v1.4.0

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

func (*KsonnetEnvironmentDestination) ProtoMessage

func (*KsonnetEnvironmentDestination) ProtoMessage()

func (*KsonnetEnvironmentDestination) Reset

func (m *KsonnetEnvironmentDestination) Reset()

func (*KsonnetEnvironmentDestination) Size

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

func (*KsonnetEnvironmentDestination) String

func (*KsonnetEnvironmentDestination) Unmarshal

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

func (*KsonnetEnvironmentDestination) XXX_DiscardUnknown

func (m *KsonnetEnvironmentDestination) XXX_DiscardUnknown()

func (*KsonnetEnvironmentDestination) XXX_Marshal

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

func (*KsonnetEnvironmentDestination) XXX_Merge

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

func (*KsonnetEnvironmentDestination) XXX_Size

func (m *KsonnetEnvironmentDestination) XXX_Size() int

func (*KsonnetEnvironmentDestination) XXX_Unmarshal

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

type KustomizeAppSpec

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

KustomizeAppSpec contains kustomize images

func (*KustomizeAppSpec) Descriptor

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

func (*KustomizeAppSpec) GetImages

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

func (*KustomizeAppSpec) Marshal

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

func (*KustomizeAppSpec) MarshalTo

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

func (*KustomizeAppSpec) MarshalToSizedBuffer added in v1.4.0

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

func (*KustomizeAppSpec) ProtoMessage

func (*KustomizeAppSpec) ProtoMessage()

func (*KustomizeAppSpec) Reset

func (m *KustomizeAppSpec) Reset()

func (*KustomizeAppSpec) Size

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

func (*KustomizeAppSpec) String

func (m *KustomizeAppSpec) String() string

func (*KustomizeAppSpec) Unmarshal

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

func (*KustomizeAppSpec) XXX_DiscardUnknown

func (m *KustomizeAppSpec) XXX_DiscardUnknown()

func (*KustomizeAppSpec) XXX_Marshal

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

func (*KustomizeAppSpec) XXX_Merge

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

func (*KustomizeAppSpec) XXX_Size

func (m *KustomizeAppSpec) XXX_Size() int

func (*KustomizeAppSpec) XXX_Unmarshal

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

type ListAppsRequest added in v1.3.0

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

ListAppsRequest requests a repository directory structure

func (*ListAppsRequest) Descriptor added in v1.3.0

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

func (*ListAppsRequest) GetRepo added in v1.3.0

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

func (*ListAppsRequest) GetRevision added in v1.3.0

func (m *ListAppsRequest) GetRevision() string

func (*ListAppsRequest) Marshal added in v1.3.0

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

func (*ListAppsRequest) MarshalTo added in v1.3.0

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

func (*ListAppsRequest) MarshalToSizedBuffer added in v1.4.0

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

func (*ListAppsRequest) ProtoMessage added in v1.3.0

func (*ListAppsRequest) ProtoMessage()

func (*ListAppsRequest) Reset added in v1.3.0

func (m *ListAppsRequest) Reset()

func (*ListAppsRequest) Size added in v1.3.0

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

func (*ListAppsRequest) String added in v1.3.0

func (m *ListAppsRequest) String() string

func (*ListAppsRequest) Unmarshal added in v1.3.0

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

func (*ListAppsRequest) XXX_DiscardUnknown added in v1.3.0

func (m *ListAppsRequest) XXX_DiscardUnknown()

func (*ListAppsRequest) XXX_Marshal added in v1.3.0

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

func (*ListAppsRequest) XXX_Merge added in v1.3.0

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

func (*ListAppsRequest) XXX_Size added in v1.3.0

func (m *ListAppsRequest) XXX_Size() int

func (*ListAppsRequest) XXX_Unmarshal added in v1.3.0

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

type ManifestRequest

type ManifestRequest struct {
	Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// revision, potentially un-resolved
	Revision             string                             `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	NoCache              bool                               `protobuf:"varint,3,opt,name=noCache,proto3" json:"noCache,omitempty"`
	AppLabelKey          string                             `protobuf:"bytes,4,opt,name=appLabelKey,proto3" json:"appLabelKey,omitempty"`
	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,proto3" json:"applicationSource,omitempty"`
	Repos                []*v1alpha1.Repository             `protobuf:"bytes,11,rep,name=repos,proto3" json:"repos,omitempty"`
	Plugins              []*v1alpha1.ConfigManagementPlugin `protobuf:"bytes,12,rep,name=plugins,proto3" json:"plugins,omitempty"`
	KustomizeOptions     *v1alpha1.KustomizeOptions         `protobuf:"bytes,13,opt,name=kustomizeOptions,proto3" json:"kustomizeOptions,omitempty"`
	KubeVersion          string                             `protobuf:"bytes,14,opt,name=kubeVersion,proto3" json:"kubeVersion,omitempty"`
	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 added in v1.3.0

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

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) MarshalToSizedBuffer added in v1.4.0

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

func (*ManifestRequest) ProtoMessage

func (*ManifestRequest) ProtoMessage()

func (*ManifestRequest) Reset

func (m *ManifestRequest) Reset()

func (*ManifestRequest) Size

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

func (*ManifestRequest) String

func (m *ManifestRequest) String() string

func (*ManifestRequest) Unmarshal

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

func (*ManifestRequest) XXX_DiscardUnknown

func (m *ManifestRequest) XXX_DiscardUnknown()

func (*ManifestRequest) XXX_Marshal

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

func (*ManifestRequest) XXX_Merge

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

func (*ManifestRequest) XXX_Size

func (m *ManifestRequest) XXX_Size() int

func (*ManifestRequest) XXX_Unmarshal

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

type ManifestResponse

type ManifestResponse struct {
	Manifests []string `protobuf:"bytes,1,rep,name=manifests,proto3" json:"manifests,omitempty"`
	Namespace string   `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Server    string   `protobuf:"bytes,3,opt,name=server,proto3" json:"server,omitempty"`
	// resolved revision
	Revision             string   `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
	SourceType           string   `protobuf:"bytes,6,opt,name=sourceType,proto3" json:"sourceType,omitempty"`
	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) MarshalToSizedBuffer added in v1.4.0

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

func (*ManifestResponse) ProtoMessage

func (*ManifestResponse) ProtoMessage()

func (*ManifestResponse) Reset

func (m *ManifestResponse) Reset()

func (*ManifestResponse) Size

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

func (*ManifestResponse) String

func (m *ManifestResponse) String() string

func (*ManifestResponse) Unmarshal

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

func (*ManifestResponse) XXX_DiscardUnknown

func (m *ManifestResponse) XXX_DiscardUnknown()

func (*ManifestResponse) XXX_Marshal

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

func (*ManifestResponse) XXX_Merge

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

func (*ManifestResponse) XXX_Size

func (m *ManifestResponse) XXX_Size() int

func (*ManifestResponse) XXX_Unmarshal

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

type RepoAppDetailsResponse

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

RepoAppDetailsResponse application details

func (*RepoAppDetailsResponse) Descriptor

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

func (*RepoAppDetailsResponse) GetDirectory

func (m *RepoAppDetailsResponse) GetDirectory() *DirectoryAppSpec

func (*RepoAppDetailsResponse) GetHelm

func (m *RepoAppDetailsResponse) GetHelm() *HelmAppSpec

func (*RepoAppDetailsResponse) GetKsonnet

func (m *RepoAppDetailsResponse) GetKsonnet() *KsonnetAppSpec

func (*RepoAppDetailsResponse) GetKustomize

func (m *RepoAppDetailsResponse) GetKustomize() *KustomizeAppSpec

func (*RepoAppDetailsResponse) GetType

func (m *RepoAppDetailsResponse) GetType() string

func (*RepoAppDetailsResponse) Marshal

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

func (*RepoAppDetailsResponse) MarshalTo

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

func (*RepoAppDetailsResponse) MarshalToSizedBuffer added in v1.4.0

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

func (*RepoAppDetailsResponse) ProtoMessage

func (*RepoAppDetailsResponse) ProtoMessage()

func (*RepoAppDetailsResponse) Reset

func (m *RepoAppDetailsResponse) Reset()

func (*RepoAppDetailsResponse) Size

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

func (*RepoAppDetailsResponse) String

func (m *RepoAppDetailsResponse) String() string

func (*RepoAppDetailsResponse) Unmarshal

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

func (*RepoAppDetailsResponse) XXX_DiscardUnknown

func (m *RepoAppDetailsResponse) XXX_DiscardUnknown()

func (*RepoAppDetailsResponse) XXX_Marshal

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

func (*RepoAppDetailsResponse) XXX_Merge

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

func (*RepoAppDetailsResponse) XXX_Size

func (m *RepoAppDetailsResponse) XXX_Size() int

func (*RepoAppDetailsResponse) XXX_Unmarshal

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

type RepoServerAppDetailsQuery

type RepoServerAppDetailsQuery struct {
	Repo                 *v1alpha1.Repository        `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	Source               *v1alpha1.ApplicationSource `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	Repos                []*v1alpha1.Repository      `protobuf:"bytes,3,rep,name=repos,proto3" json:"repos,omitempty"`
	KustomizeOptions     *v1alpha1.KustomizeOptions  `protobuf:"bytes,4,opt,name=kustomizeOptions,proto3" json:"kustomizeOptions,omitempty"`
	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 added in v1.3.0

func (*RepoServerAppDetailsQuery) GetSource added in v1.3.0

func (*RepoServerAppDetailsQuery) Marshal

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

func (*RepoServerAppDetailsQuery) MarshalTo

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

func (*RepoServerAppDetailsQuery) MarshalToSizedBuffer added in v1.4.0

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

func (*RepoServerAppDetailsQuery) ProtoMessage

func (*RepoServerAppDetailsQuery) ProtoMessage()

func (*RepoServerAppDetailsQuery) Reset

func (m *RepoServerAppDetailsQuery) Reset()

func (*RepoServerAppDetailsQuery) Size

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

func (*RepoServerAppDetailsQuery) String

func (m *RepoServerAppDetailsQuery) String() string

func (*RepoServerAppDetailsQuery) Unmarshal

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

func (*RepoServerAppDetailsQuery) XXX_DiscardUnknown

func (m *RepoServerAppDetailsQuery) XXX_DiscardUnknown()

func (*RepoServerAppDetailsQuery) XXX_Marshal

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

func (*RepoServerAppDetailsQuery) XXX_Merge

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

func (*RepoServerAppDetailsQuery) XXX_Size

func (m *RepoServerAppDetailsQuery) XXX_Size() int

func (*RepoServerAppDetailsQuery) XXX_Unmarshal

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

type RepoServerRevisionMetadataRequest

type RepoServerRevisionMetadataRequest struct {
	// the repo
	Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// the revision within the repo
	Revision             string   `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	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) MarshalToSizedBuffer added in v1.4.0

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

func (*RepoServerRevisionMetadataRequest) ProtoMessage

func (*RepoServerRevisionMetadataRequest) ProtoMessage()

func (*RepoServerRevisionMetadataRequest) Reset

func (*RepoServerRevisionMetadataRequest) Size

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

func (*RepoServerRevisionMetadataRequest) String

func (*RepoServerRevisionMetadataRequest) Unmarshal

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

func (*RepoServerRevisionMetadataRequest) XXX_DiscardUnknown

func (m *RepoServerRevisionMetadataRequest) XXX_DiscardUnknown()

func (*RepoServerRevisionMetadataRequest) XXX_Marshal

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

func (*RepoServerRevisionMetadataRequest) XXX_Merge

func (*RepoServerRevisionMetadataRequest) XXX_Size

func (m *RepoServerRevisionMetadataRequest) XXX_Size() int

func (*RepoServerRevisionMetadataRequest) XXX_Unmarshal

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

type RepoServerServiceClient

type RepoServerServiceClient interface {
	// GenerateManifest generates manifest for application in specified repo name and revision
	GenerateManifest(ctx context.Context, in *ManifestRequest, opts ...grpc.CallOption) (*ManifestResponse, error)
	// ListApps returns a list of apps in the repo
	ListApps(ctx context.Context, in *ListAppsRequest, opts ...grpc.CallOption) (*AppList, error)
	// Generate manifest for application in specified repo name and revision
	GetAppDetails(ctx context.Context, in *RepoServerAppDetailsQuery, opts ...grpc.CallOption) (*RepoAppDetailsResponse, error)
	// Get the meta-data (author, date, tags, message) for a specific revision of the repo
	GetRevisionMetadata(ctx context.Context, in *RepoServerRevisionMetadataRequest, opts ...grpc.CallOption) (*v1alpha1.RevisionMetadata, error)
	// GetHelmCharts returns list of helm charts in the specified repository
	GetHelmCharts(ctx context.Context, in *HelmChartsRequest, opts ...grpc.CallOption) (*HelmChartsResponse, error)
}

RepoServerServiceClient is the client API for RepoServerService service.

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

func NewRepoServerServiceClient

func NewRepoServerServiceClient(cc *grpc.ClientConn) RepoServerServiceClient

type RepoServerServiceServer

type RepoServerServiceServer interface {
	// GenerateManifest generates manifest for application in specified repo name and revision
	GenerateManifest(context.Context, *ManifestRequest) (*ManifestResponse, error)
	// ListApps returns a list of apps in the repo
	ListApps(context.Context, *ListAppsRequest) (*AppList, error)
	// Generate manifest for application in specified repo name and revision
	GetAppDetails(context.Context, *RepoServerAppDetailsQuery) (*RepoAppDetailsResponse, error)
	// Get the meta-data (author, date, tags, message) for a specific revision of the repo
	GetRevisionMetadata(context.Context, *RepoServerRevisionMetadataRequest) (*v1alpha1.RevisionMetadata, error)
	// GetHelmCharts returns list of helm charts in the specified repository
	GetHelmCharts(context.Context, *HelmChartsRequest) (*HelmChartsResponse, error)
}

RepoServerServiceServer is the server API for RepoServerService service.

type UnimplementedRepoServerServiceServer added in v1.4.0

type UnimplementedRepoServerServiceServer struct {
}

UnimplementedRepoServerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedRepoServerServiceServer) GenerateManifest added in v1.4.0

func (*UnimplementedRepoServerServiceServer) GetAppDetails added in v1.4.0

func (*UnimplementedRepoServerServiceServer) GetHelmCharts added in v1.4.0

func (*UnimplementedRepoServerServiceServer) GetRevisionMetadata added in v1.4.0

func (*UnimplementedRepoServerServiceServer) ListApps added in v1.4.0

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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