Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAppContext ¶
CreateAppContext Action applies the supplied intent against the given AppContext ID
func DeployServiceEntry ¶
func DeployServiceEntry(ctx context.Context, ac appcontext.AppContext, appContextID string, serverName string, clientName string, serviceName string) error
DeployServiceEntry deploys service entry related resources on clusters
Types ¶
type EndpointResource ¶
type EndpointResource struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` MetaData metav1.ObjectMeta `yaml:"metadata"` Subsets []corev1.EndpointSubset `yaml:"subsets,omitempty"` }
EndpointResource defines the endpoint k8s object
type ServiceResource ¶
type ServiceResource struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` MetaData metav1.ObjectMeta `yaml:"metadata"` Specification Specs `yaml:"spec,omitempty"` }
ServiceResource defines the service k8s object
type Specs ¶
type Specs struct { ClusterIP string `yaml:"clusterIP,omitempty"` Ports []corev1.ServicePort `yaml:"ports,omitempty"` SessionAffinity string `yaml:"sessionAffinity,omitempty"` Types corev1.ServiceType `yaml:"type,omitempty"` }
Specs defines the service spec
Click to show internal directories.
Click to hide internal directories.