Documentation ¶
Index ¶
- Variables
- type Build
- type Client
- func (m *Client) AddCertificate(ctx context.Context, appName, hostname string) (*fly.AppCertificate, *fly.HostnameCheck, error)
- func (m *Client) AllocateIPAddress(ctx context.Context, appName string, addrType string, region string, ...) (*fly.IPAddress, error)
- func (m *Client) AllocateSharedIPAddress(ctx context.Context, appName string) (net.IP, error)
- func (m *Client) AppNameAvailable(ctx context.Context, appName string) (bool, error)
- func (m *Client) AttachPostgresCluster(ctx context.Context, input fly.AttachPostgresClusterInput) (*fly.AttachPostgresClusterPayload, error)
- func (m *Client) Authenticated() bool
- func (m *Client) CanPerformBluegreenDeployment(ctx context.Context, appName string) (bool, error)
- func (m *Client) CheckAppCertificate(ctx context.Context, appName, hostname string) (*fly.AppCertificate, *fly.HostnameCheck, error)
- func (m *Client) CheckDomain(ctx context.Context, name string) (*fly.CheckDomainResult, error)
- func (m *Client) ClosestWireguardGatewayRegion(ctx context.Context) (*fly.Region, error)
- func (m *Client) CreateAndRegisterDomain(organizationID string, name string) (*fly.Domain, error)
- func (m *Client) CreateApp(ctx context.Context, input fly.CreateAppInput) (*fly.App, error)
- func (m *Client) CreateBuild(ctx context.Context, input fly.CreateBuildInput) (*fly.CreateBuildResponse, error)
- func (m *Client) CreateDelegatedWireGuardToken(ctx context.Context, org *fly.Organization, name string) (*fly.DelegatedWireGuardToken, error)
- func (m *Client) CreateDoctorUrl(ctx context.Context) (putUrl string, err error)
- func (m *Client) CreateDomain(organizationID string, name string) (*fly.Domain, error)
- func (m *Client) CreateOrganization(ctx context.Context, organizationname string) (*fly.Organization, error)
- func (m *Client) CreateOrganizationInvite(ctx context.Context, id, email string) (*fly.Invitation, error)
- func (m *Client) CreateRelease(ctx context.Context, input fly.CreateReleaseInput) (*fly.CreateReleaseResponse, error)
- func (m *Client) CreateWireGuardPeer(ctx context.Context, org *fly.Organization, ...) (*fly.CreatedWireGuardPeer, error)
- func (m *Client) DeleteApp(ctx context.Context, appName string) error
- func (m *Client) DeleteCertificate(ctx context.Context, appName, hostname string) (*fly.DeleteCertificatePayload, error)
- func (m *Client) DeleteDelegatedWireGuardToken(ctx context.Context, org *fly.Organization, name, token *string) error
- func (m *Client) DeleteOrganization(ctx context.Context, id string) (deletedid string, err error)
- func (m *Client) DeleteOrganizationMembership(ctx context.Context, orgId, userId string) (string, string, error)
- func (m *Client) DetachPostgresCluster(ctx context.Context, input fly.DetachPostgresClusterInput) error
- func (m *Client) EnablePostgresConsul(ctx context.Context, appName string) (*fly.PostgresEnableConsulPayload, error)
- func (m *Client) EnsureDepotRemoteBuilder(ctx context.Context, input *fly.EnsureDepotRemoteBuilderInput) (*fly.EnsureDepotRemoteBuilderResponse, error)
- func (m *Client) EnsureRemoteBuilder(ctx context.Context, orgID, appName, region string) (*fly.GqlMachine, *fly.App, error)
- func (m *Client) ExportDNSRecords(ctx context.Context, domainId string) (string, error)
- func (m *Client) FinishBuild(ctx context.Context, input fly.FinishBuildInput) (*fly.FinishBuildResponse, error)
- func (m *Client) GenqClient() genq.Client
- func (m *Client) GetApp(ctx context.Context, appName string) (*fly.App, error)
- func (m *Client) GetAppBasic(ctx context.Context, appName string) (*fly.AppBasic, error)
- func (m *Client) GetAppCertificates(ctx context.Context, appName string) ([]fly.AppCertificateCompact, error)
- func (m *Client) GetAppCompact(ctx context.Context, appName string) (*fly.AppCompact, error)
- func (m *Client) GetAppCurrentReleaseMachines(ctx context.Context, appName string) (*fly.Release, error)
- func (m *Client) GetAppHostIssues(ctx context.Context, appName string) ([]fly.HostIssue, error)
- func (m *Client) GetAppLimitedAccessTokens(ctx context.Context, appName string) ([]fly.LimitedAccessToken, error)
- func (m *Client) GetAppLogs(ctx context.Context, appName, token, region, instanceID string) (entries []fly.LogEntry, nextToken string, err error)
- func (m *Client) GetAppNameFromVolume(ctx context.Context, volID string) (*string, error)
- func (m *Client) GetAppNameStateFromVolume(ctx context.Context, volID string) (*string, *string, error)
- func (m *Client) GetAppNetwork(ctx context.Context, appName string) (*string, error)
- func (m *Client) GetAppReleasesMachines(ctx context.Context, appName, status string, limit int) ([]fly.Release, error)
- func (m *Client) GetAppRemoteBuilder(ctx context.Context, appName string) (*fly.App, error)
- func (m *Client) GetAppSecrets(ctx context.Context, appName string) ([]fly.Secret, error)
- func (m *Client) GetApps(ctx context.Context, role *string) ([]fly.App, error)
- func (m *Client) GetAppsForOrganization(ctx context.Context, orgID string) ([]fly.App, error)
- func (m *Client) GetCurrentUser(ctx context.Context) (*fly.User, error)
- func (m *Client) GetDNSRecords(ctx context.Context, domainName string) ([]*fly.DNSRecord, error)
- func (m *Client) GetDelegatedWireGuardTokens(ctx context.Context, slug string) ([]*fly.DelegatedWireGuardTokenHandle, error)
- func (m *Client) GetDeployerAppByOrg(ctx context.Context, orgID string) (*fly.App, error)
- func (m *Client) GetDetailedOrganizationBySlug(ctx context.Context, slug string) (*fly.OrganizationDetails, error)
- func (m *Client) GetDomain(ctx context.Context, name string) (*fly.Domain, error)
- func (m *Client) GetDomains(ctx context.Context, organizationSlug string) ([]*fly.Domain, error)
- func (m *Client) GetIPAddresses(ctx context.Context, appName string) ([]fly.IPAddress, error)
- func (m *Client) GetLatestImageDetails(ctx context.Context, image string) (*fly.ImageVersion, error)
- func (m *Client) GetLatestImageTag(ctx context.Context, repository string, snapshotId *string) (string, error)
- func (m *Client) GetLoggedCertificates(ctx context.Context, slug string) ([]fly.LoggedCertificate, error)
- func (m *Client) GetMachine(ctx context.Context, machineId string) (*fly.GqlMachine, error)
- func (m *Client) GetNearestRegion(ctx context.Context) (*fly.Region, error)
- func (m *Client) GetOrganizationByApp(ctx context.Context, appName string) (*fly.Organization, error)
- func (m *Client) GetOrganizationBySlug(ctx context.Context, slug string) (*fly.Organization, error)
- func (m *Client) GetOrganizationRemoteBuilderBySlug(ctx context.Context, slug string) (*fly.Organization, error)
- func (m *Client) GetOrganizations(ctx context.Context, filters ...fly.OrganizationFilter) ([]fly.Organization, error)
- func (m *Client) GetSnapshotsFromVolume(ctx context.Context, volID string) ([]fly.VolumeSnapshot, error)
- func (m *Client) GetWireGuardPeer(ctx context.Context, slug, name string) (*fly.WireGuardPeer, error)
- func (m *Client) GetWireGuardPeers(ctx context.Context, slug string) ([]*fly.WireGuardPeer, error)
- func (m *Client) ImportDNSRecords(ctx context.Context, domainId string, zonefile string) ([]fly.ImportDnsWarning, []fly.ImportDnsChange, error)
- func (m *Client) IssueSSHCertificate(ctx context.Context, org fly.OrganizationImpl, principals []string, ...) (*fly.IssuedCertificate, error)
- func (m *Client) LatestImage(ctx context.Context, appName string) (string, error)
- func (m *Client) ListPostgresClusterAttachments(ctx context.Context, appName, postgresAppName string) ([]*fly.PostgresClusterAttachment, error)
- func (m *Client) Logger() fly.Logger
- func (m *Client) MoveApp(ctx context.Context, appName string, orgID string) (*fly.App, error)
- func (m *Client) NewRequest(q string) *graphql.Request
- func (m *Client) PlatformRegions(ctx context.Context) ([]fly.Region, *fly.Region, error)
- func (m *Client) ReleaseIPAddress(ctx context.Context, appName string, ip string) error
- func (m *Client) RemoveWireGuardPeer(ctx context.Context, org *fly.Organization, name string) error
- func (m *Client) ResolveImageForApp(ctx context.Context, appName, imageRef string) (*fly.Image, error)
- func (m *Client) RevokeLimitedAccessToken(ctx context.Context, id string) error
- func (m *Client) Run(req *graphql.Request) (fly.Query, error)
- func (m *Client) RunWithContext(ctx context.Context, req *graphql.Request) (fly.Query, error)
- func (m *Client) SetGenqClient(client genq.Client)
- func (m *Client) SetSecrets(ctx context.Context, appName string, secrets map[string]string) (*fly.Release, error)
- func (m *Client) UnsetSecrets(ctx context.Context, appName string, keys []string) (*fly.Release, error)
- func (m *Client) UpdateRelease(ctx context.Context, input fly.UpdateReleaseInput) (*fly.UpdateReleaseResponse, error)
- func (m *Client) ValidateWireGuardPeers(ctx context.Context, peerIPs []string) (invalid []string, err error)
- type FlapsClient
- func (m *FlapsClient) AcquireLease(ctx context.Context, machineID string, ttl *int) (*fly.MachineLease, error)
- func (m *FlapsClient) Cordon(ctx context.Context, machineID string, nonce string) (err error)
- func (m *FlapsClient) CreateApp(ctx context.Context, name string, org string) (err error)
- func (m *FlapsClient) CreateVolume(ctx context.Context, req fly.CreateVolumeRequest) (*fly.Volume, error)
- func (m *FlapsClient) CreateVolumeSnapshot(ctx context.Context, volumeId string) error
- func (m *FlapsClient) DeleteMetadata(ctx context.Context, machineID, key string) error
- func (m *FlapsClient) DeleteVolume(ctx context.Context, volumeId string) (*fly.Volume, error)
- func (m *FlapsClient) Destroy(ctx context.Context, input fly.RemoveMachineInput, nonce string) (err error)
- func (m *FlapsClient) Exec(ctx context.Context, machineID string, in *fly.MachineExecRequest) (*fly.MachineExecResponse, error)
- func (m *FlapsClient) ExtendVolume(ctx context.Context, volumeId string, size_gb int) (*fly.Volume, bool, error)
- func (m *FlapsClient) FindLease(ctx context.Context, machineID string) (*fly.MachineLease, error)
- func (m *FlapsClient) Get(ctx context.Context, machineID string) (*fly.Machine, error)
- func (m *FlapsClient) GetAllVolumes(ctx context.Context) ([]fly.Volume, error)
- func (m *FlapsClient) GetMany(ctx context.Context, machineIDs []string) ([]*fly.Machine, error)
- func (m *FlapsClient) GetMetadata(ctx context.Context, machineID string) (map[string]string, error)
- func (m *FlapsClient) GetProcesses(ctx context.Context, machineID string) (fly.MachinePsResponse, error)
- func (m *FlapsClient) GetVolume(ctx context.Context, volumeId string) (*fly.Volume, error)
- func (m *FlapsClient) GetVolumeSnapshots(ctx context.Context, volumeId string) ([]fly.VolumeSnapshot, error)
- func (m *FlapsClient) GetVolumes(ctx context.Context) ([]fly.Volume, error)
- func (m *FlapsClient) Kill(ctx context.Context, machineID string) (err error)
- func (m *FlapsClient) Launch(ctx context.Context, builder fly.LaunchMachineInput) (out *fly.Machine, err error)
- func (m *FlapsClient) List(ctx context.Context, state string) ([]*fly.Machine, error)
- func (m *FlapsClient) ListActive(ctx context.Context) ([]*fly.Machine, error)
- func (m *FlapsClient) ListFlyAppsMachines(ctx context.Context) (machines []*fly.Machine, releaseCmdMachine *fly.Machine, err error)
- func (m *FlapsClient) NewRequest(ctx context.Context, method, path string, in interface{}, ...) (*http.Request, error)
- func (m *FlapsClient) RefreshLease(ctx context.Context, machineID string, ttl *int, nonce string) (*fly.MachineLease, error)
- func (m *FlapsClient) ReleaseLease(ctx context.Context, machineID, nonce string) error
- func (m *FlapsClient) Restart(ctx context.Context, in fly.RestartMachineInput, nonce string) (err error)
- func (m *FlapsClient) SetMetadata(ctx context.Context, machineID, key, value string) error
- func (m *FlapsClient) Start(ctx context.Context, machineID string, nonce string) (out *fly.MachineStartResponse, err error)
- func (m *FlapsClient) Stop(ctx context.Context, in fly.StopMachineInput, nonce string) (err error)
- func (m *FlapsClient) Suspend(ctx context.Context, machineID, nonce string) (err error)
- func (m *FlapsClient) Uncordon(ctx context.Context, machineID string, nonce string) (err error)
- func (m *FlapsClient) Update(ctx context.Context, builder fly.LaunchMachineInput, nonce string) (out *fly.Machine, err error)
- func (m *FlapsClient) UpdateVolume(ctx context.Context, volumeId string, req fly.UpdateVolumeRequest) (*fly.Volume, error)
- func (m *FlapsClient) Wait(ctx context.Context, machine *fly.Machine, state string, timeout time.Duration) (err error)
- func (m *FlapsClient) WaitForApp(ctx context.Context, name string) error
- type Release
- type Server
- func (s *Server) Client() *Client
- func (s *Server) CreateApp(app *fly.App)
- func (s *Server) CreateBuild(ctx context.Context, appName string) (*Build, error)
- func (s *Server) CreateImage(ctx context.Context, appName, imageRef string, image *fly.Image) error
- func (s *Server) CreateRelease(ctx context.Context, ...) (*Release, error)
- func (s *Server) FinishBuild(ctx context.Context, id, status string) (*Build, error)
- func (s *Server) FlapsClient(appName string) *FlapsClient
- func (s *Server) GetMachine(ctx context.Context, appName, machineID string) (*fly.Machine, error)
- func (s *Server) Launch(ctx context.Context, appName, name, region string, config *fly.MachineConfig) (*fly.Machine, error)
- func (s *Server) UpdateRelease(ctx context.Context, id, clientMutationID, status string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultUser = fly.User{ ID: "USER1", Name: "TestUser", Email: "test@fly.dev", EnablePaidHobby: false, }
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) AddCertificate ¶
func (m *Client) AddCertificate(ctx context.Context, appName, hostname string) (*fly.AppCertificate, *fly.HostnameCheck, error)
func (*Client) AllocateIPAddress ¶
func (*Client) AllocateSharedIPAddress ¶
func (*Client) AppNameAvailable ¶
func (*Client) AttachPostgresCluster ¶
func (m *Client) AttachPostgresCluster(ctx context.Context, input fly.AttachPostgresClusterInput) (*fly.AttachPostgresClusterPayload, error)
func (*Client) Authenticated ¶
func (*Client) CanPerformBluegreenDeployment ¶
func (*Client) CheckAppCertificate ¶
func (m *Client) CheckAppCertificate(ctx context.Context, appName, hostname string) (*fly.AppCertificate, *fly.HostnameCheck, error)
func (*Client) CheckDomain ¶
func (*Client) ClosestWireguardGatewayRegion ¶
func (*Client) CreateAndRegisterDomain ¶
func (*Client) CreateBuild ¶
func (m *Client) CreateBuild(ctx context.Context, input fly.CreateBuildInput) (*fly.CreateBuildResponse, error)
func (*Client) CreateDelegatedWireGuardToken ¶
func (m *Client) CreateDelegatedWireGuardToken(ctx context.Context, org *fly.Organization, name string) (*fly.DelegatedWireGuardToken, error)
func (*Client) CreateDoctorUrl ¶
func (*Client) CreateDomain ¶
func (*Client) CreateOrganization ¶
func (*Client) CreateOrganizationInvite ¶
func (*Client) CreateRelease ¶
func (m *Client) CreateRelease(ctx context.Context, input fly.CreateReleaseInput) (*fly.CreateReleaseResponse, error)
func (*Client) CreateWireGuardPeer ¶
func (m *Client) CreateWireGuardPeer(ctx context.Context, org *fly.Organization, region, name, pubkey, network string) (*fly.CreatedWireGuardPeer, error)
func (*Client) DeleteCertificate ¶
func (*Client) DeleteDelegatedWireGuardToken ¶
func (*Client) DeleteOrganization ¶
func (*Client) DeleteOrganizationMembership ¶
func (*Client) DetachPostgresCluster ¶
func (*Client) EnablePostgresConsul ¶
func (*Client) EnsureDepotRemoteBuilder ¶ added in v0.2.101
func (m *Client) EnsureDepotRemoteBuilder(ctx context.Context, input *fly.EnsureDepotRemoteBuilderInput) (*fly.EnsureDepotRemoteBuilderResponse, error)
func (*Client) EnsureRemoteBuilder ¶
func (*Client) ExportDNSRecords ¶
func (*Client) FinishBuild ¶
func (m *Client) FinishBuild(ctx context.Context, input fly.FinishBuildInput) (*fly.FinishBuildResponse, error)
func (*Client) GenqClient ¶
func (*Client) GetAppBasic ¶
func (*Client) GetAppCertificates ¶
func (*Client) GetAppCompact ¶
func (*Client) GetAppCurrentReleaseMachines ¶
func (*Client) GetAppHostIssues ¶
func (*Client) GetAppLimitedAccessTokens ¶
func (*Client) GetAppLogs ¶
func (*Client) GetAppNameFromVolume ¶
func (*Client) GetAppNameStateFromVolume ¶
func (*Client) GetAppNetwork ¶
func (*Client) GetAppReleasesMachines ¶
func (*Client) GetAppRemoteBuilder ¶
func (*Client) GetAppSecrets ¶
func (*Client) GetAppsForOrganization ¶
func (*Client) GetCurrentUser ¶
func (*Client) GetDNSRecords ¶
func (*Client) GetDelegatedWireGuardTokens ¶
func (*Client) GetDeployerAppByOrg ¶ added in v0.2.114
func (*Client) GetDetailedOrganizationBySlug ¶
func (*Client) GetDomains ¶
func (*Client) GetIPAddresses ¶
func (*Client) GetLatestImageDetails ¶
func (*Client) GetLatestImageTag ¶
func (*Client) GetLoggedCertificates ¶
func (*Client) GetMachine ¶
func (*Client) GetNearestRegion ¶
func (*Client) GetOrganizationByApp ¶
func (*Client) GetOrganizationBySlug ¶
func (*Client) GetOrganizationRemoteBuilderBySlug ¶
func (*Client) GetOrganizations ¶
func (m *Client) GetOrganizations(ctx context.Context, filters ...fly.OrganizationFilter) ([]fly.Organization, error)
func (*Client) GetSnapshotsFromVolume ¶
func (*Client) GetWireGuardPeer ¶
func (*Client) GetWireGuardPeers ¶
func (*Client) ImportDNSRecords ¶
func (m *Client) ImportDNSRecords(ctx context.Context, domainId string, zonefile string) ([]fly.ImportDnsWarning, []fly.ImportDnsChange, error)
func (*Client) IssueSSHCertificate ¶
func (*Client) LatestImage ¶
func (*Client) ListPostgresClusterAttachments ¶
func (*Client) PlatformRegions ¶
func (*Client) ReleaseIPAddress ¶
func (*Client) RemoveWireGuardPeer ¶
func (*Client) ResolveImageForApp ¶
func (*Client) RevokeLimitedAccessToken ¶
func (*Client) RunWithContext ¶
func (*Client) SetGenqClient ¶
func (*Client) SetSecrets ¶
func (*Client) UnsetSecrets ¶
func (*Client) UpdateRelease ¶
func (m *Client) UpdateRelease(ctx context.Context, input fly.UpdateReleaseInput) (*fly.UpdateReleaseResponse, error)
type FlapsClient ¶
type FlapsClient struct {
// contains filtered or unexported fields
}
func NewFlapsClient ¶
func NewFlapsClient(server *Server, appName string) *FlapsClient
func (*FlapsClient) AcquireLease ¶
func (m *FlapsClient) AcquireLease(ctx context.Context, machineID string, ttl *int) (*fly.MachineLease, error)
func (*FlapsClient) CreateVolume ¶
func (m *FlapsClient) CreateVolume(ctx context.Context, req fly.CreateVolumeRequest) (*fly.Volume, error)
func (*FlapsClient) CreateVolumeSnapshot ¶
func (m *FlapsClient) CreateVolumeSnapshot(ctx context.Context, volumeId string) error
func (*FlapsClient) DeleteMetadata ¶
func (m *FlapsClient) DeleteMetadata(ctx context.Context, machineID, key string) error
func (*FlapsClient) DeleteVolume ¶
func (*FlapsClient) Destroy ¶
func (m *FlapsClient) Destroy(ctx context.Context, input fly.RemoveMachineInput, nonce string) (err error)
func (*FlapsClient) Exec ¶
func (m *FlapsClient) Exec(ctx context.Context, machineID string, in *fly.MachineExecRequest) (*fly.MachineExecResponse, error)
func (*FlapsClient) ExtendVolume ¶
func (*FlapsClient) FindLease ¶
func (m *FlapsClient) FindLease(ctx context.Context, machineID string) (*fly.MachineLease, error)
func (*FlapsClient) GetAllVolumes ¶
func (*FlapsClient) GetMetadata ¶
func (*FlapsClient) GetProcesses ¶
func (m *FlapsClient) GetProcesses(ctx context.Context, machineID string) (fly.MachinePsResponse, error)
func (*FlapsClient) GetVolumeSnapshots ¶
func (m *FlapsClient) GetVolumeSnapshots(ctx context.Context, volumeId string) ([]fly.VolumeSnapshot, error)
func (*FlapsClient) GetVolumes ¶
func (*FlapsClient) Kill ¶
func (m *FlapsClient) Kill(ctx context.Context, machineID string) (err error)
func (*FlapsClient) Launch ¶
func (m *FlapsClient) Launch(ctx context.Context, builder fly.LaunchMachineInput) (out *fly.Machine, err error)
func (*FlapsClient) ListActive ¶
func (*FlapsClient) ListFlyAppsMachines ¶
func (*FlapsClient) NewRequest ¶
func (*FlapsClient) RefreshLease ¶
func (m *FlapsClient) RefreshLease(ctx context.Context, machineID string, ttl *int, nonce string) (*fly.MachineLease, error)
func (*FlapsClient) ReleaseLease ¶
func (m *FlapsClient) ReleaseLease(ctx context.Context, machineID, nonce string) error
func (*FlapsClient) Restart ¶
func (m *FlapsClient) Restart(ctx context.Context, in fly.RestartMachineInput, nonce string) (err error)
func (*FlapsClient) SetMetadata ¶
func (m *FlapsClient) SetMetadata(ctx context.Context, machineID, key, value string) error
func (*FlapsClient) Start ¶
func (m *FlapsClient) Start(ctx context.Context, machineID string, nonce string) (out *fly.MachineStartResponse, err error)
func (*FlapsClient) Stop ¶
func (m *FlapsClient) Stop(ctx context.Context, in fly.StopMachineInput, nonce string) (err error)
func (*FlapsClient) Suspend ¶ added in v0.2.71
func (m *FlapsClient) Suspend(ctx context.Context, machineID, nonce string) (err error)
func (*FlapsClient) Update ¶
func (m *FlapsClient) Update(ctx context.Context, builder fly.LaunchMachineInput, nonce string) (out *fly.Machine, err error)
func (*FlapsClient) UpdateVolume ¶
func (m *FlapsClient) UpdateVolume(ctx context.Context, volumeId string, req fly.UpdateVolumeRequest) (*fly.Volume, error)
func (*FlapsClient) WaitForApp ¶
func (m *FlapsClient) WaitForApp(ctx context.Context, name string) error
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CreateBuild ¶
func (*Server) CreateImage ¶
func (*Server) CreateRelease ¶
func (*Server) FinishBuild ¶
func (*Server) FlapsClient ¶
func (s *Server) FlapsClient(appName string) *FlapsClient
func (*Server) GetMachine ¶
Click to show internal directories.
Click to hide internal directories.