mirror of https://github.com/helm/helm
parent
c233336079
commit
6345f04190
@ -1,45 +0,0 @@
|
||||
space := $(empty) $(empty)
|
||||
comma := ,
|
||||
empty :=
|
||||
|
||||
import_path = k8s.io/helm/pkg/proto/hapi
|
||||
|
||||
dst = ../pkg/proto
|
||||
target = go
|
||||
|
||||
chart_ias = $(subst $(space),$(comma),$(addsuffix =$(import_path)/$(chart_pkg),$(addprefix M,$(chart_pbs))))
|
||||
chart_pbs = $(sort $(wildcard hapi/chart/*.proto))
|
||||
chart_pkg = chart
|
||||
|
||||
release_ias = $(subst $(space),$(comma),$(addsuffix =$(import_path)/$(release_pkg),$(addprefix M,$(release_pbs))))
|
||||
release_pbs = $(sort $(wildcard hapi/release/*.proto))
|
||||
release_pkg = release
|
||||
|
||||
services_ias = $(subst $(space),$(comma),$(addsuffix =$(import_path)/$(services_pkg),$(addprefix M,$(services_pbs))))
|
||||
services_pbs = $(sort $(wildcard hapi/services/*.proto))
|
||||
services_pkg = services
|
||||
|
||||
rudder_ias = $(subst $(space),$(comma),$(addsuffix =$(import_path)/$(rudder_pkg),$(addprefix M,$(rudder_pbs))))
|
||||
rudder_pbs = $(sort $(wildcard hapi/rudder/*.proto))
|
||||
rudder_pkg = rudder
|
||||
|
||||
google_deps = Mgoogle/protobuf/timestamp.proto=github.com/golang/protobuf/ptypes/timestamp,Mgoogle/protobuf/any.proto=github.com/golang/protobuf/ptypes/any
|
||||
|
||||
.PHONY: all
|
||||
all: chart release services
|
||||
|
||||
.PHONY: chart
|
||||
chart:
|
||||
PATH=../bin:$(PATH) protoc --$(target)_out=plugins=$(google_deps),$(chart_ias):$(dst) $(chart_pbs)
|
||||
|
||||
.PHONY: release
|
||||
release:
|
||||
PATH=../bin:$(PATH) protoc --$(target)_out=plugins=$(google_deps),$(chart_ias):$(dst) $(release_pbs)
|
||||
|
||||
.PHONY: services
|
||||
services:
|
||||
PATH=../bin:$(PATH) protoc --$(target)_out=plugins=$(google_deps),$(chart_ias),$(release_ias):$(dst) $(services_pbs)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@rm -rf $(dst)/hapi 2>/dev/null
|
@ -1,44 +0,0 @@
|
||||
// Copyright 2016 The Kubernetes Authors All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package hapi.chart;
|
||||
|
||||
import "hapi/chart/config.proto";
|
||||
import "hapi/chart/metadata.proto";
|
||||
import "hapi/chart/template.proto";
|
||||
import "google/protobuf/any.proto";
|
||||
|
||||
option go_package = "chart";
|
||||
|
||||
// Chart is a helm package that contains metadata, a default config, zero or more
|
||||
// optionally parameterizable templates, and zero or more charts (dependencies).
|
||||
message Chart {
|
||||
// Contents of the Chartfile.
|
||||
hapi.chart.Metadata metadata = 1;
|
||||
|
||||
// Templates for this chart.
|
||||
repeated hapi.chart.Template templates = 2;
|
||||
|
||||
// Charts that this chart depends on.
|
||||
repeated Chart dependencies = 3;
|
||||
|
||||
// Default config for this template.
|
||||
hapi.chart.Config values = 4;
|
||||
|
||||
// Miscellaneous files in a chart archive,
|
||||
// e.g. README, LICENSE, etc.
|
||||
repeated google.protobuf.Any files = 5;
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
// Copyright 2016 The Kubernetes Authors All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package hapi.chart;
|
||||
|
||||
option go_package = "chart";
|
||||
|
||||
// Config supplies values to the parametrizable templates of a chart.
|
||||
message Config {
|
||||
string raw = 1;
|
||||
|
||||
map<string,Value> values = 2;
|
||||
}
|
||||
|
||||
// Value describes a configuration value as a string.
|
||||
message Value {
|
||||
string value = 1;
|
||||
}
|
@ -1,93 +0,0 @@
|
||||
// Copyright 2016 The Kubernetes Authors All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package hapi.chart;
|
||||
|
||||
option go_package = "chart";
|
||||
|
||||
// Maintainer describes a Chart maintainer.
|
||||
message Maintainer {
|
||||
// Name is a user name or organization name
|
||||
string name = 1;
|
||||
|
||||
// Email is an optional email address to contact the named maintainer
|
||||
string email = 2;
|
||||
|
||||
// Url is an optional URL to an address for the named maintainer
|
||||
string url = 3;
|
||||
}
|
||||
|
||||
// Metadata for a Chart file. This models the structure of a Chart.yaml file.
|
||||
//
|
||||
// Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file
|
||||
message Metadata {
|
||||
enum Engine {
|
||||
UNKNOWN = 0;
|
||||
GOTPL = 1;
|
||||
}
|
||||
// The name of the chart
|
||||
string name = 1;
|
||||
|
||||
// The URL to a relevant project page, git repo, or contact person
|
||||
string home = 2;
|
||||
|
||||
// Source is the URL to the source code of this chart
|
||||
repeated string sources = 3;
|
||||
|
||||
// A SemVer 2 conformant version string of the chart
|
||||
string version = 4;
|
||||
|
||||
// A one-sentence description of the chart
|
||||
string description = 5;
|
||||
|
||||
// A list of string keywords
|
||||
repeated string keywords = 6;
|
||||
|
||||
// A list of name and URL/email address combinations for the maintainer(s)
|
||||
repeated Maintainer maintainers = 7;
|
||||
|
||||
// The name of the template engine to use. Defaults to 'gotpl'.
|
||||
string engine = 8;
|
||||
|
||||
// The URL to an icon file.
|
||||
string icon = 9;
|
||||
|
||||
// The API Version of this chart.
|
||||
string apiVersion = 10;
|
||||
|
||||
// The condition to check to enable chart
|
||||
string condition = 11;
|
||||
|
||||
// The tags to check to enable chart
|
||||
string tags = 12;
|
||||
|
||||
// The version of the application enclosed inside of this chart.
|
||||
string appVersion = 13;
|
||||
|
||||
// Whether or not this chart is deprecated
|
||||
bool deprecated = 14;
|
||||
|
||||
// TillerVersion is a SemVer constraints on what version of Tiller is required.
|
||||
// See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
|
||||
string tillerVersion = 15;
|
||||
|
||||
// Annotations are additional mappings uninterpreted by Tiller,
|
||||
// made available for inspection by other applications.
|
||||
map<string,string> annotations = 16;
|
||||
|
||||
// KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
|
||||
string kubeVersion = 17;
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
// Copyright 2016 The Kubernetes Authors All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package hapi.chart;
|
||||
|
||||
option go_package = "chart";
|
||||
|
||||
// Template represents a template as a name/value pair.
|
||||
//
|
||||
// By convention, name is a relative path within the scope of the chart's
|
||||
// base directory.
|
||||
message Template {
|
||||
// Name is the path-like name of the template.
|
||||
string name = 1;
|
||||
|
||||
// Data is the template as byte data.
|
||||
bytes data = 2;
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
// Copyright 2016 The Kubernetes Authors All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package hapi.release;
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option go_package = "release";
|
||||
|
||||
// Hook defines a hook object.
|
||||
message Hook {
|
||||
enum Event {
|
||||
UNKNOWN = 0;
|
||||
PRE_INSTALL = 1;
|
||||
POST_INSTALL = 2;
|
||||
PRE_DELETE = 3;
|
||||
POST_DELETE = 4;
|
||||
PRE_UPGRADE = 5;
|
||||
POST_UPGRADE = 6;
|
||||
PRE_ROLLBACK = 7;
|
||||
POST_ROLLBACK = 8;
|
||||
RELEASE_TEST_SUCCESS = 9;
|
||||
RELEASE_TEST_FAILURE = 10;
|
||||
}
|
||||
enum DeletePolicy {
|
||||
SUCCEEDED = 0;
|
||||
FAILED = 1;
|
||||
BEFORE_HOOK_CREATION = 2;
|
||||
}
|
||||
string name = 1;
|
||||
// Kind is the Kubernetes kind.
|
||||
string kind = 2;
|
||||
// Path is the chart-relative path to the template.
|
||||
string path = 3;
|
||||
// Manifest is the manifest contents.
|
||||
string manifest = 4;
|
||||
// Events are the events that this hook fires on.
|
||||
repeated Event events = 5;
|
||||
// LastRun indicates the date/time this was last run.
|
||||
google.protobuf.Timestamp last_run = 6;
|
||||
// Weight indicates the sort order for execution among similar Hook type
|
||||
int32 weight = 7;
|
||||
// DeletePolicies are the policies that indicate when to delete the hook
|
||||
repeated DeletePolicy delete_policies = 8;
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
// Copyright 2016 The Kubernetes Authors All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package hapi.release;
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "hapi/release/status.proto";
|
||||
|
||||
option go_package = "release";
|
||||
|
||||
// Info describes release information.
|
||||
message Info {
|
||||
Status status = 1;
|
||||
|
||||
google.protobuf.Timestamp first_deployed = 2;
|
||||
|
||||
google.protobuf.Timestamp last_deployed = 3;
|
||||
|
||||
// Deleted tracks when this object was deleted.
|
||||
google.protobuf.Timestamp deleted = 4;
|
||||
|
||||
// Description is human-friendly "log entry" about this release.
|
||||
string Description = 5;
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
// Copyright 2016 The Kubernetes Authors All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package hapi.release;
|
||||
|
||||
import "hapi/release/hook.proto";
|
||||
import "hapi/release/info.proto";
|
||||
import "hapi/chart/config.proto";
|
||||
import "hapi/chart/chart.proto";
|
||||
|
||||
option go_package = "release";
|
||||
|
||||
// Release describes a deployment of a chart, together with the chart
|
||||
// and the variables used to deploy that chart.
|
||||
message Release {
|
||||
// Name is the name of the release
|
||||
string name = 1;
|
||||
|
||||
// Info provides information about a release
|
||||
hapi.release.Info info = 2;
|
||||
|
||||
// Chart is the chart that was released.
|
||||
hapi.chart.Chart chart = 3;
|
||||
|
||||
// Config is the set of extra Values added to the chart.
|
||||
// These values override the default values inside of the chart.
|
||||
hapi.chart.Config config = 4;
|
||||
|
||||
// Manifest is the string representation of the rendered template.
|
||||
string manifest = 5;
|
||||
|
||||
// Hooks are all of the hooks declared for this release.
|
||||
repeated hapi.release.Hook hooks = 6;
|
||||
|
||||
// Version is an int32 which represents the version of the release.
|
||||
int32 version = 7;
|
||||
|
||||
// Namespace is the kubernetes namespace of the release.
|
||||
string namespace = 8;
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
// Copyright 2016 The Kubernetes Authors All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package hapi.release;
|
||||
|
||||
import "hapi/release/test_suite.proto";
|
||||
|
||||
import "google/protobuf/any.proto";
|
||||
|
||||
option go_package = "release";
|
||||
|
||||
// Status defines the status of a release.
|
||||
message Status {
|
||||
enum Code {
|
||||
// Status_UNKNOWN indicates that a release is in an uncertain state.
|
||||
UNKNOWN = 0;
|
||||
// Status_DEPLOYED indicates that the release has been pushed to Kubernetes.
|
||||
DEPLOYED = 1;
|
||||
// Status_DELETED indicates that a release has been deleted from Kubermetes.
|
||||
DELETED = 2;
|
||||
// Status_SUPERSEDED indicates that this release object is outdated and a newer one exists.
|
||||
SUPERSEDED = 3;
|
||||
// Status_FAILED indicates that the release was not successfully deployed.
|
||||
FAILED = 4;
|
||||
// Status_DELETING indicates that a delete operation is underway.
|
||||
DELETING = 5;
|
||||
// Status_PENDING_INSTALL indicates that an install operation is underway.
|
||||
PENDING_INSTALL = 6;
|
||||
// Status_PENDING_UPGRADE indicates that an upgrade operation is underway.
|
||||
PENDING_UPGRADE = 7;
|
||||
// Status_PENDING_ROLLBACK indicates that an rollback operation is underway.
|
||||
PENDING_ROLLBACK = 8;
|
||||
}
|
||||
|
||||
Code code = 1;
|
||||
|
||||
// Deprecated
|
||||
// google.protobuf.Any details = 2;
|
||||
|
||||
// Cluster resources as kubectl would print them.
|
||||
string resources = 3;
|
||||
|
||||
// Contains the rendered templates/NOTES.txt if available
|
||||
string notes = 4;
|
||||
|
||||
// LastTestSuiteRun provides results on the last test run on a release
|
||||
hapi.release.TestSuite last_test_suite_run = 5;
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
|
||||
// Copyright 2016 The Kubernetes Authors All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package hapi.release;
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option go_package = "release";
|
||||
|
||||
message TestRun {
|
||||
enum Status {
|
||||
UNKNOWN = 0;
|
||||
SUCCESS = 1;
|
||||
FAILURE = 2;
|
||||
RUNNING = 3;
|
||||
}
|
||||
|
||||
string name = 1;
|
||||
Status status = 2;
|
||||
string info = 3;
|
||||
google.protobuf.Timestamp started_at = 4;
|
||||
google.protobuf.Timestamp completed_at = 5;
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
// Copyright 2016 The Kubernetes Authors All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package hapi.release;
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "hapi/release/test_run.proto";
|
||||
|
||||
option go_package = "release";
|
||||
|
||||
// TestSuite comprises of the last run of the pre-defined test suite of a release version
|
||||
message TestSuite {
|
||||
// StartedAt indicates the date/time this test suite was kicked off
|
||||
google.protobuf.Timestamp started_at = 1;
|
||||
|
||||
// CompletedAt indicates the date/time this test suite was completed
|
||||
google.protobuf.Timestamp completed_at = 2;
|
||||
|
||||
// Results are the results of each segment of the test
|
||||
repeated hapi.release.TestRun results = 3;
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package chart
|
||||
|
||||
import google_protobuf "github.com/golang/protobuf/ptypes/any"
|
||||
|
||||
// Chart is a helm package that contains metadata, a default config, zero or more
|
||||
// optionally parameterizable templates, and zero or more charts (dependencies).
|
||||
type Chart struct {
|
||||
// Contents of the Chartfile.
|
||||
Metadata *Metadata `json:"metadata,omitempty"`
|
||||
// Templates for this chart.
|
||||
Templates []*Template `json:"templates,omitempty"`
|
||||
// Charts that this chart depends on.
|
||||
Dependencies []*Chart `json:"dependencies,omitempty"`
|
||||
// Default config for this template.
|
||||
Values *Config `json:"values,omitempty"`
|
||||
// Miscellaneous files in a chart archive,
|
||||
// e.g. README, LICENSE, etc.
|
||||
Files []*google_protobuf.Any `json:"files,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Chart) GetMetadata() *Metadata {
|
||||
if m != nil {
|
||||
return m.Metadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Chart) GetTemplates() []*Template {
|
||||
if m != nil {
|
||||
return m.Templates
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Chart) GetDependencies() []*Chart {
|
||||
if m != nil {
|
||||
return m.Dependencies
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Chart) GetValues() *Config {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Chart) GetFiles() []*google_protobuf.Any {
|
||||
if m != nil {
|
||||
return m.Files
|
||||
}
|
||||
return nil
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package chart
|
||||
|
||||
// Config supplies values to the parametrizable templates of a chart.
|
||||
type Config struct {
|
||||
Raw string `json:"raw,omitempty"`
|
||||
Values map[string]*Value `json:"values,omitempty"`
|
||||
}
|
||||
|
||||
// Value describes a configuration value as a string.
|
||||
type Value struct {
|
||||
Value string `json:"value,omitempty"`
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
package chart
|
||||
|
||||
type Metadata_Engine int32
|
||||
|
||||
const (
|
||||
Metadata_UNKNOWN Metadata_Engine = 0
|
||||
Metadata_GOTPL Metadata_Engine = 1
|
||||
)
|
||||
|
||||
var Metadata_Engine_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "GOTPL",
|
||||
}
|
||||
var Metadata_Engine_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"GOTPL": 1,
|
||||
}
|
||||
|
||||
func (x Metadata_Engine) String() string {
|
||||
return Metadata_Engine_name[int32(x)]
|
||||
}
|
||||
|
||||
// Maintainer describes a Chart maintainer.
|
||||
type Maintainer struct {
|
||||
// Name is a user name or organization name
|
||||
Name string `json:"name,omitempty"`
|
||||
// Email is an optional email address to contact the named maintainer
|
||||
Email string `json:"email,omitempty"`
|
||||
// Url is an optional URL to an address for the named maintainer
|
||||
Url string `json:"url,omitempty"`
|
||||
}
|
||||
|
||||
// Metadata for a Chart file. This models the structure of a Chart.yaml file.
|
||||
//
|
||||
// Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file
|
||||
type Metadata struct {
|
||||
// The name of the chart
|
||||
Name string `json:"name,omitempty"`
|
||||
// The URL to a relevant project page, git repo, or contact person
|
||||
Home string `json:"home,omitempty"`
|
||||
// Source is the URL to the source code of this chart
|
||||
Sources []string `json:"sources,omitempty"`
|
||||
// A SemVer 2 conformant version string of the chart
|
||||
Version string `json:"version,omitempty"`
|
||||
// A one-sentence description of the chart
|
||||
Description string `json:"description,omitempty"`
|
||||
// A list of string keywords
|
||||
Keywords []string `json:"keywords,omitempty"`
|
||||
// A list of name and URL/email address combinations for the maintainer(s)
|
||||
Maintainers []*Maintainer `json:"maintainers,omitempty"`
|
||||
// The name of the template engine to use. Defaults to 'gotpl'.
|
||||
Engine string `json:"engine,omitempty"`
|
||||
// The URL to an icon file.
|
||||
Icon string `json:"icon,omitempty"`
|
||||
// The API Version of this chart.
|
||||
ApiVersion string `json:"apiVersion,omitempty"`
|
||||
// The condition to check to enable chart
|
||||
Condition string `json:"condition,omitempty"`
|
||||
// The tags to check to enable chart
|
||||
Tags string `json:"tags,omitempty"`
|
||||
// The version of the application enclosed inside of this chart.
|
||||
AppVersion string `json:"appVersion,omitempty"`
|
||||
// Whether or not this chart is deprecated
|
||||
Deprecated bool `json:"deprecated,omitempty"`
|
||||
// TillerVersion is a SemVer constraints on what version of Tiller is required.
|
||||
// See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
|
||||
TillerVersion string `json:"tillerVersion,omitempty"`
|
||||
// Annotations are additional mappings uninterpreted by Tiller,
|
||||
// made available for inspection by other applications.
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
// KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
|
||||
KubeVersion string `json:"kubeVersion,omitempty"`
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package chart
|
||||
|
||||
// Template represents a template as a name/value pair.
|
||||
//
|
||||
// By convention, name is a relative path within the scope of the chart's
|
||||
// base directory.
|
||||
type Template struct {
|
||||
// Name is the path-like name of the template.
|
||||
Name string `json:"name,omitempty"`
|
||||
// Data is the template as byte data.
|
||||
Data []byte `json:"data,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Template) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Template) GetData() []byte {
|
||||
if m != nil {
|
||||
return m.Data
|
||||
}
|
||||
return nil
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
package release
|
||||
|
||||
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
type Hook_Event int32
|
||||
|
||||
const (
|
||||
Hook_UNKNOWN Hook_Event = 0
|
||||
Hook_PRE_INSTALL Hook_Event = 1
|
||||
Hook_POST_INSTALL Hook_Event = 2
|
||||
Hook_PRE_DELETE Hook_Event = 3
|
||||
Hook_POST_DELETE Hook_Event = 4
|
||||
Hook_PRE_UPGRADE Hook_Event = 5
|
||||
Hook_POST_UPGRADE Hook_Event = 6
|
||||
Hook_PRE_ROLLBACK Hook_Event = 7
|
||||
Hook_POST_ROLLBACK Hook_Event = 8
|
||||
Hook_RELEASE_TEST_SUCCESS Hook_Event = 9
|
||||
Hook_RELEASE_TEST_FAILURE Hook_Event = 10
|
||||
)
|
||||
|
||||
var Hook_Event_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "PRE_INSTALL",
|
||||
2: "POST_INSTALL",
|
||||
3: "PRE_DELETE",
|
||||
4: "POST_DELETE",
|
||||
5: "PRE_UPGRADE",
|
||||
6: "POST_UPGRADE",
|
||||
7: "PRE_ROLLBACK",
|
||||
8: "POST_ROLLBACK",
|
||||
9: "RELEASE_TEST_SUCCESS",
|
||||
10: "RELEASE_TEST_FAILURE",
|
||||
}
|
||||
var Hook_Event_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"PRE_INSTALL": 1,
|
||||
"POST_INSTALL": 2,
|
||||
"PRE_DELETE": 3,
|
||||
"POST_DELETE": 4,
|
||||
"PRE_UPGRADE": 5,
|
||||
"POST_UPGRADE": 6,
|
||||
"PRE_ROLLBACK": 7,
|
||||
"POST_ROLLBACK": 8,
|
||||
"RELEASE_TEST_SUCCESS": 9,
|
||||
"RELEASE_TEST_FAILURE": 10,
|
||||
}
|
||||
|
||||
func (x Hook_Event) String() string {
|
||||
return Hook_Event_name[int32(x)]
|
||||
}
|
||||
|
||||
type Hook_DeletePolicy int32
|
||||
|
||||
const (
|
||||
Hook_SUCCEEDED Hook_DeletePolicy = 0
|
||||
Hook_FAILED Hook_DeletePolicy = 1
|
||||
Hook_BEFORE_HOOK_CREATION Hook_DeletePolicy = 2
|
||||
)
|
||||
|
||||
var Hook_DeletePolicy_name = map[int32]string{
|
||||
0: "SUCCEEDED",
|
||||
1: "FAILED",
|
||||
2: "BEFORE_HOOK_CREATION",
|
||||
}
|
||||
var Hook_DeletePolicy_value = map[string]int32{
|
||||
"SUCCEEDED": 0,
|
||||
"FAILED": 1,
|
||||
"BEFORE_HOOK_CREATION": 2,
|
||||
}
|
||||
|
||||
// Hook defines a hook object.
|
||||
type Hook struct {
|
||||
Name string `json:"name,omitempty"`
|
||||
// Kind is the Kubernetes kind.
|
||||
Kind string `json:"kind,omitempty"`
|
||||
// Path is the chart-relative path to the template.
|
||||
Path string `json:"path,omitempty"`
|
||||
// Manifest is the manifest contents.
|
||||
Manifest string `json:"manifest,omitempty"`
|
||||
// Events are the events that this hook fires on.
|
||||
Events []Hook_Event `json:"events,omitempty"`
|
||||
// LastRun indicates the date/time this was last run.
|
||||
LastRun *google_protobuf.Timestamp `json:"last_run,omitempty"`
|
||||
// Weight indicates the sort order for execution among similar Hook type
|
||||
Weight int32 `json:"weight,omitempty"`
|
||||
// DeletePolicies are the policies that indicate when to delete the hook
|
||||
DeletePolicies []Hook_DeletePolicy `json:"delete_policies,omitempty"`
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package release
|
||||
|
||||
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
// Info describes release information.
|
||||
type Info struct {
|
||||
Status *Status `json:"status,omitempty"`
|
||||
FirstDeployed *google_protobuf.Timestamp `json:"first_deployed,omitempty"`
|
||||
LastDeployed *google_protobuf.Timestamp `json:"last_deployed,omitempty"`
|
||||
// Deleted tracks when this object was deleted.
|
||||
Deleted *google_protobuf.Timestamp `json:"deleted,omitempty"`
|
||||
// Description is human-friendly "log entry" about this release.
|
||||
Description string `json:"Description,omitempty"`
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package release
|
||||
|
||||
import "k8s.io/helm/pkg/hapi/chart"
|
||||
|
||||
// Release describes a deployment of a chart, together with the chart
|
||||
// and the variables used to deploy that chart.
|
||||
type Release struct {
|
||||
// Name is the name of the release
|
||||
Name string `json:"name,omitempty"`
|
||||
// Info provides information about a release
|
||||
Info *Info `json:"info,omitempty"`
|
||||
// Chart is the chart that was released.
|
||||
Chart *chart.Chart `json:"chart,omitempty"`
|
||||
// Config is the set of extra Values added to the chart.
|
||||
// These values override the default values inside of the chart.
|
||||
Config *chart.Config `json:"config,omitempty"`
|
||||
// Manifest is the string representation of the rendered template.
|
||||
Manifest string `json:"manifest,omitempty"`
|
||||
// Hooks are all of the hooks declared for this release.
|
||||
Hooks []*Hook `json:"hooks,omitempty"`
|
||||
// Version is an int32 which represents the version of the release.
|
||||
Version int32 `json:"version,omitempty"`
|
||||
// Namespace is the kubernetes namespace of the release.
|
||||
Namespace string `json:"namespace,omitempty"`
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
package release
|
||||
|
||||
type Status_Code int32
|
||||
|
||||
const (
|
||||
// Status_UNKNOWN indicates that a release is in an uncertain state.
|
||||
Status_UNKNOWN Status_Code = 0
|
||||
// Status_DEPLOYED indicates that the release has been pushed to Kubernetes.
|
||||
Status_DEPLOYED Status_Code = 1
|
||||
// Status_DELETED indicates that a release has been deleted from Kubermetes.
|
||||
Status_DELETED Status_Code = 2
|
||||
// Status_SUPERSEDED indicates that this release object is outdated and a newer one exists.
|
||||
Status_SUPERSEDED Status_Code = 3
|
||||
// Status_FAILED indicates that the release was not successfully deployed.
|
||||
Status_FAILED Status_Code = 4
|
||||
// Status_DELETING indicates that a delete operation is underway.
|
||||
Status_DELETING Status_Code = 5
|
||||
// Status_PENDING_INSTALL indicates that an install operation is underway.
|
||||
Status_PENDING_INSTALL Status_Code = 6
|
||||
// Status_PENDING_UPGRADE indicates that an upgrade operation is underway.
|
||||
Status_PENDING_UPGRADE Status_Code = 7
|
||||
// Status_PENDING_ROLLBACK indicates that an rollback operation is underway.
|
||||
Status_PENDING_ROLLBACK Status_Code = 8
|
||||
)
|
||||
|
||||
var Status_Code_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "DEPLOYED",
|
||||
2: "DELETED",
|
||||
3: "SUPERSEDED",
|
||||
4: "FAILED",
|
||||
5: "DELETING",
|
||||
6: "PENDING_INSTALL",
|
||||
7: "PENDING_UPGRADE",
|
||||
8: "PENDING_ROLLBACK",
|
||||
}
|
||||
var Status_Code_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"DEPLOYED": 1,
|
||||
"DELETED": 2,
|
||||
"SUPERSEDED": 3,
|
||||
"FAILED": 4,
|
||||
"DELETING": 5,
|
||||
"PENDING_INSTALL": 6,
|
||||
"PENDING_UPGRADE": 7,
|
||||
"PENDING_ROLLBACK": 8,
|
||||
}
|
||||
|
||||
func (x Status_Code) String() string {
|
||||
return Status_Code_name[int32(x)]
|
||||
}
|
||||
|
||||
// Status defines the status of a release.
|
||||
type Status struct {
|
||||
Code Status_Code `json:"code,omitempty"`
|
||||
// Cluster resources as kubectl would print them.
|
||||
Resources string `json:"resources,omitempty"`
|
||||
// Contains the rendered templates/NOTES.txt if available
|
||||
Notes string `json:"notes,omitempty"`
|
||||
// LastTestSuiteRun provides results on the last test run on a release
|
||||
LastTestSuiteRun *TestSuite `json:"last_test_suite_run,omitempty"`
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package release
|
||||
|
||||
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
type TestRun_Status int32
|
||||
|
||||
const (
|
||||
TestRun_UNKNOWN TestRun_Status = 0
|
||||
TestRun_SUCCESS TestRun_Status = 1
|
||||
TestRun_FAILURE TestRun_Status = 2
|
||||
TestRun_RUNNING TestRun_Status = 3
|
||||
)
|
||||
|
||||
var TestRun_Status_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "SUCCESS",
|
||||
2: "FAILURE",
|
||||
3: "RUNNING",
|
||||
}
|
||||
var TestRun_Status_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"SUCCESS": 1,
|
||||
"FAILURE": 2,
|
||||
"RUNNING": 3,
|
||||
}
|
||||
|
||||
func (x TestRun_Status) String() string {
|
||||
return TestRun_Status_name[int32(x)]
|
||||
}
|
||||
|
||||
type TestRun struct {
|
||||
Name string `json:"name,omitempty"`
|
||||
Status TestRun_Status `json:"status,omitempty"`
|
||||
Info string `json:"info,omitempty"`
|
||||
StartedAt *google_protobuf.Timestamp `json:"started_at,omitempty"`
|
||||
CompletedAt *google_protobuf.Timestamp `json:"completed_at,omitempty"`
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package release
|
||||
|
||||
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
// TestSuite comprises of the last run of the pre-defined test suite of a release version
|
||||
type TestSuite struct {
|
||||
// StartedAt indicates the date/time this test suite was kicked off
|
||||
StartedAt *google_protobuf.Timestamp `json:"started_at,omitempty"`
|
||||
// CompletedAt indicates the date/time this test suite was completed
|
||||
CompletedAt *google_protobuf.Timestamp `json:"completed_at,omitempty"`
|
||||
// Results are the results of each segment of the test
|
||||
Results []*TestRun `json:"results,omitempty"`
|
||||
}
|
@ -1,243 +1,236 @@
|
||||
// Copyright 2016 The Kubernetes Authors All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
package hapi
|
||||
|
||||
import (
|
||||
"k8s.io/helm/pkg/hapi/chart"
|
||||
"k8s.io/helm/pkg/hapi/release"
|
||||
)
|
||||
|
||||
// SortBy defines sort operations.
|
||||
type ListSort_SortBy int32
|
||||
|
||||
const (
|
||||
ListSort_UNKNOWN ListSort_SortBy = 0
|
||||
ListSort_NAME ListSort_SortBy = 1
|
||||
ListSort_LAST_RELEASED ListSort_SortBy = 2
|
||||
)
|
||||
|
||||
var ListSort_SortBy_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "NAME",
|
||||
2: "LAST_RELEASED",
|
||||
}
|
||||
var ListSort_SortBy_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"NAME": 1,
|
||||
"LAST_RELEASED": 2,
|
||||
}
|
||||
|
||||
syntax = "proto3";
|
||||
func (x ListSort_SortBy) String() string {
|
||||
return ListSort_SortBy_name[int32(x)]
|
||||
}
|
||||
|
||||
package hapi.services.tiller;
|
||||
// SortOrder defines sort orders to augment sorting operations.
|
||||
type ListSort_SortOrder int32
|
||||
|
||||
import "hapi/chart/chart.proto";
|
||||
import "hapi/chart/config.proto";
|
||||
import "hapi/release/release.proto";
|
||||
import "hapi/release/info.proto";
|
||||
import "hapi/release/test_run.proto";
|
||||
import "hapi/release/status.proto";
|
||||
const (
|
||||
ListSort_ASC ListSort_SortOrder = 0
|
||||
ListSort_DESC ListSort_SortOrder = 1
|
||||
)
|
||||
|
||||
option go_package = "services";
|
||||
var ListSort_SortOrder_name = map[int32]string{
|
||||
0: "ASC",
|
||||
1: "DESC",
|
||||
}
|
||||
var ListSort_SortOrder_value = map[string]int32{
|
||||
"ASC": 0,
|
||||
"DESC": 1,
|
||||
}
|
||||
|
||||
func (x ListSort_SortOrder) String() string {
|
||||
return ListSort_SortOrder_name[int32(x)]
|
||||
}
|
||||
|
||||
// ListReleasesRequest requests a list of releases.
|
||||
//
|
||||
// Releases can be retrieved in chunks by setting limit and offset.
|
||||
//
|
||||
// Releases can be sorted according to a few pre-determined sort stategies.
|
||||
message ListReleasesRequest {
|
||||
type ListReleasesRequest struct {
|
||||
// Limit is the maximum number of releases to be returned.
|
||||
int64 limit = 1;
|
||||
|
||||
Limit int64 `json:"limit,omityempty"`
|
||||
// Offset is the last release name that was seen. The next listing
|
||||
// operation will start with the name after this one.
|
||||
// Example: If list one returns albert, bernie, carl, and sets 'next: dennis'.
|
||||
// dennis is the offset. Supplying 'dennis' for the next request should
|
||||
// cause the next batch to return a set of results starting with 'dennis'.
|
||||
string offset = 2;
|
||||
|
||||
Offset string `json:"offset,omityempty"`
|
||||
// SortBy is the sort field that the ListReleases server should sort data before returning.
|
||||
ListSort.SortBy sort_by = 3;
|
||||
|
||||
SortBy ListSort_SortBy `json:"sort_by,omityempty"`
|
||||
// Filter is a regular expression used to filter which releases should be listed.
|
||||
//
|
||||
// Anything that matches the regexp will be included in the results.
|
||||
string filter = 4;
|
||||
|
||||
Filter string `json:"filter,omityempty"`
|
||||
// SortOrder is the ordering directive used for sorting.
|
||||
ListSort.SortOrder sort_order = 5;
|
||||
|
||||
repeated hapi.release.Status.Code status_codes = 6;
|
||||
SortOrder ListSort_SortOrder `json:"sort_order,omityempty"`
|
||||
StatusCodes []release.Status_Code `json:"status_codes,omityempty"`
|
||||
// Namespace is the filter to select releases only from a specific namespace.
|
||||
string namespace = 7;
|
||||
}
|
||||
|
||||
// ListSort defines sorting fields on a release list.
|
||||
message ListSort{
|
||||
// SortBy defines sort operations.
|
||||
enum SortBy {
|
||||
UNKNOWN = 0;
|
||||
NAME = 1;
|
||||
LAST_RELEASED = 2;
|
||||
}
|
||||
|
||||
// SortOrder defines sort orders to augment sorting operations.
|
||||
enum SortOrder {
|
||||
ASC = 0;
|
||||
DESC = 1;
|
||||
}
|
||||
Namespace string `json:"namespace,omityempty"`
|
||||
}
|
||||
|
||||
// ListReleasesResponse is a list of releases.
|
||||
message ListReleasesResponse {
|
||||
// Count is the expected total number of releases to be returned.
|
||||
int64 count = 1;
|
||||
|
||||
type ListReleasesResponse struct {
|
||||
// Count is the expected total number of releases to be returned.
|
||||
Count int64 `json:"count,omityempty"`
|
||||
// Next is the name of the next release. If this is other than an empty
|
||||
// string, it means there are more results.
|
||||
string next = 2;
|
||||
|
||||
Next string `json:"next,omityempty"`
|
||||
// Total is the total number of queryable releases.
|
||||
int64 total = 3;
|
||||
|
||||
Total int64 `json:"total,omityempty"`
|
||||
// Releases is the list of found release objects.
|
||||
repeated hapi.release.Release releases = 4;
|
||||
Releases []*release.Release `json:"releases,omityempty"`
|
||||
}
|
||||
|
||||
// GetReleaseStatusRequest is a request to get the status of a release.
|
||||
message GetReleaseStatusRequest {
|
||||
type GetReleaseStatusRequest struct {
|
||||
// Name is the name of the release
|
||||
string name = 1;
|
||||
Name string `json:"name,omitempty"`
|
||||
// Version is the version of the release
|
||||
int32 version = 2;
|
||||
Version int32 `json:"version,omitempty"`
|
||||
}
|
||||
|
||||
// GetReleaseStatusResponse is the response indicating the status of the named release.
|
||||
message GetReleaseStatusResponse {
|
||||
type GetReleaseStatusResponse struct {
|
||||
// Name is the name of the release.
|
||||
string name = 1;
|
||||
|
||||
Name string `json:"name,omitempty"`
|
||||
// Info contains information about the release.
|
||||
hapi.release.Info info = 2;
|
||||
|
||||
// Namespace the release was released into
|
||||
string namespace = 3;
|
||||
Info *release.Info `json:"info,omitempty"`
|
||||
// Namespace the release was released into
|
||||
Namespace string `json:"namespace,omitempty"`
|
||||
}
|
||||
|
||||
// GetReleaseContentRequest is a request to get the contents of a release.
|
||||
message GetReleaseContentRequest {
|
||||
type GetReleaseContentRequest struct {
|
||||
// The name of the release
|
||||
string name = 1;
|
||||
Name string `json:"name,omityempty"`
|
||||
// Version is the version of the release
|
||||
int32 version = 2;
|
||||
Version int32 `json:"version,omityempty"`
|
||||
}
|
||||
|
||||
// UpdateReleaseRequest updates a release.
|
||||
message UpdateReleaseRequest {
|
||||
type UpdateReleaseRequest struct {
|
||||
// The name of the release
|
||||
string name = 1;
|
||||
Name string `json:"name,omityempty"`
|
||||
// Chart is the protobuf representation of a chart.
|
||||
hapi.chart.Chart chart = 2;
|
||||
Chart *chart.Chart `json:"chart,omityempty"`
|
||||
// Values is a string containing (unparsed) YAML values.
|
||||
hapi.chart.Config values = 3;
|
||||
Values *chart.Config `json:"values,omityempty"`
|
||||
// dry_run, if true, will run through the release logic, but neither create
|
||||
bool dry_run = 4;
|
||||
DryRun bool `json:"dry_run,omityempty"`
|
||||
// DisableHooks causes the server to skip running any hooks for the upgrade.
|
||||
bool disable_hooks = 5;
|
||||
DisableHooks bool `json:"disable_hooks,omityempty"`
|
||||
// Performs pods restart for resources if applicable
|
||||
bool recreate = 6;
|
||||
Recreate bool `json:"recreate,omityempty"`
|
||||
// timeout specifies the max amount of time any kubernetes client command can run.
|
||||
int64 timeout = 7;
|
||||
Timeout int64 `json:"timeout,omityempty"`
|
||||
// ResetValues will cause Tiller to ignore stored values, resetting to default values.
|
||||
bool reset_values = 8;
|
||||
ResetValues bool `json:"reset_values,omityempty"`
|
||||
// wait, if true, will wait until all Pods, PVCs, and Services are in a ready state
|
||||
// before marking the release as successful. It will wait for as long as timeout
|
||||
bool wait = 9;
|
||||
Wait bool `json:"wait,omityempty"`
|
||||
// ReuseValues will cause Tiller to reuse the values from the last release.
|
||||
// This is ignored if reset_values is set.
|
||||
bool reuse_values = 10;
|
||||
ReuseValues bool `json:"reuse_values,omityempty"`
|
||||
// Force resource update through delete/recreate if needed.
|
||||
bool force = 11;
|
||||
Force bool `json:"force,omityempty"`
|
||||
}
|
||||
|
||||
message RollbackReleaseRequest {
|
||||
type RollbackReleaseRequest struct {
|
||||
// The name of the release
|
||||
string name = 1;
|
||||
Name string `json:"name,omityempty"`
|
||||
// dry_run, if true, will run through the release logic but no create
|
||||
bool dry_run = 2;
|
||||
DryRun bool `json:"dry_run,omityempty"`
|
||||
// DisableHooks causes the server to skip running any hooks for the rollback
|
||||
bool disable_hooks = 3;
|
||||
DisableHooks bool `json:"disable_hooks,omityempty"`
|
||||
// Version is the version of the release to deploy.
|
||||
int32 version = 4;
|
||||
Version int32 `json:"version,omityempty"`
|
||||
// Performs pods restart for resources if applicable
|
||||
bool recreate = 5;
|
||||
Recreate bool `json:"recreate,omityempty"`
|
||||
// timeout specifies the max amount of time any kubernetes client command can run.
|
||||
int64 timeout = 6;
|
||||
Timeout int64 `json:"timeout,omityempty"`
|
||||
// wait, if true, will wait until all Pods, PVCs, and Services are in a ready state
|
||||
// before marking the release as successful. It will wait for as long as timeout
|
||||
bool wait = 7;
|
||||
Wait bool `json:"wait,omityempty"`
|
||||
// Force resource update through delete/recreate if needed.
|
||||
bool force = 8;
|
||||
Force bool `json:"force,omityempty"`
|
||||
}
|
||||
|
||||
// InstallReleaseRequest is the request for an installation of a chart.
|
||||
message InstallReleaseRequest {
|
||||
type InstallReleaseRequest struct {
|
||||
// Chart is the protobuf representation of a chart.
|
||||
hapi.chart.Chart chart = 1;
|
||||
Chart *chart.Chart `json:"chart,omityempty"`
|
||||
// Values is a string containing (unparsed) YAML values.
|
||||
hapi.chart.Config values = 2;
|
||||
Values *chart.Config `json:"values,omityempty"`
|
||||
// DryRun, if true, will run through the release logic, but neither create
|
||||
// a release object nor deploy to Kubernetes. The release object returned
|
||||
// in the response will be fake.
|
||||
bool dry_run = 3;
|
||||
|
||||
DryRun bool `json:"dry_run,omityempty"`
|
||||
// Name is the candidate release name. This must be unique to the
|
||||
// namespace, otherwise the server will return an error. If it is not
|
||||
// supplied, the server will autogenerate one.
|
||||
string name = 4;
|
||||
|
||||
Name string `json:"name,omityempty"`
|
||||
// DisableHooks causes the server to skip running any hooks for the install.
|
||||
bool disable_hooks = 5;
|
||||
|
||||
DisableHooks bool `json:"disable_hooks,omityempty"`
|
||||
// Namepace is the kubernetes namespace of the release.
|
||||
string namespace = 6;
|
||||
|
||||
Namespace string `json:"namespace,omityempty"`
|
||||
// ReuseName requests that Tiller re-uses a name, instead of erroring out.
|
||||
bool reuse_name = 7;
|
||||
|
||||
ReuseName bool `json:"reuse_name,omityempty"`
|
||||
// timeout specifies the max amount of time any kubernetes client command can run.
|
||||
int64 timeout = 8;
|
||||
Timeout int64 `json:"timeout,omityempty"`
|
||||
// wait, if true, will wait until all Pods, PVCs, and Services are in a ready state
|
||||
// before marking the release as successful. It will wait for as long as timeout
|
||||
bool wait = 9;
|
||||
Wait bool `json:"wait,omityempty"`
|
||||
}
|
||||
|
||||
// UninstallReleaseRequest represents a request to uninstall a named release.
|
||||
message UninstallReleaseRequest {
|
||||
type UninstallReleaseRequest struct {
|
||||
// Name is the name of the release to delete.
|
||||
string name = 1;
|
||||
Name string `json:"name,omityempty"`
|
||||
// DisableHooks causes the server to skip running any hooks for the uninstall.
|
||||
bool disable_hooks = 2;
|
||||
DisableHooks bool `json:"disable_hooks,omityempty"`
|
||||
// Purge removes the release from the store and make its name free for later use.
|
||||
bool purge = 3;
|
||||
Purge bool `json:"purge,omityempty"`
|
||||
// timeout specifies the max amount of time any kubernetes client command can run.
|
||||
int64 timeout = 4;
|
||||
Timeout int64 `json:"timeout,omityempty"`
|
||||
}
|
||||
|
||||
// UninstallReleaseResponse represents a successful response to an uninstall request.
|
||||
message UninstallReleaseResponse {
|
||||
type UninstallReleaseResponse struct {
|
||||
// Release is the release that was marked deleted.
|
||||
hapi.release.Release release = 1;
|
||||
Release *release.Release `json:"release,omityempty"`
|
||||
// Info is an uninstall message
|
||||
string info = 2;
|
||||
Info string `json:"info,omityempty"`
|
||||
}
|
||||
|
||||
// GetHistoryRequest requests a release's history.
|
||||
message GetHistoryRequest {
|
||||
type GetHistoryRequest struct {
|
||||
// The name of the release.
|
||||
string name = 1;
|
||||
Name string `json:"name,omityempty"`
|
||||
// The maximum number of releases to include.
|
||||
int32 max = 2;
|
||||
Max int32 `json:"max,omityempty"`
|
||||
}
|
||||
|
||||
// TestReleaseRequest is a request to get the status of a release.
|
||||
message TestReleaseRequest {
|
||||
type TestReleaseRequest struct {
|
||||
// Name is the name of the release
|
||||
string name = 1;
|
||||
Name string `json:"name,omityempty"`
|
||||
// timeout specifies the max amount of time any kubernetes client command can run.
|
||||
int64 timeout = 2;
|
||||
Timeout int64 `json:"timeout,omityempty"`
|
||||
// cleanup specifies whether or not to attempt pod deletion after test completes
|
||||
bool cleanup = 3;
|
||||
Cleanup bool `json:"cleanup,omityempty"`
|
||||
}
|
||||
|
||||
// TestReleaseResponse represents a message from executing a test
|
||||
message TestReleaseResponse {
|
||||
string msg = 1;
|
||||
hapi.release.TestRun.Status status = 2;
|
||||
|
||||
type TestReleaseResponse struct {
|
||||
Msg string `json:"msg,omityempty"`
|
||||
Status release.TestRun_Status `json:"status,omityempty"`
|
||||
}
|
@ -1,119 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: hapi/chart/chart.proto
|
||||
|
||||
/*
|
||||
Package chart is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
hapi/chart/chart.proto
|
||||
hapi/chart/config.proto
|
||||
hapi/chart/metadata.proto
|
||||
hapi/chart/template.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Chart
|
||||
Config
|
||||
Value
|
||||
Maintainer
|
||||
Metadata
|
||||
Template
|
||||
*/
|
||||
package chart
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_protobuf "github.com/golang/protobuf/ptypes/any"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Chart is a helm package that contains metadata, a default config, zero or more
|
||||
// optionally parameterizable templates, and zero or more charts (dependencies).
|
||||
type Chart struct {
|
||||
// Contents of the Chartfile.
|
||||
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
|
||||
// Templates for this chart.
|
||||
Templates []*Template `protobuf:"bytes,2,rep,name=templates" json:"templates,omitempty"`
|
||||
// Charts that this chart depends on.
|
||||
Dependencies []*Chart `protobuf:"bytes,3,rep,name=dependencies" json:"dependencies,omitempty"`
|
||||
// Default config for this template.
|
||||
Values *Config `protobuf:"bytes,4,opt,name=values" json:"values,omitempty"`
|
||||
// Miscellaneous files in a chart archive,
|
||||
// e.g. README, LICENSE, etc.
|
||||
Files []*google_protobuf.Any `protobuf:"bytes,5,rep,name=files" json:"files,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Chart) Reset() { *m = Chart{} }
|
||||
func (m *Chart) String() string { return proto.CompactTextString(m) }
|
||||
func (*Chart) ProtoMessage() {}
|
||||
func (*Chart) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
func (m *Chart) GetMetadata() *Metadata {
|
||||
if m != nil {
|
||||
return m.Metadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Chart) GetTemplates() []*Template {
|
||||
if m != nil {
|
||||
return m.Templates
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Chart) GetDependencies() []*Chart {
|
||||
if m != nil {
|
||||
return m.Dependencies
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Chart) GetValues() *Config {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Chart) GetFiles() []*google_protobuf.Any {
|
||||
if m != nil {
|
||||
return m.Files
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Chart)(nil), "hapi.chart.Chart")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("hapi/chart/chart.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 242 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xb1, 0x4e, 0xc3, 0x30,
|
||||
0x10, 0x86, 0x15, 0x4a, 0x0a, 0x1c, 0x2c, 0x58, 0x08, 0x4c, 0xa7, 0x8a, 0x09, 0x75, 0x70, 0x50,
|
||||
0x11, 0x0f, 0x00, 0xcc, 0x2c, 0x16, 0x13, 0xdb, 0xb5, 0xb9, 0xa4, 0x91, 0x52, 0x3b, 0xaa, 0x5d,
|
||||
0xa4, 0xbe, 0x3b, 0x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 0x99, 0x3e, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xe9, 0x70, 0x34, 0x75, 0x9e, 0x01,
|
||||
0x00, 0x00,
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: hapi/chart/config.proto
|
||||
|
||||
package chart
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// Config supplies values to the parametrizable templates of a chart.
|
||||
type Config struct {
|
||||
Raw string `protobuf:"bytes,1,opt,name=raw" json:"raw,omitempty"`
|
||||
Values map[string]*Value `protobuf:"bytes,2,rep,name=values" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
}
|
||||
|
||||
func (m *Config) Reset() { *m = Config{} }
|
||||
func (m *Config) String() string { return proto.CompactTextString(m) }
|
||||
func (*Config) ProtoMessage() {}
|
||||
func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
|
||||
func (m *Config) GetRaw() string {
|
||||
if m != nil {
|
||||
return m.Raw
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Config) GetValues() map[string]*Value {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Value describes a configuration value as a string.
|
||||
type Value struct {
|
||||
Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Value) Reset() { *m = Value{} }
|
||||
func (m *Value) String() string { return proto.CompactTextString(m) }
|
||||
func (*Value) ProtoMessage() {}
|
||||
func (*Value) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
|
||||
|
||||
func (m *Value) GetValue() string {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Config)(nil), "hapi.chart.Config")
|
||||
proto.RegisterType((*Value)(nil), "hapi.chart.Value")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("hapi/chart/config.proto", fileDescriptor1) }
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
// 182 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcf, 0x48, 0x2c, 0xc8,
|
||||
0xd4, 0x4f, 0xce, 0x48, 0x2c, 0x2a, 0xd1, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, 0x4c, 0xd7, 0x2b, 0x28,
|
||||
0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x02, 0x49, 0xe8, 0x81, 0x25, 0x94, 0x16, 0x30, 0x72, 0xb1, 0x39,
|
||||
0x83, 0x25, 0x85, 0x04, 0xb8, 0x98, 0x8b, 0x12, 0xcb, 0x25, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83,
|
||||
0x40, 0x4c, 0x21, 0x33, 0x2e, 0xb6, 0xb2, 0xc4, 0x9c, 0xd2, 0xd4, 0x62, 0x09, 0x26, 0x05, 0x66,
|
||||
0x0d, 0x6e, 0x23, 0x39, 0x3d, 0x84, 0x4e, 0x3d, 0x88, 0x2e, 0xbd, 0x30, 0xb0, 0x02, 0xd7, 0xbc,
|
||||
0x92, 0xa2, 0xca, 0x20, 0xa8, 0x6a, 0x29, 0x1f, 0x2e, 0x6e, 0x24, 0x61, 0x90, 0xc1, 0xd9, 0xa9,
|
||||
0x95, 0x30, 0x83, 0xb3, 0x53, 0x2b, 0x85, 0xd4, 0xb9, 0x58, 0xc1, 0x4a, 0x25, 0x98, 0x14, 0x18,
|
||||
0x35, 0xb8, 0x8d, 0x04, 0x91, 0xcd, 0x05, 0xeb, 0x0c, 0x82, 0xc8, 0x5b, 0x31, 0x59, 0x30, 0x2a,
|
||||
0xc9, 0x72, 0xb1, 0x82, 0xc5, 0x84, 0x44, 0x60, 0xba, 0x20, 0x26, 0x41, 0x38, 0x4e, 0xec, 0x51,
|
||||
0xac, 0x60, 0x8d, 0x49, 0x6c, 0x60, 0xdf, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe1, 0x12,
|
||||
0x60, 0xda, 0xf8, 0x00, 0x00, 0x00,
|
||||
}
|
@ -1,276 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: hapi/chart/metadata.proto
|
||||
|
||||
package chart
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
type Metadata_Engine int32
|
||||
|
||||
const (
|
||||
Metadata_UNKNOWN Metadata_Engine = 0
|
||||
Metadata_GOTPL Metadata_Engine = 1
|
||||
)
|
||||
|
||||
var Metadata_Engine_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "GOTPL",
|
||||
}
|
||||
var Metadata_Engine_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"GOTPL": 1,
|
||||
}
|
||||
|
||||
func (x Metadata_Engine) String() string {
|
||||
return proto.EnumName(Metadata_Engine_name, int32(x))
|
||||
}
|
||||
func (Metadata_Engine) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{1, 0} }
|
||||
|
||||
// Maintainer describes a Chart maintainer.
|
||||
type Maintainer struct {
|
||||
// Name is a user name or organization name
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Email is an optional email address to contact the named maintainer
|
||||
Email string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"`
|
||||
// Url is an optional URL to an address for the named maintainer
|
||||
Url string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Maintainer) Reset() { *m = Maintainer{} }
|
||||
func (m *Maintainer) String() string { return proto.CompactTextString(m) }
|
||||
func (*Maintainer) ProtoMessage() {}
|
||||
func (*Maintainer) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
|
||||
func (m *Maintainer) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Maintainer) GetEmail() string {
|
||||
if m != nil {
|
||||
return m.Email
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Maintainer) GetUrl() string {
|
||||
if m != nil {
|
||||
return m.Url
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Metadata for a Chart file. This models the structure of a Chart.yaml file.
|
||||
//
|
||||
// Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file
|
||||
type Metadata struct {
|
||||
// The name of the chart
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// The URL to a relevant project page, git repo, or contact person
|
||||
Home string `protobuf:"bytes,2,opt,name=home" json:"home,omitempty"`
|
||||
// Source is the URL to the source code of this chart
|
||||
Sources []string `protobuf:"bytes,3,rep,name=sources" json:"sources,omitempty"`
|
||||
// A SemVer 2 conformant version string of the chart
|
||||
Version string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"`
|
||||
// A one-sentence description of the chart
|
||||
Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
|
||||
// A list of string keywords
|
||||
Keywords []string `protobuf:"bytes,6,rep,name=keywords" json:"keywords,omitempty"`
|
||||
// A list of name and URL/email address combinations for the maintainer(s)
|
||||
Maintainers []*Maintainer `protobuf:"bytes,7,rep,name=maintainers" json:"maintainers,omitempty"`
|
||||
// The name of the template engine to use. Defaults to 'gotpl'.
|
||||
Engine string `protobuf:"bytes,8,opt,name=engine" json:"engine,omitempty"`
|
||||
// The URL to an icon file.
|
||||
Icon string `protobuf:"bytes,9,opt,name=icon" json:"icon,omitempty"`
|
||||
// The API Version of this chart.
|
||||
ApiVersion string `protobuf:"bytes,10,opt,name=apiVersion" json:"apiVersion,omitempty"`
|
||||
// The condition to check to enable chart
|
||||
Condition string `protobuf:"bytes,11,opt,name=condition" json:"condition,omitempty"`
|
||||
// The tags to check to enable chart
|
||||
Tags string `protobuf:"bytes,12,opt,name=tags" json:"tags,omitempty"`
|
||||
// The version of the application enclosed inside of this chart.
|
||||
AppVersion string `protobuf:"bytes,13,opt,name=appVersion" json:"appVersion,omitempty"`
|
||||
// Whether or not this chart is deprecated
|
||||
Deprecated bool `protobuf:"varint,14,opt,name=deprecated" json:"deprecated,omitempty"`
|
||||
// TillerVersion is a SemVer constraints on what version of Tiller is required.
|
||||
// See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
|
||||
TillerVersion string `protobuf:"bytes,15,opt,name=tillerVersion" json:"tillerVersion,omitempty"`
|
||||
// Annotations are additional mappings uninterpreted by Tiller,
|
||||
// made available for inspection by other applications.
|
||||
Annotations map[string]string `protobuf:"bytes,16,rep,name=annotations" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
// KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
|
||||
KubeVersion string `protobuf:"bytes,17,opt,name=kubeVersion" json:"kubeVersion,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Metadata) Reset() { *m = Metadata{} }
|
||||
func (m *Metadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*Metadata) ProtoMessage() {}
|
||||
func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
||||
|
||||
func (m *Metadata) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Metadata) GetHome() string {
|
||||
if m != nil {
|
||||
return m.Home
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Metadata) GetSources() []string {
|
||||
if m != nil {
|
||||
return m.Sources
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Metadata) GetVersion() string {
|
||||
if m != nil {
|
||||
return m.Version
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Metadata) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Metadata) GetKeywords() []string {
|
||||
if m != nil {
|
||||
return m.Keywords
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Metadata) GetMaintainers() []*Maintainer {
|
||||
if m != nil {
|
||||
return m.Maintainers
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Metadata) GetEngine() string {
|
||||
if m != nil {
|
||||
return m.Engine
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Metadata) GetIcon() string {
|
||||
if m != nil {
|
||||
return m.Icon
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Metadata) GetApiVersion() string {
|
||||
if m != nil {
|
||||
return m.ApiVersion
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Metadata) GetCondition() string {
|
||||
if m != nil {
|
||||
return m.Condition
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Metadata) GetTags() string {
|
||||
if m != nil {
|
||||
return m.Tags
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Metadata) GetAppVersion() string {
|
||||
if m != nil {
|
||||
return m.AppVersion
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Metadata) GetDeprecated() bool {
|
||||
if m != nil {
|
||||
return m.Deprecated
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *Metadata) GetTillerVersion() string {
|
||||
if m != nil {
|
||||
return m.TillerVersion
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Metadata) GetAnnotations() map[string]string {
|
||||
if m != nil {
|
||||
return m.Annotations
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Metadata) GetKubeVersion() string {
|
||||
if m != nil {
|
||||
return m.KubeVersion
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Maintainer)(nil), "hapi.chart.Maintainer")
|
||||
proto.RegisterType((*Metadata)(nil), "hapi.chart.Metadata")
|
||||
proto.RegisterEnum("hapi.chart.Metadata_Engine", Metadata_Engine_name, Metadata_Engine_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("hapi/chart/metadata.proto", fileDescriptor2) }
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
// 435 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0x5d, 0x6b, 0xd4, 0x40,
|
||||
0x14, 0x35, 0xcd, 0x66, 0x77, 0x73, 0x63, 0x35, 0x0e, 0x52, 0xc6, 0x22, 0x12, 0x16, 0x85, 0x7d,
|
||||
0xda, 0x82, 0xbe, 0x14, 0x1f, 0x04, 0x85, 0x52, 0x41, 0xbb, 0x95, 0xe0, 0x07, 0xf8, 0x36, 0x4d,
|
||||
0x2e, 0xdd, 0x61, 0x93, 0x99, 0x30, 0x99, 0xad, 0xec, 0xaf, 0xf0, 0x2f, 0xcb, 0xdc, 0x64, 0x9a,
|
||||
0xac, 0xf4, 0xed, 0x9e, 0x73, 0x66, 0xce, 0xcc, 0xbd, 0xf7, 0xc0, 0x8b, 0x8d, 0x68, 0xe4, 0x59,
|
||||
0xb1, 0x11, 0xc6, 0x9e, 0xd5, 0x68, 0x45, 0x29, 0xac, 0x58, 0x35, 0x46, 0x5b, 0xcd, 0xc0, 0x49,
|
||||
0x2b, 0x92, 0x16, 0x9f, 0x01, 0xae, 0x84, 0x54, 0x56, 0x48, 0x85, 0x86, 0x31, 0x98, 0x28, 0x51,
|
||||
0x23, 0x0f, 0xb2, 0x60, 0x19, 0xe7, 0x54, 0xb3, 0xe7, 0x10, 0x61, 0x2d, 0x64, 0xc5, 0x8f, 0x88,
|
||||
0xec, 0x00, 0x4b, 0x21, 0xdc, 0x99, 0x8a, 0x87, 0xc4, 0xb9, 0x72, 0xf1, 0x37, 0x82, 0xf9, 0x55,
|
||||
0xff, 0xd0, 0x83, 0x46, 0x0c, 0x26, 0x1b, 0x5d, 0x63, 0xef, 0x43, 0x35, 0xe3, 0x30, 0x6b, 0xf5,
|
||||
0xce, 0x14, 0xd8, 0xf2, 0x30, 0x0b, 0x97, 0x71, 0xee, 0xa1, 0x53, 0xee, 0xd0, 0xb4, 0x52, 0x2b,
|
||||
0x3e, 0xa1, 0x0b, 0x1e, 0xb2, 0x0c, 0x92, 0x12, 0xdb, 0xc2, 0xc8, 0xc6, 0x3a, 0x35, 0x22, 0x75,
|
||||
0x4c, 0xb1, 0x53, 0x98, 0x6f, 0x71, 0xff, 0x47, 0x9b, 0xb2, 0xe5, 0x53, 0xb2, 0xbd, 0xc7, 0xec,
|
||||
0x1c, 0x92, 0xfa, 0xbe, 0xe1, 0x96, 0xcf, 0xb2, 0x70, 0x99, 0xbc, 0x3d, 0x59, 0x0d, 0x23, 0x59,
|
||||
0x0d, 0xf3, 0xc8, 0xc7, 0x47, 0xd9, 0x09, 0x4c, 0x51, 0xdd, 0x4a, 0x85, 0x7c, 0x4e, 0x4f, 0xf6,
|
||||
0xc8, 0xf5, 0x25, 0x0b, 0xad, 0x78, 0xdc, 0xf5, 0xe5, 0x6a, 0xf6, 0x0a, 0x40, 0x34, 0xf2, 0x67,
|
||||
0xdf, 0x00, 0x90, 0x32, 0x62, 0xd8, 0x4b, 0x88, 0x0b, 0xad, 0x4a, 0x49, 0x1d, 0x24, 0x24, 0x0f,
|
||||
0x84, 0x73, 0xb4, 0xe2, 0xb6, 0xe5, 0x8f, 0x3b, 0x47, 0x57, 0x77, 0x8e, 0x8d, 0x77, 0x3c, 0xf6,
|
||||
0x8e, 0x9e, 0x71, 0x7a, 0x89, 0x8d, 0xc1, 0x42, 0x58, 0x2c, 0xf9, 0x93, 0x2c, 0x58, 0xce, 0xf3,
|
||||
0x11, 0xc3, 0x5e, 0xc3, 0xb1, 0x95, 0x55, 0x85, 0xc6, 0x5b, 0x3c, 0x25, 0x8b, 0x43, 0x92, 0x5d,
|
||||
0x42, 0x22, 0x94, 0xd2, 0x56, 0xb8, 0x7f, 0xb4, 0x3c, 0xa5, 0xe9, 0xbc, 0x39, 0x98, 0x8e, 0xcf,
|
||||
0xd2, 0xc7, 0xe1, 0xdc, 0x85, 0xb2, 0x66, 0x9f, 0x8f, 0x6f, 0xba, 0x25, 0x6d, 0x77, 0x37, 0xe8,
|
||||
0x1f, 0x7b, 0xd6, 0x2d, 0x69, 0x44, 0x9d, 0x7e, 0x80, 0xf4, 0x7f, 0x0b, 0x97, 0xaa, 0x2d, 0xee,
|
||||
0xfb, 0xd4, 0xb8, 0xd2, 0xa5, 0xef, 0x4e, 0x54, 0x3b, 0x9f, 0x9a, 0x0e, 0xbc, 0x3f, 0x3a, 0x0f,
|
||||
0x16, 0x19, 0x4c, 0x2f, 0xba, 0x05, 0x24, 0x30, 0xfb, 0xb1, 0xfe, 0xb2, 0xbe, 0xfe, 0xb5, 0x4e,
|
||||
0x1f, 0xb1, 0x18, 0xa2, 0xcb, 0xeb, 0xef, 0xdf, 0xbe, 0xa6, 0xc1, 0xa7, 0xd9, 0xef, 0x88, 0xfe,
|
||||
0x7c, 0x33, 0xa5, 0xdc, 0xbf, 0xfb, 0x17, 0x00, 0x00, 0xff, 0xff, 0x36, 0xf9, 0x0d, 0xa6, 0x14,
|
||||
0x03, 0x00, 0x00,
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: hapi/chart/template.proto
|
||||
|
||||
package chart
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// Template represents a template as a name/value pair.
|
||||
//
|
||||
// By convention, name is a relative path within the scope of the chart's
|
||||
// base directory.
|
||||
type Template struct {
|
||||
// Name is the path-like name of the template.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Data is the template as byte data.
|
||||
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Template) Reset() { *m = Template{} }
|
||||
func (m *Template) String() string { return proto.CompactTextString(m) }
|
||||
func (*Template) ProtoMessage() {}
|
||||
func (*Template) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
|
||||
|
||||
func (m *Template) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Template) GetData() []byte {
|
||||
if m != nil {
|
||||
return m.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Template)(nil), "hapi.chart.Template")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("hapi/chart/template.proto", fileDescriptor3) }
|
||||
|
||||
var fileDescriptor3 = []byte{
|
||||
// 107 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0x48, 0x2c, 0xc8,
|
||||
0xd4, 0x4f, 0xce, 0x48, 0x2c, 0x2a, 0xd1, 0x2f, 0x49, 0xcd, 0x2d, 0xc8, 0x49, 0x2c, 0x49, 0xd5,
|
||||
0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x02, 0x49, 0xe9, 0x81, 0xa5, 0x94, 0x8c, 0xb8, 0x38,
|
||||
0x42, 0xa0, 0xb2, 0x42, 0x42, 0x5c, 0x2c, 0x79, 0x89, 0xb9, 0xa9, 0x12, 0x8c, 0x0a, 0x8c, 0x1a,
|
||||
0x9c, 0x41, 0x60, 0x36, 0x48, 0x2c, 0x25, 0xb1, 0x24, 0x51, 0x82, 0x49, 0x81, 0x51, 0x83, 0x27,
|
||||
0x08, 0xcc, 0x76, 0x62, 0x8f, 0x62, 0x05, 0x6b, 0x4e, 0x62, 0x03, 0x9b, 0x67, 0x0c, 0x08, 0x00,
|
||||
0x00, 0xff, 0xff, 0x53, 0xee, 0x0e, 0x67, 0x6c, 0x00, 0x00, 0x00,
|
||||
}
|
@ -1,231 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: hapi/release/hook.proto
|
||||
|
||||
/*
|
||||
Package release is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
hapi/release/hook.proto
|
||||
hapi/release/info.proto
|
||||
hapi/release/release.proto
|
||||
hapi/release/status.proto
|
||||
hapi/release/test_run.proto
|
||||
hapi/release/test_suite.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Hook
|
||||
Info
|
||||
Release
|
||||
Status
|
||||
TestRun
|
||||
TestSuite
|
||||
*/
|
||||
package release
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
type Hook_Event int32
|
||||
|
||||
const (
|
||||
Hook_UNKNOWN Hook_Event = 0
|
||||
Hook_PRE_INSTALL Hook_Event = 1
|
||||
Hook_POST_INSTALL Hook_Event = 2
|
||||
Hook_PRE_DELETE Hook_Event = 3
|
||||
Hook_POST_DELETE Hook_Event = 4
|
||||
Hook_PRE_UPGRADE Hook_Event = 5
|
||||
Hook_POST_UPGRADE Hook_Event = 6
|
||||
Hook_PRE_ROLLBACK Hook_Event = 7
|
||||
Hook_POST_ROLLBACK Hook_Event = 8
|
||||
Hook_RELEASE_TEST_SUCCESS Hook_Event = 9
|
||||
Hook_RELEASE_TEST_FAILURE Hook_Event = 10
|
||||
)
|
||||
|
||||
var Hook_Event_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "PRE_INSTALL",
|
||||
2: "POST_INSTALL",
|
||||
3: "PRE_DELETE",
|
||||
4: "POST_DELETE",
|
||||
5: "PRE_UPGRADE",
|
||||
6: "POST_UPGRADE",
|
||||
7: "PRE_ROLLBACK",
|
||||
8: "POST_ROLLBACK",
|
||||
9: "RELEASE_TEST_SUCCESS",
|
||||
10: "RELEASE_TEST_FAILURE",
|
||||
}
|
||||
var Hook_Event_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"PRE_INSTALL": 1,
|
||||
"POST_INSTALL": 2,
|
||||
"PRE_DELETE": 3,
|
||||
"POST_DELETE": 4,
|
||||
"PRE_UPGRADE": 5,
|
||||
"POST_UPGRADE": 6,
|
||||
"PRE_ROLLBACK": 7,
|
||||
"POST_ROLLBACK": 8,
|
||||
"RELEASE_TEST_SUCCESS": 9,
|
||||
"RELEASE_TEST_FAILURE": 10,
|
||||
}
|
||||
|
||||
func (x Hook_Event) String() string {
|
||||
return proto.EnumName(Hook_Event_name, int32(x))
|
||||
}
|
||||
func (Hook_Event) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
|
||||
|
||||
type Hook_DeletePolicy int32
|
||||
|
||||
const (
|
||||
Hook_SUCCEEDED Hook_DeletePolicy = 0
|
||||
Hook_FAILED Hook_DeletePolicy = 1
|
||||
Hook_BEFORE_HOOK_CREATION Hook_DeletePolicy = 2
|
||||
)
|
||||
|
||||
var Hook_DeletePolicy_name = map[int32]string{
|
||||
0: "SUCCEEDED",
|
||||
1: "FAILED",
|
||||
2: "BEFORE_HOOK_CREATION",
|
||||
}
|
||||
var Hook_DeletePolicy_value = map[string]int32{
|
||||
"SUCCEEDED": 0,
|
||||
"FAILED": 1,
|
||||
"BEFORE_HOOK_CREATION": 2,
|
||||
}
|
||||
|
||||
func (x Hook_DeletePolicy) String() string {
|
||||
return proto.EnumName(Hook_DeletePolicy_name, int32(x))
|
||||
}
|
||||
func (Hook_DeletePolicy) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 1} }
|
||||
|
||||
// Hook defines a hook object.
|
||||
type Hook struct {
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Kind is the Kubernetes kind.
|
||||
Kind string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"`
|
||||
// Path is the chart-relative path to the template.
|
||||
Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
|
||||
// Manifest is the manifest contents.
|
||||
Manifest string `protobuf:"bytes,4,opt,name=manifest" json:"manifest,omitempty"`
|
||||
// Events are the events that this hook fires on.
|
||||
Events []Hook_Event `protobuf:"varint,5,rep,packed,name=events,enum=hapi.release.Hook_Event" json:"events,omitempty"`
|
||||
// LastRun indicates the date/time this was last run.
|
||||
LastRun *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=last_run,json=lastRun" json:"last_run,omitempty"`
|
||||
// Weight indicates the sort order for execution among similar Hook type
|
||||
Weight int32 `protobuf:"varint,7,opt,name=weight" json:"weight,omitempty"`
|
||||
// DeletePolicies are the policies that indicate when to delete the hook
|
||||
DeletePolicies []Hook_DeletePolicy `protobuf:"varint,8,rep,packed,name=delete_policies,json=deletePolicies,enum=hapi.release.Hook_DeletePolicy" json:"delete_policies,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Hook) Reset() { *m = Hook{} }
|
||||
func (m *Hook) String() string { return proto.CompactTextString(m) }
|
||||
func (*Hook) ProtoMessage() {}
|
||||
func (*Hook) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
func (m *Hook) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Hook) GetKind() string {
|
||||
if m != nil {
|
||||
return m.Kind
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Hook) GetPath() string {
|
||||
if m != nil {
|
||||
return m.Path
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Hook) GetManifest() string {
|
||||
if m != nil {
|
||||
return m.Manifest
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Hook) GetEvents() []Hook_Event {
|
||||
if m != nil {
|
||||
return m.Events
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Hook) GetLastRun() *google_protobuf.Timestamp {
|
||||
if m != nil {
|
||||
return m.LastRun
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Hook) GetWeight() int32 {
|
||||
if m != nil {
|
||||
return m.Weight
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Hook) GetDeletePolicies() []Hook_DeletePolicy {
|
||||
if m != nil {
|
||||
return m.DeletePolicies
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Hook)(nil), "hapi.release.Hook")
|
||||
proto.RegisterEnum("hapi.release.Hook_Event", Hook_Event_name, Hook_Event_value)
|
||||
proto.RegisterEnum("hapi.release.Hook_DeletePolicy", Hook_DeletePolicy_name, Hook_DeletePolicy_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("hapi/release/hook.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 445 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0x51, 0x8f, 0x9a, 0x40,
|
||||
0x10, 0x80, 0x8f, 0x13, 0x41, 0x47, 0xcf, 0xdb, 0x6e, 0x9a, 0x76, 0xe3, 0xcb, 0x19, 0x9f, 0x7c,
|
||||
0xc2, 0xe6, 0x9a, 0xfe, 0x00, 0x84, 0xb9, 0x6a, 0x24, 0x60, 0x16, 0x4c, 0x93, 0xbe, 0x10, 0xae,
|
||||
0xee, 0x29, 0x11, 0x81, 0x08, 0xb6, 0xe9, 0x0f, 0xec, 0x3f, 0xe8, 0x0f, 0x6a, 0x76, 0x45, 0x7b,
|
||||
0x49, 0xfb, 0x36, 0xf3, 0xcd, 0x37, 0xc3, 0x0c, 0x0b, 0xef, 0x77, 0x49, 0x99, 0x4e, 0x8f, 0x22,
|
||||
0x13, 0x49, 0x25, 0xa6, 0xbb, 0xa2, 0xd8, 0x5b, 0xe5, 0xb1, 0xa8, 0x0b, 0xda, 0x97, 0x05, 0xab,
|
||||
0x29, 0x0c, 0x1f, 0xb6, 0x45, 0xb1, 0xcd, 0xc4, 0x54, 0xd5, 0x9e, 0x4f, 0x2f, 0xd3, 0x3a, 0x3d,
|
||||
0x88, 0xaa, 0x4e, 0x0e, 0xe5, 0x59, 0x1f, 0xff, 0xd2, 0x41, 0x9f, 0x17, 0xc5, 0x9e, 0x52, 0xd0,
|
||||
0xf3, 0xe4, 0x20, 0x98, 0x36, 0xd2, 0x26, 0x5d, 0xae, 0x62, 0xc9, 0xf6, 0x69, 0xbe, 0x61, 0xb7,
|
||||
0x67, 0x26, 0x63, 0xc9, 0xca, 0xa4, 0xde, 0xb1, 0xd6, 0x99, 0xc9, 0x98, 0x0e, 0xa1, 0x73, 0x48,
|
||||
0xf2, 0xf4, 0x45, 0x54, 0x35, 0xd3, 0x15, 0xbf, 0xe6, 0xf4, 0x03, 0x18, 0xe2, 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xa4, 0x6f, 0xe0, 0x4e, 0x39,
|
||||
0x57, 0xd4, 0xa1, 0x0c, 0xde, 0x72, 0xf4, 0xd0, 0x0e, 0x31, 0x8e, 0x30, 0x8c, 0xe2, 0x70, 0xed,
|
||||
0x38, 0x18, 0x86, 0xa4, 0xfb, 0x4f, 0xe5, 0xc9, 0x5e, 0x78, 0x6b, 0x8e, 0x04, 0xc6, 0x0e, 0xf4,
|
||||
0x5f, 0x9f, 0x4d, 0xef, 0xa0, 0xab, 0xda, 0xd0, 0x45, 0x97, 0xdc, 0x50, 0x00, 0x43, 0xba, 0xe8,
|
||||
0x12, 0x4d, 0x0e, 0x99, 0xe1, 0x53, 0xc0, 0x31, 0x9e, 0x07, 0xc1, 0x32, 0x76, 0x38, 0xda, 0xd1,
|
||||
0x22, 0xf0, 0xc9, 0xed, 0xac, 0xfb, 0xd5, 0x6c, 0x7e, 0xe4, 0xb3, 0xa1, 0x5e, 0xe9, 0xe3, 0x9f,
|
||||
0x00, 0x00, 0x00, 0xff, 0xff, 0x13, 0x64, 0x75, 0x6c, 0xa3, 0x02, 0x00, 0x00,
|
||||
}
|
@ -1,90 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: hapi/release/info.proto
|
||||
|
||||
package release
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// Info describes release information.
|
||||
type Info struct {
|
||||
Status *Status `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
|
||||
FirstDeployed *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=first_deployed,json=firstDeployed" json:"first_deployed,omitempty"`
|
||||
LastDeployed *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=last_deployed,json=lastDeployed" json:"last_deployed,omitempty"`
|
||||
// Deleted tracks when this object was deleted.
|
||||
Deleted *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=deleted" json:"deleted,omitempty"`
|
||||
// Description is human-friendly "log entry" about this release.
|
||||
Description string `protobuf:"bytes,5,opt,name=Description" json:"Description,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Info) Reset() { *m = Info{} }
|
||||
func (m *Info) String() string { return proto.CompactTextString(m) }
|
||||
func (*Info) ProtoMessage() {}
|
||||
func (*Info) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
|
||||
func (m *Info) GetStatus() *Status {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Info) GetFirstDeployed() *google_protobuf.Timestamp {
|
||||
if m != nil {
|
||||
return m.FirstDeployed
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Info) GetLastDeployed() *google_protobuf.Timestamp {
|
||||
if m != nil {
|
||||
return m.LastDeployed
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Info) GetDeleted() *google_protobuf.Timestamp {
|
||||
if m != nil {
|
||||
return m.Deleted
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Info) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Info)(nil), "hapi.release.Info")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("hapi/release/info.proto", fileDescriptor1) }
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
// 235 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x8f, 0x31, 0x4f, 0xc3, 0x30,
|
||||
0x10, 0x85, 0x95, 0x52, 0x5a, 0xd5, 0x6d, 0x19, 0x2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0xbe, 0xbc, 0x71, 0x64, 0xb0, 0x2b, 0xcf, 0xeb, 0x62, 0x35,
|
||||
0x6b, 0x87, 0x4f, 0x2f, 0xb3, 0x8f, 0x69, 0xbe, 0x7a, 0x33, 0x89, 0xa6, 0x87, 0xbf, 0x00, 0x00,
|
||||
0x00, 0xff, 0xff, 0x1a, 0x52, 0x8f, 0x9c, 0x89, 0x01, 0x00, 0x00,
|
||||
}
|
@ -1,124 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: hapi/release/release.proto
|
||||
|
||||
package release
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import hapi_chart "k8s.io/helm/pkg/proto/hapi/chart"
|
||||
import hapi_chart3 "k8s.io/helm/pkg/proto/hapi/chart"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// Release describes a deployment of a chart, together with the chart
|
||||
// and the variables used to deploy that chart.
|
||||
type Release struct {
|
||||
// Name is the name of the release
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Info provides information about a release
|
||||
Info *Info `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
|
||||
// Chart is the chart that was released.
|
||||
Chart *hapi_chart3.Chart `protobuf:"bytes,3,opt,name=chart" json:"chart,omitempty"`
|
||||
// Config is the set of extra Values added to the chart.
|
||||
// These values override the default values inside of the chart.
|
||||
Config *hapi_chart.Config `protobuf:"bytes,4,opt,name=config" json:"config,omitempty"`
|
||||
// Manifest is the string representation of the rendered template.
|
||||
Manifest string `protobuf:"bytes,5,opt,name=manifest" json:"manifest,omitempty"`
|
||||
// Hooks are all of the hooks declared for this release.
|
||||
Hooks []*Hook `protobuf:"bytes,6,rep,name=hooks" json:"hooks,omitempty"`
|
||||
// Version is an int32 which represents the version of the release.
|
||||
Version int32 `protobuf:"varint,7,opt,name=version" json:"version,omitempty"`
|
||||
// Namespace is the kubernetes namespace of the release.
|
||||
Namespace string `protobuf:"bytes,8,opt,name=namespace" json:"namespace,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Release) Reset() { *m = Release{} }
|
||||
func (m *Release) String() string { return proto.CompactTextString(m) }
|
||||
func (*Release) ProtoMessage() {}
|
||||
func (*Release) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
|
||||
func (m *Release) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Release) GetInfo() *Info {
|
||||
if m != nil {
|
||||
return m.Info
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Release) GetChart() *hapi_chart3.Chart {
|
||||
if m != nil {
|
||||
return m.Chart
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Release) GetConfig() *hapi_chart.Config {
|
||||
if m != nil {
|
||||
return m.Config
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Release) GetManifest() string {
|
||||
if m != nil {
|
||||
return m.Manifest
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Release) GetHooks() []*Hook {
|
||||
if m != nil {
|
||||
return m.Hooks
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Release) GetVersion() int32 {
|
||||
if m != nil {
|
||||
return m.Version
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Release) GetNamespace() string {
|
||||
if m != nil {
|
||||
return m.Namespace
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Release)(nil), "hapi.release.Release")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("hapi/release/release.proto", fileDescriptor2) }
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
// 256 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0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
||||
0x44, 0x05, 0x56, 0xb0, 0xd9, 0x4b, 0xa3, 0x7b, 0x65, 0x67, 0xca, 0x7c, 0xa8, 0xdf, 0x1e, 0x1b,
|
||||
0xc8, 0xdc, 0x41, 0x2c, 0xe5, 0xf5, 0xfa, 0x34, 0xd9, 0x0b, 0xf3, 0x4e, 0x04, 0x01, 0x12, 0x14,
|
||||
0x5f, 0x6a, 0xb2, 0x9a, 0x0d, 0x15, 0x75, 0xd2, 0x64, 0xe2, 0xd0, 0xe2, 0x35, 0x94, 0xee, 0x91,
|
||||
0x76, 0x94, 0x9d, 0xa2, 0x8d, 0x5f, 0xf0, 0x37, 0x78, 0x2a, 0xdf, 0x8a, 0x68, 0xf7, 0x9e, 0xfb,
|
||||
0x63, 0x3d, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0xc8, 0x8f, 0xec, 0x97, 0xbb, 0x01, 0x00, 0x00,
|
||||
}
|
@ -1,141 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: hapi/release/status.proto
|
||||
|
||||
package release
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "github.com/golang/protobuf/ptypes/any"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
type Status_Code int32
|
||||
|
||||
const (
|
||||
// Status_UNKNOWN indicates that a release is in an uncertain state.
|
||||
Status_UNKNOWN Status_Code = 0
|
||||
// Status_DEPLOYED indicates that the release has been pushed to Kubernetes.
|
||||
Status_DEPLOYED Status_Code = 1
|
||||
// Status_DELETED indicates that a release has been deleted from Kubermetes.
|
||||
Status_DELETED Status_Code = 2
|
||||
// Status_SUPERSEDED indicates that this release object is outdated and a newer one exists.
|
||||
Status_SUPERSEDED Status_Code = 3
|
||||
// Status_FAILED indicates that the release was not successfully deployed.
|
||||
Status_FAILED Status_Code = 4
|
||||
// Status_DELETING indicates that a delete operation is underway.
|
||||
Status_DELETING Status_Code = 5
|
||||
// Status_PENDING_INSTALL indicates that an install operation is underway.
|
||||
Status_PENDING_INSTALL Status_Code = 6
|
||||
// Status_PENDING_UPGRADE indicates that an upgrade operation is underway.
|
||||
Status_PENDING_UPGRADE Status_Code = 7
|
||||
// Status_PENDING_ROLLBACK indicates that an rollback operation is underway.
|
||||
Status_PENDING_ROLLBACK Status_Code = 8
|
||||
)
|
||||
|
||||
var Status_Code_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "DEPLOYED",
|
||||
2: "DELETED",
|
||||
3: "SUPERSEDED",
|
||||
4: "FAILED",
|
||||
5: "DELETING",
|
||||
6: "PENDING_INSTALL",
|
||||
7: "PENDING_UPGRADE",
|
||||
8: "PENDING_ROLLBACK",
|
||||
}
|
||||
var Status_Code_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"DEPLOYED": 1,
|
||||
"DELETED": 2,
|
||||
"SUPERSEDED": 3,
|
||||
"FAILED": 4,
|
||||
"DELETING": 5,
|
||||
"PENDING_INSTALL": 6,
|
||||
"PENDING_UPGRADE": 7,
|
||||
"PENDING_ROLLBACK": 8,
|
||||
}
|
||||
|
||||
func (x Status_Code) String() string {
|
||||
return proto.EnumName(Status_Code_name, int32(x))
|
||||
}
|
||||
func (Status_Code) EnumDescriptor() ([]byte, []int) { return fileDescriptor3, []int{0, 0} }
|
||||
|
||||
// Status defines the status of a release.
|
||||
type Status struct {
|
||||
Code Status_Code `protobuf:"varint,1,opt,name=code,enum=hapi.release.Status_Code" json:"code,omitempty"`
|
||||
// Cluster resources as kubectl would print them.
|
||||
Resources string `protobuf:"bytes,3,opt,name=resources" json:"resources,omitempty"`
|
||||
// Contains the rendered templates/NOTES.txt if available
|
||||
Notes string `protobuf:"bytes,4,opt,name=notes" json:"notes,omitempty"`
|
||||
// LastTestSuiteRun provides results on the last test run on a release
|
||||
LastTestSuiteRun *TestSuite `protobuf:"bytes,5,opt,name=last_test_suite_run,json=lastTestSuiteRun" json:"last_test_suite_run,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Status) Reset() { *m = Status{} }
|
||||
func (m *Status) String() string { return proto.CompactTextString(m) }
|
||||
func (*Status) ProtoMessage() {}
|
||||
func (*Status) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
|
||||
|
||||
func (m *Status) GetCode() Status_Code {
|
||||
if m != nil {
|
||||
return m.Code
|
||||
}
|
||||
return Status_UNKNOWN
|
||||
}
|
||||
|
||||
func (m *Status) GetResources() string {
|
||||
if m != nil {
|
||||
return m.Resources
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Status) GetNotes() string {
|
||||
if m != nil {
|
||||
return m.Notes
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Status) GetLastTestSuiteRun() *TestSuite {
|
||||
if m != nil {
|
||||
return m.LastTestSuiteRun
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Status)(nil), "hapi.release.Status")
|
||||
proto.RegisterEnum("hapi.release.Status_Code", Status_Code_name, Status_Code_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("hapi/release/status.proto", fileDescriptor3) }
|
||||
|
||||
var fileDescriptor3 = []byte{
|
||||
// 333 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xd1, 0x6e, 0xa2, 0x40,
|
||||
0x14, 0x86, 0x17, 0x45, 0xd4, 0xa3, 0x71, 0x27, 0xa3, 0xc9, 0xa2, 0xd9, 0x4d, 0x8c, 0x57, 0xde,
|
||||
0x2c, 0x24, 0xf6, 0x09, 0xd0, 0x19, 0x0d, 0x71, 0x82, 0x04, 0x30, 0x4d, 0x7b, 0x43, 0x50, 0xa7,
|
||||
0xd6, 0xc4, 0x30, 0x86, 0x19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, 0x5f, 0xb8, 0x0b, 0x2d, 0x42, 0x7d, 0xb6, 0x79, 0xa1, 0x04, 0x69, 0x05, 0x22,
|
||||
0x94, 0xd1, 0x88, 0x12, 0x54, 0xc3, 0x3d, 0x80, 0x70, 0xeb, 0xd3, 0x20, 0xa4, 0x84, 0x12, 0x54,
|
||||
0xc7, 0x00, 0xc6, 0xd2, 0x71, 0x19, 0x25, 0x48, 0xaf, 0xc6, 0x18, 0x8d, 0x5c, 0x6f, 0x85, 0x1a,
|
||||
0xb8, 0x0f, 0xbf, 0x7d, 0xea, 0x11, 0xd7, 0x5b, 0xc5, 0xae, 0x17, 0x46, 0x0e, 0x63, 0xc8, 0xb8,
|
||||
0x2f, 0xb7, 0xfe, 0x2a, 0x70, 0x08, 0x45, 0x4d, 0x3c, 0x00, 0xf4, 0x53, 0x06, 0x1b, 0xc6, 0xe6,
|
||||
0xce, 0x62, 0x8d, 0x5a, 0xf3, 0xf6, 0x6b, 0xf3, 0xfa, 0x07, 0x3b, 0xa3, 0x7c, 0xe2, 0xa7, 0xef,
|
||||
0x00, 0x00, 0x00, 0xff, 0xff, 0x09, 0x48, 0x18, 0xba, 0xc7, 0x01, 0x00, 0x00,
|
||||
}
|
@ -1,118 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: hapi/release/test_run.proto
|
||||
|
||||
package release
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
type TestRun_Status int32
|
||||
|
||||
const (
|
||||
TestRun_UNKNOWN TestRun_Status = 0
|
||||
TestRun_SUCCESS TestRun_Status = 1
|
||||
TestRun_FAILURE TestRun_Status = 2
|
||||
TestRun_RUNNING TestRun_Status = 3
|
||||
)
|
||||
|
||||
var TestRun_Status_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "SUCCESS",
|
||||
2: "FAILURE",
|
||||
3: "RUNNING",
|
||||
}
|
||||
var TestRun_Status_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"SUCCESS": 1,
|
||||
"FAILURE": 2,
|
||||
"RUNNING": 3,
|
||||
}
|
||||
|
||||
func (x TestRun_Status) String() string {
|
||||
return proto.EnumName(TestRun_Status_name, int32(x))
|
||||
}
|
||||
func (TestRun_Status) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{0, 0} }
|
||||
|
||||
type TestRun struct {
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Status TestRun_Status `protobuf:"varint,2,opt,name=status,enum=hapi.release.TestRun_Status" json:"status,omitempty"`
|
||||
Info string `protobuf:"bytes,3,opt,name=info" json:"info,omitempty"`
|
||||
StartedAt *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt" json:"started_at,omitempty"`
|
||||
CompletedAt *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=completed_at,json=completedAt" json:"completed_at,omitempty"`
|
||||
}
|
||||
|
||||
func (m *TestRun) Reset() { *m = TestRun{} }
|
||||
func (m *TestRun) String() string { return proto.CompactTextString(m) }
|
||||
func (*TestRun) ProtoMessage() {}
|
||||
func (*TestRun) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
|
||||
|
||||
func (m *TestRun) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TestRun) GetStatus() TestRun_Status {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return TestRun_UNKNOWN
|
||||
}
|
||||
|
||||
func (m *TestRun) GetInfo() string {
|
||||
if m != nil {
|
||||
return m.Info
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TestRun) GetStartedAt() *google_protobuf.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartedAt
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TestRun) GetCompletedAt() *google_protobuf.Timestamp {
|
||||
if m != nil {
|
||||
return m.CompletedAt
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*TestRun)(nil), "hapi.release.TestRun")
|
||||
proto.RegisterEnum("hapi.release.TestRun_Status", TestRun_Status_name, TestRun_Status_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("hapi/release/test_run.proto", fileDescriptor4) }
|
||||
|
||||
var fileDescriptor4 = []byte{
|
||||
// 274 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x8f, 0xc1, 0x4b, 0xfb, 0x30,
|
||||
0x1c, 0xc5, 0x7f, 0xe9, 0xf6, 0x6b, 0x69, 0x3a, 0xa4, 0xe4, 0x54, 0xa6, 0x60, 0xd9, 0xa9, 0xa7,
|
||||
0x14, 0xa6, 0x17, 0x41, 0x0f, 0x75, 0x4c, 0x19, 0x4a, 0x84, 0x74, 0x45, 0xf0, 0x32, 0x32, 0xcd,
|
||||
0x66, 0xa1, 0x6d, 0x4a, 0xf3, 0xed, 0xdf, 0xe3, 0xbf, 0x2a, 0x69, 0x33, 0xf1, 0xe6, 0xed, 0xfb,
|
||||
0x78, 0x9f, 0xf7, 0xf2, 0x82, 0xcf, 0x3f, 0x45, 0x5b, 0xa6, 0x9d, 0xac, 0xa4, 0xd0, 0x32, 0x05,
|
||||
0xa9, 0x61, 0xd7, 0xf5, 0x0d, 0x6d, 0x3b, 0x05, 0x8a, 0xcc, 0x8c, 0x49, 0xad, 0x39, 0xbf, 0x3c,
|
||||
0x2a, 0x75, 0xac, 0x64, 0x3a, 0x78, 0xfb, 0xfe, 0x90, 0x42, 0x59, 0x4b, 0x0d, 0xa2, 0x6e, 0x47,
|
||||
0x7c, 0xf1, 0xe5, 0x60, 0x6f, 0x2b, 0x35, 0xf0, 0xbe, 0x21, 0x04, 0x4f, 0x1b, 0x51, 0xcb, 0x08,
|
||||
0xc5, 0x28, 0xf1, 0xf9, 0x70, 0x93, 0x6b, 0xec, 0x6a, 0x10, 0xd0, 0xeb, 0xc8, 0x89, 0x51, 0x72,
|
||||
0xb6, 0xbc, 0xa0, 0xbf, 0xfb, 0xa9, 0x8d, 0xd2, 0x7c, 0x60, 0xb8, 0x65, 0x4d, 0x53, 0xd9, 0x1c,
|
||||
0x54, 0x34, 0x19, 0x9b, 0xcc, 0x4d, 0x6e, 0x30, 0xd6, 0x20, 0x3a, 0x90, 0x1f, 0x3b, 0x01, 0xd1,
|
||||
0x34, 0x46, 0x49, 0xb0, 0x9c, 0xd3, 0x71, 0x1f, 0x3d, 0xed, 0xa3, 0xdb, 0xd3, 0x3e, 0xee, 0x5b,
|
||||
0x3a, 0x03, 0x72, 0x87, 0x67, 0xef, 0xaa, 0x6e, 0x2b, 0x69, 0xc3, 0xff, 0xff, 0x0c, 0x07, 0x3f,
|
||||
0x7c, 0x06, 0x8b, 0x5b, 0xec, 0x8e, 0xfb, 0x48, 0x80, 0xbd, 0x82, 0x3d, 0xb1, 0x97, 0x57, 0x16,
|
||||
0xfe, 0x33, 0x22, 0x2f, 0x56, 0xab, 0x75, 0x9e, 0x87, 0xc8, 0x88, 0x87, 0x6c, 0xf3, 0x5c, 0xf0,
|
||||
0x75, 0xe8, 0x18, 0xc1, 0x0b, 0xc6, 0x36, 0xec, 0x31, 0x9c, 0xdc, 0xfb, 0x6f, 0x9e, 0xfd, 0xed,
|
||||
0xde, 0x1d, 0x5e, 0xba, 0xfa, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x31, 0x86, 0x46, 0xdb, 0x81, 0x01,
|
||||
0x00, 0x00,
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: hapi/release/test_suite.proto
|
||||
|
||||
package release
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// TestSuite comprises of the last run of the pre-defined test suite of a release version
|
||||
type TestSuite struct {
|
||||
// StartedAt indicates the date/time this test suite was kicked off
|
||||
StartedAt *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=started_at,json=startedAt" json:"started_at,omitempty"`
|
||||
// CompletedAt indicates the date/time this test suite was completed
|
||||
CompletedAt *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=completed_at,json=completedAt" json:"completed_at,omitempty"`
|
||||
// Results are the results of each segment of the test
|
||||
Results []*TestRun `protobuf:"bytes,3,rep,name=results" json:"results,omitempty"`
|
||||
}
|
||||
|
||||
func (m *TestSuite) Reset() { *m = TestSuite{} }
|
||||
func (m *TestSuite) String() string { return proto.CompactTextString(m) }
|
||||
func (*TestSuite) ProtoMessage() {}
|
||||
func (*TestSuite) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
|
||||
|
||||
func (m *TestSuite) GetStartedAt() *google_protobuf.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartedAt
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TestSuite) GetCompletedAt() *google_protobuf.Timestamp {
|
||||
if m != nil {
|
||||
return m.CompletedAt
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TestSuite) GetResults() []*TestRun {
|
||||
if m != nil {
|
||||
return m.Results
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*TestSuite)(nil), "hapi.release.TestSuite")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("hapi/release/test_suite.proto", fileDescriptor5) }
|
||||
|
||||
var fileDescriptor5 = []byte{
|
||||
// 207 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x8f, 0xc1, 0x4a, 0x86, 0x40,
|
||||
0x14, 0x85, 0x31, 0x21, 0x71, 0x74, 0x35, 0x10, 0x88, 0x11, 0x49, 0x2b, 0x57, 0x33, 0x60, 0xab,
|
||||
0x16, 0x2d, 0xec, 0x11, 0xcc, 0x55, 0x1b, 0x19, 0xeb, 0x66, 0xc2, 0xe8, 0x0c, 0x73, 0xef, 0xbc,
|
||||
0x5a, 0xcf, 0x17, 0xea, 0x18, 0x41, 0x8b, 0x7f, 0xfd, 0x7d, 0xe7, 0x9c, 0x7b, 0xd9, 0xdd, 0x97,
|
||||
0xb2, 0xb3, 0x74, 0xa0, 0x41, 0x21, 0x48, 0x02, 0xa4, 0x01, 0xfd, 0x4c, 0x20, 0xac, 0x33, 0x64,
|
||||
0x78, 0xbe, 0x61, 0x11, 0x70, 0x79, 0x3f, 0x19, 0x33, 0x69, 0x90, 0x3b, 0x1b, 0xfd, 0xa7, 0xa4,
|
||||
0x79, 0x01, 0x24, 0xb5, 0xd8, 0x43, 0x2f, 0x6f, 0xff, 0xb7, 0x39, 0xbf, 0x1e, 0xf0, 0xe1, 0x3b,
|
||||
0x62, 0x69, 0x0f, 0x48, 0xaf, 0x5b, 0x3f, 0x7f, 0x62, 0x0c, 0x49, 0x39, 0x82, 0x8f, 0x41, 0x51,
|
||||
0x11, 0x55, 0x51, 0x9d, 0x35, 0xa5, 0x38, 0x06, 0xc4, 0x39, 0x20, 0xfa, 0x73, 0xa0, 0x4b, 0x83,
|
||||
0xdd, 0x12, 0x7f, 0x66, 0xf9, 0xbb, 0x59, 0xac, 0x86, 0x10, 0xbe, 0xba, 0x18, 0xce, 0x7e, 0xfd,
|
||||
0x96, 0xb8, 0x64, 0x89, 0x03, 0xf4, 0x9a, 0xb0, 0x88, 0xab, 0xb8, 0xce, 0x9a, 0x1b, 0xf1, 0xf7,
|
||||
0x4b, 0xb1, 0xdd, 0xd8, 0xf9, 0xb5, 0x3b, 0xad, 0x97, 0xf4, 0x2d, 0x09, 0x6c, 0xbc, 0xde, 0xcb,
|
||||
0x1f, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x59, 0x65, 0x4f, 0x37, 0x01, 0x00, 0x00,
|
||||
}
|
@ -1,851 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: hapi/services/tiller.proto
|
||||
|
||||
/*
|
||||
Package services is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
hapi/services/tiller.proto
|
||||
|
||||
It has these top-level messages:
|
||||
ListReleasesRequest
|
||||
ListSort
|
||||
ListReleasesResponse
|
||||
GetReleaseStatusRequest
|
||||
GetReleaseStatusResponse
|
||||
GetReleaseContentRequest
|
||||
UpdateReleaseRequest
|
||||
RollbackReleaseRequest
|
||||
InstallReleaseRequest
|
||||
UninstallReleaseRequest
|
||||
UninstallReleaseResponse
|
||||
GetHistoryRequest
|
||||
TestReleaseRequest
|
||||
TestReleaseResponse
|
||||
*/
|
||||
package services
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import hapi_chart3 "k8s.io/helm/pkg/proto/hapi/chart"
|
||||
import hapi_chart "k8s.io/helm/pkg/proto/hapi/chart"
|
||||
import hapi_release5 "k8s.io/helm/pkg/proto/hapi/release"
|
||||
import hapi_release4 "k8s.io/helm/pkg/proto/hapi/release"
|
||||
import hapi_release1 "k8s.io/helm/pkg/proto/hapi/release"
|
||||
import hapi_release3 "k8s.io/helm/pkg/proto/hapi/release"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// SortBy defines sort operations.
|
||||
type ListSort_SortBy int32
|
||||
|
||||
const (
|
||||
ListSort_UNKNOWN ListSort_SortBy = 0
|
||||
ListSort_NAME ListSort_SortBy = 1
|
||||
ListSort_LAST_RELEASED ListSort_SortBy = 2
|
||||
)
|
||||
|
||||
var ListSort_SortBy_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "NAME",
|
||||
2: "LAST_RELEASED",
|
||||
}
|
||||
var ListSort_SortBy_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"NAME": 1,
|
||||
"LAST_RELEASED": 2,
|
||||
}
|
||||
|
||||
func (x ListSort_SortBy) String() string {
|
||||
return proto.EnumName(ListSort_SortBy_name, int32(x))
|
||||
}
|
||||
func (ListSort_SortBy) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
|
||||
|
||||
// SortOrder defines sort orders to augment sorting operations.
|
||||
type ListSort_SortOrder int32
|
||||
|
||||
const (
|
||||
ListSort_ASC ListSort_SortOrder = 0
|
||||
ListSort_DESC ListSort_SortOrder = 1
|
||||
)
|
||||
|
||||
var ListSort_SortOrder_name = map[int32]string{
|
||||
0: "ASC",
|
||||
1: "DESC",
|
||||
}
|
||||
var ListSort_SortOrder_value = map[string]int32{
|
||||
"ASC": 0,
|
||||
"DESC": 1,
|
||||
}
|
||||
|
||||
func (x ListSort_SortOrder) String() string {
|
||||
return proto.EnumName(ListSort_SortOrder_name, int32(x))
|
||||
}
|
||||
func (ListSort_SortOrder) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 1} }
|
||||
|
||||
// ListReleasesRequest requests a list of releases.
|
||||
//
|
||||
// Releases can be retrieved in chunks by setting limit and offset.
|
||||
//
|
||||
// Releases can be sorted according to a few pre-determined sort stategies.
|
||||
type ListReleasesRequest struct {
|
||||
// Limit is the maximum number of releases to be returned.
|
||||
Limit int64 `protobuf:"varint,1,opt,name=limit" json:"limit,omitempty"`
|
||||
// Offset is the last release name that was seen. The next listing
|
||||
// operation will start with the name after this one.
|
||||
// Example: If list one returns albert, bernie, carl, and sets 'next: dennis'.
|
||||
// dennis is the offset. Supplying 'dennis' for the next request should
|
||||
// cause the next batch to return a set of results starting with 'dennis'.
|
||||
Offset string `protobuf:"bytes,2,opt,name=offset" json:"offset,omitempty"`
|
||||
// SortBy is the sort field that the ListReleases server should sort data before returning.
|
||||
SortBy ListSort_SortBy `protobuf:"varint,3,opt,name=sort_by,json=sortBy,enum=hapi.services.tiller.ListSort_SortBy" json:"sort_by,omitempty"`
|
||||
// Filter is a regular expression used to filter which releases should be listed.
|
||||
//
|
||||
// Anything that matches the regexp will be included in the results.
|
||||
Filter string `protobuf:"bytes,4,opt,name=filter" json:"filter,omitempty"`
|
||||
// SortOrder is the ordering directive used for sorting.
|
||||
SortOrder ListSort_SortOrder `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,enum=hapi.services.tiller.ListSort_SortOrder" json:"sort_order,omitempty"`
|
||||
StatusCodes []hapi_release3.Status_Code `protobuf:"varint,6,rep,packed,name=status_codes,json=statusCodes,enum=hapi.release.Status_Code" json:"status_codes,omitempty"`
|
||||
// Namespace is the filter to select releases only from a specific namespace.
|
||||
Namespace string `protobuf:"bytes,7,opt,name=namespace" json:"namespace,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListReleasesRequest) Reset() { *m = ListReleasesRequest{} }
|
||||
func (m *ListReleasesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListReleasesRequest) ProtoMessage() {}
|
||||
func (*ListReleasesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
func (m *ListReleasesRequest) GetLimit() int64 {
|
||||
if m != nil {
|
||||
return m.Limit
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListReleasesRequest) GetOffset() string {
|
||||
if m != nil {
|
||||
return m.Offset
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListReleasesRequest) GetSortBy() ListSort_SortBy {
|
||||
if m != nil {
|
||||
return m.SortBy
|
||||
}
|
||||
return ListSort_UNKNOWN
|
||||
}
|
||||
|
||||
func (m *ListReleasesRequest) GetFilter() string {
|
||||
if m != nil {
|
||||
return m.Filter
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListReleasesRequest) GetSortOrder() ListSort_SortOrder {
|
||||
if m != nil {
|
||||
return m.SortOrder
|
||||
}
|
||||
return ListSort_ASC
|
||||
}
|
||||
|
||||
func (m *ListReleasesRequest) GetStatusCodes() []hapi_release3.Status_Code {
|
||||
if m != nil {
|
||||
return m.StatusCodes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListReleasesRequest) GetNamespace() string {
|
||||
if m != nil {
|
||||
return m.Namespace
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// ListSort defines sorting fields on a release list.
|
||||
type ListSort struct {
|
||||
}
|
||||
|
||||
func (m *ListSort) Reset() { *m = ListSort{} }
|
||||
func (m *ListSort) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListSort) ProtoMessage() {}
|
||||
func (*ListSort) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
// ListReleasesResponse is a list of releases.
|
||||
type ListReleasesResponse struct {
|
||||
// Count is the expected total number of releases to be returned.
|
||||
Count int64 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
|
||||
// Next is the name of the next release. If this is other than an empty
|
||||
// string, it means there are more results.
|
||||
Next string `protobuf:"bytes,2,opt,name=next" json:"next,omitempty"`
|
||||
// Total is the total number of queryable releases.
|
||||
Total int64 `protobuf:"varint,3,opt,name=total" json:"total,omitempty"`
|
||||
// Releases is the list of found release objects.
|
||||
Releases []*hapi_release5.Release `protobuf:"bytes,4,rep,name=releases" json:"releases,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListReleasesResponse) Reset() { *m = ListReleasesResponse{} }
|
||||
func (m *ListReleasesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListReleasesResponse) ProtoMessage() {}
|
||||
func (*ListReleasesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
|
||||
func (m *ListReleasesResponse) GetCount() int64 {
|
||||
if m != nil {
|
||||
return m.Count
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListReleasesResponse) GetNext() string {
|
||||
if m != nil {
|
||||
return m.Next
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListReleasesResponse) GetTotal() int64 {
|
||||
if m != nil {
|
||||
return m.Total
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListReleasesResponse) GetReleases() []*hapi_release5.Release {
|
||||
if m != nil {
|
||||
return m.Releases
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// GetReleaseStatusRequest is a request to get the status of a release.
|
||||
type GetReleaseStatusRequest struct {
|
||||
// Name is the name of the release
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Version is the version of the release
|
||||
Version int32 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetReleaseStatusRequest) Reset() { *m = GetReleaseStatusRequest{} }
|
||||
func (m *GetReleaseStatusRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetReleaseStatusRequest) ProtoMessage() {}
|
||||
func (*GetReleaseStatusRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
|
||||
func (m *GetReleaseStatusRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *GetReleaseStatusRequest) GetVersion() int32 {
|
||||
if m != nil {
|
||||
return m.Version
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// GetReleaseStatusResponse is the response indicating the status of the named release.
|
||||
type GetReleaseStatusResponse struct {
|
||||
// Name is the name of the release.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Info contains information about the release.
|
||||
Info *hapi_release4.Info `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
|
||||
// Namespace the release was released into
|
||||
Namespace string `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetReleaseStatusResponse) Reset() { *m = GetReleaseStatusResponse{} }
|
||||
func (m *GetReleaseStatusResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetReleaseStatusResponse) ProtoMessage() {}
|
||||
func (*GetReleaseStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
|
||||
func (m *GetReleaseStatusResponse) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *GetReleaseStatusResponse) GetInfo() *hapi_release4.Info {
|
||||
if m != nil {
|
||||
return m.Info
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *GetReleaseStatusResponse) GetNamespace() string {
|
||||
if m != nil {
|
||||
return m.Namespace
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// GetReleaseContentRequest is a request to get the contents of a release.
|
||||
type GetReleaseContentRequest struct {
|
||||
// The name of the release
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Version is the version of the release
|
||||
Version int32 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetReleaseContentRequest) Reset() { *m = GetReleaseContentRequest{} }
|
||||
func (m *GetReleaseContentRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetReleaseContentRequest) ProtoMessage() {}
|
||||
func (*GetReleaseContentRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
|
||||
func (m *GetReleaseContentRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *GetReleaseContentRequest) GetVersion() int32 {
|
||||
if m != nil {
|
||||
return m.Version
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// UpdateReleaseRequest updates a release.
|
||||
type UpdateReleaseRequest struct {
|
||||
// The name of the release
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Chart is the protobuf representation of a chart.
|
||||
Chart *hapi_chart3.Chart `protobuf:"bytes,2,opt,name=chart" json:"chart,omitempty"`
|
||||
// Values is a string containing (unparsed) YAML values.
|
||||
Values *hapi_chart.Config `protobuf:"bytes,3,opt,name=values" json:"values,omitempty"`
|
||||
// dry_run, if true, will run through the release logic, but neither create
|
||||
DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"`
|
||||
// DisableHooks causes the server to skip running any hooks for the upgrade.
|
||||
DisableHooks bool `protobuf:"varint,5,opt,name=disable_hooks,json=disableHooks" json:"disable_hooks,omitempty"`
|
||||
// Performs pods restart for resources if applicable
|
||||
Recreate bool `protobuf:"varint,6,opt,name=recreate" json:"recreate,omitempty"`
|
||||
// timeout specifies the max amount of time any kubernetes client command can run.
|
||||
Timeout int64 `protobuf:"varint,7,opt,name=timeout" json:"timeout,omitempty"`
|
||||
// ResetValues will cause Tiller to ignore stored values, resetting to default values.
|
||||
ResetValues bool `protobuf:"varint,8,opt,name=reset_values,json=resetValues" json:"reset_values,omitempty"`
|
||||
// wait, if true, will wait until all Pods, PVCs, and Services are in a ready state
|
||||
// before marking the release as successful. It will wait for as long as timeout
|
||||
Wait bool `protobuf:"varint,9,opt,name=wait" json:"wait,omitempty"`
|
||||
// ReuseValues will cause Tiller to reuse the values from the last release.
|
||||
// This is ignored if reset_values is set.
|
||||
ReuseValues bool `protobuf:"varint,10,opt,name=reuse_values,json=reuseValues" json:"reuse_values,omitempty"`
|
||||
// Force resource update through delete/recreate if needed.
|
||||
Force bool `protobuf:"varint,11,opt,name=force" json:"force,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UpdateReleaseRequest) Reset() { *m = UpdateReleaseRequest{} }
|
||||
func (m *UpdateReleaseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateReleaseRequest) ProtoMessage() {}
|
||||
func (*UpdateReleaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
|
||||
func (m *UpdateReleaseRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UpdateReleaseRequest) GetChart() *hapi_chart3.Chart {
|
||||
if m != nil {
|
||||
return m.Chart
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateReleaseRequest) GetValues() *hapi_chart.Config {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateReleaseRequest) GetDryRun() bool {
|
||||
if m != nil {
|
||||
return m.DryRun
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *UpdateReleaseRequest) GetDisableHooks() bool {
|
||||
if m != nil {
|
||||
return m.DisableHooks
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *UpdateReleaseRequest) GetRecreate() bool {
|
||||
if m != nil {
|
||||
return m.Recreate
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *UpdateReleaseRequest) GetTimeout() int64 {
|
||||
if m != nil {
|
||||
return m.Timeout
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *UpdateReleaseRequest) GetResetValues() bool {
|
||||
if m != nil {
|
||||
return m.ResetValues
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *UpdateReleaseRequest) GetWait() bool {
|
||||
if m != nil {
|
||||
return m.Wait
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *UpdateReleaseRequest) GetReuseValues() bool {
|
||||
if m != nil {
|
||||
return m.ReuseValues
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *UpdateReleaseRequest) GetForce() bool {
|
||||
if m != nil {
|
||||
return m.Force
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
type RollbackReleaseRequest struct {
|
||||
// The name of the release
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// dry_run, if true, will run through the release logic but no create
|
||||
DryRun bool `protobuf:"varint,2,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"`
|
||||
// DisableHooks causes the server to skip running any hooks for the rollback
|
||||
DisableHooks bool `protobuf:"varint,3,opt,name=disable_hooks,json=disableHooks" json:"disable_hooks,omitempty"`
|
||||
// Version is the version of the release to deploy.
|
||||
Version int32 `protobuf:"varint,4,opt,name=version" json:"version,omitempty"`
|
||||
// Performs pods restart for resources if applicable
|
||||
Recreate bool `protobuf:"varint,5,opt,name=recreate" json:"recreate,omitempty"`
|
||||
// timeout specifies the max amount of time any kubernetes client command can run.
|
||||
Timeout int64 `protobuf:"varint,6,opt,name=timeout" json:"timeout,omitempty"`
|
||||
// wait, if true, will wait until all Pods, PVCs, and Services are in a ready state
|
||||
// before marking the release as successful. It will wait for as long as timeout
|
||||
Wait bool `protobuf:"varint,7,opt,name=wait" json:"wait,omitempty"`
|
||||
// Force resource update through delete/recreate if needed.
|
||||
Force bool `protobuf:"varint,8,opt,name=force" json:"force,omitempty"`
|
||||
}
|
||||
|
||||
func (m *RollbackReleaseRequest) Reset() { *m = RollbackReleaseRequest{} }
|
||||
func (m *RollbackReleaseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*RollbackReleaseRequest) ProtoMessage() {}
|
||||
func (*RollbackReleaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
|
||||
func (m *RollbackReleaseRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RollbackReleaseRequest) GetDryRun() bool {
|
||||
if m != nil {
|
||||
return m.DryRun
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *RollbackReleaseRequest) GetDisableHooks() bool {
|
||||
if m != nil {
|
||||
return m.DisableHooks
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *RollbackReleaseRequest) GetVersion() int32 {
|
||||
if m != nil {
|
||||
return m.Version
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *RollbackReleaseRequest) GetRecreate() bool {
|
||||
if m != nil {
|
||||
return m.Recreate
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *RollbackReleaseRequest) GetTimeout() int64 {
|
||||
if m != nil {
|
||||
return m.Timeout
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *RollbackReleaseRequest) GetWait() bool {
|
||||
if m != nil {
|
||||
return m.Wait
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *RollbackReleaseRequest) GetForce() bool {
|
||||
if m != nil {
|
||||
return m.Force
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// InstallReleaseRequest is the request for an installation of a chart.
|
||||
type InstallReleaseRequest struct {
|
||||
// Chart is the protobuf representation of a chart.
|
||||
Chart *hapi_chart3.Chart `protobuf:"bytes,1,opt,name=chart" json:"chart,omitempty"`
|
||||
// Values is a string containing (unparsed) YAML values.
|
||||
Values *hapi_chart.Config `protobuf:"bytes,2,opt,name=values" json:"values,omitempty"`
|
||||
// DryRun, if true, will run through the release logic, but neither create
|
||||
// a release object nor deploy to Kubernetes. The release object returned
|
||||
// in the response will be fake.
|
||||
DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"`
|
||||
// Name is the candidate release name. This must be unique to the
|
||||
// namespace, otherwise the server will return an error. If it is not
|
||||
// supplied, the server will autogenerate one.
|
||||
Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
|
||||
// DisableHooks causes the server to skip running any hooks for the install.
|
||||
DisableHooks bool `protobuf:"varint,5,opt,name=disable_hooks,json=disableHooks" json:"disable_hooks,omitempty"`
|
||||
// Namepace is the kubernetes namespace of the release.
|
||||
Namespace string `protobuf:"bytes,6,opt,name=namespace" json:"namespace,omitempty"`
|
||||
// ReuseName requests that Tiller re-uses a name, instead of erroring out.
|
||||
ReuseName bool `protobuf:"varint,7,opt,name=reuse_name,json=reuseName" json:"reuse_name,omitempty"`
|
||||
// timeout specifies the max amount of time any kubernetes client command can run.
|
||||
Timeout int64 `protobuf:"varint,8,opt,name=timeout" json:"timeout,omitempty"`
|
||||
// wait, if true, will wait until all Pods, PVCs, and Services are in a ready state
|
||||
// before marking the release as successful. It will wait for as long as timeout
|
||||
Wait bool `protobuf:"varint,9,opt,name=wait" json:"wait,omitempty"`
|
||||
}
|
||||
|
||||
func (m *InstallReleaseRequest) Reset() { *m = InstallReleaseRequest{} }
|
||||
func (m *InstallReleaseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*InstallReleaseRequest) ProtoMessage() {}
|
||||
func (*InstallReleaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
||||
|
||||
func (m *InstallReleaseRequest) GetChart() *hapi_chart3.Chart {
|
||||
if m != nil {
|
||||
return m.Chart
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *InstallReleaseRequest) GetValues() *hapi_chart.Config {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *InstallReleaseRequest) GetDryRun() bool {
|
||||
if m != nil {
|
||||
return m.DryRun
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *InstallReleaseRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *InstallReleaseRequest) GetDisableHooks() bool {
|
||||
if m != nil {
|
||||
return m.DisableHooks
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *InstallReleaseRequest) GetNamespace() string {
|
||||
if m != nil {
|
||||
return m.Namespace
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *InstallReleaseRequest) GetReuseName() bool {
|
||||
if m != nil {
|
||||
return m.ReuseName
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *InstallReleaseRequest) GetTimeout() int64 {
|
||||
if m != nil {
|
||||
return m.Timeout
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *InstallReleaseRequest) GetWait() bool {
|
||||
if m != nil {
|
||||
return m.Wait
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// UninstallReleaseRequest represents a request to uninstall a named release.
|
||||
type UninstallReleaseRequest struct {
|
||||
// Name is the name of the release to delete.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// DisableHooks causes the server to skip running any hooks for the uninstall.
|
||||
DisableHooks bool `protobuf:"varint,2,opt,name=disable_hooks,json=disableHooks" json:"disable_hooks,omitempty"`
|
||||
// Purge removes the release from the store and make its name free for later use.
|
||||
Purge bool `protobuf:"varint,3,opt,name=purge" json:"purge,omitempty"`
|
||||
// timeout specifies the max amount of time any kubernetes client command can run.
|
||||
Timeout int64 `protobuf:"varint,4,opt,name=timeout" json:"timeout,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UninstallReleaseRequest) Reset() { *m = UninstallReleaseRequest{} }
|
||||
func (m *UninstallReleaseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UninstallReleaseRequest) ProtoMessage() {}
|
||||
func (*UninstallReleaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
|
||||
|
||||
func (m *UninstallReleaseRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UninstallReleaseRequest) GetDisableHooks() bool {
|
||||
if m != nil {
|
||||
return m.DisableHooks
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *UninstallReleaseRequest) GetPurge() bool {
|
||||
if m != nil {
|
||||
return m.Purge
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *UninstallReleaseRequest) GetTimeout() int64 {
|
||||
if m != nil {
|
||||
return m.Timeout
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// UninstallReleaseResponse represents a successful response to an uninstall request.
|
||||
type UninstallReleaseResponse struct {
|
||||
// Release is the release that was marked deleted.
|
||||
Release *hapi_release5.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
|
||||
// Info is an uninstall message
|
||||
Info string `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UninstallReleaseResponse) Reset() { *m = UninstallReleaseResponse{} }
|
||||
func (m *UninstallReleaseResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*UninstallReleaseResponse) ProtoMessage() {}
|
||||
func (*UninstallReleaseResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
|
||||
|
||||
func (m *UninstallReleaseResponse) GetRelease() *hapi_release5.Release {
|
||||
if m != nil {
|
||||
return m.Release
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UninstallReleaseResponse) GetInfo() string {
|
||||
if m != nil {
|
||||
return m.Info
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// GetHistoryRequest requests a release's history.
|
||||
type GetHistoryRequest struct {
|
||||
// The name of the release.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// The maximum number of releases to include.
|
||||
Max int32 `protobuf:"varint,2,opt,name=max" json:"max,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetHistoryRequest) Reset() { *m = GetHistoryRequest{} }
|
||||
func (m *GetHistoryRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetHistoryRequest) ProtoMessage() {}
|
||||
func (*GetHistoryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
|
||||
|
||||
func (m *GetHistoryRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *GetHistoryRequest) GetMax() int32 {
|
||||
if m != nil {
|
||||
return m.Max
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// TestReleaseRequest is a request to get the status of a release.
|
||||
type TestReleaseRequest struct {
|
||||
// Name is the name of the release
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// timeout specifies the max amount of time any kubernetes client command can run.
|
||||
Timeout int64 `protobuf:"varint,2,opt,name=timeout" json:"timeout,omitempty"`
|
||||
// cleanup specifies whether or not to attempt pod deletion after test completes
|
||||
Cleanup bool `protobuf:"varint,3,opt,name=cleanup" json:"cleanup,omitempty"`
|
||||
}
|
||||
|
||||
func (m *TestReleaseRequest) Reset() { *m = TestReleaseRequest{} }
|
||||
func (m *TestReleaseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*TestReleaseRequest) ProtoMessage() {}
|
||||
func (*TestReleaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
|
||||
|
||||
func (m *TestReleaseRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TestReleaseRequest) GetTimeout() int64 {
|
||||
if m != nil {
|
||||
return m.Timeout
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *TestReleaseRequest) GetCleanup() bool {
|
||||
if m != nil {
|
||||
return m.Cleanup
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// TestReleaseResponse represents a message from executing a test
|
||||
type TestReleaseResponse struct {
|
||||
Msg string `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"`
|
||||
Status hapi_release1.TestRun_Status `protobuf:"varint,2,opt,name=status,enum=hapi.release.TestRun_Status" json:"status,omitempty"`
|
||||
}
|
||||
|
||||
func (m *TestReleaseResponse) Reset() { *m = TestReleaseResponse{} }
|
||||
func (m *TestReleaseResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*TestReleaseResponse) ProtoMessage() {}
|
||||
func (*TestReleaseResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
|
||||
|
||||
func (m *TestReleaseResponse) GetMsg() string {
|
||||
if m != nil {
|
||||
return m.Msg
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TestReleaseResponse) GetStatus() hapi_release1.TestRun_Status {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return hapi_release1.TestRun_UNKNOWN
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ListReleasesRequest)(nil), "hapi.services.tiller.ListReleasesRequest")
|
||||
proto.RegisterType((*ListSort)(nil), "hapi.services.tiller.ListSort")
|
||||
proto.RegisterType((*ListReleasesResponse)(nil), "hapi.services.tiller.ListReleasesResponse")
|
||||
proto.RegisterType((*GetReleaseStatusRequest)(nil), "hapi.services.tiller.GetReleaseStatusRequest")
|
||||
proto.RegisterType((*GetReleaseStatusResponse)(nil), "hapi.services.tiller.GetReleaseStatusResponse")
|
||||
proto.RegisterType((*GetReleaseContentRequest)(nil), "hapi.services.tiller.GetReleaseContentRequest")
|
||||
proto.RegisterType((*UpdateReleaseRequest)(nil), "hapi.services.tiller.UpdateReleaseRequest")
|
||||
proto.RegisterType((*RollbackReleaseRequest)(nil), "hapi.services.tiller.RollbackReleaseRequest")
|
||||
proto.RegisterType((*InstallReleaseRequest)(nil), "hapi.services.tiller.InstallReleaseRequest")
|
||||
proto.RegisterType((*UninstallReleaseRequest)(nil), "hapi.services.tiller.UninstallReleaseRequest")
|
||||
proto.RegisterType((*UninstallReleaseResponse)(nil), "hapi.services.tiller.UninstallReleaseResponse")
|
||||
proto.RegisterType((*GetHistoryRequest)(nil), "hapi.services.tiller.GetHistoryRequest")
|
||||
proto.RegisterType((*TestReleaseRequest)(nil), "hapi.services.tiller.TestReleaseRequest")
|
||||
proto.RegisterType((*TestReleaseResponse)(nil), "hapi.services.tiller.TestReleaseResponse")
|
||||
proto.RegisterEnum("hapi.services.tiller.ListSort_SortBy", ListSort_SortBy_name, ListSort_SortBy_value)
|
||||
proto.RegisterEnum("hapi.services.tiller.ListSort_SortOrder", ListSort_SortOrder_name, ListSort_SortOrder_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("hapi/services/tiller.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 948 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x5f, 0x6f, 0x1b, 0x45,
|
||||
0x10, 0xe7, 0x7c, 0xf6, 0xd9, 0x1e, 0xa7, 0x91, 0xb3, 0x75, 0x93, 0x6b, 0x28, 0xc8, 0x1c, 0x02,
|
||||
0x2c, 0x1e, 0x1c, 0x61, 0x78, 0x41, 0x42, 0x48, 0xa9, 0x6b, 0x25, 0x15, 0xc1, 0x95, 0xd6, 0x0d,
|
||||
0x48, 0x08, 0xb0, 0x2e, 0xf6, 0x38, 0x39, 0xf5, 0x7c, 0x6b, 0x76, 0xf7, 0x42, 0xfd, 0xca, 0x1b,
|
||||
0x1f, 0x85, 0x6f, 0xc1, 0x77, 0x81, 0x0f, 0x82, 0xf6, 0x9f, 0xb9, 0x4b, 0xdc, 0x10, 0xfa, 0x72,
|
||||
0xde, 0xd9, 0xf9, 0xb3, 0xbf, 0xf9, 0xcd, 0xec, 0xac, 0xe1, 0xf0, 0x2a, 0x5e, 0x25, 0x47, 0x02,
|
||||
0xf9, 0x75, 0x32, 0x43, 0x71, 0x24, 0x93, 0x34, 0x45, 0xde, 0x5f, 0x71, 0x26, 0x19, 0xe9, 0x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c, 0xcd, 0x51, 0x84,
|
||||
0x41, 0xd7, 0xef, 0xed, 0x0e, 0x1e, 0x9b, 0x50, 0x8e, 0xe2, 0x89, 0x21, 0x66, 0xc8, 0xe6, 0x48,
|
||||
0x5b, 0xc6, 0x5c, 0xad, 0x05, 0x79, 0x02, 0xcd, 0x2c, 0x5e, 0xa2, 0x58, 0xc5, 0x33, 0x0c, 0xeb,
|
||||
0x1a, 0xe1, 0xbf, 0x1b, 0xd1, 0xcf, 0xd0, 0x70, 0x87, 0x47, 0x03, 0x08, 0x4c, 0x6a, 0xa4, 0x05,
|
||||
0xf5, 0xf3, 0xf1, 0x37, 0xe3, 0x17, 0xdf, 0x8f, 0xdb, 0xef, 0x90, 0x06, 0x54, 0xc7, 0xc7, 0xdf,
|
||||
0x8e, 0xda, 0x1e, 0xd9, 0x83, 0x07, 0x67, 0xc7, 0x93, 0x97, 0x53, 0x3a, 0x3a, 0x1b, 0x1d, 0x4f,
|
||||
0x46, 0xcf, 0xda, 0x95, 0xe8, 0x7d, 0x68, 0x6e, 0x30, 0x93, 0x3a, 0xf8, 0xc7, 0x93, 0xa1, 0x71,
|
||||
0x79, 0x36, 0x9a, 0x0c, 0xdb, 0x5e, 0xf4, 0xbb, 0x07, 0x9d, 0x72, 0x89, 0xc4, 0x8a, 0x65, 0x02,
|
||||
0x55, 0x8d, 0x66, 0x2c, 0xcf, 0x36, 0x35, 0xd2, 0x02, 0x21, 0x50, 0xcd, 0xf0, 0xb5, 0xab, 0x90,
|
||||
0x5e, 0x2b, 0x4b, 0xc9, 0x64, 0x9c, 0xea, 0xea, 0xf8, 0xd4, 0x08, 0xe4, 0x33, 0x68, 0xd8, 0xd4,
|
||||
0x45, 0x58, 0xed, 0xfa, 0xbd, 0xd6, 0xe0, 0x51, 0x99, 0x10, 0x7b, 0x22, 0xdd, 0x98, 0x45, 0x27,
|
||||
0x70, 0x70, 0x82, 0x0e, 0x89, 0xe1, 0xcb, 0x75, 0x8c, 0x3a, 0x37, 0x5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d1, 0xf2, 0x61, 0x84, 0x22, 0xb0, 0x6a, 0x09, 0x58, 0x34, 0x85,
|
||||
0xf0, 0x36, 0x06, 0x3b, 0xbd, 0x8e, 0xa0, 0x6e, 0xe7, 0x92, 0x2d, 0xda, 0x1b, 0x86, 0xaa, 0xb3,
|
||||
0x52, 0xa8, 0x37, 0xa3, 0xad, 0x69, 0xc6, 0x58, 0xf4, 0x25, 0xec, 0x9d, 0xa0, 0x3c, 0x4d, 0x84,
|
||||
0x64, 0x7c, 0x7d, 0x57, 0x7a, 0x6d, 0xf0, 0x97, 0xf1, 0x6b, 0x3b, 0x9d, 0xd4, 0x32, 0xfa, 0x11,
|
||||
0xc8, 0x4b, 0xdc, 0xbc, 0x16, 0xff, 0x31, 0xdd, 0x5c, 0x7e, 0x95, 0x32, 0xf1, 0x21, 0xd4, 0x67,
|
||||
0x29, 0xc6, 0x59, 0xbe, 0xb2, 0x8c, 0x38, 0x31, 0xfa, 0x09, 0x1e, 0x96, 0xa2, 0xdb, 0xa4, 0x15,
|
||||
0x0c, 0x71, 0x69, 0xa3, 0xab, 0x25, 0xf9, 0x02, 0x02, 0xf3, 0x84, 0xea, 0xd8, 0xbb, 0x83, 0x27,
|
||||
0x65, 0x16, 0x74, 0x90, 0x3c, 0xb3, 0x6f, 0x2e, 0xb5, 0xb6, 0x4f, 0xe1, 0x87, 0x86, 0x7b, 0xd8,
|
||||
0x2f, 0x02, 0xfd, 0x0f, 0xe5, 0xf3, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x31, 0x61, 0x13, 0xb4,
|
||||
0x73, 0x09, 0x00, 0x00,
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue