Created
June 11, 2020 07:24
-
-
Save velotiotech/3dd135ff6cbcda723a6d3e128d67f167 to your computer and use it in GitHub Desktop.
type.go contains the structure of objects of type sslconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package v1alpha1 | |
import meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
type SslConfig struct { | |
meta_v1.TypeMeta `json:",inline"` | |
meta_v1.ObjectMeta `json:"metadata"` | |
Spec SslConfigSpec `json:"spec"` | |
Status SslConfigStatus `json:"status,omitempty"` | |
} | |
type SslConfigSpec struct { | |
Cert string `json:"cert"` | |
Key string `json:"key"` | |
Domain string `json:"domain"` | |
} | |
type SslConfigStatus struct { | |
State string `json:"state,omitempty"` | |
Message string `json:"message,omitempty"` | |
} | |
type SslConfigList struct { | |
meta_v1.TypeMeta `json:",inline"` | |
meta_v1.ListMeta `json:"metadata"` | |
Items []SslConfig `json:"items"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment