Versions in this module Expand all Collapse all v1 v1.0.1 May 10, 2021 v1.0.0 May 9, 2021 Changes in this version + var DefaultImage = "micro/go-micro" + var ErrReadNamespace = errors.New("Could not read namespace from service account secret") + func CertPoolFromFile(filename string) (*x509.CertPool, error) + func CertsFromPEM(pemCerts []byte) ([]*x509.Certificate, error) + func Format(v string) string + func NewClusterClient() *client + func NewLocalClient(hosts ...string) *client + type Client interface + Create func(*Resource) error + Delete func(*Resource) error + Get func(*Resource, map[string]string) error + List func(*Resource) error + Log func(*Resource, ...LogOption) (io.ReadCloser, error) + Update func(*Resource) error + Watch func(*Resource, ...WatchOption) (Watcher, error) + type Container struct + Args []string + Command []string + Env []EnvVar + Image string + Name string + Ports []ContainerPort + type ContainerPort struct + ContainerPort int + HostPort int + Name string + Protocol string + type Deployment struct + Metadata *Metadata + Spec *DeploymentSpec + Status *DeploymentStatus + func NewDeployment(name, version, typ string) *Deployment + type DeploymentCondition struct + Message string + Reason string + Type string + type DeploymentList struct + Items []Deployment + type DeploymentSpec struct + Replicas int + Selector *LabelSelector + Template *Template + type DeploymentStatus struct + AvailableReplicas int + Conditions []DeploymentCondition + ReadyReplicas int + Replicas int + UnavailableReplicas int + UpdatedReplicas int + type EnvVar struct + Name string + Value string + type Event struct + Object json.RawMessage + Type EventType + type EventType string + const Added + const Deleted + const Error + const Modified + type LabelSelector struct + MatchLabels map[string]string + type LoadBalancerIngress struct + Hostname string + IP string + type LoadBalancerStatus struct + Ingress []LoadBalancerIngress + type LogOption func(*LogOptions) + func LogParams(p map[string]string) LogOption + type LogOptions struct + Params map[string]string + type Metadata struct + Annotations map[string]string + Labels map[string]string + Name string + Namespace string + Version string + type Pod struct + Metadata *Metadata + Spec *PodSpec + Status *PodStatus + type PodCondition struct + Message string + Reason string + Type string + type PodList struct + Items []Pod + type PodSpec struct + Containers []Container + type PodStatus struct + Conditions []PodCondition + Phase string + PodIP string + Reason string + type Resource struct + Kind string + Name string + Value interface{} + type Service struct + Metadata *Metadata + Spec *ServiceSpec + Status *ServiceStatus + func NewService(name, version, typ string) *Service + type ServiceList struct + Items []Service + type ServicePort struct + Name string + Port int + Protocol string + type ServiceSpec struct + Ports []ServicePort + Selector map[string]string + Type string + type ServiceStatus struct + LoadBalancer LoadBalancerStatus + type Template struct + Metadata *Metadata + PodSpec *PodSpec + type WatchOption func(*WatchOptions) + func WatchParams(p map[string]string) WatchOption + type WatchOptions struct + Params map[string]string + type Watcher interface + Chan func() <-chan Event + Stop func() Incompatible versions in this module v2.3.0+incompatible May 9, 2021