From c7f7b13a28290ccdc4f083bba9265251fb2a11f2 Mon Sep 17 00:00:00 2001 From: Tom Martensen Date: Tue, 28 Nov 2023 10:15:42 +0100 Subject: [PATCH] add parameters to cluster output (#1083) --- cmd/infractl/cluster/get/fancy_test.go | 21 +- generated/api/v1/service.pb.go | 255 +++++++++++++------------ generated/api/v1/service.swagger.json | 7 + proto/api/v1/service.proto | 3 + service/cluster/helpers.go | 19 ++ 5 files changed, 181 insertions(+), 124 deletions(-) diff --git a/cmd/infractl/cluster/get/fancy_test.go b/cmd/infractl/cluster/get/fancy_test.go index c02403e32..da7dbce50 100644 --- a/cmd/infractl/cluster/get/fancy_test.go +++ b/cmd/infractl/cluster/get/fancy_test.go @@ -153,6 +153,13 @@ func TestGetClusterJSONOutput(t *testing.T) { DestroyedOn: nil, Lifespan: ptypes.DurationProto(10800 * time.Second), Description: "My test cluster", + Parameters: []*v1.Parameter{ + { + Name: "Test parameter", + Value: "Test value", + Description: "This is a test parameter", + }, + }, }, nil }, } @@ -205,7 +212,19 @@ func TestGetClusterJSONOutput(t *testing.T) { "Lifespan": { "seconds": "10800" }, - "Description": "My test cluster" + "Description": "My test cluster", + "Parameters": [ + { + "Name": "Test parameter", + "Description": "This is a test parameter", + "Value": "Test value", + "Optional": false, + "Internal": false, + "Order": 0, + "Help": "", + "FromFile": false + } + ] } ` assert.Equal(t, expected, buf.String()) diff --git a/generated/api/v1/service.pb.go b/generated/api/v1/service.pb.go index 8286c25f0..c0fa7f850 100644 --- a/generated/api/v1/service.pb.go +++ b/generated/api/v1/service.pb.go @@ -917,10 +917,12 @@ type Cluster struct { // URL is an optional URL for this cluster. URL string `protobuf:"bytes,9,opt,name=URL,proto3" json:"URL,omitempty"` // Connect is a command to add kube connection information to kubeconfig. - Connect string `protobuf:"bytes,10,opt,name=Connect,proto3" json:"Connect,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Connect string `protobuf:"bytes,10,opt,name=Connect,proto3" json:"Connect,omitempty"` + // Parameters is a list of options to configure the cluster creation. + Parameters []*Parameter `protobuf:"bytes,11,rep,name=Parameters,proto3" json:"Parameters,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Cluster) Reset() { *m = Cluster{} } @@ -1018,6 +1020,13 @@ func (m *Cluster) GetConnect() string { return "" } +func (m *Cluster) GetParameters() []*Parameter { + if m != nil { + return m.Parameters + } + return nil +} + // ClusterListRequest represents a request to ClusterService.List. type ClusterListRequest struct { // all indicates that all clusters should be returned, not just the ones @@ -1648,125 +1657,125 @@ func init() { func init() { proto.RegisterFile("service.proto", fileDescriptor_a0b84a42fa06f626) } var fileDescriptor_a0b84a42fa06f626 = []byte{ - // 1876 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0xcb, 0x73, 0x1b, 0x49, - 0x19, 0xf7, 0x48, 0xb2, 0x1e, 0x9f, 0x6c, 0x65, 0xdc, 0x71, 0x9c, 0xd9, 0x89, 0xd7, 0xa4, 0x7a, - 0x97, 0x22, 0x65, 0x82, 0xb5, 0x11, 0x50, 0xbb, 0x15, 0xb2, 0x4b, 0xc9, 0x92, 0x1c, 0x0b, 0xe4, - 0x07, 0x2d, 0x7b, 0xb3, 0x0b, 0x07, 0x68, 0x4b, 0x2d, 0x79, 0xca, 0xa3, 0x19, 0x31, 0xd3, 0x52, - 0xd6, 0x95, 0x0a, 0x07, 0xfe, 0x05, 0x4e, 0xfc, 0x1f, 0x9c, 0x28, 0x2e, 0x1c, 0x39, 0x52, 0x14, - 0x57, 0x4e, 0x1c, 0xb8, 0x70, 0xe3, 0x0f, 0xa0, 0xfa, 0x31, 0x0f, 0xbd, 0x92, 0x54, 0xf6, 0x36, - 0xdf, 0xeb, 0xf7, 0xf5, 0xf7, 0xe8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x96, 0x24, 0x0c, 0xdc, 0x85, 0xcd, 0x0b, 0xff, 0x86, 0x79, 0x71, 0xc9, - 0x1e, 0x43, 0x21, 0xaa, 0x85, 0xb1, 0xaa, 0x16, 0x24, 0x52, 0x11, 0x87, 0x95, 0xe6, 0x3a, 0x10, - 0x45, 0xe0, 0x7f, 0x1a, 0x50, 0x3a, 0xa7, 0x01, 0x1d, 0x31, 0xce, 0x82, 0xf7, 0x4f, 0xc3, 0x97, - 0xd4, 0x9d, 0xb0, 0x28, 0x0d, 0x92, 0x10, 0x69, 0x38, 0x93, 0x72, 0xea, 0xca, 0x34, 0x14, 0x49, - 0x4c, 0xcb, 0x14, 0x79, 0x9c, 0x05, 0x42, 0xb6, 0xae, 0x64, 0x11, 0x2d, 0xd0, 0xce, 0x82, 0x3e, - 0x0b, 0x64, 0x02, 0xd6, 0x89, 0x22, 0xc4, 0xc9, 0x8e, 0x99, 0x3b, 0xb6, 0x0a, 0xea, 0x64, 0xe2, - 0x5b, 0xa0, 0x1c, 0x05, 0xfe, 0xe8, 0xc8, 0x71, 0x99, 0x55, 0x54, 0x28, 0x11, 0x8d, 0xff, 0x66, - 0x40, 0xe5, 0xc8, 0xa5, 0x53, 0x3f, 0xa8, 0x07, 0xdc, 0x19, 0xd0, 0xde, 0xfb, 0xd6, 0xf8, 0x13, - 0xc8, 0x5d, 0xd0, 0x61, 0x68, 0x65, 0x1f, 0x66, 0x1f, 0x95, 0x6b, 0xbb, 0x22, 0xc3, 0xb3, 0xb8, - 0x07, 0x42, 0xdc, 0xf2, 0x78, 0x70, 0x4b, 0xa4, 0xa6, 0x7d, 0x06, 0xa5, 0x98, 0x85, 0x4c, 0xc8, - 0xde, 0xb0, 0x5b, 0xed, 0x53, 0x7c, 0xa2, 0xc7, 0xb0, 0x3e, 0x95, 0xd9, 0x52, 0xf7, 0x67, 0x67, - 0xa1, 0xe9, 0x5b, 0x62, 0x78, 0x11, 0xa5, 0xf4, 0x34, 0xf3, 0x99, 0x81, 0xff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51, 0xee, 0xa3, 0x7b, 0x8b, 0x69, 0xf4, 0x87, 0x61, 0x6d, 0x04, 0xd0, 0x70, 0x9d, - 0xa8, 0x7d, 0x7e, 0x0d, 0x05, 0x3d, 0x19, 0x55, 0x7b, 0x2f, 0x8c, 0x58, 0x7b, 0x67, 0x9e, 0xad, - 0xdd, 0x7c, 0x24, 0xdd, 0x7c, 0x88, 0x1e, 0x28, 0x37, 0x4e, 0xf5, 0x95, 0x1f, 0xbe, 0xae, 0xbe, - 0x12, 0x23, 0xf7, 0x75, 0x75, 0xa2, 0x94, 0x3f, 0x31, 0x6a, 0xff, 0x35, 0x00, 0xa5, 0x46, 0x69, - 0x32, 0x4c, 0x4a, 0xcf, 0x19, 0x8f, 0xde, 0xbb, 0x2b, 0xee, 0xec, 0x1d, 0xe1, 0x3a, 0x65, 0x3c, - 0x7b, 0xa5, 0x42, 0x65, 0xfc, 0x33, 0x28, 0x13, 0x16, 0xbe, 0x37, 0xd6, 0x7e, 0x1a, 0xab, 0x0e, - 0xa5, 0x6e, 0x8c, 0x34, 0x6f, 0xb1, 0x12, 0xc2, 0x4e, 0x41, 0x1c, 0xe6, 0x7e, 0x99, 0x99, 0x3e, - 0xb9, 0xca, 0x4b, 0xef, 0x3f, 0xfc, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xaa, 0x3f, 0xda, 0x37, - 0x98, 0x13, 0x00, 0x00, + // 1888 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0xcd, 0x73, 0x1b, 0x49, + 0x15, 0xf7, 0x48, 0xb2, 0x3e, 0x9e, 0x6c, 0x65, 0xdc, 0x71, 0x9c, 0xd9, 0x89, 0xd7, 0xa4, 0x7a, + 0x97, 0x22, 0x65, 0xb2, 0xd6, 0x46, 0x40, 0xed, 0x56, 0xc8, 0x2e, 0x25, 0x4b, 0x72, 0x2c, 0x90, + 0x3f, 0x68,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, 0x18, 0xd6, 0x48, + 0xc1, 0x3e, 0x84, 0x72, 0x93, 0x85, 0xbd, 0xc0, 0x19, 0x8b, 0x56, 0xd3, 0x1e, 0xd3, 0xac, 0x15, + 0x8e, 0x6d, 0x28, 0xb6, 0xc3, 0x70, 0xc2, 0xfa, 0x75, 0x2e, 0x3d, 0x67, 0x49, 0x4c, 0x8b, 0x3a, + 0x9f, 0xfa, 0xfc, 0x90, 0x0d, 0xfc, 0x80, 0xc9, 0x7a, 0x65, 0x49, 0xc2, 0x10, 0x52, 0x79, 0x4c, + 0x16, 0xd6, 0xb9, 0x2c, 0x59, 0x96, 0x24, 0x0c, 0xdc, 0x85, 0xcd, 0x0b, 0xff, 0x86, 0x79, 0x71, + 0xc9, 0x1e, 0x43, 0x21, 0xaa, 0x85, 0xb1, 0xaa, 0x16, 0x24, 0x52, 0x11, 0xc1, 0x4a, 0x73, 0x7d, + 0x10, 0x45, 0xe0, 0x7f, 0x1a, 0x50, 0x3a, 0xa7, 0x01, 0x1d, 0x31, 0xce, 0x82, 0xf7, 0x4f, 0xc3, + 0x57, 0xd4, 0x9d, 0xb0, 0x28, 0x0d, 0x92, 0x10, 0x69, 0x38, 0x93, 0x72, 0xea, 0xca, 0x34, 0x14, + 0x49, 0x4c, 0xcb, 0x14, 0x79, 0x9c, 0x05, 0x42, 0xb6, 0xae, 0x64, 0x11, 0x2d, 0xd0, 0xce, 0x82, + 0x3e, 0x0b, 0x64, 0x02, 0xd6, 0x89, 0x22, 0x44, 0x64, 0xc7, 0xcc, 0x1d, 0x5b, 0x05, 0x15, 0x99, + 0xf8, 0x16, 0x28, 0x47, 0x81, 0x3f, 0x3a, 0x72, 0x5c, 0x66, 0x15, 0x15, 0x4a, 0x44, 0xe3, 0xbf, + 0x19, 0x50, 0x39, 0x72, 0xe9, 0xd4, 0x0f, 0xea, 0x01, 0x77, 0x06, 0xb4, 0xf7, 0xbe, 0x35, 0xfe, + 0x14, 0x72, 0x17, 0x74, 0x18, 0x5a, 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x7b, 0x49, 0x3a, 0x56, 0x49, 0x75, 0xce, 0x25, 0xe9, 0x88, 0x82, 0x34, 0x7c, 0xcf, + 0x63, 0x3d, 0x6e, 0x81, 0x2a, 0x88, 0x26, 0xd1, 0x27, 0x33, 0x57, 0xa7, 0x2c, 0x6b, 0x32, 0xd7, + 0xa5, 0x29, 0x05, 0xfc, 0x35, 0x20, 0x5d, 0x98, 0x37, 0xf6, 0x85, 0x70, 0xc8, 0xe4, 0x96, 0xe8, + 0xcb, 0x32, 0x15, 0x49, 0x44, 0x8a, 0xda, 0x8c, 0x03, 0x36, 0x70, 0xbe, 0x8d, 0x6a, 0xa3, 0x28, + 0xfc, 0x25, 0xdc, 0x9d, 0x41, 0xd6, 0xad, 0xf4, 0x3d, 0x28, 0x6a, 0x76, 0x68, 0x19, 0x32, 0xba, + 0xb2, 0x88, 0x4e, 0xf3, 0x48, 0x2c, 0xc4, 0x7f, 0x36, 0xe0, 0x4e, 0x94, 0xa3, 0x28, 0xae, 0xb9, + 0x67, 0xd3, 0x4c, 0xc6, 0x33, 0xef, 0x9e, 0xf1, 0x1a, 0xe4, 0x47, 0x8c, 0x5f, 0xfb, 0x7d, 0x19, + 0x72, 0x45, 0x8d, 0x96, 0x39, 0x5f, 0x07, 0x27, 0x52, 0x83, 0x68, 0x4d, 0xfc, 0x18, 0xf2, 0x8a, + 0x23, 0xae, 0x15, 0x69, 0x9d, 0x77, 0xea, 0x8d, 0x96, 0xb9, 0x86, 0x0a, 0x90, 0xad, 0x37, 0x9b, + 0xa6, 0x81, 0x36, 0xa0, 0xd8, 0xbd, 0x3c, 0xbc, 0x20, 0xf5, 0xc6, 0x85, 0x99, 0xc1, 0x7f, 0xc9, + 0xc0, 0xb6, 0x6a, 0xab, 0xe8, 0x60, 0xc9, 0x09, 0x66, 0xba, 0xff, 0x3d, 0x4f, 0x70, 0x3c, 0x53, + 0x65, 0xb5, 0x37, 0x1e, 0xc9, 0x3c, 0x2e, 0x71, 0xfa, 0xc6, 0x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xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0x77, 0x9c, 0x64, 0x6e, 0xc7, 0x13, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/generated/api/v1/service.swagger.json b/generated/api/v1/service.swagger.json index e3f68bed3..c7fd6b2bf 100644 --- a/generated/api/v1/service.swagger.json +++ b/generated/api/v1/service.swagger.json @@ -553,6 +553,13 @@ "Connect": { "type": "string", "description": "Connect is a command to add kube connection information to kubeconfig." + }, + "Parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/v1Parameter" + }, + "description": "Parameters is a list of options to configure the cluster creation." } }, "description": "Cluster represents a single cluster." diff --git a/proto/api/v1/service.proto b/proto/api/v1/service.proto index 2ab3ba02d..b2b14637f 100644 --- a/proto/api/v1/service.proto +++ b/proto/api/v1/service.proto @@ -283,6 +283,9 @@ message Cluster { // Connect is a command to add kube connection information to kubeconfig. string Connect = 10; + + // Parameters is a list of options to configure the cluster creation. + repeated Parameter Parameters = 11; } // ClusterListRequest represents a request to ClusterService.List. diff --git a/service/cluster/helpers.go b/service/cluster/helpers.go index 065566c06..84154a267 100644 --- a/service/cluster/helpers.go +++ b/service/cluster/helpers.go @@ -146,9 +146,28 @@ func (s *clusterImpl) getClusterDetailsFromArtifacts(cluster *v1.Cluster, workfl } } + cluster.Parameters = metaClusterParametersFromWorkflow(workflow) + return cluster, nil } +func metaClusterParametersFromWorkflow(workflow v1alpha1.Workflow) []*v1.Parameter { + parameters := []*v1.Parameter{} + for _, p := range workflow.Spec.Arguments.Parameters { + description := "" + if p.Description != nil { + description = p.Description.String() + } + parameters = append(parameters, &v1.Parameter{ + Name: p.Name, + Description: description, + Value: p.GetValue(), + }) + } + + return parameters +} + func handleArtifactMigration(workflow v1alpha1.Workflow, artifact v1alpha1.Artifact) (string, string) { var bucket string var key string