mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-09-27 01:56:03 +08:00
24 lines
1004 B
Go
24 lines
1004 B
Go
package v1
|
|
|
|
// +genclient
|
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
|
|
|
type ParameterOption struct {
|
|
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
|
|
Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
|
|
}
|
|
|
|
type Parameter struct {
|
|
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
|
|
Value *string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"`
|
|
Type string `json:"type" protobuf:"bytes,3,opt,name=type"`
|
|
DisplayName *string `json:"displayName" protobuf:"bytes,4,opt,name=displayName"`
|
|
Hint *string `json:"hint" protobuf:"bytes,5,opt,name=hint"`
|
|
Options []*ParameterOption `json:"options,omitempty" protobuf:"bytes,6,opt,name=options"`
|
|
Required bool `json:"required,omitempty" protobuf:"bytes,7,opt,name=required"`
|
|
}
|
|
|
|
type Arguments struct {
|
|
Parameters []Parameter `json:"parameters" protobuf:"bytes,1,opt,name=parameters"`
|
|
}
|